clint, Wednesday, October 16, 2002, 1:14:08 AM, you wrote: caddn> Recently the server had to be hard-booted... a safe shutdown was not possible. After the server came back up, mysql caddn> has been acting very funny. When the server first boots, mysql wont respond to anything. I restart mysql and all works fine caddn> when connecting to Localhost, however when you try to connect to the server via TCP/IP you get the following error on the caddn> client :
caddn> [root@monitor bin]# ./mysqlshow -h www.dis.net -u root -p caddn> Enter password: caddn> ./mysqlshow: Lost connection to MySQL server during query caddn> [root@monitor bin]# caddn> At the same you do this on the client machine.. you get this on the host machine : caddn> /usr/local/bin/safe_mysqld: line 269: 26209 Segmentation fault $NOHUP_NICENESS $ledir/$MYSQLD $defaults caddn> --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >$err_log 2>&1 caddn> Number of processes running now: 1 caddn> mysqld process hanging, pid 26212 - killed caddn> 021015 14:54:14 mysqld restarted caddn> I originally thought it may have something to do with the client.. but even a simple 'telnet www.host.com 3306' will produce caddn> the same error on the server. caddn> I tried starting mysql directly (without using safe_mysqld) by using /usr/local/libexec/mysqld --user=root. When I did this, caddn> it caddn> didnt spit out an error on the client side, but it does cause a segmentation fault on the server with no additional warnings caddn> or logs. After that the server fails to respond to anything. caddn> I have re-installed mysql from a secured distribution, so I know it doesnt have anything to do with any tampering. I have run caddn> checks on all of the databases and they all seem fine. Also, everything works fine when connecting with a UNIX socket caddn> (Localhost), the problem only appears when connecting with TCP/IP. What do you mean "secured distribution"? Re-intsall MySQL from binary distribution and let us know if it appears again. -- For technical support contracts, goto https://order.mysql.com/?ref=ma02-010c This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com --------------------------------------------------------------------- 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