Hello My friend

Last time I setup amavis have some problem
First is packages about Convert:BinHex
Second is Permission denied
And I fix the first question
In Centos, use command
yum install perl-Convert-BinHex
But I can not fix the second question
What is the first message mean it? How can I fix it?

[root@mail ~]# /usr/local/sbin/amavisd debug
Jul 13 00:11:14.833 mail.example.com /usr/local/sbin/amavisd[1331]: logging
initialized, log level 0, syslog: amavis.mail
Jul 13 00:11:14.833 mail.example.com /usr/local/sbin/amavisd[1331]: PID
file /var/amavis/amavisd.pid is inaccessible: Permission denied
PID file /var/amavis/amavisd.pid is inaccessible: Permission denied

[root@mail var]# pwd
/var
[root@mail var]# ll
drwxr-x---.  7 amavis amavis  4096 Jul 12 22:55 amavis

[root@mail amavis]# pwd
/var/amavis
[root@mail amavis]# ll
drwxr-x---. 2 amavis amavis 4096 Jul 12 22:55 db
drwxr-x---. 2 amavis amavis 4096 Jul 12 21:07 home
drwxr-x---. 2 amavis amavis 4096 Jul 12 21:07 tmp
drwxr-x---. 2 amavis amavis 4096 Jul 12 21:07 var
## In this folder, there is no amavisd.pid

[root@mail var]# cat /etc/passwd
clamav:x:500:500::/dev/null:/bin/false
amavis:x:501:501::/dev/null:/bin/false
vscan:x:502:502::/dev/null:/bin/false

[root@mail var]# cat /etc/group
clamav:x:500:
amavis:x:501:
vscan:x:502:

[root@mail etc]# vim amavisd.conf
# $lock_file = "$MYHOME/var/amavisd.lock";  # -L
# $pid_file  = "$MYHOME/var/amavisd.pid";   # -P

Thank you for your time
TOM

Reply via email to