Failed to open cgid.sock

Discussion in 'General' started by ftp21, Jul 18, 2012.

  1. ftp21

    ftp21 Member

    Hello,
    some times LS 4.1.13 crash and it cannot autorestart because in my error log i found this error:

    2012-07-18 17:19:55.071 [INFO] Remove pid: 897944, exitcode: 1
    2012-07-18 17:19:55.081 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    2012-07-18 17:19:55.081 [STDERR] lscgid: secret is not set properly!
    2012-07-18 17:19:55.081 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    2012-07-18 17:19:55.081 [STDERR] lscgid: secret is not set properly!
    2012-07-18 17:19:55.090 [INFO] Remove pid: 897952, exitcode: 1
    2012-07-18 17:19:55.100 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.188 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.188 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.188 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.204 [INFO] Remove pid: 897956, exitcode: 1
    2012-07-18 17:19:55.204 [INFO] Remove pid: 897959, exitcode: 1
    2012-07-18 17:19:55.218 [INFO] Remove pid: 897958, exitcode: 1
    2012-07-18 17:19:55.218 [INFO] Remove pid: 897957, exitcode: 1
    2012-07-18 17:19:55.236 [INFO] Remove pid: 897951, exitcode: 1
    2012-07-18 17:19:55.254 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.256 [INFO] Remove pid: 897962, exitcode: 1
    2012-07-18 17:19:55.269 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.275 [INFO] Remove pid: 897963, exitcode: 1
    2012-07-18 17:19:55.276 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.276 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.276 [INFO] Remove pid: 897965, exitcode: 1
    2012-07-18 17:19:55.291 [INFO] Remove pid: 897964, exitcode: 1
    2012-07-18 17:19:55.327 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.328 [INFO] Remove pid: 897967, exitcode: 1
    2012-07-18 17:19:55.329 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!
    lscgid: secret is not set properly!
    2012-07-18 17:19:55.343 [INFO] Remove pid: 897969, exitcode: 1
    2012-07-18 17:19:55.359 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/cgid/secret/cgid.sock!

    I need to restart it by /scripts/restartsrv_httpd because Web Interface doesn't work.

    There is a fix to this error?

    I need who autorestart is working well.

    Waiting for your reply.
     
  2. webizen

    webizen Well-Known Member

    What is your server platform ?
     
  3. ftp21

    ftp21 Member

    I use Centos with cPanel and LS 4.1.13
     
  4. webizen

    webizen Well-Known Member

    Pls pm server temp root ssh access if you would like. We need to look into it.
     

Share This Page