Really wierd, strange httpd crash and wouldn't restart

Discussion in 'Installation/Configuration' started by DantePasquale, May 13, 2008.

  1. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Hi Guys,

    Sorry for the vague information here, but I've been running IPSConfig for some time now and it came time to generate new certs. This went absolutely fine, but on one website I didn't / forgot to generate a new cert. It looks like when that cert expired, httpd crashed and wouldn't restart. I debugged this by removing basically everything from /etc/apache2/apache2.conf and /etc/apache2/vhosts/Vhosts-ispconfig??? and adding things back one at a time.

    When I got to the vhosts entry for one of the SSL enabled webs that had expired, apache wouldn't start and there were absolutely no messages anywhere.

    So I went into the CP and generated a new SSL cert, checked the apache2.conf and vhosts file to see that everything was added correctly, restarted apache2 and it was fine.

    Is there any information I can provide to help debug this problem? I'm on ubuntu 7.10 with latest updates and ISPconfig 2.2.22 :confused:
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you run
    httpd -t
    while the problem was existing? If so, did it show any errors?
    Also, did you check Apache's error log?
  3. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Hi Falko,

    Yes, I did run
     httpd -t
    and no syntax errors were detected, no warnings indicated either.

    I guess the baffling thing to me was that there was absolutely nothing in the apache logs, like it didn't even get far enough to log anything.

    I ran
    apache2ctrl star

    from command line, then check

    echo $?
    which returned 1
    I couldn't find error 1 documented anywhere. Just a really strange thing, eh?

    I guess if this happens again I need to run something like Solaris dtrace on the process. Is there a comparable tool in Ubuntu that you use?

Share This Page