Mark Martinec wrote:
> Bill,
> 
>> I recently upgraded to amavisd-new-2.6.0 and all appears to be running
>> fine.  However, when executing a reload, I am seeing the following
>> errors reported:
>>
>> # amavisd reload
>> Daemon [24965] terminated by SIGTERM, waiting for dust to settle...
>> becoming a new daemon...
>> fetch_modules: error loading optional module IP/Country/Fast.pm:
>>    Requiring lib/IP/Country/Fast.pm, file is inaccessible: Permission
>> denied,
>> fetch_modules: error loading optional module Image/Info.pm:
>>    Requiring lib/Image/Info.pm, file is inaccessible: Permission denied,
>> fetch_modules: error loading optional module Image/Info/GIF.pm:
>>    Requiring lib/Image/Info/GIF.pm, file is inaccessible: Permission
>> denied, fetch_modules: error loading optional module Image/Info/JPEG.pm:
>>    Requiring lib/Image/Info/JPEG.pm, file is inaccessible: Permission
>> denied, [...]
> 
>> The paths appear to be incorrect, but I'm not sure how to correct them.
>>   The errors are only reported when doing a reload (amavisd reload), and
>> not when starting amavisd (amavisd start).
> 
> Strange, the 'amavisd reload' is pretty much equivalent to
> 'amavisd stop' followed by 'amavisd start'. Was there any
> command line option like -R used in one case but not the other?
> Or perhaps one was executed as root and the other as user vscan?

No both simply executed from su root as:

amavisd stop
amavisd start

amavisd reload

> What happens if you provide a username with an -u uption, e.g.:
>   # amavisd -u vscan reload
> vs.
>   # amavisd stop
>   # amavisd -u vscan start

I should have sent out an update, but I re-downloaded the image and 
reinstalled amavisd and have had no problems or error reports since - 
possibly a corrupted download?

> Anyway, the 'Permission denied' looks like these perl modules
> or one of their parent directories were not accessible as
> user vscan/amavis. Please check permissions of .pm files and all
> their parent directories. Make sure you do not have two copies
> of Perl module trees, or at least that they are consistent.

No, since all appears to be running fine now.  Anyway, thanks for the reply.

Bill

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/

Reply via email to