amavisd-new panics randomly

Bánhalmi Csaba oxy at field.hu
Mon Jun 2 21:04:33 CEST 2014


it's weird, but when I try to restart amavisd with 
"/usr/local/etc/rc.d/amavisd restart" command it fails to start (however 
it ran well before restart) with the following:
Jun  2 20:54:27 domain.hu /usr/local/sbin/amavisd[55481]: 
(!)Net::Server: 2014/06/02-20:54:27 Unable to load module for proto 
"Net::Server::Proto::UNIX": Can't locate Net/Server/Proto/UNIX.pm:   
Permission denied at 
/usr/local/lib/perl5/site_perl/5.18/Net/Server/Proto.pm line 198.\n\n  
at line 198 in file /usr/local/lib/perl5/site_perl/5.18/Net/Server/Proto.pm

If I rename that file (Goofy.pm) and rename it back to Proto.pm and try 
to restart amavisd again it works well.. very strange.. any idea guys?

Regards,
Csaba

2014.05.28. 22:05 keltezéssel, Bánhalmi Csaba via amavis-users írta:
> It works! Thank you for your help, glad to see that amavisd has this 
> kind of user support :)
> /var/amavis/db]# db_stat-4.7 -c -h /var/amavis/db/
> 33      Last allocated locker ID
> 0x7fffffff      Current maximum unused locker ID
> 5       Number of lock modes
> 3000    Maximum number of locks possible
> 3000    Maximum number of lockers possible
> 3000    Maximum number of lock objects possible
>
>
> 2014.05.28. 21:39 keltezéssel, Quanah Gibson-Mount írta:
>> --On Wednesday, May 28, 2014 10:23 PM +0200 Bánhalmi Csaba 
>> <oxy at field.hu> wrote:
>>
>>> You are right, sorry, just replied from phone.
>>> I think it's version 4.7, because I can get the stat with 
>>> "db_stat-4.7 -c
>>> -h /var/amavis/db/" command.
>>> After I create the DB_CONFIG file in /var/amavis/db directory and paste
>>> these lines should I restart something or is it in effect just after I
>>> save the file?
>>
>> For our 4.7, we have:
>>
>> # Increase locks
>> set_lk_max_locks        3000
>> set_lk_max_objects      1500
>> set_lk_max_lockers      1500
>>
>> which looks the same. ;)
>>
>> I would stop amavis, add it to the directory with the *.bdb files, 
>> run the 4.7 db_recover, and then start amavis.  That should pull in 
>> the new DB_CONFIG values.
>>
>> --Quanah
>>
>> -- 
>>
>> Quanah Gibson-Mount
>> Server Architect
>> Zimbra, Inc.
>> --------------------
>> Zimbra ::  the leader in open source messaging and collaboration
>



More information about the amavis-users mailing list