PDA

View Full Version : Problem with 3.313


vivek
05-29-2008, 11:51 PM
Hi

After upgrading to 3.3.1.3 , found some problems

Litespeed was running fine, and after a couple of hours I noticed that apache is running.

I am now not able to start litespeed, apache is stopping but lsws is not starting.


service httpd stop
service lsws start

which is stopping apache but not starting litespeed



2008-05-30 01:49:25.133 [NOTICE] Loading LiteSpeed/3.3.13 Enterprise ...
2008-05-30 01:49:25.283 [NOTICE] [ADMIN] server socket: uds://home/lsws/admin/tmp/admin.sock.7416
2008-05-30 01:49:25.283 [NOTICE] Loading configuration from /home/lsws/conf/httpd_config.xml ...
2008-05-30 01:49:25.284 [NOTICE] [config] chroot is disabled.
2008-05-30 01:49:25.285 [INFO] old priority: 0, new priority: 0
2008-05-30 01:49:25.285 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2008-05-30 01:49:25.287 [WARN] [config:server:listener] No listener is available for normal virtual host!
2008-05-30 01:49:25.287 [NOTICE] The maximum number of file descriptor limit is set to 4096.
2008-05-30 01:49:25.289 [ERROR] [config:server:epsr:lsphp5] invalid path - /home/lsws/fcgi-bin/lsphp5, it cannot be started by Web server!
2008-05-30 01:49:25.289 [NOTICE] [config:server:epsr:lsphp4]'Process Limit' probably is too low, adjust the limit to: 310.
2008-05-30 01:49:25.289 [ERROR] [config:scripthandler] Can not find handler with type: 8, name: lsphp5.
2008-05-30 01:49:25.289 [ERROR] [config:scripthandler] Can not find External Application: lsphp5, type: lsapi
2008-05-30 01:49:25.289 [ERROR] [config:scripthandler] use static file handler for suffix [php5]
2008-05-30 01:49:25.289 [INFO] Processing config file: /usr/local/apache/conf/includes/pre_main_global.conf
2008-05-30 01:49:25.289 [INFO] Processing config file: /usr/local/apache/conf/includes/pre_main_1.conf
2008-05-30 01:49:25.289 [INFO] Processing config file: /usr/local/apache/conf/php.conf
2008-05-30 01:49:25.289 [INFO] Processing config file: /usr/local/apache/conf/modsec.conf
2008-05-30 01:49:25.295 [INFO] Processing config file: /usr/local/apache/conf/includes/pre_virtualhost_global.conf
2008-05-30 01:49:25.295 [INFO] Processing config file: /usr/local/apache/conf/includes/pre_virtualhost_1.conf
2008-05-30 01:49:25.522 [INFO] Processing config file: /usr/local/apache/conf/includes/post_virtualhost_global.conf
2008-05-30 01:49:25.522 [INFO] Processing config file: /usr/local/apache/conf/includes/post_virtualhost_1.conf

vivek
05-29-2008, 11:53 PM
2008-05-30 01:49:25.537 [ERROR] [/usr/local/apache/conf/httpd.conf:652] Listener for 66.90.92.117:80 is not available!
2008-05-30 01:49:31.140 [ERROR] [/usr/local/apache/conf/httpd.conf:155302] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.141 [ERROR] [/usr/local/apache/conf/httpd.conf:155342] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.142 [ERROR] [/usr/local/apache/conf/httpd.conf:155382] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.144 [ERROR] [/usr/local/apache/conf/httpd.conf:155406] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.145 [ERROR] [/usr/local/apache/conf/httpd.conf:155450] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.146 [ERROR] [/usr/local/apache/conf/httpd.conf:155490] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.148 [ERROR] [/usr/local/apache/conf/httpd.conf:155530] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.150 [ERROR] [/usr/local/apache/conf/httpd.conf:155570] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.152 [ERROR] [/usr/local/apache/conf/httpd.conf:155610] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.154 [ERROR] [/usr/local/apache/conf/httpd.conf:155651] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.158 [ERROR] [/usr/local/apache/conf/httpd.conf:155691] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.160 [ERROR] [/usr/local/apache/conf/httpd.conf:155731] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.162 [ERROR] [/usr/local/apache/conf/httpd.conf:155771] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.164 [ERROR] [/usr/local/apache/conf/httpd.conf:155823] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.166 [ERROR] [/usr/local/apache/conf/httpd.conf:155863] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.168 [ERROR] [/usr/local/apache/conf/httpd.conf:155903] Listener for 69.59.25.27:80 is not available!

