when one tries to start amavisd-new while amavis user doesn't have rx
permissions to the current directory:
[EMAIL PROTECTED]:/# cd
[EMAIL PROTECTED]:~# pwd
/root
[EMAIL PROTECTED]:~# ls -ld /root
drwx------ 3 root root 512 2006-06-05 08:53 /root
[EMAIL PROTECTED]:~#
amavisd doesn't run. instead it ends with:
Jun 12 18:27:53 hostname /opt/local/amavis/amavisd[6594]: TROUBLE in
pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Permission
denied, Permission denied. at (eval 37) line 245.
truss shows more:
[...]
6997: stat64("/var/amavis/tmp", 0xFF343948) = 0
6997: stat64("/var/amavis/db", 0xFF343948) = 0
6997: openat(-3041965, "/var/amavis/db", O_RDONLY|O_NDELAY|O_LARGEFILE) =
7
6997: fcntl(7, F_SETFD, 0x00000001) = 0
6997: fstat64(7, 0xFFBFFA00) = 0
6997: getdents64(7, 0xFF1F4000, 8192) = 48
6997: getdents64(7, 0xFF1F4000, 8192) = 0
6997: close(7) = 0
6997: getpid() = 6997 [7216]
6997: getcwd(0xFFBFF318, 1024) Err#13 EACCES
[file_dac_search]
[...]
6997: stat64("lib/auto/DBI/DESTROY.al", 0xFFBFF4D0) Err#13 EACCES
[file_dac_search]
[...]
6997: stat64("lib/auto/SAVI/DESTROY.al", 0xFFBFF4D0) Err#13 EACCES
[file_dac_search]
[...]
in the other directory it starts correctly.
this is amavisd-new-2.4.1 under the newest Solaris 10 and perl 5.8.8.
what could be a problem here?
MU
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/