今天發生不能收寄信的問題,查了 /var/log/maillog訊息如下
Apr 25 11:48:05 xxx amavis[1629]: starting. /usr/sbin/amavisd at xxx.com amavisd-new-2.4.0 (20060403), Unicode aware, LANG=zh_TW.UTF-8
Apr 25 11:48:05 xxx amavis[1629]: user=103, EUID: 103 (103); group=, EGID: 104 104 (104 104); log_level=1
Apr 25 11:48:05 xxx amavis[1629]: Perl version 5.008005
Apr 25 11:48:05 xxx amavis[1629]: SpamControl: init_pre_chroot done
Apr 25 11:48:05 xxx amavis[1629]: Net::Server: 2007/04/25-11:48:05 Pid_file already exists for running process (2263)… abortingat line 296 in file
/usr/lib/perl5/vendor_perl/5.8.5/Net/Server.pm
Apr 25 11:48:05 xxx amavis[1629]: Net::Server: 2007/04/25-11:48:05 Server closing!
也不知這所謂的 pid_file到底在那裡,後來靈機一動,想是不是 amavisd.pid阿,
刪了 /var/xxx/amavisd.pid,重新啟動 amavisd就 ok啦
留言