LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 3.0RC1 won't do a graceful restart on FreeBSD 6.1

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-16-2007, 11:38 PM
phallstrom phallstrom is offline
Member
 
Join Date: Jan 2007
Posts: 28
Default 3.0RC1 won't do a graceful restart on FreeBSD 6.1

Hi -

Just installed 3.0RC1 and have noticed that when I do a 'graceful restart' within the admin panel it doesn't start itself back up. I base this on the fact that no lshttpd process is running.

Here's my info:

I am using the freebsd6 package.


(note this is running inside of a freebsd jail)

FreeBSD bravo.pjkh.com 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #2: Fri Apr 21 22:28:28 CDT 2006 root@alpha.pjkh.com:/usr/obj/usr/src/sys/ALPHA i386

/usr/local/lsws/logs/error.log
-----------------------------------------------------------
Code:
2007-01-17 01:36:58.485 [NOTICE] Loading LiteSpeed/3.0RC1 Standard ...
2007-01-17 01:36:58.490 [NOTICE] [ADMIN] server socket: 127.0.0.1:7923
2007-01-17 01:36:58.491 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2007-01-17 01:36:58.494 [NOTICE] Recovering server socket: [72.36.232.219:9000]
2007-01-17 01:36:58.494 [NOTICE] Failed to set accept-filter 'httpready': Invalid argument
2007-01-17 01:36:58.495 [NOTICE] Recovering server socket: [72.36.232.219:9001]
2007-01-17 01:36:58.495 [NOTICE] Failed to set accept-filter 'httpready': Invalid argument
2007-01-17 01:36:58.495 [INFO] old priority: 0, new priority: 0
2007-01-17 01:36:58.495 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2007-01-17 01:36:58.803 [ERROR] HttpListener::start(): Can't listen at address adminListener: Address already in use!
2007-01-17 01:36:58.803 [ERROR] HttpServer::addListener(adminListener) failed to create new listener
2007-01-17 01:36:58.803 [ERROR] [config:admin:listener:adminListener] failed to start SSL listener on address *:9001!
2007-01-17 01:36:58.803 [ERROR] [config:admin:listener] No listener is available for admin virtual host!
2007-01-17 01:36:58.803 [ERROR] Fatal error in configuration, exit!
2007-01-17 01:36:59.200 [NOTICE] [Child: 16713] Shut down successfully! 
2007-01-17 01:36:59.200 [NOTICE] [AdminPHP] stop worker processes
-----------------------------------------------------------

/usr/local/lsws/logs/error.log.2007_01_17
-----------------------------------------------------------
Code:
2007-01-17 01:36:35.721 [NOTICE] Loading LiteSpeed/3.0RC1 Standard ...
2007-01-17 01:36:35.724 [NOTICE] [ADMIN] server socket: 127.0.0.1:7362
2007-01-17 01:36:35.724 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2007-01-17 01:36:35.726 [INFO] old priority: 0, new priority: 0
2007-01-17 01:36:35.726 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2007-01-17 01:36:35.739 [NOTICE] The maximum number of file descriptor limit is set to 11095.
2007-01-17 01:36:35.740 [WARN] [config:server:vhosts] missing <virtualHostList>
2007-01-17 01:36:35.743 [NOTICE] [AutoRestarter] new child process with pid=16713 is forked!
2007-01-17 01:36:35.743 [WARN] sysctl: Failed to set 'kern.sugid_coredump', core dump may not be available!
2007-01-17 01:36:35.743 [NOTICE] [child: 16713] Successfully change current user to www
2007-01-17 01:36:35.744 [NOTICE] [Child: 16713] Setup swapping space...
2007-01-17 01:36:35.744 [NOTICE] [Child: 16713] LiteSpeed/3.0RC1 Standard starts successfully!
2007-01-17 01:36:36.102 [NOTICE] [AutoUpdate] Checking for new releases...
2007-01-17 01:36:36.341 [INFO] [AutoUpdate] No new update.
2007-01-17 01:36:53.257 [NOTICE] [208.64.244.73:55127-0#_AdminVHost] [STDERR] PHP Warning:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /usr/local/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2007-01-17 01:36:53.257 [NOTICE] [208.64.244.73:55127-0#_AdminVHost] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2007-01-17 01:36:53.258 [NOTICE] [208.64.244.73:55127-0#_AdminVHost] [STDERR] PHP Warning:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /usr/local/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2007-01-17 01:36:53.258 [NOTICE] [208.64.244.73:55127-0#_AdminVHost] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2007-01-17 01:36:58.413 [NOTICE] [208.64.244.73:55128-0#_AdminVHost] [STDERR] PHP Warning:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /usr/local/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2007-01-17 01:36:58.413 [NOTICE] [208.64.244.73:55128-0#_AdminVHost] [STDERR] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2007-01-17 01:36:58.472 [NOTICE] Server restart request from admin interface!
2007-01-17 01:36:58.472 [NOTICE] [Child: 16713] Start shutting down gracefully ...
2007-01-17 01:36:58.472 [INFO] Stop listener *:9000.
2007-01-17 01:36:58.472 [INFO] Stop listener *:9001.
2007-01-17 01:36:59.203 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 16713 !
2007-01-17 01:36:59.304 [NOTICE] [AutoRestarter] child process with pid=16713 exited with status=0!
2007-01-17 01:36:59.304 [NOTICE] [PID:16708] Server Stopped!
-----------------------------------------------------------

stderr.log is empty.

The same thing happens if I do /usr/local/etc/rc.d/lsws.sh restart.

Let me know what other information you need to trouble shoot...
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:46 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.