Skip to main content

Errors during auto update

Comments

6 comments

  • vanessa
    Do this: 1) stop mysql 2) delete the PID files in /var/lib/mysql: rm -v /var/lib/mysql/*.pid
    3) start mysql 4) run the update again The error in the update is pretty clear that the problem is related to the pids. Alternatively, just delete whatever pid doesn't correspond to the hostname of your server.
    0
  • koda
    Thank you Vanessa I'll pass this up to my admin and let you know if it worked
    0
  • cPanelMichael
    Hello :) This could have happened if the hostname was changed with MySQL running. You could stop MySQL and remove the PID file before upgrading MySQL again as Vanessa suggested. EX: service mysql stop && rm -vi /var/lib/mysql/*.pid service mysql start
    Thank you.
    0
  • koda
    I see... this is possible. Admin have yet to test but I'm confident it will do the trick (and I'll report back)
    0
  • koda
    Ok reporting.... We did what suggested but it seems there are still issues... It seems /var/lib/mysql/myvirtualservername.local.pid /var/lib/mysql/mailserver.mymailserver.com.pid Are still there and the update fails again :(
    0
  • cPanelMichael
    To verify, are those PID files created automatically when MySQL restarts or are you unable to remove them? Thank you.
    0

Please sign in to leave a comment.