• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk won't start

M

MoriI

Guest
[Plesk 9.5.4 / CentOS 5]

Suddenly our server stopped working. When we try to connect via http all we get is 403 Permission Denied errors.

When trying to start Plesk, the output is:
Code:
[root@d]# /etc/init.d/psa start
Starting xinetd service...                                            done
Starting named service...                                             done
Starting mysqld service...                                            failed
Starting postgresql service...                                        failed
Starting psa-spamassassin service...                                  not installed
Plesk: Starting Mail Server... already started
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Starting mail handlers tmpfs storage
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Starting Plesk... packagemng: Unable to create 'dirty' flag (/usr/local/psa/tmp/components_dirty_flag): Permission denied
System error 13: Permission denied
packagemng: Unable to create 'dirty' flag (/usr/local/psa/tmp/components_dirty_flag): Permission denied
System error 13: Permission denied
                                                                      done
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

also
Code:
[root@d]# /usr/libexec/mysqld --skip-grant-tables --user=mysql
110901 16:33:25 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110901 16:33:25 [Note] Plugin 'ndbcluster' is disabled.
/usr/libexec/mysqld: Can't create/write to file '/tmp/ibkyVhex' (Errcode: 13)
110901 16:33:25  InnoDB: Error: unable to create temporary file; errno: 13
110901 16:33:25 [ERROR] Plugin 'InnoDB' init function returned error.
110901 16:33:25 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
110901 16:33:25 [ERROR] Can't start server : Bind on unix socket: Permission denied
110901 16:33:25 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
110901 16:33:25 [ERROR] Aborting

110901 16:33:25 [Note] /usr/libexec/mysqld: Shutdown complete
(/tmp has rights to allow everyone to write to it)

and:
Code:
[root@d]# /usr/bin/sw-engine-cgi -c /usr/local/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
PHP Warning:  psasem_rinit(): failed to open semaphore file: /usr/local/psa/var/psasem.sem: Permission denied in Unknown on line 0
PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
PHP Fatal error:  Unknown: Failed opening required 'auth.php3' (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in Unknown on line 0
Status: 500 Internal Server Error
Content-type: text/html

SSH works fine.

What can we do to fix the problem?
 
Last edited by a moderator:
MySQL server can't be started.

Can't create/write to file '/tmp/ibkyVhex'

Are you sure that you have not changed permissions on /tmp directory at least?
 
i have the same problem help please!

[root@vserver ~]# service psa start
Starting xinetd service... done
Starting named service... done
Starting mysqld service... failed
Starting postgresql service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... already started
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Starting mail handlers tmpfs storage done
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Starting ppsmbe... done
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
 
It looks like mysql server is not started there. Did you check it?
 
Back
Top