Skrevet av Emne: Apache mod_perl based config uses mysql, fails during boot  (Lest 5198 ganger)

ATC

  • Gjest
Apache mod_perl based config uses mysql, fails during boot
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • When using dynamically created httpd.conf configurations generated by mod_perl from SQL tables, Apache may be unable to start during boot after upgrading mysql, or it starts but the dynamic stuff doesn't work. Mysql appears to be working fine, and Apache works fine when started manually.



    ATC

    • Gjest
    [Solved] Apache mod_perl based config uses mysql, fails during boot
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • By default, httpd will start before mysql. This means the SQL is unavailable at the time Apache tries to start.

    Check the startup sequence, and if necessary rename "/etc/rc.d/rc3.d/S##mysql" so that mysql starts before httpd.

    (## is a two-digit number, the scripts will be executed in numerical order upon changing to runlevel 3, i.e. during boot)