Somer Error?

Discussion in 'Install/Configuration' started by vivek, Mar 29, 2008.

  1. vivek

    vivek New Member

    Hi there!

    I just installed litespeed on my new dedicated server running on CentOS 5 and cPanel.

    But I am getting a mail, so many times, and here is the error


    At [29/Mar/2008:01:03:01 -0400], web server with pid=21612 received unexpected signal=9, no core file is created. A new instance of web server will be started automatically!


    I am getting the same mail every minute.

    I am on cPanel Stable version, so I disabled the wrapper script.
    Any idea, about this error ?

    Vivek
  2. vivek

    vivek New Member

    Here is the log

    2008-03-29 01:12:01.546 [NOTICE] [Child: 23285] LiteSpeed/3.3.9 Enterprise starts successfully!
    2008-03-29 01:12:01.546 [NOTICE] [AutoRestarter] new child process with pid=23285 is forked!
    2008-03-29 01:12:01.547 [INFO] Stop listener 127.0.0.1:443.
    2008-03-29 01:12:01.547 [INFO] Stop listener 127.0.0.1:80.
    2008-03-29 01:12:01.547 [INFO] Stop listener 64.191.38.246:443.
    2008-03-29 01:12:01.547 [INFO] Stop listener 64.191.38.246:80.
    2008-03-29 01:12:01.547 [NOTICE] [AutoRestarter] new child process with pid=23286 is forked!
    2008-03-29 01:12:01.548 [INFO] Stop listener 64.191.38.248:443.
    2008-03-29 01:12:01.548 [INFO] Stop listener 64.191.38.248:80.
    2008-03-29 01:12:01.548 [INFO] Stop listener *:7080.
    2008-03-29 01:12:01.548 [NOTICE] [child: 23286] Successfully change current user to nobody
    2008-03-29 01:12:01.548 [NOTICE] [Child: 23286] Core dump is enabled.
    2008-03-29 01:12:01.548 [NOTICE] [Child: 23286] Setup swapping space...
    2008-03-29 01:12:01.548 [NOTICE] [Child: 23286] LiteSpeed/3.3.9 Enterprise starts successfully!
    2008-03-29 01:12:50.145 [INFO] [HTAccess] Updating configuration from [/home/theserv/public_html/.htaccess]
    2008-03-29 01:12:50.146 [INFO] [lsphp4] add child process pid: 23387
    2008-03-29 01:12:50.146 [INFO] [lsphp4] pid list size: 1
    2008-03-29 01:13:01.402 [NOTICE] [AutoRestarter] child process with pid=23286 received signal=9, no core file is created!
    2008-03-29 01:13:01.411 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23286 !
    2008-03-29 01:13:01.411 [INFO] [AutoRestater] Clean up child process with pid: 23387
    2008-03-29 01:13:01.416 [NOTICE] [AutoRestarter] child process with pid=23285 received signal=9, no core file is created!
    2008-03-29 01:13:01.424 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 23285 !
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.245:443.
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.245:80.
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.247:443.
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.247:80.
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.249:443.
    2008-03-29 01:13:01.529 [INFO] Stop listener 64.191.38.249:80.
    2008-03-29 01:13:01.529 [NOTICE] [child: 23438] Successfully change current user to nobody
    2008-03-29 01:13:01.529 [NOTICE] [Child: 23438] Core dump is enabled.
    2008-03-29 01:13:01.530 [NOTICE] [Child: 23438] Setup swapping space...
    2008-03-29 01:13:01.530 [NOTICE] [Child: 23438] LiteSpeed/3.3.9 Enterprise starts successfully!
    2008-03-29 01:13:01.530 [NOTICE] [AutoRestarter] new child process with pid=23438 is forked!
    2008-03-29 01:13:01.531 [INFO] Stop listener 127.0.0.1:443.
    2008-03-29 01:13:01.531 [INFO] Stop listener 127.0.0.1:80.
    2008-03-29 01:13:01.531 [INFO] Stop listener 64.191.38.246:443.
    2008-03-29 01:13:01.531 [INFO] Stop listener 64.191.38.246:80.
    2008-03-29 01:13:01.531 [INFO] Stop listener 64.191.38.248:443.
    2008-03-29 01:13:01.531 [INFO] Stop listener 64.191.38.248:80.
    2008-03-29 01:13:01.531 [INFO] Stop listener *:7080.
    2008-03-29 01:13:01.531 [NOTICE] [child: 23439] Successfully change current user to nobody
    2008-03-29 01:13:01.531 [NOTICE] [Child: 23439] Core dump is enabled.
    2008-03-29 01:13:01.532 [NOTICE] [Child: 23439] Setup swapping space...
    2008-03-29 01:13:01.532 [NOTICE] [Child: 23439] LiteSpeed/3.3.9 Enterprise starts successfully!
    2008-03-29 01:13:01.532 [NOTICE] [AutoRestarter] new child process with pid=23439 is forked!
  3. anewday

    anewday Moderator

    You should enable the wrapper script even though cPanel is stable version...
  4. vivek

    vivek New Member

    Then why there is the "option" for wrapper script ?
  5. anewday

    anewday Moderator

    I think it's because not everyone uses the cPanel 11 version that affects LSWS.
  6. vivek

    vivek New Member

    As far as I know, everyone is using version 11, if they are using cPanel.
    Because I heard , cpanel.net is not supporting cPanel 10 now.
  7. ts77

    ts77 New Member

    and not everyone is using an hosting control panel at all.
  8. mistwang

    mistwang LiteSpeed Staff

    cPanel was killing lshttpd with "-9", the wrapper script should fix it.
  9. vivek

    vivek New Member

    I dont think so , because the server is new and only 1 account is there.
  10. mistwang

    mistwang LiteSpeed Staff

    Signal 9 is SIGKILL, it won't be trigger by anything other than sending by anther process to kill the process off.
  11. k3oni

    k3oni New Member

    Hi, we seem to have same issue here and the wraper script seems to not work.. just installed litespeed with cpanel 2 days ago:

    2008-04-02 13:20:01.414 NOTICE [AutoRestarter] child process with pid=23710 received signal=9, no core file is created!
    2008-04-02 13:20:01.418 NOTICE [AutoRestarter] cleanup children processes and unix sockets belong to process 23710 !
    2008-04-02 13:20:01.418 INFO [AutoRestater] Clean up child process with pid: 23787
    2008-04-02 13:20:01.420 NOTICE [AutoRestarter] child process with pid=23708 received signal=9, no core file is created!
    2008-04-02 13:20:01.423 NOTICE [AutoRestarter] cleanup children processes and unix sockets belong to process 23708 !
    2008-04-02 13:20:01.423 INFO [AutoRestater] Clean up child process with pid: 23709
    2008-04-02 13:20:01.423 INFO [AutoRestater] Clean up child process with pid: 23845

    This is happening every 1 minute.
  12. mistwang

    mistwang LiteSpeed Staff

    Maybe you need to uncheck "monitor httpd" under service manager page.
  13. k3oni

    k3oni New Member

    I hav already did that, also disabled Auto Restart and LFD on the server, but this is still happening.

    Any ideas?
  14. mistwang

    mistwang LiteSpeed Staff

    check if there is any cron job that tries to stop lshttpd process, there are some security scripts doing that.
  15. k3oni

    k3oni New Member

    Thanks for trying to help here, seems that there is no cron job.

    2008-04-03 09:30:01.297 NOTICE [AutoRestarter] child process with pid=12438 received signal=9, no core file is created!
    2008-04-03 09:30:01.300 NOTICE [AutoRestarter] cleanup children processes and unix sockets belong to process 12438 !
    2008-04-03 09:30:01.301 INFO [AutoRestater] Clean up child process with pid: 12464
    2008-04-03 09:30:01.304 NOTICE [AutoRestarter] child process with pid=12436 received signal=9, no core file is created!
    2008-04-03 09:30:01.309 NOTICE [AutoRestarter] cleanup children processes and unix sockets belong to process 12436 !
    2008-04-03 09:30:01.309 INFO [AutoRestater] Clean up child process with pid: 12439
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:443.
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:80.
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:443.
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:80.
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:443.
    2008-04-03 09:30:01.412 INFO Stop listener x.x.x.x:80.
    2008-04-03 09:30:01.412 NOTICE [child: 12755] Successfully change current user to nobody
    2008-04-03 09:30:01.412 NOTICE [Child: 12755] Core dump is enabled.
    2008-04-03 09:30:01.412 NOTICE [Child: 12755] Setup swapping space...
    2008-04-03 09:30:01.412 NOTICE [Child: 12755] LiteSpeed/3.3.9 Enterprise starts successfully!
    2008-04-03 09:30:01.413 NOTICE [AutoRestarter] new child process with pid=12755 is forked!

    Interesting part is that once is stoping the listeners on a few IP's, next time on others, another time my them up, so it does not do a restart on all the IP's every time.
  16. k3oni

    k3oni New Member

    We would really like a solution to this, i can provide whatever logs needed. This restarts are making the sites show as down and need a refresh to bring the sites back up, not best solution when the client is a hosting company.

    Please advise, any help would be appreciated, thank you!
  17. mistwang

    mistwang LiteSpeed Staff

    You need to find out which process want to kill lshttpd.
    PM me your server login, I can take a look if you want.
  18. mistwang

    mistwang LiteSpeed Staff

    A cron job added by root user is killing all processes running as nobody every minutes. the script is /root/sks.pl
  19. k3oni

    k3oni New Member

    Thanks for that.. seems that i missed exactly teh script that was put in place by us.. great :) . Will have to modify that as it is working correctly only on Cpanel with apache.

    Thanks again George!
  20. mistwang

    mistwang LiteSpeed Staff

    Next time, please look harder along what I have suggested. :)

Share This Page