1 |
Hi guys, |
2 |
|
3 |
I have a strange issue - MySQL startup script reports about error |
4 |
during system startup: |
5 |
|
6 |
* Starting mysql ... |
7 |
* Starting mysql (/etc/mysql/my.cnf) |
8 |
* MySQL NOT started (0) |
9 |
|
10 |
There is no errors in /var/log/mysql/mysqld.err: |
11 |
|
12 |
070621 16:10:43 [Warning] No argument was provided to --log-bin, and |
13 |
--log-bin-index was not used; so replication may break when this MySQL |
14 |
server acts as a master and has his hostname changed!! Please use |
15 |
'--log-bin=/var/run/mysqld/mysqld-bin' to avoid this problem. |
16 |
070621 16:10:47 InnoDB: Started; log sequence number 0 43675 |
17 |
070621 16:10:50 [Note] /usr/sbin/mysqld: ready for connections. |
18 |
Version: '5.0.42-log' socket: '/var/run/mysqld/mysqld.sock' port: |
19 |
3306 Gentoo Linux mysql-5.0.42 |
20 |
|
21 |
MySQL process exists: |
22 |
|
23 |
# ps ax | grep mysql |
24 |
4208 ? Ssl 0:00 /usr/sbin/mysqld |
25 |
--defaults-file=/etc/mysql/my.cnf --basedir=/usr |
26 |
--datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid |
27 |
--socket=/var/run/mysqld/mysqld.sock |
28 |
|
29 |
# netstat -nlp | grep mysql |
30 |
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4208/mysqld |
31 |
unix 2 [ ACC ] STREAM LISTENING 9546 4208/mysqld /var/run/mysqld/mysqld.sock |
32 |
|
33 |
|
34 |
Any ideas what it may be? I've checked mysql rc script and found this |
35 |
message may appears when it can't create mysql socket. |
36 |
|
37 |
Thanks for any help. |
38 |
|
39 |
|
40 |
P.S. # uname -rsm |
41 |
Linux 2.6.20-gentoo-r8 i686 |
42 |
|
43 |
# ls -alh /etc/ | grep make.profile |
44 |
lrwxrwxrwx 1 root root 48 May 9 13:04 make.profile -> ../usr/portage/profiles/default-linux/x86/2007.0 |
45 |
|
46 |
|
47 |
-- |
48 |
Sergey |
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |