This is a discussion on Re: [AMaViS-user] can't start amavisd while in a certain directory within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Maciej, > when one tries to start amavisd-new while amavis user doesn't have rx > permissions to the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Maciej,
> when one tries to start amavisd-new while amavis user doesn't have rx > permissions to the current directory: ... > 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: getcwd(0xFFBFF318, 1024) Err#13 EACCES > 6997: stat64("lib/auto/DBI/DESTROY.al", 0xFFBFF4D0) Err#13 EACCES > 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? This is a normal Unix behaviour. You can't have relative pathnames or use getcwd if you do not have 'x' or read access to the current working directory. chdir to some other directory before starting amavisd. Mark _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |