• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

Amavisd will Start but Won't Stop, reload or restart????

I have configured amavisd, Postfix and Spammassassin on CentOS 4.1.
All starts fine but when Amavisd is started I noticed that the process is not running.
So if I try to stop, reload or restart I get:

Shutting down amavisd: No PID file /var/amavis/amavisd.pid, can't stop the process

And If I do A Debug I get:

[root@spam-relay amavis]# ./amavisd debug
Apr  5 11:36:07 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: starting.  ./amavisd at spam-relay.wiseburn.k12.ca.us amavisd-new-2.3.3 (20050822), Unicode aware, LANG=en_US.UTF-8
Apr  5 11:36:07 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: user=, EUID: 0 (0);  group=, EGID: 0 10 6 4 3 2 1 0 (0 10 6 4 3 2 1 0)
Apr  5 11:36:07 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: Perl version    5.008005
Apr  5 11:36:08 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: INFO: no optional modules: Sys::Hostname::Long Mail::SPF::Query Razor2::Client::Agent Net::CIDR::Lite
Apr  5 11:36:08 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: Net::Server: 2006/04/05-11:36:08 Amavis (type Net::Server::PreForkSimple) starting! pid(4657)
Apr  5 11:36:08 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: Net::Server: Binding to TCP port 10024 on host
Apr  5 11:36:08 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: Net::Server: 2006/04/05-11:36:08 No such group "amavis"\n\n  at line 447 in file /usr/lib/perl5/vendor_perl/5.8.0/Net/Server.pm
Apr  5 11:36:08 spam-relay.wiseburn.k12.ca.us ./amavisd[4657]: Net::Server: 2006/04/05-11:36:08 Server closing!

If anyone has any input please help...

1 Solution
Your error is:
No such group "amavis"

Add a group with name amavis to the machine or change the setting daemon_group in amavis.conf to an existing group.
LionelhAuthor Commented:
Thanks I didn't realize I needed one
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now