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

Virus Scanner Amavisd will Start but won't stay Started!!!

Ok here's is my issue, I'm trying to install a spam filter.
I am running CentOS 4.1 and have installed Postfix, Amavisd and Spamassassin.
Each program runs except for Amavis it seems. I had the most impossible time getting Amavis to start.
But after it's started it doesn't show that it's running in the processes. So I stopped it and recieved this error

[root@spam-relay amavis]# ./amavisd_init.sh start
Starting amavisd:                                          [  OK  ]

[root@spam-relay amavis]# ./amavisd_init.sh stop
Shutting down amavisd: No PID file /var/amavis/amavisd.pid, can't stop the process

Is it something I did wrong while setting up Amavisd. It might be my config file. If you guys need to see it I can copy it over.
1 Solution
try starting it again and quick look in the logs for entries pertaining to amavis.  You should be able to see something in there what the process is dying shortly after being started.
> No PID file /var/amavis/amavisd.pid, can't stop the process
pid files are unreliable

please check with ps if amavis is running, if so you need to fix your amavisd_init.sh for both the start and the stop case

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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