vivek
05-29-2008, 11:54 PM
2008-05-30 01:49:31.557 [ERROR] [/usr/local/apache/conf/httpd.conf:163749] Invalid user name: evershin!
2008-05-30 01:49:31.557 [ERROR] [/usr/local/apache/conf/httpd.conf:163750] Invalid group name: evershin!
2008-05-30 01:49:31.557 [ERROR] [/usr/local/apache/conf/httpd.conf:163787] Invalid user name: webhost!
2008-05-30 01:49:31.557 [ERROR] [/usr/local/apache/conf/httpd.conf:163788] Invalid group name: webhost!
2008-05-30 01:49:31.558 [ERROR] [/usr/local/apache/conf/httpd.conf:163822] Invalid user name: moser!
2008-05-30 01:49:31.558 [ERROR] [/usr/local/apache/conf/httpd.conf:163823] Invalid group name: moser!
2008-05-30 01:49:31.559 [ERROR] [/usr/local/apache/conf/httpd.conf:163857] Invalid user name: thewiico!
2008-05-30 01:49:31.559 [ERROR] [/usr/local/apache/conf/httpd.conf:163858] Invalid group name: thewiico!
2008-05-30 01:49:31.560 [ERROR] [/usr/local/apache/conf/httpd.conf:163892] Invalid user name: strathco!
2008-05-30 01:49:31.560 [ERROR] [/usr/local/apache/conf/httpd.conf:163893] Invalid group name: strathco!
2008-05-30 01:49:31.560 [ERROR] [/usr/local/apache/conf/httpd.conf:163927] Invalid user name: strathco!
2008-05-30 01:49:31.560 [ERROR] [/usr/local/apache/conf/httpd.conf:163928] Invalid group name: strathco!
2008-05-30 01:49:31.561 [ERROR] [/usr/local/apache/conf/httpd.conf:163962] Invalid user name: networke!


continues...

vivek
05-29-2008, 11:56 PM
2008-05-30 01:49:31.688 [ERROR] [/usr/local/apache/conf/httpd.conf:170134] Listener for 69.59.25.27:80 is not available!
2008-05-30 01:49:31.688 [ERROR] [/usr/local/apache/conf/httpd.conf:170134] Listener for 66.90.92.117:80 is not available!
2008-05-30 01:49:31.688 [ERROR] [/usr/local/apache/conf/httpd.conf:170134] Listener for 72.37.245.158:80 is not available!
2008-05-30 01:49:31.726 [ERROR] Failed to open the status report: /tmp/lshttpd/.status.tmp!
2008-05-30 01:49:31.741 [NOTICE] [AutoRestarter] new child process with pid=27086 is forked!
2008-05-30 01:49:31.755 [NOTICE] [AutoRestarter] new child process with pid=27087 is forked!
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.128.101:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.128.101:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.128.99:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.128.99:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.130.42:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 208.53.130.42:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.22.220:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.22.220:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.22.222:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.22.222:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.5.127:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 67.159.5.127:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.130:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.130:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.131:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.131:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.132:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.132:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.133:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.133:80.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.134:443.
2008-05-30 01:49:31.805 [INFO] Stop listener 74.63.80.134:80.
2008-05-30 01:49:31.805 [NOTICE] [child: 27086] Successfully change current user to nobody
2008-05-30 01:49:31.805 [NOTICE] [Child: 27086] Core dump is enabled.
2008-05-30 01:49:31.806 [NOTICE] [Child: 27086] Setup swapping space...
2008-05-30 01:49:31.806 [NOTICE] [Child: 27086] LiteSpeed/3.3.13 Enterprise starts successfully!
2008-05-30 01:49:31.816 [INFO] Stop listener 127.0.0.1:443.
2008-05-30 01:49:31.816 [INFO] Stop listener 127.0.0.1:80.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.100:443.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.100:80.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.102:443.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.102:80.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.98:443.
2008-05-30 01:49:31.816 [INFO] Stop listener 208.53.128.98:80.

