wildmanmatt
Verified User
- Joined
- Nov 2, 2009
- Messages
- 23
I'm having rather a problem with MySQL... I don't seem able to get it to start and I'm not sure why.
This is what is in my log:
100206 19:20:06 InnoDB: Starting shutdown...
100206 19:20:07 InnoDB: Shutdown completed; log sequence number 0 2322854460
100206 19:20:07 [Note]
100206 19:20:07 mysqld_safe mysqld from pid file /usr/local/mysql/data/serv1.pid ended
100206 19:20:11 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100206 19:20:11 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:20:11 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
100206 19:20:11 [Note] Plugin 'FEDERATED' is disabled.
100206 19:20:11 InnoDB: Started; log sequence number 0 2322854460
100206 19:20:11 [ERROR] Aborting
100206 19:20:11 InnoDB: Starting shutdown...
100206 19:20:12 InnoDB: Shutdown completed; log sequence number 0 2322854460
100206 19:20:12 [Note]
100206 19:20:12 mysqld_safe mysqld from pid file /usr/local/mysql/data/serv1.pid ended
It just won't stay started :/
I changed a line in /etc/init.d/mysqld to
/usr/local/mysql/bin/mysqld_safe --user=mysql --datadir=${DB_DIR} --language=./share/english/. --pid-file=${PIDFILE} > /dev/null &
to try and show it where errmsg.sys is, but the log now shows:
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:36:32 mysqld_safe Number of processes running now: 0
100206 19:36:32 mysqld_safe mysqld restarted
100206 19:36:32 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:36:32 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100206 19:36:32 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100206 19:36:32 InnoDB: Started; log sequence number 0 2322871212
100206 19:36:32 [Note] Event Scheduler: Loaded 0 events
100206 19:36:32 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:37:01 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100206 19:37:01 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:37:01 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100206 19:37:01 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100206 19:37:01 InnoDB: Started; log sequence number 0 2322872115
100206 19:37:01 [Note] Event Scheduler: Loaded 0 events
100206 19:37:01 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:37:07 mysqld_safe A mysqld process already exists
100206 19:37:44 mysqld_safe A mysqld process already exists
100206 19:37:55 [ERROR] /usr/local/mysql/bin/mysqld: Table './wwimages_g2_birds/g2_SequenceEventLog' is marked as crashed and should be repaired
100206 19:37:55 [Warning] Checking table: './wwimages_g2_birds/g2_SequenceEventLog'
I really don't know what's wrong Please could someone help?
Thanks,
Matt
This is what is in my log:
100206 19:20:06 InnoDB: Starting shutdown...
100206 19:20:07 InnoDB: Shutdown completed; log sequence number 0 2322854460
100206 19:20:07 [Note]
100206 19:20:07 mysqld_safe mysqld from pid file /usr/local/mysql/data/serv1.pid ended
100206 19:20:11 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100206 19:20:11 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:20:11 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
100206 19:20:11 [Note] Plugin 'FEDERATED' is disabled.
100206 19:20:11 InnoDB: Started; log sequence number 0 2322854460
100206 19:20:11 [ERROR] Aborting
100206 19:20:11 InnoDB: Starting shutdown...
100206 19:20:12 InnoDB: Shutdown completed; log sequence number 0 2322854460
100206 19:20:12 [Note]
100206 19:20:12 mysqld_safe mysqld from pid file /usr/local/mysql/data/serv1.pid ended
It just won't stay started :/
I changed a line in /etc/init.d/mysqld to
/usr/local/mysql/bin/mysqld_safe --user=mysql --datadir=${DB_DIR} --language=./share/english/. --pid-file=${PIDFILE} > /dev/null &
to try and show it where errmsg.sys is, but the log now shows:
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:36:32 mysqld_safe Number of processes running now: 0
100206 19:36:32 mysqld_safe mysqld restarted
100206 19:36:32 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:36:32 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100206 19:36:32 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100206 19:36:32 InnoDB: Started; log sequence number 0 2322871212
100206 19:36:32 [Note] Event Scheduler: Loaded 0 events
100206 19:36:32 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:37:01 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
100206 19:37:01 [Warning] The syntax '--log' is deprecated and will be removed in MySQL 7.0. Please use '--general_log'/'--general_log_file' instead.
100206 19:37:01 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
100206 19:37:01 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
100206 19:37:01 InnoDB: Started; log sequence number 0 2322872115
100206 19:37:01 [Note] Event Scheduler: Loaded 0 events
100206 19:37:01 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.1.42-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
100206 19:37:07 mysqld_safe A mysqld process already exists
100206 19:37:44 mysqld_safe A mysqld process already exists
100206 19:37:55 [ERROR] /usr/local/mysql/bin/mysqld: Table './wwimages_g2_birds/g2_SequenceEventLog' is marked as crashed and should be repaired
100206 19:37:55 [Warning] Checking table: './wwimages_g2_birds/g2_SequenceEventLog'
I really don't know what's wrong Please could someone help?
Thanks,
Matt