Mysql

thomasdk81

Verified User
Joined
Oct 3, 2010
Messages
56
Location
Denmark
As you can see mysql installation is screwed big time.
Is there anyway I can reset it all and do a custombuild and its fixed?

-----------------------------------------------------------------------

root@server1:/usr/local/directadmin/custombuild# ./build mysql d
Cannot find /usr/bin/mysqldump
Stopping mysqld ...
Stopping mysqld: [ FAILED ]

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
rm: cannot remove `mysql': Is a directory
chown: cannot access `/usr/local/mysql--linux-x86_64': No such file or directory
Giving mysqld a few seconds to start up...
Restarting MySQL.
Stopping mysqld: [ FAILED ]
It is recommended to do "./build php n" after MySQL update.
root@server1:/usr/local/directadmin/custombuild#

-------------------------------------------------------------------------

root@server1:/usr/local/directadmin/custombuild# /etc/ini.d/mysqld start
-bash: /etc/ini.d/mysqld: No such file or directory
root@server1:/usr/local/directadmin/custombuild#

-------------------------------------------------------------------------

root@server1:/usr/local/directadmin/custombuild# tail -n 30 /home/mysql/server1.
infoland.dk.err
101117 18:20:11 [ERROR] Aborting

101117 18:20:11 InnoDB: Starting shutdown...
101117 18:20:12 InnoDB: Shutdown completed; log sequence number 0 50771950
101117 18:20:12 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

101117 18:20:12 mysqld ended

101117 18:21:01 mysqld started
101117 18:21:01 InnoDB: Started; log sequence number 0 50771950
101117 18:21:01 [ERROR] Can't start server : UNIX Socket : Cannot allocate memor
y
101117 18:21:01 [ERROR] Aborting

101117 18:21:01 InnoDB: Starting shutdown...
101117 18:21:02 InnoDB: Shutdown completed; log sequence number 0 50771950
101117 18:21:02 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

101117 18:21:02 mysqld ended

101117 18:21:11 mysqld started
101117 18:21:11 InnoDB: Started; log sequence number 0 50771950
101117 18:21:11 [ERROR] Can't start server : UNIX Socket : Cannot allocate memor
y
101117 18:21:11 [ERROR] Aborting

101117 18:21:11 InnoDB: Starting shutdown...
101117 18:21:12 InnoDB: Shutdown completed; log sequence number 0 50771950
101117 18:21:12 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

101117 18:21:12 mysqld ended

root@server1:/usr/local/directadmin/custombuild#
 
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build mysql d
 
Something is messed up...

Try:

yum reinstall mysql-server mysql

chown: cannot access `/usr/local/mysql--linux-x86_64': No such file or directory

it is stripping the version ... so something is busted with the shell script...guess it doesnt do good checking when things go bad.
 
I have a Debian Lenny 64-bit box.
Tried apt-get install mysql-server but it just fails.

When I run
Code:
./build mysql d
I now get this:

Code:
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '
/var1/run/mysqld/mysqld.sock' (12) when trying to connect
[I](First two lines are repeated for every db I have)[/I]
Stopping mysqld ...
Stopping mysqld:                [ FAILED ]
rm: cannot remove `mysql': Is a directory
ln: creating symbolic link `mysql/mysql-5.1.52-linux-x86_64': File exists
Giving mysqld a few seconds to start up...
Restarting MySQL.
Stopping mysqld:                [ FAILED ]
It is recommended to do "./build php n" after MySQL update.
root@server1:/usr/local/directadmin/custombuild#
 
Back
Top