Skip to main content

MySQL Does Not Start

Comments

10 comments

  • cPanelMichael
    Hello :) I noticed the following in the output you provided: [QUOTE]/usr/sbin/mysqld: Can't create/write to file '/tmp/ibMJAjsh' (Errcode: 28 - No space left on device)
    Please ensure the /tmp partition and any other partition on your system is not at it's disk space limit. Thank you.
    0
  • jca2
    [quote="cPanelMichael, post: 1732141">Hello :) I noticed the following in the output you provided: Please ensure the /tmp partition and any other partition on your system is not at it's disk space limit. Thank you.
    /tmp/ and /var/tmp both have 400M space available, is that too little?
    0
  • triantech
    Hey, Are there lots of files in /tmp ? Check if clearing unnecessary files could help this issue ! I have seen a case when there was enough disk space in /tmp yet lotta files in /tmp preventing the startup !
    0
  • jca2
    [quote="triantech, post: 1732162">Hey, Are there lots of files in /tmp ? Check if clearing unnecessary files could help this issue ! I have seen a case when there was enough disk space in /tmp yet lotta files in /tmp preventing the startup !
    there is several files, though I'm not able to distinguish which ones are important or not. there are several hudnred sess_##### files. [COLOR="silver">- - - Updated - - - I actually deleted all of the sess files and was able to start my database, thanks.
    0
  • triantech
    Hey, Yes the sess files can be removed safely. Glad to know that your MySQL is back working :)
    0
  • arunanson
    2014-12-04 18:40:40 9407 [Note] InnoDB: Highest supported file format is Barracuda. 2014-12-04 18:40:40 9407 [Note] InnoDB: The log sequence numbers 6952730092 and 6952730092 in ibdata files do not match the log sequence number 7297651529 in the ib_logfiles! 2014-12-04 18:40:40 9407 [Note] InnoDB: Database was not shutdown normally! 2014-12-04 18:40:40 9407 [Note] InnoDB: Starting crash recovery. 2014-12-04 18:40:40 9407 [Note] InnoDB: Reading tablespace information from the .ibd files... 2014-12-04 18:40:41 9407 [Note] InnoDB: Restoring possible half-written data pages 2014-12-04 18:40:41 9407 [Note] InnoDB: from the doublewrite buffer... 2014-12-04 18:40:41 9407 [Note] InnoDB: 128 rollback segment(s) are active. 2014-12-04 18:40:41 9407 [Note] InnoDB: Waiting for purge to start 2014-12-04 18:40:41 9407 [Note] InnoDB: 5.6.21 started; log sequence number 7297651529 2014-12-04 18:40:41 9407 [Note] Server hostname (bind-address): '*'; port: 3306 2014-12-04 18:40:41 9407 [Note] IPv6 is available. 2014-12-04 18:40:41 9407 [Note] - '::' resolves to '::'; 2014-12-04 18:40:41 9407 [Note] Server socket created on IP: '::'. 2014-12-04 18:40:41 9407 [ERROR] /usr/sbin/mysqld: Error writing file '/var/lib/mysql/newweb.cloudamaze.com.pid' (Errcode: 28 - No space left on device) 2014-12-04 18:40:41 9407 [ERROR] Can't start server: can't create PID file: No space left on device 141204 18:40:41 mysqld_safe Number of processes running now: 0 141204 18:40:41 mysqld_safe mysqld restarted
    My .err shows the above. Also the file is 15MB of size. I cleared the file after downloading it locally. My httpd works only after manually issuing a service httpd restart command.
    0
  • cPanelMichael
    Hello :) Please check the available space and inodes on your system with commands such as: df -h df -i
    Thank you.
    0
  • arunanson
    Filesystem Size Used Avail Use% Mounted on /dev/xvda 94G 93G 0 100% / tmpfs 2.0G 108K 2.0G 1% /dev/shm /usr/tmpDSK 2.6G 5.7M 2.4G 1% /tmp this is the reply. What should i do?
    0
  • arunanson
    Got it ok. I deleted the 'backups' folder content since i have a backup from my server provider. Now it makes space. :) Had to issue a manual httpd restart. WOrks fine. Thanks for the help anyway.
    0
  • cPanelMichael
    Yes, MySQL requires free space to operate properly. I am happy to see you were able to resolve the issue. Thank you.
    0

Please sign in to leave a comment.