Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 27. ſeptember 2008, 18:24 pm

Tittel: Apache mod_perl based config uses mysql, fails during boot
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
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.
Tittel: [Solved] Apache mod_perl based config uses mysql, fails during boot
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
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)