Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2003
    Posts
    142

    Default MYSQL errors after upgrade to latest CURRENT version

    We are getting mySQL errors all over the place for customers' mysql databases after upgrading to the latest current version. Errors similar to:

    Invalid SQL: Can't create/write to file '/tmp/#sql_69a9_0.MYI' (Errcode: 13)

    Invalid SQL: Can't open file: 'asFaqQuestions.MYI'. (errno: 144)

    Any ideas or assistance with this? We did notice some errors during hte /scripts/upcp process when it was wget'ing certain mySQL files - maybe these are incomplete on the server - is there a way to remove them and run /scripts/upcp again to download required tarballs again?
    Mike

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    147

    Default

    Did you tried /scripts/upcp --force
    I'm not sure if it reload also the mysql binaries ...

    I had no problem with the mysql update so far.

  3. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Try

    /scripts/restartsrv_mysql
    then

    mysqlcheck -Ar


    Also make sure /tmp isn't full

  4. #4
    Member
    Join Date
    Aug 2003
    Posts
    142

    Default

    mysql.sock went missing and one point and PID file was also lost - resolved that by resetting the mysql root password etc.

    As the errors referenced writing to /tmp I found out also that for some reason /tmp had lost its 1777 permissions - chmodded it back and no more errors.

    The databases appear to be fine, no corruptions from what i can see...
    Mike

  5. #5
    Member
    Join Date
    Apr 2003
    Location
    Denver, CO
    Posts
    294

    Default

    Quote Originally Posted by mydomain
    mysql.sock went missing and one point and PID file was also lost - resolved that by resetting the mysql root password etc.

    As the errors referenced writing to /tmp I found out also that for some reason /tmp had lost its 1777 permissions - chmodded it back and no more errors.

    The databases appear to be fine, no corruptions from what i can see...
    That didn't work for me I still have:

    Code:
    041031 11:15:45  mysqld started
    041031 11:15:45 Warning: Asked for 196608 thread stack, but got 126976
    /usr/sbin/mysqld: Can't create/write to file '/tmp/ibCimikU' (Errcode: 13)
    041031 11:15:45  InnoDB: Error: unable to create temporary file; errno: 13
    041031 11:15:45 Can't init databases
    041031 11:15:45 Aborting
    
    041031 11:15:45  InnoDB: Warning: shutting down a not properly started
                     InnoDB: or created database!
    041031 11:15:45 /usr/sbin/mysqld: Shutdown Complete
    
    041031 11:15:45  mysqld ended
    NOTE: This is only on REBOOT, when i do a service mysql start it will start without the file permission error. I think this has SOMETHING to do with SECURETMP environments on startup......
    Last edited by jrehmer; 10-31-2004 at 12:15 PM.

Similar Threads & Tags
Similar threads

  1. Errors when trying to 'Upgrade to Latest Version'
    By djblamire in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2007, 04:03 PM
  2. how to upgrade to latest version of mysql (security issue)
    By yonez in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-01-2006, 01:26 PM
  3. How to Upgrade mySQL to latest version
    By Stylissimo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-20-2006, 10:54 PM
  4. exim.conf deleted after upgrade to latest CURRENT
    By Stream in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 02-01-2005, 11:08 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube