I am Experiencing Some Errors [LiteSpeed Enterprise]

#1
Hello,

I have installed Cyberpanel via OneClick Digital Ocean and after that I switched to Enterprise License.

Then I went ahead added website, installed WP with LSCACHE and Issued SSL.

After that Installed Redis and Redis Php extension via the following commands:

apt-get install redis

apt-get install lsphp73-redis

Everything is working fine but I am seeing the following errors in my error log

2019-09-29 19:04:39.108324 ERROR [4739] [config:server:epsr:lsphp53] invalid path - /usr/local/lsws/lsphp53/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108336 ERROR [4739] [config:server:epsr:lsphp54] invalid path - /usr/local/lsws/lsphp54/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108342 ERROR [4739] [config:server:epsr:lsphp55] invalid path - /usr/local/lsws/lsphp55/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108349 ERROR [4739] [config:server:epsr:lsphp56] invalid path - /usr/local/lsws/lsphp56/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108410 ERROR [4739] [config:scripthandler] Can not find handler with type: 17, name: lsphp53.
2019-09-29 19:04:39.108413 ERROR [4739] [config:scripthandler] Can not find External Application: lsphp53, type: lsapi
2019-09-29 19:04:39.108416 ERROR [4739] [config:scripthandler] use static file handler for suffix [php53]
2019-09-29 19:04:39.108421 ERROR [4739] [config:scripthandler] Can not find handler with type: 17, name: lsphp54.
2019-09-29 19:04:39.108424 ERROR [4739] [config:scripthandler] Can not find External Application: lsphp54, type: lsapi
2019-09-29 19:04:39.108426 ERROR [4739] [config:scripthandler] use static file handler for suffix [php54]
2019-09-29 19:04:39.108430 ERROR [4739] [config:scripthandler] Can not find handler with type: 17, name: lsphp55.
2019-09-29 19:04:39.108433 ERROR [4739] [config:scripthandler] Can not find External Application: lsphp55, type: lsapi
2019-09-29 19:04:39.108435 ERROR [4739] [config:scripthandler] use static file handler for suffix [php55]
2019-09-29 19:04:39.108440 ERROR [4739] [config:scripthandler] Can not find handler with type: 17, name: lsphp56.
2019-09-29 19:04:39.108442 ERROR [4739] [config:scripthandler] Can not find External Application: lsphp56, type: lsapi
2019-09-29 19:04:39.108444 ERROR [4739] [config:scripthandler] use static file handler for suffix [php56]
2019-09-29 19:04:39.108859 ERROR [4739] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!
2019-09-29 19:04:39.108859 ERROR [4739] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!
2019-09-29 19:04:39.111635 ERROR [4739] [/usr/local/lsws/conf/vhosts/mydomain.com/vhost.conf:31] Listener for _default_ is not available!
2019-09-29 19:04:39.111635 ERROR [4739] [/usr/local/lsws/conf/vhosts/mydomain.com/vhost.conf:31] Listener for _default_ is not available!
[Sun Sep 29 19:04:39 2019] [notice] Finish reading Apache configuration, server configured -- resuming normal operations

How can I get rid of these errors?
 
Last edited:

Pong

Administrator
Staff member
#2
2019-09-29 19:04:39.108324 ERROR [4739] [config:server:epsr:lsphp53] invalid path - /usr/local/lsws/lsphp53/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108336 ERROR [4739] [config:server:epsr:lsphp54] invalid path - /usr/local/lsws/lsphp54/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108342 ERROR [4739] [config:server:epsr:lsphp55] invalid path - /usr/local/lsws/lsphp55/bin/lsphp, it cannot be started by Web server!
2019-09-29 19:04:39.108349 ERROR [4739] [config:server:epsr:lsphp56] invalid path - /usr/local/lsws/lsphp56/bin/lsphp, it cannot be started by Web server!
looks like these lsphp were not installed. normally it should:

find /usr/local/lsws/ -name lsphp
/usr/local/lsws/lsphp56/bin/lsphp
/usr/local/lsws/lsphp72/bin/lsphp
/usr/local/lsws/lsphp71/bin/lsphp
/usr/local/lsws/lsphp70/bin/lsphp
/usr/local/lsws/lsphp73/bin/lsphp
/usr/local/lsws/lsphp55/bin/lsphp
/usr/local/lsws/lsphp54/bin/lsphp
/usr/local/lsws/lsphp53/bin/lsphp

Can you check the above command?
also which Linux distro and what's the version?
Any error message during your cyber panel installation?
 

Sarah

New Member
#3
Hello Pong,

The error for PHP was solved by Eric.

He is still working on resolving the error regarding

2019-09-29 19:04:39.111635 ERROR [4739] [/usr/local/lsws/conf/vhosts/mydomain.com/vhost.conf:31] Listener for _default_ is not available!

Once it gets resolved I will post the solution here so that it can be helpful for others.
 
#4
2020-06-26 21:57:58.577128ERROR[836754] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!2020-06-26 21:57:58.577128ERROR[836754] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!


How to fix this??
 

Pong

Administrator
Staff member
#5
Who added that modsecurity rule /usr/local/lsws/conf/rules.conf? If Cyberpanel automatically added, you can log a ticket with cybpernal https://cyberpanel.net/ , If you manually added by your self, then you will need to check the related directive correct or not.
 
#6
Hello Pong,

The error for PHP was solved by Eric.

He is still working on resolving the error regarding

2019-09-29 19:04:39.111635 ERROR [4739] [/usr/local/lsws/conf/vhosts/mydomain.com/vhost.conf:31] Listener for _default_ is not available!

Once it gets resolved I will post the solution here so that it can be helpful for others.
I also got the same error as yours. Can you describe how to fix this error?
Thank you
 

Pong

Administrator
Staff member
#7
PHP errors? depends on your distro and available PHP version to your distro, you can remove the configuration of lsphpxx if it doesn't exist or you don't need them.
 
Top