The server doesn't start

577 views
Skip to first unread message

giom

unread,
May 21, 2013, 2:14:24 PM5/21/13
to openlitespee...@googlegroups.com
Hi,

I've been able to compile the server (had to replace the --with-libdir=lib64 option for php to --with-libdir=lib/x86_64-linux-gnu (needed for ubundu 12.04)

But when I try to start the server with:
 sudo /usr/local/lsws/bin/lswsctrl start
The server doesn't start...

I get the following output:
[OK] litespeed: pid=17592.
litespeed: no process found
[OK] litespeed: pid=17619.

and in the logs:

- error.log:

2013-05-21 20:08:04.780 [NOTICE] Loading LiteSpeed Open ...
2013-05-21 20:08:04.781 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7683
2013-05-21 20:08:04.781 [NOTICE] Loading configuration from XML file /usr/local/lsws/conf/httpd_config.xml ...
2013-05-21 20:08:04.782 [NOTICE] [config] chroot is disabled.
2013-05-21 20:08:04.782 [INFO] old priority: 0, new priority: 0
2013-05-21 20:08:04.782 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2013-05-21 20:08:04.783 [NOTICE] [PID: 17883]: forked cgid: 17885
2013-05-21 20:08:04.786 [NOTICE] The maximum number of file descriptor limit is set to 6000.

- lsrestart.log
Tue May 21 20:08:01 CEST 2013
start, LSWS running: 0
LSWS does not restart properly, check port 7080
checking port 7080 usage with netstat
checking port 7080 usage with lsof
check port 7080 after kill all litespeed processes 
checking port 7080 usage with netstat
checking port 7080 usage with lsof

So, no specific error message in the logs..

Cheers,
Guillaume


lsmichael

unread,
May 21, 2013, 2:33:50 PM5/21/13
to openlitespee...@googlegroups.com
Howdy,

Can you try to delete the lshttpd.pid file in /tmp/lshttpd ?

m

giom

unread,
May 21, 2013, 8:20:06 PM5/21/13
to openlitespee...@googlegroups.com
Hi,

I tried it but it didn't work.
Thanks

G

lsmichael

unread,
May 22, 2013, 10:25:21 AM5/22/13
to openlitespee...@googlegroups.com
Howdy,

OK. We're testing further. We don't know what it is yet, but we're looking into it.

We'll let you know if we figure out anything.

m

giom

unread,
May 22, 2013, 3:03:23 PM5/22/13
to openlitespee...@googlegroups.com
Hi,

I've run a few more tests and I couldn't start the server in all cases:
Funtoo using the profile 1.0 x64: could install without any error,
Ubuntu precise 12.04 LTS x64: could install after I changed the with-libdir option and created a nobody group. 
Ubuntu lucid 10.04 LTS x64: needed to create a nobody group

In all cases, I couldn't start with sudo /usr/local/lsws/bin/lswsctrl start the logs were the same as above. I'm wondering if I missed something somewhere?

G

lsmichael

unread,
May 22, 2013, 6:14:14 PM5/22/13
to openlitespee...@googlegroups.com
Howdy,

It will be fixed in 1.0.1, which should be out in the next couple days. I have to run now, but I'll try to explain more tomorrow.

m

lsmichael

unread,
May 23, 2013, 3:05:05 PM5/23/13
to openlitespee...@googlegroups.com
It's fixed! Try 1.0.1.

m

giom

unread,
May 23, 2013, 3:16:38 PM5/23/13
to openlitespee...@googlegroups.com
Hi,

Great! It works. Thanks
I'm curious, what was the issue?

G

lsmichael

unread,
May 23, 2013, 3:48:09 PM5/23/13
to openlitespee...@googlegroups.com
Howdy,

There was a mismatch between the memory we allocated and the amount the system needed. That was causing a crash. We matched the two amounts and it worked.

Cheers,

m
Reply all
Reply to author
Forward
0 new messages