issue when create a site

Discussion in 'General' started by esezako, Dec 13, 2011.

  1. esezako

    esezako Member

    Hi, when i create a site in the ispconfig panel the site is not create in the system. The recycle bin is busy and until restart the ispconfig the changes are not made.

    Any reason for this?

    Thanks for the help.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /root/ispconfig/
    ? Are there any warnings in the ISPConfig log (under /var/log/)?
     
  3. esezako

    esezako Member

    Code:
    # ls -la /root/ispconfig/
    total 104
    drwxr-xr-x 10 root root  4096 2011-12-14 14:05 .
    drwxr-xr-x 12 root root  4096 2011-09-15 14:13 ..
    -rwxr-xr-x  1 root root 34930 2010-06-17 19:00 cronolog
    -rwxr-xr-x  1 root root  9673 2010-06-17 19:00 cronosplit
    drwxr-xr-x 12 root root  4096 2010-06-17 18:41 httpd
    drwxr-xr-x 16 root root  4096 2010-06-17 19:00 isp
    drwxr-xr-x  7 root root  4096 2010-06-17 18:41 libmcrypt
    -rw-r--r--  1 root root     9 2011-12-14 14:05 .old_path_httpd_root
    drwxr-xr-x  6 root root  4096 2010-06-17 18:40 openssl
    drwxr-xr-x  6 root root  4096 2010-06-17 19:00 php
    drwxr-xr-x  4 root root  4096 2011-11-08 23:59 scripts
    drwxr-xr-x  4 root root  4096 2010-06-17 19:00 standard_cgis
    drwxr-xr-x  2 root root  4096 2010-06-17 19:00 sv
    -rwx------  1 root root  9405 2010-06-17 19:00 uninstall
    
    No errors y logs
     
  4. esezako

    esezako Member

    any sugestion?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Do you get any errors when you run
    Code:
    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    ?
     
  6. esezako

    esezako Member

    No errors

    Code:
    # /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    start
    ende
    
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in the error log in /root/ispconfig/httpd/logs/?
     
  8. esezako

    esezako Member

    I have a lot of errors like this:

    Code:
    [Fri Dec 16 11:44:12 2011] [error] [client 213.60.xxx.xxx] File does not exist: /home/admispconfig/ispconfig/web/.css
    [Fri Dec 16 11:45:12 2011] [error] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query:
     SELECT vars FROM session\n     WHERE  sess_id='5b845b5eedc54f8f811cb879f4926f39']\n[Native code: 5]\n[Native message: database is locked]\n
    [Fri Dec 16 11:45:12 2011] [error] PHP Warning:  Error writing to log file logs/errors; Please check permissions in /home/admispcon
    fig/ispconfig/web/roundcubemail/program/include/main.inc on line 1053
    [Fri Dec 16 11:45:12 2011] [error] PHP Notice:  MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed que
    ry: SELECT vars FROM session WHERE  sess_id='5b845b5eedc54f8f811cb879f4926f39'] [Native code: 5] [Native message: database is locked]  in /home/adm
    ispconfig/ispconfig/web/roundcubemail/program/include/bugs.inc on line 86
    [Fri Dec 16 11:46:12 2011] [error] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query:
     INSERT INTO session\n       (sess_id, vars, ip, created, changed)\n       VALUES ('5b845b5eedc54f8f811cb879f4926f39', 'auth_time|i:13240322
    52;temp|b:1;language|s:5:"es_ES";task|s:4:"mail";request_tokens|a:1:{s:4:"mail";s:32:"1e8dea7cdb5e7fbe13e2bdf8386057ef";}', '213.60.xxx.xxx'
    , FROM_UNIXTIME(1324032252), FROM_UNIXTIME(1324032252))]\n[Native code: 5]\n[Native message: database is locked]\n
    [Fri Dec 16 11:46:12 2011] [error] PHP Warning:  Error writing to log file logs/errors; Please check permissions in /home/admispcon
    fig/ispconfig/web/roundcubemail/program/include/main.inc on line 1053
    [Fri Dec 16 11:46:12 2011] [error] PHP Notice:  MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed que
    ry: INSERT INTO session (sess_id, vars, ip, created, changed) VALUES ('5b845b5eedc54f8f811cb879f4926f39', 'auth_time|i:1324032252;temp|b:1;l
    anguage|s:5:"es_ES";task|s:4:"mail";request_tokens|a:1:{s:4:"mail";s:32:"1e8dea7cdb5e7fbe13e2bdf8386057ef";}', '213.60.xxx.xxx', FROM_UNIXTI
    ME(1324032252), FROM_UNIXTIME(1324032252))] [Native code: 5] [Native message: database is locked]  in /home/admispconfig/ispconfig/web
    /roundcubemail/program/include/bugs.inc on line 86
    
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Your database seems to be locked. Did you check its state with phpMyAdmin?

    You can use the
    Code:
    UNLOCK TABLES;
    SQL command to unlock all tables in a database.
     

Share This Page