Apache is not starting at boot

Discussion in 'Installation/Configuration' started by LeoLinux, Aug 8, 2007.

  1. LeoLinux

    LeoLinux New Member


    my apache2 is not starting automaticaly during the boot.

    I have a debootsrabt Debian Etch - it might be possible that there are some basic packages missed.

    when I boot up my system it says:

    Starting Courier POP3-SSL server: pop3d-ssl.
    * Not starting internet superserver: no services enabled.
    Starting Postfix Mail Transport Agent: postfix.
    but I can start my apache by hand with
    /etc/init.d/apache2 start
    and everything seems to work.

    Server1:~# /etc/init.d/openbsd-inetd restart
    Restarting internet superserver: inetd* Not starting internet superserver: no services enabled.
    Server1:~# aptitude search openbsd-inetd
    i   openbsd-inetd                   - The OpenBSD Internet Superserver
    I can't figure out the problem by myself - I need some help.

    Thank you!

  2. geekman

    geekman New Member

    Well first of all check all your rc.... directories in /etc/ to see if a symlink for the apache startup script was created. This is how the system boots things up when it starts.
    find /etc/rc* | grep "apache"
    Should work...maybe
    find /etc | grep "rc" | grep "apache"
    If it doesn't exist...then we must create a symlink so it will startup on one of the run levels, each rc directory is a different run level, for example:

    ln -s /etc/init.d/apache2 /etc/rc2.d/
    That could work, but based on the messages...is postfix actually starting too? Hope that helps.

  3. falko

    falko Super Moderator ISPConfig Developer

    Please try
    update-rc.d apache2 defaults
    and then reboot. Does Apache2 start then?
  4. LeoLinux

    LeoLinux New Member


    this system was wired .... sometimes the Apache started .. sometimes it didn't ... so I just reinstalled the whole system and did your howto again ...

    But thank you anyway.


Share This Page