Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/12/2014, 23:43
juansemaster
 
Fecha de Ingreso: noviembre-2005
Mensajes: 144
Antigüedad: 18 años, 5 meses
Puntos: 2
problema con mysql.sock, no inicia el mysql en el servidor.

Me esta saliendo este error y no logro solucionarlo.

Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Aparentemente no encuentra el archivo mysql.sock, fui al directorio donde esta ubicado y efectivamente no existe. busque el archivo por todo el servidor y no esta.

apague el servicio mysql y cuando intente iniciarlo por consola me tirar el error FAILED.

Uso zpanel no se como resolver este problema sin perder todas mis bases de datos.


El log mysqld dice esto

Código MySQL:
Ver original
  1. 141220 01:06:19 mysqld_safe Number of processes running now: 0
  2. 141220 01:06:19 mysqld_safe mysqld restarted
  3. 141220  1:06:19  InnoDB: Initializing buffer pool, size = 8.0M
  4. 141220  1:06:19  InnoDB: Completed initialization of buffer pool
  5. 141220  1:06:19  InnoDB: Started; log sequence number 0 215541298
  6. 141220  1:06:19 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
  7. 141220  1:06:19 [ERROR] Can't start server: can't create PID file: No space left on device
  8. 141220 01:06:19 mysqld_safe Number of processes running now: 0
  9. 141220 01:06:19 mysqld_safe mysqld restarted
  10. 141220  1:06:19  InnoDB: Initializing buffer pool, size = 8.0M
  11. 141220  1:06:19  InnoDB: Completed initialization of buffer pool
  12. 141220  1:06:19  InnoDB: Started; log sequence number 0 215541298
  13. 141220  1:06:19 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid'



intente reinstalar el Mysql pero me dice algo de insuficiente espacio en VAR/cache/yum...

Última edición por juansemaster; 20/12/2014 a las 04:36