hi!

Szepen telepitve, ahogy kell:

mysql-server-5.1.52-1.el6_0.1.i686


Ha siman startolom, akkor nem indul el:

+ TIMEOUT=120
+ '[' 120 -gt 0 ']'
+ /usr/bin/mysqld_safe --datadir=/var/lib/mysql 
--socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid 
--basedir=/usr --user=mysql
++ /usr/bin/mysqladmin --socket=/var/lib/mysql/mysql.sock 
--user=UNKNOWN_MYSQL_USER ping
+ RESPONSE='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' 
failed
error: '\''Can'\''t connect to local MySQL server through socket 
'\''/var/lib/mysql/mysql.sock'\'' (2)'\''
Check that mysqld is running and that the socket: 
'\''/var/lib/mysql/mysql.sock'\'' exists!'
+ echo '/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
error: '\''Can'\''t connect to local MySQL server through socket 
'\''/var/lib/mysql/mysql.sock'\'' (2)'\''
Check that mysqld is running and that the socket: 
'\''/var/lib/mysql/mysql.sock'\'' exists!'
+ grep -q 'Access denied for user'
+ /bin/kill -0 21921
+ sleep 1
+ let TIMEOUT=120-1
+ '[' 119 -gt 0 ']'
++ /usr/bin/mysqladmin --socket=/var/lib/mysql/mysql.sock 
--user=UNKNOWN_MYSQL_USER ping
+ RESPONSE='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' 
failed
error: '\''Can'\''t connect to local MySQL server through socket 
'\''/var/lib/mysql/mysql.sock'\'' (2)'\''
Check that mysqld is running and that the socket: 
'\''/var/lib/mysql/mysql.sock'\'' exists!'
+ grep -q 'Access denied for user'
+ echo '/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
error: '\''Can'\''t connect to local MySQL server through socket 
'\''/var/lib/mysql/mysql.sock'\'' (2)'\''
Check that mysqld is running and that the socket: 
'\''/var/lib/mysql/mysql.sock'\'' exists!'
+ /bin/kill -0 21921
+ echo 'MySQL Daemon failed to start.'
MySQL Daemon failed to start.


Azaz ha jol ertelmezem, a process fut, de meg azelott elszall, hogy 
lehetne a service-hez kapcsolodni.

Ellenben, ha a sh -x /etc/init.d/mysqld-vel startolom, akkor rendben 
elindul. Vajon mi baja lehet?


10x

tompos
_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz