ERROR! MySQL manager or server PID file could not be found!

subigo

Verified User
Joined
Apr 18, 2009
Messages
9
I was using custombuild to upgrade mysql for a client, which I've done a million times in the past without issues. This time the script kept getting time out errors when trying to contact the DA servers.... then it stopped and gave me this error:

Code:
[root@server1 custombuild]# ./build mysql
Cannot find /usr/bin/mysqldump
Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.35-0.glibc23.x86        _64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.1.35-0.glibc23.x86_        64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.1.35-0.glibc23.x86        _64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.1.35-0.glibc23.x86        _64.rpm
Stopping mysqld ...
/etc/init.d/mysqld: line 237: my_print_defaults: command not found
/etc/init.d/mysqld: line 240: my_print_defaults: command not found
 ERROR! MySQL manager or server PID file could not be found!
Can not find /usr/bin/mysql, installing MySQL
MySQL-server-5.1.35-0.glibc23.x86_64.rpm: not an rpm package (or package manifes        t):
/etc/init.d/mysqld: line 237: my_print_defaults: command not found
/etc/init.d/mysqld: line 240: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL manager or server
Giving mysqld a few seconds to start up...
cp: cannot stat `/usr/lib/libmysqlclient.so': No such file or directory
Restarting MySQL.
/etc/init.d/mysqld: line 237: my_print_defaults: command not found
/etc/init.d/mysqld: line 240: my_print_defaults: command not found
/etc/init.d/mysqld: line 237: my_print_defaults: command not found
/etc/init.d/mysqld: line 240: my_print_defaults: command not found
 ERROR! MySQL manager or server PID file could not be found!
/etc/init.d/mysqld: line 237: my_print_defaults: command not found
/etc/init.d/mysqld: line 240: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL manager or server
It is recommended to do "./build php n" after MySQL update.
[root@server1 custombuild]#

Now no matter what I do I can't get it back up and running. I can't run the script again and I can't default back to the old version... any help?
 
hy, I have yesterday the same problem.
I have fixid for now to disable the basedir in /etc/my.cnf
 
I was able to fix in 5.0 install by running the mysql install script inside the /scripts folder. However, custombuild still gives me the same error if I try to upgrade.
 
Try:
Code:
cd /usr/local/directadmin/custombuild
rm -f /usr/local/directadmin/custombuild/mysql/*
./build update
./build mysql
 
Back
Top