3.0RC1 won't do a graceful restart on FreeBSD 6.1

Discussion in 'General' started by BrentM.Adams36, Jul 17, 2018.

  1. BrentM.Adams36

    BrentM.Adams36 New Member

    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)
    Code:
    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...
     
    Last edited by a moderator: Jul 17, 2018
  2. Pong

    Pong Well-Known Member Staff Member

    Do you mean LSWS 3.0RC1? It is pretty old version. You should try LSWS 5.2.6.
    FreeBSD 6.1 was end of life long time ago. We don't support it anymore.
     

Share This Page