Bug #55621 MySQL Server STARTS AND sTOPs Immediately
Submitted: 29 Jul 2010 7:59 Modified: 29 Jul 2010 11:18
Reporter: Anil Alpati Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1.45 OS:Linux (ubuntu 9.04)
Assigned to: CPU Architecture:Any

[29 Jul 2010 7:59] Anil Alpati
Description:
I have taken copy of existing Mysql backup in ubuntu machine and installed newly in another ubuntu machine. 

Every thing went well. But When ever I start MySQL Server ..and its stops Immediately 

And also I have noticed "my.cnf" is "Warning: World-writable config file '/media/disk/mysql5145/my.cnf' is ignored". By the way I have given RW permission (777)

Below is the Error which I'm getting  back end logs 

100729 13:07:49 mysqld_safe mysqld from pid file /media/disk/mysql5145/slaveserver.pid ended
100729 13:08:30 mysqld_safe Starting mysqld daemon with databases from /media/disk/mysql5145/data
100729 13:08:30 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
100729 13:08:30 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: Unable to lock /usr/local/mysql/data/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock /usr/local/mysql/data/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock /usr/local/mysql/data/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock /usr/local/mysql/data/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock /usr/local/mysql/data/ibdata1, error: 11
InnoDB: using the same InnoDB data or log files.
100729 13:10:11  InnoDB: Unable to open the first data file
InnoDB: Error in opening /usr/local/mysql/data/ibdata1
100729 13:10:11  InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
100729 13:10:11 [ERROR] Plugin 'InnoDB' init function returned error.
100729 13:10:11 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
100729 13:10:11 [ERROR] Unknown/unsupported table type: INNODB
100729 13:10:11 [ERROR] Aborting

100729 13:10:11 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

100729 13:10:11 mysqld_safe mysqld from pid file /media/disk/mysql5145/slaveserver.pid ended
100729 13:16:54 mysqld_safe Starting mysqld daemon with databases from /media/disk/mysql5145/data
Warning: World-writable config file '/media/disk/mysql5145/my.cnf' is ignored
100729 13:16:55 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
100729 13:16:55  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100729 13:16:55  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
100729 13:16:56  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100729 13:16:56  InnoDB: Started; log sequence number 0 0
100729 13:16:56 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
100729 13:16:56 [ERROR] Do you already have another mysqld server running on port: 3306 ?
100729 13:16:56 [ERROR] Aborting

100729 13:16:56  InnoDB: Starting shutdown...
100729 13:17:01  InnoDB: Shutdown completed; log sequence number 0 44233
100729 13:17:01 [Note] /media/disk/mysql5145/bin/mysqld: Shutdown complete

100729 13:17:01 mysqld_safe mysqld from pid file /media/disk/mysql5145/slaveserver.pid ended

please give me your feedback on the same at your earliest.

Thanks in advance

How to repeat:
Same as Description
[29 Jul 2010 10:57] Shane Bester
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug.

Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/

Thank you for your interest in MySQL.
[29 Jul 2010 11:18] Anil Alpati
Please help me out.. how can i fix this issue.