litespeed enterprise running but websites not working (litespeed+direcadmin)

#1
i have installed the trial recently and everything seems to be running in the litespeed panel but my websites are not working!
can anyone in the community help me resolve this problem?
thank you in advance :)



for example this domain:

This site can’t be reached
servicesho.com refused to connect.

Try:
  • Checking the connection
  • Checking the proxy and the firewall
ERR_CONNECTION_REFUSED




here is the litespeed log:

Code:
2019-05-23 05:33:36.945778ERROR[config:server:epsr:lsphp5] invalid path - /usr/local/lsws/usr/local/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945822ERROR[config:server:epsr:lsphp53] invalid path - /opt/alt/php53/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945836ERROR[config:server:epsr:lsphp54] invalid path - /opt/alt/php54/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945849ERROR[config:server:epsr:lsphp55] invalid path - /opt/alt/php55/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945861ERROR[config:server:epsr:lsphp56] invalid path - /opt/alt/php56/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945874ERROR[config:server:epsr:lsphp70] invalid path - /opt/alt/php7/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945892ERROR[config:server:epsr:lsphp71] invalid path - /opt/alt/php71/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945913ERROR[config:server:epsr:lsphp72] invalid path - /opt/alt/php72/usr/bin/lsphp, it cannot be started by Web server!
2019-05-23 05:33:36.945949ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp5.
2019-05-23 05:33:36.945956ERROR[config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2019-05-23 05:33:36.945961ERROR[config:scripthandler] use static file handler for suffix [php]
2019-05-23 05:33:36.945978ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp5.
2019-05-23 05:33:36.945984ERROR[config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2019-05-23 05:33:36.945989ERROR[config:scripthandler] use static file handler for suffix [php5]
2019-05-23 05:33:36.946000ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp53.
2019-05-23 05:33:36.946005ERROR[config:scripthandler] Can not find External Application: lsphp53, type: lsapi
2019-05-23 05:33:36.946010ERROR[config:scripthandler] use static file handler for suffix [php53]
2019-05-23 05:33:36.946038ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp54.
2019-05-23 05:33:36.946049ERROR[config:scripthandler] Can not find External Application: lsphp54, type: lsapi
2019-05-23 05:33:36.946055ERROR[config:scripthandler] use static file handler for suffix [php54]
2019-05-23 05:33:36.946071ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp55.
2019-05-23 05:33:36.946077ERROR[config:scripthandler] Can not find External Application: lsphp55, type: lsapi
2019-05-23 05:33:36.946082ERROR[config:scripthandler] use static file handler for suffix [php55]
2019-05-23 05:33:36.946092ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp56.
2019-05-23 05:33:36.946098ERROR[config:scripthandler] Can not find External Application: lsphp56, type: lsapi
2019-05-23 05:33:36.946103ERROR[config:scripthandler] use static file handler for suffix [php56]
2019-05-23 05:33:36.946113ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp70.
2019-05-23 05:33:36.946119ERROR[config:scripthandler] Can not find External Application: lsphp70, type: lsapi
2019-05-23 05:33:36.946124ERROR[config:scripthandler] use static file handler for suffix [php70, php7]
2019-05-23 05:33:36.946137ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp71.
2019-05-23 05:33:36.946143ERROR[config:scripthandler] Can not find External Application: lsphp71, type: lsapi
2019-05-23 05:33:36.946148ERROR[config:scripthandler] use static file handler for suffix [php71]
2019-05-23 05:33:36.946158ERROR[config:scripthandler] Can not find handler with type: 17, name: lsphp72.
2019-05-23 05:33:36.946164ERROR[config:scripthandler] Can not find External Application: lsphp72, type: lsapi
2019-05-23 05:33:36.946169ERROR[config:scripthandler] use static file handler for suffix [php72]
2019-05-23 05:33:37.423041ERRORHttpListener::start(): Can't listen at address 127.0.0.1:465: Address already in use!
2019-05-23 05:33:37.423103ERRORHttpServer::addListener(127.0.0.1:465) failed to create new listener
2019-05-23 05:33:37.723608ERRORHttpListener::start(): Can't listen at address 78.46.213.145:465: Address already in use!
2019-05-23 05:33:37.723656ERRORHttpServer::addListener(78.46.213.145:465) failed to create new listener
2019-05-23 05:33:37.814017 [ALERT] [25639] [Child: 25639] LiteSpeed/5.3.7 Enterprise starts successfully!
2019-05-23 05:33:37.847897 [ALERT] [25640] [Child: 25640] LiteSpeed/5.3.7 Enterprise starts successfully!
 
Last edited by a moderator:

Pong

Administrator
Staff member
#3
Noticed you use DirectAdmin, usually lsphp53, lsphp54, lsphp55, etc are for cpanel. maybe you copy the LSWS from somewhere?If you run custombuild 2 to install LiteSpeed, it should not have such issue.
 
Last edited:
#4
just for the sake of people running into this, it seems like the problem was the php paths as mentioned by the replies.
i had to first properly uninstall litespeed and run custom build again.
i Remove litespeed by
Code:
cd /usr/local/lsws/admin/misc/
./uninstall.sh
then installed litespeed again with Directadmin custombuil using:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set webserver litespeed
./build set php1_mode lsphp
./build litespeed
./build php n
now everything seems to be fine.

thanks to Unique_Eric and Pong for their help
 
Top