for some reason i need to start apache2 only after mysql is running on one of the servers.
- renaming scripts in /etc/rc2.d to give S0Xmysql lower number than S0Yapache2 - but it did not help.
- editing /etc/init.d/apache2 and adding Required-Start $mysql
but still when i watch the screen at the bootup i see
INIT: Entering runlevel: 2 ... Starting web server: apache2Action 'start' failed.
and only then
Starting MySQL database server: mysqld