Christine,

> when trying to start daemonized amavisd-new 2.3.3 with Net::Server 0.88
> I get the following error:
>
> Oct 14 11:03:35 onyx amavis[1460]: [ID 702911 local7.info] Net::Server:
> 2005/10/ 14-11:03:35 Couldn't become gid "100": Invalid argument\n\n  at
> line 486 in file /usr/local/lib/perl5/site_perl/5.8.0/Net/Server.pm
> Oct 14 11:03:35 onyx amavis[1460]: [ID 702911 local7.info] Net::Server:
> 2005/10/ 14-11:03:35 Server closing!
> neither gid nor uid can be set. It runs fine with Net::Server 0.87
> The only hint in the amavis release notes about Net::Server 0.88 doesn't
> cover this problem.

If you do not need to run chrooted, the simplest, safest and universal 
solution is to specify command line options: -u user -g group when starting 
amavisd daemon. It lets amavisd change uid and gid and does not depend on 
troublesome code in Net::Server which works on some system and breaks on 
others, and vice versa, depending on the Net::Server version.

The ultimate solution is to bug the author/maintainer of Net::Server
to make changing gid work on your OS (and not break the ones that
work now).

  Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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