litespeed login page not work

Discussion in 'Install/Configuration' started by shamid202, Sep 21, 2011.

  1. shamid202

    shamid202 New Member

    Hello

    after i have installed litespeed on my webserver and i configured the litespeed and graceful restart litespeed got loggedout unexpectedly and login button didnt work any more at all ! you can test it by your self : 46.4.33.84:7080

    i have contact support team several times but no answer what i have to do ?
  2. webizen

    webizen New Member

    pls reset your admin login password (as below) and try again.

    run command line:
    /usr/local/lsws/admin/misc/admpass.sh
  3. shamid202

    shamid202 New Member

    if you click on login your self you can see it will not redirect or show any error or login page just page will hang in page which it is in , i have reseted the password too and noting changed. as i said the problem is not password is that loginpage not work at all .
  4. webizen

    webizen New Member

  5. shamid202

    shamid202 New Member

    i have 2TB free space on /

    admin log :

    2011-09-18 22:20:12.668 [NOTICE] [188.126.148.240:55813-3#_AdminVHost] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /usr$
    2011-09-18 22:20:12.668 [NOTICE] [188.126.148.240:55813-3#_AdminVHost] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:31.873 [NOTICE] [79.127.29.0:59735-4#_AdminVHost] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /usr/loc$
    2011-09-19 01:22:31.873 [NOTICE] [79.127.29.0:59735-4#_AdminVHost] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:35.921 [NOTICE] [79.127.29.0:59735-5#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:22:35.921 [NOTICE] [79.127.29.0:59735-5#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:38.917 [NOTICE] [79.127.29.0:59735-6#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:22:38.917 [NOTICE] [79.127.29.0:59735-6#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:41.718 [NOTICE] [79.127.29.0:59735-7#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:22:41.718 [NOTICE] [79.127.29.0:59735-7#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:45.400 [NOTICE] [79.127.29.0:59735-8#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:22:45.400 [NOTICE] [79.127.29.0:59735-8#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:22:52.964 [NOTICE] [79.127.29.0:59735-11#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /$
    2011-09-19 01:22:52.964 [NOTICE] [79.127.29.0:59735-11#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:25:32.825 [NOTICE] [79.127.29.0:60181-5#_AdminVHost] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /usr/loc$
    2011-09-19 01:25:32.825 [NOTICE] [79.127.29.0:60181-5#_AdminVHost] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:25:36.579 [NOTICE] [79.127.29.0:60181-6#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:25:36.579 [NOTICE] [79.127.29.0:60181-6#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:25:40.471 [NOTICE] [79.127.29.0:60181-7#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:25:40.471 [NOTICE] [79.127.29.0:60181-7#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:25:43.773 [NOTICE] [79.127.29.0:60181-8#_AdminVHost:lsapi] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /u$
    2011-09-19 01:25:43.773 [NOTICE] [79.127.29.0:60181-8#_AdminVHost:lsapi] [STDERR] failed to connect to server! socket_connect() failed: No such file or directory
    2011-09-19 01:29:54.742 [NOTICE] [79.127.29.0:61341-5#_AdminVHost] [STDERR] PHP Warning: socket_connect() unable to connect [2]: No such file or directory in /usr/loc$
    2
  6. NiteWave

    NiteWave Administrator

    please give the output of:
    #ls -al /usr/local/lsws/admin/tmp
  7. shamid202

    shamid202 New Member

    root@raymand [~]# ls -al /usr/local/lsws/admin/tmp
    total 32K
    drwxrwxrwx 2 lsadm nobody 4.0K Sep 21 07:03 .
    drwxr-xr-x 9 root root 4.0K Sep 18 21:21 ..
    srwxr-xr-x 1 nobody lsadm 0 Sep 20 21:25 admin.sock.7612
    srwxr-xr-x 1 nobody lsadm 0 Sep 21 07:03 admin.sock.7833
    srwxr-xr-x 1 nobody lsadm 0 Sep 20 21:11 admin.sock.7969
    -rw------- 1 lsadm lsadm 184 Sep 19 02:50 sess_244d3b3190d9fed929ab1fad5e0913 8c
    -rw------- 1 nobody nobody 80 Sep 21 01:52 sess_2f244ff4c551f867754258032f186c d9
    -rw------- 1 nobody nobody 417 Sep 19 12:24 sess_39461cbbf8eecdf9a97c710c781fbf e3
    -rw------- 1 nobody nobody 418 Sep 21 01:24 sess_88ce7824a68aef6d47cf074aa43b75 38
    -rw------- 1 nobody nobody 418 Sep 19 18:31 sess_bac15d41663cfa1340290d48f414f2 a8
    -rw------- 1 nobody nobody 419 Sep 21 02:29 sess_c75886abcbff3c4276fff8fd47059e
  8. NiteWave

    NiteWave Administrator

    it looks that your admin_php is running as nobody, not lsadm

    what's your server's version?
    #uname -a
  9. shamid202

    shamid202 New Member

    CloudLinux based on CentOS6 x64 if you need any other info please tell me , also after i have rebooted my litespeed because of its permission files changed i thing this problem happened .
  10. shamid202

    shamid202 New Member

    when i switch back my server on Apache with Nginx its speed is awsome ! but with LSWS most of the times sites are down what is wrong with LSWS ?
  11. NiteWave

    NiteWave Administrator

    most probably, you haven't installed and set up litespeed properly.

    first, please check if you've built matching php:
    compare the output of phpinfo() under apache and litespeed. see if they matches.
  12. shamid202

    shamid202 New Member

    dear i have dedicated servers from 3years ago until now , i worked with litespeed 2years ago and now i decided to change my servers to LSWS . i know i have instlaled an configured all sites PHP LSWS and ..
  13. webizen

    webizen New Member

    Just re-install lsws. that should fix the admin/tmp ownership and admin cp login issue.

  14. webizen

    webizen New Member

    Can you elaborate this? When did this start?

Share This Page