>Description: Recently the server had to be hard-booted... a safe shutdown was not possible. After the server came back up, mysql has been acting very funny. When the server first boots, mysql wont respond to anything. I restart mysql and all works fine when connecting to Localhost, however when you try to connect to the server via TCP/IP you get the following error on the client :
[root@monitor bin]# ./mysqlshow -h www.dis.net -u root -p Enter password: ./mysqlshow: Lost connection to MySQL server during query [root@monitor bin]# At the same you do this on the client machine.. you get this on the host machine : /usr/local/bin/safe_mysqld: line 269: 26209 Segmentation fault $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1 Number of processes running now: 1 mysqld process hanging, pid 26212 - killed 021015 14:54:14 mysqld restarted I originally thought it may have something to do with the client.. but even a simple 'telnet www.host.com 3306' will produce the same error on the server. I tried starting mysql directly (without using safe_mysqld) by using /usr/local/libexec/mysqld --user=root. When I did this, it didnt spit out an error on the client side, but it does cause a segmentation fault on the server with no additional warnings or logs. After that the server fails to respond to anything. I have re-installed mysql from a secured distribution, so I know it doesnt have anything to do with any tampering. I have run checks on all of the databases and they all seem fine. Also, everything works fine when connecting with a UNIX socket (Localhost), the problem only appears when connecting with TCP/IP. >How-To-Repeat: Connect to the server via TCP/IP >Fix: No Clue. >Submitter-Id: <submitter ID> >Originator: [EMAIL PROTECTED] >Organization: Digital Internet Services Corporation >MySQL support: none >Synopsis: Server crashes on connect via TCP/IP. >Severity: critical >Priority: high >Category: mysql >Class: sw-bug >Release: mysql-3.23.41 (Source distribution) >Environment: System: Linux www.dis.net 2.4.9-31 #1 Tue Feb 26 07:11:02 EST 2002 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85) Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Oct 7 09:33 /lib/libc.so.6 -> libc-2.2.4.so -rwxr-xr-x 1 root root 1285884 Sep 9 09:10 /lib/libc-2.2.4.so -rw-r--r-- 1 root root 27336078 Sep 9 08:48 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Sep 9 08:48 /usr/lib/libc.so Configure command: ./configure --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php