RT_SiteConfig.pm is locked

Hello,

I’m having a problem with my RT site showing that RT_SiteConfig.pm is locked.

Upon checking the server, error message "Can’t connect to local MySQL server through socket ‘/var/run/mysql/mysql.sock’. Here is the screenshot:

I have tried the suggestion to modify crontabs or run a script from: Why RT_SiteConfig.pm locked? - #3 by Guadagnino_Cristiano, but it didn’t work.

I also tried switching 127.0.0.1 to localhost in my.cnf and restarting or stopping mysql, but no lucks so far.

I believe the file /var/run/mysql/mysqld.sock is missing, and I cannot locate it.

I appreciate any help on this

I believe the file /var/run/mysql/mysqld.sock is missing, and I cannot locate it.

Is MySQL running?

SQL failed to start. I tried to restart the server and SQL still didn’t run

Yeah that is your issue, RT can’t run if the DB isn’t running!

sudo service mysql start — job failed to start.

How do I fix it?

You’ll need to find out what is causing it to fail to start - looking in your system logs is probably the place to start the detective work. Until you can diagnose that and fix it, you won’t get a working socket and thus RT won’t work.