Litespeed + cPanel + Cloudlinux

optize

Well-Known Member
#61
Every time you start LSWS, there should be a LVE log entry in stderr.log

check pid of lscgid,
lsof -p <pid_of_lscgid>

it should list liblve library and /dev/lve there.

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 [~]#
 

optize

Well-Known Member
#63
Are you using the latest CL?
liblve.so should be in /usr/lib64

And you are using the LSWS Enterprise edition, right?
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]#
 

optize

Well-Known Member
#67
Are you using LSWS 64bit package? 32bit package may not work. check "ldd lsws/bin/lscgid"
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.
 

mistwang

LiteSpeed Staff
#68
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.
That should be it.
 
Top