En un cliente nos hemos encontrado el siguiente en mysql y la BD no conseguia arrancar.

 

Nov  6 17:07:49 web kernel: [ 5578.439288] type=1400 audit(1289059669.104:194):

apparmor=»STATUS» operation=»profile_replace» name=»/usr/sbin/mysqld»

 

 

root@web:/etc/apparmor.d# tail -f /var/log/mysql/error.log

101106 17:11:55 [Note] Plugin ‘FEDERATED’ is disabled.
101106 17:11:55  InnoDB: Started; log sequence number 0 44233
101106 17:11:55 [ERROR] Can’t start server: Bind on TCP/IP port: Cannot assign requested address
101106 17:11:55 [ERROR] Do you already have another mysqld server running on port: 3306 ?
101106 17:11:55 [ERROR] Aborting

101106 17:11:55  InnoDB: Starting shutdown…
101106 17:12:00  InnoDB: Shutdown completed; log sequence number 0 44233
101106 17:12:00 [Note] /usr/sbin/mysqld: Shutdown complete

 

Hemos probad a parar el apparmor y arrancar secuencialmente mysql pero seguiamos con el mismo fallo.

/etc/init.d/apparmor stop

start Mysql via

/etc/init.d/mysql start

My Sql will run and you can now restart apparmor via

/etc/init.d/apparmor start

 

La solucion fue cuando nos dimos cuenta que el cliente habia modificado en my.cnf  el  bind-address, de momento lo comentamos y funciona ahora toca configurarlo adecuadamente.

 

Por admin

Deja una respuesta

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock