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

Posted on 2006-04-04
Last Modified: 2010-08-05
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]# ./ start
Starting amavisd:                                          [  OK  ]

[root@spam-relay amavis]# ./ stop
Shutting down amavisd: No PID file /var/amavis/, 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.
Question by:Lionelh
    LVL 25

    Expert Comment

    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.
    LVL 51

    Accepted Solution

    > No PID file /var/amavis/, can't stop the process
    pid files are unreliable

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    ​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
    Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now