PDA

View Full Version : [ubuntu] amavisd not starting automatically upon bootup


mattskr
June 4th, 2008, 04:58 PM
I am running Ubuntu 8.04 as a mail/web server and everything is running fine except whenever I restart the box, amavisd does not start up automatically even though it is in the folder /etc/init.d.

So what happens is someone calls me a week later saying they haven't received mail lately, and I have to go in and start amavisd by running /etc/init.d/amavis start

Then I have to push out all the mails in my queue.

Does anyone have any ideas as to why it is not starting automatically?

quelx
June 4th, 2008, 06:40 PM
https://help.ubuntu.com/community/UbuntuBootupHowto

mattskr
June 4th, 2008, 06:51 PM
I've looked in the /etc/rc#.d directories and they have the symlink to amavis

quelx
June 4th, 2008, 07:06 PM
I've looked in the /etc/rc#.d directories and they have the symlink to amavis

Are they executable (eg is the /etc/init.d/amavis file rwxr-xr-x).? Did you run sudo update-rc.d amavis start 51 S?

mattskr
June 5th, 2008, 03:40 AM
Are they executable (eg is the /etc/init.d/amavis file rwxr-xr-x).? Did you run sudo update-rc.d amavis start 51 S?

Permissions are correct and it is executable. I tried running that command but it tells me that they already exist