We help IT Professionals succeed at work.

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

Lionelh
Lionelh asked
on
Medium Priority
518 Views
Last Modified: 2010-04-22
Hello,
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
                                                           [FAILED]

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 127.0.0.1
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...



Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks I didn't realize I needed one
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.