vivek
05-29-2008, 11:56 PM
2008-05-30 01:49:31.839 [INFO] Stop listener *:7080.
2008-05-30 01:49:31.839 [NOTICE] [child: 27087] Successfully change current user to nobody
2008-05-30 01:49:31.839 [NOTICE] [Child: 27087] Core dump is enabled.
2008-05-30 01:49:31.839 [NOTICE] [Child: 27087] Setup swapping space...
2008-05-30 01:49:31.839 [NOTICE] [Child: 27087] LiteSpeed/3.3.13 Enterprise starts successfully!
2008-05-30 01:49:31.840 [INFO] [HTAccess] Updating configuration from [/home/ckusaeni/public_html/.htaccess]
2008-05-30 01:49:31.851 [INFO] [lsphp4] add child process pid: 27088
2008-05-30 01:49:31.851 [INFO] [lsphp4] pid list size: 1
2008-05-30 01:49:31.851 [INFO] [81.149.13.26:33001-0#APVH_kusaeni.com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Too many open file
s!
2008-05-30 01:49:31.851 [INFO] [uds://tmp/lshttpd/lsphp4.sock] Connection error: Too many open files, adjust maximum connections to 34!
2008-05-30 01:49:31.851 [INFO] [81.149.13.26:33001-0#APVH_kusaeni.com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Too many open file
s!
2008-05-30 01:49:31.851 [INFO] [uds://tmp/lshttpd/lsphp4.sock] Connection error: Too many open files, adjust maximum connections to 33!
2008-05-30 01:49:31.851 [INFO] [81.149.13.26:33001-0#APVH_kusaeni.com] connection to [uds://tmp/lshttpd/lsphp4.sock] on request #0, error: Too many open file
s!
2008-05-30 01:49:31.851 [INFO] [uds://tmp/lshttpd/lsphp4.sock] Connection error: Too many open files, adjust maximum connections to 32!
2008-05-30 01:49:31.851 [ERROR] [HTAccess] Failed to open [/home/mandhana/public_html/.htaccess]: Too many open files
2008-05-30 01:49:31.851 [ERROR] [HTAccess] Failed to open [/home/mandhana/public_html/wp-includes/.htaccess]: Too many open files
2008-05-30 01:49:31.851 [ERROR] [HTAccess] Failed to open [/home/mandhana/public_html/wp-includes/images/.htaccess]: Too many open files
2008-05-30 01:49:31.852 [INFO] Failed to open file [/home/mandhana/public_html/wp-includes/images/rss.png], error: Too many open files
2008-05-30 01:49:31.852 [NOTICE] [219.65.41.134:1445-0#APVH_mandhanapolymers.com] oops! 503 Service Unavailable
2008-05-30 01:49:31.852 [NOTICE] [219.65.41.134:1445-0#APVH_mandhanapolymers.com] Content len: 0, Request line:
GET /wp-includes/images/rss.png HTTP/1.1
2008-05-30 01:49:31.852 [ERROR] [HTAccess] Failed to open [/home/mix93/public_html/.htaccess]: Too many open files
2008-05-30 01:49:31.852 [ERROR] [HTAccess] Failed to open [/home/mandhana/public_html/wp-admin/.htaccess]: Too many open files
2008-05-30 01:49:31.852 [ERROR] [HTAccess] Failed to open [/home/mandhana/public_html/wp-admin/css/.htaccess]: Too many open files
2008-05-30 01:49:31.852 [INFO] Failed to open file [/home/mandhana/public_html/wp-admin/css/dashboard.css], error: Too many open files
2008-05-30 01:49:31.852 [NOTICE] [219.65.41.134:1444-0#APVH_mandhanapolymers.com] oops! 503 Service Unavailable
2008-05-30 01:49:31.852 [NOTICE] [219.65.41.134:1444-0#APVH_mandhanapolymers.com] Content len: 0, Request line:

vivek
05-30-2008, 12:03 AM
root@core2quad [/]# service httpd stop ; service lsws start
/etc/init.d/httpd stop: httpd (pid 4239?) not running
root@core2quad [/]#

apache is running, then why it is showing that httpd is not running ?


root@core2quad [/]# /scripts/restartsrv_httpd
/scripts/restartsrv_httpd: line 16: kill: (9834) - No such process
root@core2quad [/]#

vivek
05-30-2008, 12:09 AM
I tried to run lsws on 2080 port, but

2008-05-30 02:08:45.285 [NOTICE] [Child: 16217] Shut down successfully!
2008-05-30 02:08:45.285 [NOTICE] [Child: 16216] Shut down successfully!
2008-05-30 02:08:45.465 [INFO] [AutoUpdate] No new update.
2008-05-30 02:08:46.539 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 16217 !
2008-05-30 02:08:46.550 [NOTICE] [AutoRestarter] child process with pid=16217 exited with status=0!
2008-05-30 02:08:46.550 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 16216 !
2008-05-30 02:08:46.652 [NOTICE] [AutoRestarter] child process with pid=16216 exited with status=0!
2008-05-30 02:08:46.652 [NOTICE] [PID:16173] Server Stopped!

vivek
05-30-2008, 02:34 AM
No other way, uninstalling and reinstalling
This is the 5th or 6th time I am reinstalling lsws since 3 days

kc8yds
05-30-2008, 09:36 AM
same thing happened here-- I woke up today and found apache running which broke most of my sites (they require php of at least 5.2 and apache was only setup with 5.1.x) -- rebooting now to see if it boots with litespeed


if not i'll need to reinstall litespeed (installing an older version before all these problems started)


### EDIT ###

after running "reboot" its back to running on litespeed -- i'll see if/how long before it goes back to apache

mistwang
05-30-2008, 11:32 AM
Are you using "Override Restart HTTP script" option? cPanel may try to start Apache somehow and messed up the PID file.
Looks like the "replace Apache httpd" option is more reliable for now.

ffeingol
05-30-2008, 12:11 PM
I have to say I'm a bit more than nervous to upgrade based the the "small" feedback that I've seen so far. Does anyone have any positive feedback with LSWS and cPanel?

kc8yds
05-30-2008, 08:40 PM
i've tracked it down to when interworx tries to restart apache (not sure what the other person who origionaly posted this ttopic has for a control panel)


"Load Apache Configuration

Yes
Auto Reload On Changes

No
Apache Binary Path

Not Set"


##edit

interworx never used to try and restart apache while litespeed is running (or if it tried (which i would have never even known about) litespeed always kept running)

kuts
05-31-2008, 03:32 AM
LSWS for reasons I don't know just stopped and Apache was started

using 3.3.13 with Directadmin

What's going on?

kuts
05-31-2008, 03:49 AM
just switched to 3.3.12 for now

mistwang
05-31-2008, 12:06 PM
In order to make cPanel happy, LSWS 3.3.13 write its own pid to Apache pid file, it may have side effect with other control panels, other control panel may be able to get pid of lshttpd and kill it when it want to restart Apache.

We will have it addressed in 3.3.14 release.

vivek
06-01-2008, 05:07 AM
Litespeed 3.3.13 = unstable

Lot of small small downtimes ( getting reports from siteuptime.com , serviceuptime.com , host-tracker etc )

Downgraded to 3.3.12.

mistwang
06-02-2008, 12:41 AM
3.3.14 package has been uploaded, it should be the most one in term of cPanel compatibilities.
Please give it a try.