Re: msql doesn't start when I boot
On Thu, 10 Oct 1996, CoB SysAdmin wrote: I installed the msql package and it tries to start itself from a script called run-msqld in /usr/sbin. The script runs msqld, waits for it to exit, mails a crash report to msql and then waits 15 seconds before trying to spawn it again. Well, ever since I installed it, it's been filling my /var/spool/mail with crash reports. It seems that, every 15 seconds, msqld fails another attempt to bind to its port at 4333. (Yes, I've checked /etc/services and /etc/inetd.conf... nothings using that port). Funny thing is: if I kill run-msqld and then re-run it (as root), msqld comes up just fine. Any ideas? I figure this must be happening to some other folks since this happened to me *right* out of the box. I didn't tweak anything. same to me. Solution (as root): chmod -R msql.msql /var/run/msql The ownership of the installed files is wrong. I hope this is the right fix. Something like this had already been filed as a bug report. Nils -- Coming again: Best quotes of the net. Today: | Nils Rennebarth Kristian Köhntopp [EMAIL PROTECTED]| Schillerstr. 61 I'd also be interested in the comparison [of Linux] | 37083 Göttingen with a cisco router. I assume a factor of about ten.| ++49-551-71626 What? faster or slower? | http://www.nus. Cheaper! | de/~nils -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: msql doesn't start when I boot
I installed the msql package and it tries to start itself from a script called run-msqld in /usr/sbin. The script runs msqld, waits for it to exit, mails a crash report to msql and then waits 15 seconds before trying to spawn it again. Well, ever since I installed it, it's been filling my /var/spool/mail with crash reports. It seems that, every 15 seconds, msqld fails another attempt to bind to its port at 4333. (Yes, I've checked /etc/services and /etc/inetd.conf... nothings using that port). Funny thing is: if I kill run-msqld and then re-run it (as root), msqld comes up just fine. Any ideas? I figure this must be happening to some other folks since this happened to me *right* out of the box. I didn't tweak anything. I've had problems with 'msqld' not starting due to permission and ownership problems on the various msql directories. Perhaps running it as root avoids those problems. I believe it runs as 'msql' when started at bootup. Try purging the package and then manually deleting all directories that dpkg couldn't. Sometimes there are extra files around that don't allow directories to be removed, and if they are not deleted then the re-install won't change the permissions/ownership. Then, re-install it from scratch. Brian ( [EMAIL PROTECTED] ) --- Give others some insight into YOUR pages! http://www.verisim.com/insite/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]