Hello all, thank you for your help in the past, andd thank you in advance for taking the time to help with this latest problem.
On two seperate servers I have the same problem, both are running RHEL 3. I install CPanel using layer1.cpanel.net/latest, everything works great, and then eventually I reboot my server. While booting, mysql fails to start, but after booting, I can log in and run /scripts/restartsrv_mysql and mysql starts up without a problem.
So, I guess the question is, what does /scripts/restartsrv_mysql do right that /etc/init.d/mysql does wrong, and how can I fix that? I tried looking at the various scripts, and determined that one problem might be that the /etc/init.d/mysql script does not specify a basedir, but I have no idea what that basedir should be, since I don't even find a basedir line in Cpanel's script.
I thought maybe the problem was that mysql was starting too early, but when I upped its number in rc3.d it still failed, albeit later in the boot process.
Any insights into the problem would be appreciated.
Thanks,
- Geddes
On two seperate servers I have the same problem, both are running RHEL 3. I install CPanel using layer1.cpanel.net/latest, everything works great, and then eventually I reboot my server. While booting, mysql fails to start, but after booting, I can log in and run /scripts/restartsrv_mysql and mysql starts up without a problem.
So, I guess the question is, what does /scripts/restartsrv_mysql do right that /etc/init.d/mysql does wrong, and how can I fix that? I tried looking at the various scripts, and determined that one problem might be that the /etc/init.d/mysql script does not specify a basedir, but I have no idea what that basedir should be, since I don't even find a basedir line in Cpanel's script.
I thought maybe the problem was that mysql was starting too early, but when I upped its number in rc3.d it still failed, albeit later in the boot process.
Any insights into the problem would be appreciated.
Thanks,
- Geddes