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

Customers can't log in to panel

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by ArsenyR, Mar 22, 2011.

  1. ArsenyR

    ArsenyR Guest

    Hi all

    Customers try to log in to panel. In response they get

    SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_3773_0.MYI' (Errcode: 122)

    0: Pdo.php:238
    1: Statement.php:283
    2: Abstract.php:433
    Zend_Db_Adapter_Abstract->query(string 'DESCRIBE `sessions`', array)
    3: Abstract.php:230
    Zend_Db_Adapter_Pdo_Abstract->query(string 'DESCRIBE `sessions`')
    4: Mysql.php:136
    Zend_Db_Adapter_Pdo_Mysql->describeTable(string 'sessions', NULL null)
    5: Abstract.php:696
    6: Abstract.php:722
    7: Abstract.php:762
    8: DbTable.php:517
    Zend_Session_SaveHandler_DbTable->_getPrimary(string '3b8f018586d33fd3954159d4b347caeb')
    9: DbTable.php:316
    Zend_Session_SaveHandler_DbTable->read(string '3b8f018586d33fd3954159d4b347caeb')
    10: SaveHandler.php:26
    CommonPanel_Session_SaveHandler->read(string '3b8f018586d33fd3954159d4b347caeb')
    11: :
    12: class.Session.php:312
    Session->registerSession(integer '1', string 'admin', string '', NULL null, NULL null)
    13: cmd_loginup.php:131
    createSessionCommon(integer '1', string 'admin', boolean true, string '', NULL null, NULL null)
    14: cmd_loginup.php:318
    createSessionAdmin(string 'admin', string '*********', string '***************************', boolean false)
    15: cmd_loginup.php:77
    createSession(string 'admin', string '*********')
    16: login_up.php3:36

    I found a solution in http://kb.odin.com/en/11135 but when i checked a /tmp dir all permissions were correct.

    [root@plesk /]# ls -ld /tmp/
    drwxrwxrwt 5 root root 36864 Mar 22 14:49 /tmp/
    [root@plesk /]#

    Please help me with this problem

    Thank you

  2. AtifQ

    AtifQ Guest

    You may have already done this but try this:
    and then restart mysqld:
    What happens now?