[+] Nie uruchamia si
[+] Nie uruchamia się Mysql
Witam
Jeżeli w /etc/mysql/my.conf ustawię
bind-address = 127.0.0.1
to serwer Mysql nie startuje.
Może mi ktoś podpowiedzieć co jest tego przyczyną.
Noel
Jeżeli w /etc/mysql/my.conf ustawię
bind-address = 127.0.0.1
to serwer Mysql nie startuje.
Może mi ktoś podpowiedzieć co jest tego przyczyną.
Noel
W logach nic nie ma
Sprawdzałem w /var/log/mysql.log - jest pusty
[ Dodano: 2008-04-14, 14:00 ]
Jednynie w daemon.log
NOEL[/code]
Sprawdzałem w /var/log/mysql.log - jest pusty
[ Dodano: 2008-04-14, 14:00 ]
Jednynie w daemon.log
Kod: Zaznacz cały
Apr 14 13:50:50 Rak mysqld[6733]: 080414 13:50:50 InnoDB: Started; log sequence number 0 43655
Apr 14 13:50:50 Rak mysqld[6733]: 080414 13:50:50 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Apr 14 13:50:50 Rak mysqld[6733]: 080414 13:50:50 [ERROR] Do you already have another mysqld server running on port: 3396 ?
Apr 14 13:50:50 Rak mysqld[6733]: 080414 13:50:50 [ERROR] Aborting
Apr 14 13:50:50 Rak mysqld[6733]:
Apr 14 13:50:50 Rak mysqld[6733]: 080414 13:50:50 InnoDB: Starting shutdown...
Apr 14 13:50:53 Rak mysqld[6733]: 080414 13:50:53 InnoDB: Shutdown completed; log sequence number 0 43655
Apr 14 13:50:53 Rak mysqld[6733]: 080414 13:50:53 [Note] /usr/sbin/mysqld: Shutdown complete
Apr 14 13:50:53 Rak mysqld[6733]:
Apr 14 13:50:53 Rak mysqld_safe[6761]: ended
Apr 14 13:51:05 Rak /etc/init.d/mysql[6878]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr 14 13:51:05 Rak /etc/init.d/mysql[6878]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 14 13:51:05 Rak /etc/init.d/mysql[6878]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr 14 13:51:05 Rak /etc/init.d/mysql[6878]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr 14 13:51:05 Rak /etc/init.d/mysql[6878]:
Sprawdz czy cos chodzi na tym porcie:
Kod: Zaznacz cały
netstat -ltnp | grep :3396
Port 3396 nie jest zajęty przez żaden proces.
Ponowie informacje z początku wątku.
Jeżeli wyłączę obsługę bind-address = 127.0.0.1 w my.conf to serwer startuje i nasłuchuje na porcie 3396.
Jeżeli tą opcje włączam to serwer mysql nie chce startować.
Opcja bind-addres = 127.0.0.1 jest potrzebna mi niezbędna - bez niej nie działają mi inne usługi korzystające z bazy danych.
Wcześniej wszystko chodziło dobrze, w weekend się posypało.
Noel.
Ponowie informacje z początku wątku.
Jeżeli wyłączę obsługę bind-address = 127.0.0.1 w my.conf to serwer startuje i nasłuchuje na porcie 3396.
Jeżeli tą opcje włączam to serwer mysql nie chce startować.
Opcja bind-addres = 127.0.0.1 jest potrzebna mi niezbędna - bez niej nie działają mi inne usługi korzystające z bazy danych.
Wcześniej wszystko chodziło dobrze, w weekend się posypało.
Noel.
Tak
127.0.0.1 localhost
127.0.1.1 Rak
Noel
[ Dodano: 2008-04-14, 16:22 ]
Wróciłem na port domyślny dla mysql 3306
daemon.log wygląda teraz tak:
Noel
127.0.0.1 localhost
127.0.1.1 Rak
Noel
[ Dodano: 2008-04-14, 16:22 ]
Wróciłem na port domyślny dla mysql 3306
daemon.log wygląda teraz tak:
Kod: Zaznacz cały
Apr 14 16:20:54 Rak mysqld_safe[18381]: started
Apr 14 16:20:55 Rak mysqld[18384]: 080414 16:20:55 InnoDB: Started; log sequence number 0 43655
Apr 14 16:20:55 Rak mysqld[18384]: 080414 16:20:55 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
Apr 14 16:20:55 Rak mysqld[18384]: 080414 16:20:55 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Apr 14 16:20:55 Rak mysqld[18384]: 080414 16:20:55 [ERROR] Aborting
Apr 14 16:20:55 Rak mysqld[18384]:
Apr 14 16:20:55 Rak mysqld[18384]: 080414 16:20:55 InnoDB: Starting shutdown...
Apr 14 16:20:57 Rak mysqld[18384]: 080414 16:20:57 InnoDB: Shutdown completed; log sequence number 0 43655
Apr 14 16:20:57 Rak mysqld[18384]: 080414 16:20:57 [Note] /usr/sbin/mysqld: Shutdown complete
Apr 14 16:20:57 Rak mysqld[18384]:
Apr 14 16:20:57 Rak mysqld_safe[18412]: ended
Apr 14 16:21:09 Rak /etc/init.d/mysql[18529]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr 14 16:21:09 Rak /etc/init.d/mysql[18529]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 14 16:21:09 Rak /etc/init.d/mysql[18529]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr 14 16:21:09 Rak /etc/init.d/mysql[18529]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr 14 16:21:09 Rak /etc/init.d/mysql[18529]: