Luego al intentar iniciarlo manualmente obtengo esto:
Cita:
Alguien sabe que puedo hacer para arreglarlo? root@proyecto-nsd:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
root@proyecto-nsd:~# mysqld
140815 13:28:36 [Note] InnoDB: Using mutexes to ref count buffer pool pages
140815 13:28:36 [Note] InnoDB: The InnoDB memory heap is disabled
140815 13:28:36 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140815 13:28:36 [Note] InnoDB: Compressed tables use zlib 1.2.7
140815 13:28:36 [Note] InnoDB: Using Linux native AIO
140815 13:28:36 [Note] InnoDB: Not using CPU crc32 instructions
140815 13:28:36 [Note] InnoDB: Initializing buffer pool, size = 10.0M
140815 13:28:36 [Note] InnoDB: Completed initialization of buffer pool
InnoDB: at file /home/buildbot/buildbot/build/mariadb-10.1.0/storage/xtradb/os/os0file.cc and at line 2087
140815 13:28:36 [Note] InnoDB: Highest supported file format is Barracuda.
140815 13:28:36 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
140815 13:28:36 [Note] InnoDB: Database was not shutdown normally!
140815 13:28:36 [Note] InnoDB: Starting crash recovery.
140815 13:28:36 [Note] InnoDB: Reading tablespace information from the .ibd files...
140815 13:28:36 [Note] InnoDB: Restoring possible half-written data pages
140815 13:28:36 [Note] InnoDB: from the doublewrite buffer...
140815 13:28:36 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Doing recovery: scanned up to log sequence number 1600617
140815 13:28:36 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
140815 13:28:37 [Note] InnoDB: 128 rollback segment(s) are active.
140815 13:28:37 [Note] InnoDB: Waiting for purge to start
140815 13:28:37 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.17-65.0 started; log sequence number 1600617
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 131014656 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 98254848 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 73678848 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 55246848 bytes)
140815 13:28:37 [Note] Plugin 'FEEDBACK' is disabled.
140815 13:28:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
140815 13:28:37 [Note] Recovering after a crash using /var/log/mysql/mariadb-bin
140815 13:28:37 [Note] Starting crash recovery...
140815 13:28:37 [Note] Crash recovery finished.
140815 13:28:37 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
140815 13:28:37 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
140815 13:28:37 [Note] Server socket created on IP: '127.0.0.1'.
140815 13:28:37 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
root@proyecto-nsd:~# mysqld
140815 13:28:36 [Note] InnoDB: Using mutexes to ref count buffer pool pages
140815 13:28:36 [Note] InnoDB: The InnoDB memory heap is disabled
140815 13:28:36 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
140815 13:28:36 [Note] InnoDB: Compressed tables use zlib 1.2.7
140815 13:28:36 [Note] InnoDB: Using Linux native AIO
140815 13:28:36 [Note] InnoDB: Not using CPU crc32 instructions
140815 13:28:36 [Note] InnoDB: Initializing buffer pool, size = 10.0M
140815 13:28:36 [Note] InnoDB: Completed initialization of buffer pool
InnoDB: at file /home/buildbot/buildbot/build/mariadb-10.1.0/storage/xtradb/os/os0file.cc and at line 2087
140815 13:28:36 [Note] InnoDB: Highest supported file format is Barracuda.
140815 13:28:36 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
140815 13:28:36 [Note] InnoDB: Database was not shutdown normally!
140815 13:28:36 [Note] InnoDB: Starting crash recovery.
140815 13:28:36 [Note] InnoDB: Reading tablespace information from the .ibd files...
140815 13:28:36 [Note] InnoDB: Restoring possible half-written data pages
140815 13:28:36 [Note] InnoDB: from the doublewrite buffer...
140815 13:28:36 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Doing recovery: scanned up to log sequence number 1600617
140815 13:28:36 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
140815 13:28:37 [Note] InnoDB: 128 rollback segment(s) are active.
140815 13:28:37 [Note] InnoDB: Waiting for purge to start
140815 13:28:37 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.17-65.0 started; log sequence number 1600617
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 131014656 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 98254848 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 73678848 bytes)
140815 13:28:37 [ERROR] mysqld: Out of memory (Needed 55246848 bytes)
140815 13:28:37 [Note] Plugin 'FEEDBACK' is disabled.
140815 13:28:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
140815 13:28:37 [Note] Recovering after a crash using /var/log/mysql/mariadb-bin
140815 13:28:37 [Note] Starting crash recovery...
140815 13:28:37 [Note] Crash recovery finished.
140815 13:28:37 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
140815 13:28:37 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
140815 13:28:37 [Note] Server socket created on IP: '127.0.0.1'.
140815 13:28:37 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist