litespeed keeps restarting

nikg

New Member
#1
litespeed keeps restarting every few hours, below is error log


017-04-22 07:10:46.168 NOTICE [26097] Server Restart Request via SIGHUP, ...
2017-04-22 07:10:59.000 NOTICE [26097] Restart gracefully for SIGHUP ...
2017-04-22 07:10:59.003 NOTICE [26102] killed by SIGINT!
2017-04-22 07:10:59.004 NOTICE [Child: 26102] Start shutting down gracefully ...
2017-04-22 07:10:59.592 NOTICE Your License key will expire in 15 days
2017-04-22 07:10:59.592 NOTICE Loading LiteSpeed/5.1.15 Enterprise ...
2017-04-22 07:10:59.592 NOTICE Using [OpenSSL 1.0.2k 26 Jan 2017]
2017-04-22 07:10:59.602 NOTICE [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7097
2017-04-22 07:10:59.602 NOTICE Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [10.1.1.1:443]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [10.1.1.1:80]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [127.0.0.1:443]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [127.0.0.1:80]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [19.1.1.1:443]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [19.1.1.1:80]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [21.1.1.1:443]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [21.1.1.1:80]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [[::]:443]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [[::]:80]
2017-04-22 07:10:59.604 NOTICE Recovering server socket: [*:7080]
2017-04-22 07:10:59.604 NOTICE [config] chroot is disabled.
2017-04-22 07:10:59.606 NOTICE [PID: 567]: start cgid: 568, /usr/local/lsws/bin/lscgid
2017-04-22 07:10:59.607 NOTICE [PID: 567]: start cgid: 569, /usr/local/lsws/bin/httpd
2017-04-22 07:10:59.607 NOTICE The maximum number of file descriptor limit is set to 16384.
2017-04-22 07:10:59.610 NOTICE [config] Cache function requires a 2-CPU license or above.
2017-04-22 07:10:59.616 ERROR [config:server:epsr:lsphp70] invalid path - /opt/cpanel/ea-php70/root/usr/bin/lsphp, it cannot be started by Web server!
2017-04-22 07:10:59.618 ERROR [config:server:epsr:lsphp71] invalid path - /opt/cpanel/ea-php71/root/usr/bin/lsphp, it cannot be started by Web server!
2017-04-22 07:10:59.619 NOTICE [config:server:rails] Cannot find ruby interpreter, Rails easy configuration is turned off
2017-04-22 07:10:59.619 ERROR [config:scripthandler] Can not find handler with type: 13, name: lsphp70.
2017-04-22 07:10:59.619 ERROR [config:scripthandler] Can not find External Application: lsphp70, type: lsapi
2017-04-22 07:10:59.619 ERROR [config:scripthandler] use static file handler for suffix [php70]
2017-04-22 07:10:59.619 ERROR [config:scripthandler] Can not find handler with type: 13, name: lsphp71.
2017-04-22 07:10:59.619 ERROR [config:scripthandler] Can not find External Application: lsphp71, type: lsapi
2017-04-22 07:10:59.619 ERROR [config:scripthandler] use static file handler for suffix [php71]
2017-04-22 07:10:59.647 NOTICE litespeed (567) is ready
2017-04-22 07:10:59.647 NOTICE [AutoRestarter] new child process with pid=572 is forked!
2017-04-22 07:10:59.648 NOTICE [Child: 572] Setup swapping space...
2017-04-22 07:10:59.648 NOTICE [child: 572] Successfully change current user to nobody
2017-04-22 07:10:59.648 NOTICE [Child: 572] Core dump is enabled.
2017-04-22 07:10:59.649 NOTICE [Child: 572] LiteSpeed/5.1.15 Enterprise starts successfully!
2017-04-22 07:10:59.652 NOTICE New litespeed process is ready, litespeed (26102) stops listeners
2017-04-22 07:11:03.788 NOTICE [Child: 26102] Shut down successfully!
2017-04-22 07:11:03.805 NOTICE [AutoRestarter] cleanup children processes and unix sockets of process with pid=26102 !
2017-04-22 07:11:03.805 NOTICE [AutoRestarter] child process with pid=26102 exited with status=0!
2017-04-22 07:11:03.805 NOTICE [lshttpd:26097] Server Stopped!
 

NiteWave

Administrator
#2
2017-04-22 07:10:46.168 NOTICE [26097] Server Restart Request via SIGHUP, ...
2017-04-22 07:10:59.000 NOTICE [26097] Restart gracefully for SIGHUP ...
need identify the source of the restart request.
it maybe normal for a shared host which has thousands of user accounts "restarting every few hours". the restart request may be cPanel when managing user account / domain / addon domain / subdomain etc, also may because of log rotate.

2017-04-22 07:10:59.616 ERROR [config:server:epsr:lsphp70] invalid path - /opt/cpanel/ea-php70/root/usr/bin/lsphp, it cannot be started by Web server!
2017-04-22 07:10:59.618 ERROR [config:server:epsr:lsphp71] invalid path - /opt/cpanel/ea-php71/root/usr/bin/lsphp, it cannot be started by Web server!
please refer
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cpanel:easyapache4-config
you may need yum install ea-php70-php-litespeed ea-php71-php-litespeed
to fix it.
 
Top