2

I've some issues with my webservers Apache and lighttpd on Ubuntu 9.04.

I use lighttpd only and I've stopped Apache on Ubuntu, but for some reason since few days ago, Apache starts to run and I need to stop it in order to restart lighttpd.

What could be the reason ? Cron has nothing about this. And this issue started to exist just last week.

How can I disable Apache ?

thanks

aneuryzm
  • 899

2 Answers2

2

You can always uninstall Apache with sudo apt-get remove apache2 - though it's likely that it's been re-added to update-rc.d - You can remove it with sudo update-rc.d -f apache2 remove This will remove it from start up.

Marco Ceppi
  • 48,827
0

Use ps aux | grep apache when it's running and see which command started it. ls -l /etc/logrotate.d/ and check for an apache file. It is possible as the comment by @Lekensteyn mentioned that it exists but it should be checking for an apache PID before trying to reload.

Marlon
  • 916