Database Error

Discussion in 'Installation/Configuration' started by mohib, Nov 15, 2014.

  1. mohib

    mohib New Member

    Dear Till bro,

    I am facing database error after shift dbispconfig database one server to another server by rsync that I can't login in ispconfig . This show me

    #0 db->query(REPLACE INTO sys_session (session_id,date_created,last_updated,session_data,permanent) VALUES ('1gda9gk9ka012e58qhi78c8aunejfmhp764hc5spl951iq26jvk0',NOW(),NOW(),'s|a:4:{s:2:\"id\";s:52:\"1gda9gk9ka012e58qhi78c8aunejfmhp764hc5spl951iq26jvk0\";s:5:\"theme\";s:7:\"default\";s:8:\"language\";s:2:\"en\";s:6:\"module\";a:1:{s:4:\"name\";s:5:\"login\";}}','n')) called at [/usr/local/ispconfig/interface/lib/classes/session.inc.php:100] #1 session->write(1gda9gk9ka012e58qhi78c8aunejfmhp764hc5spl951iq26jvk0, s|a:4:{s:2:"id";s:52:"1gda9gk9ka012e58qhi78c8aunejfmhp764hc5spl951iq26jvk0";s:5:"theme";s:7:"default";s:8:"language";s:2:"en";s:6:"module";a:1:{s:4:"name";s:5:"login";}}) #2 session_write_close() called at [/usr/local/ispconfig/interface/lib/app.inc.php:126] #3 app->__destruct()

    Please help me for solve this problem.

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    the error means that the database is not writable. Check that the database that you synced can be accessed by the ispconfig mysql user and that the synced files are owned by the mysql linux user and group.
     

Share This Page