Re: [AMaViS-user] can't start amavisd while in a certain directory

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 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] can't start amavisd while in a certain directory

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0