You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Kern, Tom" <tk...@CHARMER.COM> on 2005/06/27 21:12:20 UTC

pid error

I'm running Amavis-new-2.3.1 with Postfix(not chrooted) on redhat ES 3
When I try to reload or stop amavis, I get- No PID file /var/amavis/amavisd.pid, can't reload the process

Amavisd debug produces this- 
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: starting.  /usr/local/sbin/amavisd at mta1.charmer.com amavisd-new-2.3.1 (20050509), Unicode aware, LANG=en_US
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: user=, EUID: 0 (0);  group=, EGID: 0 10 6 4 3 2 1 0 (0 10 6 4 3 2 1 0)
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Perl version               5.008
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: INFO: no optional modules: Encode::Unicode::UTF7 unicore::PVA.pl Mail::SpamAssassin::SQLBasedAddrList DBD::mysql Sys::Hostname::Long Mail::SPF::Query Net::CIDR::Lite Net::DNS::RR::SOA Net::DNS::RR::NS Net::DNS::RR::MX Net::DNS::RR::A Net::DNS::RR::AAAA Net::DNS::RR::PTR Net::DNS::RR::CNAME Net::DNS::RR::TXT
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Amavis (type Net::Server::PreForkSimple) starting! pid(7870)
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: Setting gid to "999 999"
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Couldn't become gid "999": \n\n  at line 486 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm
Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Server closing!
 

I followed the instructions here to no avail- http://www.ijs.si/software/amavisd/#net-server-sec

it still spits out the same error.


Any help would be great..
thanks


Re: pid error

Posted by MC <li...@westiescum.com>.
Kern, Tom wrote:
> I'm running Amavis-new-2.3.1 with Postfix(not chrooted) on redhat ES 3
> When I try to reload or stop amavis, I get- No PID file /var/amavis/amavisd.pid, can't reload the process
> 
> Amavisd debug produces this- 
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: starting.  /usr/local/sbin/amavisd at mta1.charmer.com amavisd-new-2.3.1 (20050509), Unicode aware, LANG=en_US
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: user=, EUID: 0 (0);  group=, EGID: 0 10 6 4 3 2 1 0 (0 10 6 4 3 2 1 0)
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Perl version               5.008
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: INFO: no optional modules: Encode::Unicode::UTF7 unicore::PVA.pl Mail::SpamAssassin::SQLBasedAddrList DBD::mysql Sys::Hostname::Long Mail::SPF::Query Net::CIDR::Lite Net::DNS::RR::SOA Net::DNS::RR::NS Net::DNS::RR::MX Net::DNS::RR::A Net::DNS::RR::AAAA Net::DNS::RR::PTR Net::DNS::RR::CNAME Net::DNS::RR::TXT
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Amavis (type Net::Server::PreForkSimple) starting! pid(7870)
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: Setting gid to "999 999"
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Couldn't become gid "999": \n\n  at line 486 in file /usr/lib/perl5/site_perl/5.8.0/Net/Server.pm
> Jun 27 13:49:18 mta1.charmer.com /usr/local/sbin/amavisd[7870]: Net::Server: 2005/06/27-13:49:18 Server closing!
>  
> 
> I followed the instructions here to no avail- http://www.ijs.si/software/amavisd/#net-server-sec
> 
> it still spits out the same error.
> 
> 
> Any help would be great..
> thanks
> 

Looks something more suited to an Amavis list ;)

But check why it can't change to gid. Does it even exist?