Mailinglist Archive: opensuse (4054 mails)
| < Previous | Next > |
/etc/init.d/mysql hangs on boot
- From: Lucky Leavell <susemisc@xxxxxxxxxxxxx>
- Date: Tue, 3 Jan 2006 13:11:25 -0500 (EST)
- Message-id: <Pine.LNX.4.63.0601031259300.26322@xxxxxxxxxxxxxxxxxxxxxxxxx>
OS: SuSE 10.0 Pro
I have mysql set to start on boot by using YaST System ==> System Services
(Runlevel) set to Yes for mysql. However, the boot messages on tty1 stop
with mysql and no login prompt appears for tty1 - tty6 unless I kill musql
and restart it manually. I read a similar thread from November but he was
starting mysql using xinetd. Has anyone experienced this behavior? ANy
ideas as to why and how to fix it?
Below are a list of the mysql processes running
and the owner process for /etc/init.d/mysql, the last few lines of
boot.msg (which would seem to indicate that processes following mysql do
start and the listing of the /etc/iit.d/rc5.d directory:
root 4341 2662 0 12:38 ? 00:00:00 /bin/sh /etc/init.d/mysql start
root 4354 4341 0 12:38 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --log=/var/log/mysqld.log
mysql 4414 4354 0 12:38 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking --port=3306 --socket=/var/lib/mysql/mysql.sock --log=/var/log/mysqld.log
lucky 5303 5274 0 12:40 pts/3 00:00:00 grep mysql
root 2662 2620 0 12:38 ? 00:00:00 startpar -p4 -t 30 -T 3 -S 20000:45535 -M start -P N -R 5
root 4341 2662 0 12:38 ? 00:00:00 /bin/sh /etc/init.d/mysql start
lucky 5307 5274 0 12:40 pts/3 00:00:00 grep 2662
#
# last few lines of boot.msg
#
<notice>startproc: execve (/usr/sbin/cupsd) [ /usr/sbin/cupsd ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=99 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib/klibc/bin vga=0x314 RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-800x600.cfg PREVLEVEL=N acpi=off LINES=34 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/sda2 _=/usr/bin/ionice DAEMON=/usr/sbin/cupsd ]
Starting Clam AntiVirus daemon done
Starting Clam AntiVirus database update daemon done
Starting cupsddone
<notice>checkproc: /opt/kde3/bin/kdm 4632
<notice>startproc: execve (/usr/sbin/hald) [ /usr/sbin/hald --daemon=yes --retain-privileges ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=99 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib/klibc/bin vga=0x314 RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-800x600.cfg PREVLEVEL=N acpi=off LINES=34 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/sda2 _=/sbin/startproc DAEMON=/usr/sbin/hald ]
Starting HAL daemondone
<notice>checkproc: /opt/kde3/bin/kdm 4632
Starting service MySQL Starting mysqld daemon with databases from /var/lib/mysql
<notice>checkproc: amavisd 4891
#
# /etc/init.d/rc5.d
#
total 8
drwxr-xr-x 2 root root 4096 2006-01-03 12:36 ./
drwxr-xr-x 12 root root 4096 2006-01-03 12:35 ../
lrwxrwxrwx 1 root root 22 2005-11-22 16:06 K01SuSEfirewall2_setup -> ../SuSEfirewall2_setup*
lrwxrwxrwx 1 root root 13 2005-11-22 15:52 K03cupsrenice -> ../cupsrenice*
lrwxrwxrwx 1 root root 9 2005-11-22 16:29 K05amavis -> ../amavis*
lrwxrwxrwx 1 root root 12 2005-12-22 14:18 K05haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 8 2005-12-27 14:39 K06clamd -> ../clamd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K06cron -> ../cron*
lrwxrwxrwx 1 root root 12 2005-11-22 16:34 K06freshclam -> ../freshclam*
lrwxrwxrwx 1 root root 10 2005-12-22 14:34 K07apache2 -> ../apache2*
lrwxrwxrwx 1 root root 6 2005-12-22 14:34 K08fam -> ../fam*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K08nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:47 K08postfix -> ../postfix*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 K09xdm -> ../xdm*
lrwxrwxrwx 1 root root 15 2006-01-03 12:36 K10courier-imap -> ../courier-imap*
lrwxrwxrwx 1 root root 14 2006-01-03 12:36 K10courier-pop -> ../courier-pop*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K10cups -> ../cups*
lrwxrwxrwx 1 root root 12 2005-11-22 15:47 K10microcode -> ../microcode*
lrwxrwxrwx 1 root root 8 2005-11-22 16:34 K10mysql -> ../mysql*
lrwxrwxrwx 1 root root 6 2005-11-22 16:34 K10ntp -> ../ntp*
lrwxrwxrwx 1 root root 9 2005-11-22 15:47 K10splash -> ../splash*
lrwxrwxrwx 1 root root 7 2005-11-22 15:48 K10sshd -> ../sshd*
lrwxrwxrwx 1 root root 6 2005-11-22 15:45 K12nfs -> ../nfs*
lrwxrwxrwx 1 root root 8 2005-11-22 15:46 K14mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:45 K14portmap -> ../portmap*
lrwxrwxrwx 1 root root 15 2005-11-22 15:42 K14splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K16syslog -> ../syslog*
lrwxrwxrwx 1 root root 10 2005-11-22 16:06 K17network -> ../network*
lrwxrwxrwx 1 root root 12 2005-11-22 15:42 K18boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 11 2005-11-22 15:49 K18earlykdm -> ../earlykdm*
lrwxrwxrwx 1 root root 7 2005-11-22 15:46 K19dbus -> ../dbus*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K19resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 11 2005-11-22 15:42 K20earlykbd -> ../earlykbd*
lrwxrwxrwx 1 root root 14 2005-11-22 15:42 K21earlysyslog -> ../earlysyslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:42 K21fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K21random -> ../random*
lrwxrwxrwx 1 root root 14 2005-11-22 15:42 S01earlysyslog -> ../earlysyslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:41 S01fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-11-22 15:41 S01random -> ../random*
lrwxrwxrwx 1 root root 11 2005-11-22 15:41 S02earlykbd -> ../earlykbd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:46 S03dbus -> ../dbus*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 S03resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 12 2005-11-22 15:42 S04boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 11 2005-11-22 15:49 S04earlykdm -> ../earlykdm*
lrwxrwxrwx 1 root root 10 2005-11-22 16:06 S05network -> ../network*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 S06syslog -> ../syslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:46 S08mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:45 S08portmap -> ../portmap*
lrwxrwxrwx 1 root root 15 2005-11-22 15:42 S08splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 6 2005-11-22 15:45 S10nfs -> ../nfs*
lrwxrwxrwx 1 root root 15 2006-01-03 12:36 S12courier-imap -> ../courier-imap*
lrwxrwxrwx 1 root root 14 2006-01-03 12:36 S12courier-pop -> ../courier-pop*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S12cups -> ../cups*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 S12kbd -> ../kbd*
lrwxrwxrwx 1 root root 12 2005-11-22 15:47 S12microcode -> ../microcode*
lrwxrwxrwx 1 root root 8 2005-11-22 16:34 S12mysql -> ../mysql*
lrwxrwxrwx 1 root root 6 2005-11-22 16:34 S12ntp -> ../ntp*
lrwxrwxrwx 1 root root 9 2005-11-22 15:47 S12splash -> ../splash*
lrwxrwxrwx 1 root root 7 2005-11-22 15:48 S12sshd -> ../sshd*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 S13xdm -> ../xdm*
lrwxrwxrwx 1 root root 6 2005-12-22 14:34 S14fam -> ../fam*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S14nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:47 S14postfix -> ../postfix*
lrwxrwxrwx 1 root root 10 2005-12-22 14:34 S15apache2 -> ../apache2*
lrwxrwxrwx 1 root root 8 2005-12-27 14:39 S16clamd -> ../clamd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S16cron -> ../cron*
lrwxrwxrwx 1 root root 12 2005-11-22 16:34 S16freshclam -> ../freshclam*
lrwxrwxrwx 1 root root 9 2005-11-22 16:29 S17amavis -> ../amavis*
lrwxrwxrwx 1 root root 12 2005-12-22 14:18 S17haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 13 2005-11-22 15:52 S19cupsrenice -> ../cupsrenice*
lrwxrwxrwx 1 root root 22 2005-11-22 16:06 S21SuSEfirewall2_setup -> ../SuSEfirewall2_setup*
Thank you,
Lucky Leavell
I have mysql set to start on boot by using YaST System ==> System Services
(Runlevel) set to Yes for mysql. However, the boot messages on tty1 stop
with mysql and no login prompt appears for tty1 - tty6 unless I kill musql
and restart it manually. I read a similar thread from November but he was
starting mysql using xinetd. Has anyone experienced this behavior? ANy
ideas as to why and how to fix it?
Below are a list of the mysql processes running
and the owner process for /etc/init.d/mysql, the last few lines of
boot.msg (which would seem to indicate that processes following mysql do
start and the listing of the /etc/iit.d/rc5.d directory:
root 4341 2662 0 12:38 ? 00:00:00 /bin/sh /etc/init.d/mysql start
root 4354 4341 0 12:38 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --log=/var/log/mysqld.log
mysql 4414 4354 0 12:38 ? 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking --port=3306 --socket=/var/lib/mysql/mysql.sock --log=/var/log/mysqld.log
lucky 5303 5274 0 12:40 pts/3 00:00:00 grep mysql
root 2662 2620 0 12:38 ? 00:00:00 startpar -p4 -t 30 -T 3 -S 20000:45535 -M start -P N -R 5
root 4341 2662 0 12:38 ? 00:00:00 /bin/sh /etc/init.d/mysql start
lucky 5307 5274 0 12:40 pts/3 00:00:00 grep 2662
#
# last few lines of boot.msg
#
<notice>startproc: execve (/usr/sbin/cupsd) [ /usr/sbin/cupsd ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=99 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib/klibc/bin vga=0x314 RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-800x600.cfg PREVLEVEL=N acpi=off LINES=34 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/sda2 _=/usr/bin/ionice DAEMON=/usr/sbin/cupsd ]
Starting Clam AntiVirus daemon done
Starting Clam AntiVirus database update daemon done
Starting cupsddone
<notice>checkproc: /opt/kde3/bin/kdm 4632
<notice>startproc: execve (/usr/sbin/hald) [ /usr/sbin/hald --daemon=yes --retain-privileges ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 TERM=linux SHELL=/bin/sh ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=99 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/lib/klibc/bin vga=0x314 RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-800x600.cfg PREVLEVEL=N acpi=off LINES=34 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/sda2 _=/sbin/startproc DAEMON=/usr/sbin/hald ]
Starting HAL daemondone
<notice>checkproc: /opt/kde3/bin/kdm 4632
Starting service MySQL Starting mysqld daemon with databases from /var/lib/mysql
<notice>checkproc: amavisd 4891
#
# /etc/init.d/rc5.d
#
total 8
drwxr-xr-x 2 root root 4096 2006-01-03 12:36 ./
drwxr-xr-x 12 root root 4096 2006-01-03 12:35 ../
lrwxrwxrwx 1 root root 22 2005-11-22 16:06 K01SuSEfirewall2_setup -> ../SuSEfirewall2_setup*
lrwxrwxrwx 1 root root 13 2005-11-22 15:52 K03cupsrenice -> ../cupsrenice*
lrwxrwxrwx 1 root root 9 2005-11-22 16:29 K05amavis -> ../amavis*
lrwxrwxrwx 1 root root 12 2005-12-22 14:18 K05haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 8 2005-12-27 14:39 K06clamd -> ../clamd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K06cron -> ../cron*
lrwxrwxrwx 1 root root 12 2005-11-22 16:34 K06freshclam -> ../freshclam*
lrwxrwxrwx 1 root root 10 2005-12-22 14:34 K07apache2 -> ../apache2*
lrwxrwxrwx 1 root root 6 2005-12-22 14:34 K08fam -> ../fam*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K08nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:47 K08postfix -> ../postfix*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 K09xdm -> ../xdm*
lrwxrwxrwx 1 root root 15 2006-01-03 12:36 K10courier-imap -> ../courier-imap*
lrwxrwxrwx 1 root root 14 2006-01-03 12:36 K10courier-pop -> ../courier-pop*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 K10cups -> ../cups*
lrwxrwxrwx 1 root root 12 2005-11-22 15:47 K10microcode -> ../microcode*
lrwxrwxrwx 1 root root 8 2005-11-22 16:34 K10mysql -> ../mysql*
lrwxrwxrwx 1 root root 6 2005-11-22 16:34 K10ntp -> ../ntp*
lrwxrwxrwx 1 root root 9 2005-11-22 15:47 K10splash -> ../splash*
lrwxrwxrwx 1 root root 7 2005-11-22 15:48 K10sshd -> ../sshd*
lrwxrwxrwx 1 root root 6 2005-11-22 15:45 K12nfs -> ../nfs*
lrwxrwxrwx 1 root root 8 2005-11-22 15:46 K14mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:45 K14portmap -> ../portmap*
lrwxrwxrwx 1 root root 15 2005-11-22 15:42 K14splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K16syslog -> ../syslog*
lrwxrwxrwx 1 root root 10 2005-11-22 16:06 K17network -> ../network*
lrwxrwxrwx 1 root root 12 2005-11-22 15:42 K18boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 11 2005-11-22 15:49 K18earlykdm -> ../earlykdm*
lrwxrwxrwx 1 root root 7 2005-11-22 15:46 K19dbus -> ../dbus*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K19resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 11 2005-11-22 15:42 K20earlykbd -> ../earlykbd*
lrwxrwxrwx 1 root root 14 2005-11-22 15:42 K21earlysyslog -> ../earlysyslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:42 K21fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 K21random -> ../random*
lrwxrwxrwx 1 root root 14 2005-11-22 15:42 S01earlysyslog -> ../earlysyslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:41 S01fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-11-22 15:41 S01random -> ../random*
lrwxrwxrwx 1 root root 11 2005-11-22 15:41 S02earlykbd -> ../earlykbd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:46 S03dbus -> ../dbus*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 S03resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 12 2005-11-22 15:42 S04boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 11 2005-11-22 15:49 S04earlykdm -> ../earlykdm*
lrwxrwxrwx 1 root root 10 2005-11-22 16:06 S05network -> ../network*
lrwxrwxrwx 1 root root 9 2005-11-22 15:42 S06syslog -> ../syslog*
lrwxrwxrwx 1 root root 8 2005-11-22 15:46 S08mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:45 S08portmap -> ../portmap*
lrwxrwxrwx 1 root root 15 2005-11-22 15:42 S08splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 6 2005-11-22 15:45 S10nfs -> ../nfs*
lrwxrwxrwx 1 root root 15 2006-01-03 12:36 S12courier-imap -> ../courier-imap*
lrwxrwxrwx 1 root root 14 2006-01-03 12:36 S12courier-pop -> ../courier-pop*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S12cups -> ../cups*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 S12kbd -> ../kbd*
lrwxrwxrwx 1 root root 12 2005-11-22 15:47 S12microcode -> ../microcode*
lrwxrwxrwx 1 root root 8 2005-11-22 16:34 S12mysql -> ../mysql*
lrwxrwxrwx 1 root root 6 2005-11-22 16:34 S12ntp -> ../ntp*
lrwxrwxrwx 1 root root 9 2005-11-22 15:47 S12splash -> ../splash*
lrwxrwxrwx 1 root root 7 2005-11-22 15:48 S12sshd -> ../sshd*
lrwxrwxrwx 1 root root 6 2005-11-22 15:47 S13xdm -> ../xdm*
lrwxrwxrwx 1 root root 6 2005-12-22 14:34 S14fam -> ../fam*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S14nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-11-22 15:47 S14postfix -> ../postfix*
lrwxrwxrwx 1 root root 10 2005-12-22 14:34 S15apache2 -> ../apache2*
lrwxrwxrwx 1 root root 8 2005-12-27 14:39 S16clamd -> ../clamd*
lrwxrwxrwx 1 root root 7 2005-11-22 15:47 S16cron -> ../cron*
lrwxrwxrwx 1 root root 12 2005-11-22 16:34 S16freshclam -> ../freshclam*
lrwxrwxrwx 1 root root 9 2005-11-22 16:29 S17amavis -> ../amavis*
lrwxrwxrwx 1 root root 12 2005-12-22 14:18 S17haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 13 2005-11-22 15:52 S19cupsrenice -> ../cupsrenice*
lrwxrwxrwx 1 root root 22 2005-11-22 16:06 S21SuSEfirewall2_setup -> ../SuSEfirewall2_setup*
Thank you,
Lucky Leavell
| < Previous | Next > |