Webserver errors, LSE

Are these ERRORS normal?

Running LSE.

I can’t seem to be able to get a LE SSL cert.

There are 0 listeners/vhosts/vhost templates set in LSE.

2023-01-31 20:36:34.527858 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:12] try to add listener: '*:80'.
2023-01-31 20:36:34.527878 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:13] try to add listener: '[::]:80'.
>>> 2023-01-31 20:36:34.838106 [ERROR] [869853] [T0] SocketListener::start(): Can't listen at address [::]:80: Address family not supported by protocol!
>>> 2023-01-31 20:36:34.838133 [ERROR] [869853] [T0] HttpServer::addListener([::]:80) failed to create new listener
2023-01-31 20:36:34.838138 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:13] Failed to add listener [[::]:80].
2023-01-31 20:36:34.838150 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:14] try to add listener: '*:443'.
2023-01-31 20:36:34.838166 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:15] try to add listener: '[::]:443'.
>>> 2023-01-31 20:36:35.151460 [ERROR] [869853] [T0] SocketListener::start(): Can't listen at address [::]:443: Address family not supported by protocol!
>>> 2023-01-31 20:36:35.151496 [ERROR] [869853] [T0] HttpServer::addListener([::]:443) failed to create new listener
2023-01-31 20:36:35.151511 [INFO] [869853] [T0] [/usr/local/lsws/conf/httpd.conf:15] Failed to add listener [[::]:443].
2023-01-31 20:36:35.151678 [INFO] [869853] [T0] Processing config file: /usr/local/lsws/conf/modsec.conf
2023-01-31 20:36:35.151678 [INFO] [869853] [T0] Processing config file: /usr/local/lsws/conf/modsec.conf
2023-01-31 20:36:35.152281 [INFO] [869853] [T0] Processing config directory: /usr/local/lsws/conf
2023-01-31 20:36:35.152281 [INFO] [869853] [T0] Processing config directory: /usr/local/lsws/conf
2023-01-31 20:36:35.152361 [INFO] [869853] [T0] Processing config file: /usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf
2023-01-31 20:36:35.152361 [INFO] [869853] [T0] Processing config file: /usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf
>>> 2023-01-31 20:36:35.154471 [ERROR] [869853] [T0] [/usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf:34] Listener for _default_ is not available.
>>> 2023-01-31 20:36:35.154471 [ERROR] [869853] [T0] [/usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf:34] Listener for _default_ is not available.
[Tue Jan 31 20:36:35 2023] [notice] Finish reading Apache configuration, server configured -- resuming normal operations
2023-01-31 20:36:35.154813 [NOTICE] [869853] [T0] Litespeed is ready to serve...
[01.31.2023_20-34-16] [Errno 2] No such file or directory: '/usr/sbin/cagefsctl': '/usr/sbin/cagefsctl'. [ProcessUtilities.normalExecutioner.Base]
[01.31.2023_20-36-18] Status Code: 200 for: http://www.mywebsite.xx/.well-known/acme-challenge/mywebsite.xx
[01.31.2023_20-36-18] Status Code: 200 for: http://mywebsite.xx/.well-known/acme-challenge/mywebsite.xx
[01.31.2023_20-36-29] /root/.acme.sh/acme.sh --issue -d mywebsite.xx -d www.mywebsite.xx --cert-file /etc/letsencrypt/live/mywebsite.xx/cert.pem --key-file /etc/letsencrypt/live/mywebsite.xx/privkey.pem --fullchain-file /etc/letsencrypt/live/mywebsite.xx/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
>>> [01.31.2023_20-36-31] Failed to obtain SSL for: mywebsite.xx and: www.mywebsite.xx
>>> [01.31.2023_20-36-31] Trying to obtain SSL for: mywebsite.xx
>>> [01.31.2023_20-36-33] Failed to obtain SSL, issuing self-signed SSL for: mywebsite.xx
>>> [01.31.2023_20-36-33] [Errno 97] Address family not supported by protocol
[01.31.2023_20-36-33] Self signed SSL issued for mywebsite.xx.
>>> [01.31.2023_20-37-06] invalid literal for int() with base 10: 'wc:'  [getErrorLogs]
>>> [01.31.2023_20-59-43] 'list' object has no attribute 'find'
>>> [01.31.2023_20-59-51] Expecting value: line 1 column 1 (char 0)
>>> [01.31.2023_21-01-32] invalid literal for int() with base 10: 'wc:'  [getErrorLogs]
>>> 2023-01-31 20:36:35.542275 [INFO] [869894] [T0] [69.27.103.6:50142#APVHost1] File not found [/usr/local/lsws/DEFAULT/html/wp-cron.php] 
2023-01-31 20:46:36.102939 [NOTICE] [869853] [T0] [897525] [AutoUpdate] Checking for new releases...
2023-01-31 20:46:36.103620 [INFO] [869853] [T0] Download QUIC.cloud whitelist IP to admin/tmp/download-quic-cloud-ips ...
2023-01-31 20:46:36.201811 [INFO] [869853] [T0] [AutoUpdate] No new update.
2023-01-31 20:46:36.217980 [NOTICE] [869853] [T0] [897526] Start to clean up cache directory.
2023-01-31 20:56:27.204710 [INFO] [869853] [T0] [LICENSE] License is OK.
>>> 2023-01-31 21:26:43.711322 [INFO] [869894] [T0] [149.56.20.211:45918#APVHost1] File not found [/usr/local/lsws/DEFAULT/html/.well-known/acme-challenge/ESO5SIEO7AWR91AZRPBYDHRURSNRMF4L] 
>>> 2023-01-31 21:26:43.864017 [INFO] [869894] [T0] [149.56.20.211:45930#APVHost1] File not found [/usr/local/lsws/DEFAULT/html/.well-known/acme-challenge/R6LPE5-NHZT3H_STS5CG0L4LDKS8ZY0G] 

LSE log:

2023-01-31 20:36:34.527418	ERROR	[869853] [T0] [config:scripthandler] Can not find handler with type: 17, name: lsphp53.
2023-01-31 20:36:34.527422	ERROR	[869853] [T0] [config:scripthandler] Can not find External Application: lsphp53, type: lsapi
2023-01-31 20:36:34.527426	ERROR	[869853] [T0] [config:scripthandler] use static file handler for suffix [php53]
2023-01-31 20:36:34.527440	ERROR	[869853] [T0] [config:scripthandler] Can not find handler with type: 17, name: lsphp54.
2023-01-31 20:36:34.527446	ERROR	[869853] [T0] [config:scripthandler] Can not find External Application: lsphp54, type: lsapi
2023-01-31 20:36:34.527449	ERROR	[869853] [T0] [config:scripthandler] use static file handler for suffix [php54]
2023-01-31 20:36:34.527464	ERROR	[869853] [T0] [config:scripthandler] Can not find handler with type: 17, name: lsphp55.
2023-01-31 20:36:34.527470	ERROR	[869853] [T0] [config:scripthandler] Can not find External Application: lsphp55, type: lsapi
2023-01-31 20:36:34.527473	ERROR	[869853] [T0] [config:scripthandler] use static file handler for suffix [php55]
2023-01-31 20:36:34.527479	ERROR	[869853] [T0] [config:scripthandler] Can not find handler with type: 17, name: lsphp56.
2023-01-31 20:36:34.527482	ERROR	[869853] [T0] [config:scripthandler] Can not find External Application: lsphp56, type: lsapi
2023-01-31 20:36:34.527493	ERROR	[869853] [T0] [config:scripthandler] use static file handler for suffix [php56]
2023-01-31 20:36:34.527499	ERROR	[869853] [T0] [config:scripthandler] Can not find handler with type: 17, name: lsphp70.
2023-01-31 20:36:34.527503	ERROR	[869853] [T0] [config:scripthandler] Can not find External Application: lsphp70, type: lsapi
2023-01-31 20:36:34.527506	ERROR	[869853] [T0] [config:scripthandler] use static file handler for suffix [php70]
2023-01-31 20:36:34.838106	ERROR	[869853] [T0] SocketListener::start(): Can't listen at address [::]:80: Address family not supported by protocol!
2023-01-31 20:36:34.838133	ERROR	[869853] [T0] HttpServer::addListener([::]:80) failed to create new listener
2023-01-31 20:36:35.151460	ERROR	[869853] [T0] SocketListener::start(): Can't listen at address [::]:443: Address family not supported by protocol!
2023-01-31 20:36:35.151496	ERROR	[869853] [T0] HttpServer::addListener([::]:443) failed to create new listener
2023-01-31 20:36:35.154471	ERROR	[869853] [T0] [/usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf:34] Listener for _default_ is not available.
2023-01-31 20:36:35.154471	ERROR	[869853] [T0] [/usr/local/lsws/conf/vhosts/mywebsite.xx/vhost.conf:34] Listener for _default_ is not available.
[Tue Jan 31 20:36:35 2023] [notice] Finish reading Apache configuration, server configured -- resuming normal operations

vhost config.

<VirtualHost *:80>

    ServerName mywebsite.xx
    ServerAlias www.mywebsite.xx
    ServerAdmin [email protected]
    SuexecUserGroup buytl5177 buytl5177
    DocumentRoot /home/mywebsite.xx/public_html
    Alias /.well-known/acme-challenge /usr/local/lsws/Example/html/.well-known/acme-challenge
    CustomLog /home/mywebsite.xx/logs/mywebsite.xx.access_log combined
    AddHandler application/x-httpd-php81 .php .php7 .phtml
    <IfModule LiteSpeed>
        CacheRoot lscache
        CacheLookup on
    </IfModule>

</VirtualHost>

<VirtualHost *:443>

    ServerName mywebsite.xx
    ServerAlias www.mywebsite.xx
    ServerAdmin [email protected]
    SuexecUserGroup buytl5177 buytl5177
    DocumentRoot /home/mywebsite.xx/public_html
    CustomLog /home/mywebsite.xx/logs/mywebsite.xx.access_log combined
    <IfModule LiteSpeed>
            CacheRoot lscache
            CacheLookup on
        </IfModule>
        SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /etc/letsencrypt/live/mywebsite.xx/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/mywebsite.xx/privkey.pem
    AddHandler application/x-httpd-php81 .php .php7 .phtml
</VirtualHost>

Still can’t pull a LE SSL and I can’t figure out why.

This is normal?

/usr/local/lsws/Example/html

[02.02.2023_08-32-30] Status Code: 200 for: http://www.mywebsite.XX/.well-known/acme-challenge/mywebsite.XX
[02.02.2023_08-32-30] Status Code: 200 for: http://mywebsite.XX/.well-known/acme-challenge/mywebsite.XX
[02.02.2023_08-32-32] /root/.acme.sh/acme.sh --issue -d mywebsite.XX -d www.mywebsite.XX --cert-file /etc/letsencrypt/live/mywebsite.XX/cert.pem --key-file /etc/letsencrypt/live/mywebsite.XX/privkey.pem --fullchain-file /etc/letsencrypt/live/mywebsite.XX/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[02.02.2023_08-32-50] Failed to obtain SSL for: mywebsite.XX and: www.mywebsite.XX
[02.02.2023_08-32-50] Trying to obtain SSL for: mywebsite.XX
[02.02.2023_08-33-06] Failed to obtain SSL, issuing self-signed SSL for: mywebsite.XX
[02.02.2023_08-33-06] [Errno 97] Address family not supported by protocol
[02.02.2023_08-33-06] Self signed SSL issued for mywebsite.XX.
[02.02.2023_18-31-18] invalid literal for int() with base 10: 'wc:'  [getErrorLogs]

can you please run LE SSL issue command on the terminal and check the results?
copy command from cyberpanel main logs.