Litespeed + cPanel + Cloudlinux

Discussion in 'General' started by DataOne, Mar 13, 2010.

  1. optize

    optize Well-Known Member


    root@cp21 [~]# lsof -p 13269
    COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
    httpd 13269 root cwd DIR 253,0 57344 86803487 /usr/local/lsws/bin
    httpd 13269 root rtd DIR 253,0 4096 2 /
    httpd 13269 root txt REG 253,0 15020 86803818 /usr/local/lsws/bin/lscgid.4.0.16
    httpd 13269 root mem REG 253,0 129832 202377556 /lib/ld-2.5.so
    httpd 13269 root mem REG 253,0 1689388 202375184 /lib/libc-2.5.so
    httpd 13269 root mem REG 253,0 20668 202375246 /lib/libdl-2.5.so
    httpd 13269 root 0u unix 0xffff8100323f5c80 72370468 /usr/local/lsws/admin/cgid/cgid.sock.410
    httpd 13269 root 2u unix 0xffff81023aef4c80 72370465 socket
    root@cp21 [~]#
     
  2. mistwang

    mistwang LiteSpeed Staff

    Are you using the latest CL?
    liblve.so should be in /usr/lib64

    And you are using the LSWS Enterprise edition, right?
     
  3. optize

    optize Well-Known Member

    Yes, Yes.

    root@cp21 [/usr/lib64]# ls -al | grep liblve
    lrwxrwxrwx 1 root root 15 Aug 11 21:02 liblve.so -> liblve.so.0.6.1*
    lrwxrwxrwx 1 root root 15 Aug 11 21:02 liblve.so.0 -> liblve.so.0.6.1*
    -rwxr-xr-x 1 root root 6480 Aug 10 09:31 liblve.so.0.6.1*
    root@cp21 [/usr/lib64]#
     
  4. iseletsk

    iseletsk Member

    I just got an idea.
    Could you do
    # ldconfig

    and then try restarting LiteSpeed
     
  5. optize

    optize Well-Known Member

    No luck...
     
  6. mistwang

    mistwang LiteSpeed Staff

    Are you using LSWS 64bit package? 32bit package may not work. check "ldd lsws/bin/lscgid"
     
  7. optize

    optize Well-Known Member

    root@cp21 [/usr/local/apache/logs]# ldd /usr/local/lsws/bin/lscgid
    libdl.so.2 => /lib/libdl.so.2 (0x0083d000)
    libc.so.6 => /lib/libc.so.6 (0x006c8000)
    /lib/ld-linux.so.2 (0x006a9000)
    root@cp21 [/usr/local/apache/logs]#

    I am using 32bit, I can try the 64bit.
     
  8. mistwang

    mistwang LiteSpeed Staff

    That should be it.
     
  9. optize

    optize Well-Known Member

    Yep, fixed!

    Thanks!
     

Share This Page