This is an old revision of the document!


“Domain limit has been reached, domain limit: 5, total domains: xx”

Newly installed LSWS on cpanel with a site owner license could not be started. Why?

LSWS is the latest version and latest build.

Run license check and seems ok:

[root@cpanel home]# /usr/local/lsws/bin/lshttpd -V
[OK] Leased license key 1 will expire in 37 days!
2019-01-25 20:35:59.894706 [NOTICE] Memory size is: 32653128KB.

When switching to LSWS, it doesn't show error message, but LiteSpeed processes seem not being started.

/usr/local/lsws/admin/misc/cp_switch_ws.sh lsws
Detected cPanel WHM Environment
Redirecting to /bin/systemctl stop httpd.service
Apache Stopped.
httpd: no process found
Created symlink from /etc/systemd/system/lsws.service to /usr/lib/systemd/system/lshttpd.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/lshttpd.service to /usr/lib/systemd/system/lshttpd.service.
[OK] lshttpd.service has been successfully installed!
--- 
metadata: 
command: configureservice
reason: Enabled monitoring for httpd.
result: 1
version: 1
Redirecting to /bin/systemctl start lsws.service
LiteSpeed started successfully.
[root@cpanel home]# ps -ef | grep httpd
root       408 27932  0 20:36 pts/1    00:00:00 grep --color=auto httpd

Check the error log:

vi /etc/apache2/logs/error_log

2019-01-25 20:36:38.214024 [WARN] Domain limit has been reached, domain limit: 5, total domains: 11.
2019-01-25 20:36:38.214028 [NOTICE] Domain list:
2019-01-25 20:36:38.214031 [NOTICE] #1 [domain1.com]
2019-01-25 20:36:38.214034 [NOTICE] #2 [domain2.com]
2019-01-25 20:36:38.214037 [NOTICE] #3 [domain3.com]
2019-01-25 20:36:38.214039 [NOTICE] #4 [domain4.comm]
2019-01-25 20:36:38.214042 [NOTICE] #5 [domain5.com]
2019-01-25 20:36:38.214045 [NOTICE] #6 [domain6.com]
2019-01-25 20:36:38.214048 [NOTICE] #7 [domain7.com]
2019-01-25 20:36:38.214051 [NOTICE] #8 [domain8.com]
2019-01-25 20:36:38.214054 [NOTICE] #9 [domain9.com]
2019-01-25 20:36:38.214057 [NOTICE] #10 [domain10.com]
2019-01-25 20:36:38.214060 [NOTICE] #11 [domain11.com]

It clearly outputted that Domain limit has been reached, domain limit: 5, total domains: 11. A site owner license has a domain limit of 5 and can not be used on a server over 5 domains. The user should upgrade the license.

  • Admin
  • Last modified: 2019/01/25 20:45
  • by Jackson Zhang