1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk won't start

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by MoriI, Sep 1, 2011.

  1. MoriI

    MoriI Guest

    0
     
    [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: Sep 1, 2011
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    MySQL server can't be started.

    Are you sure that you have not changed permissions on /tmp directory at least?
     
  3. BrahimF

    BrahimF Guest

    0
     
    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)
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    It looks like mysql server is not started there. Did you check it?
     
  5. BrahimF

    BrahimF Guest

    0
     
    Thx i resolve the problem!

    #wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh
    #yum update php mysql php-mysql don't work cause this mysql.sock connection prb i did
    #yum update php
    now every thing is ok.

    Merci ;)
     
Loading...