3.3.11 / override cPanel restart HTTPD script

Discussion in 'General' started by ffeingol, Apr 30, 2008.

  1. ffeingol

    ffeingol Member

    Hello Guys,

    We have 3.3.11 installed on two cPanel servers right now. On one we see the "override cpanel restart HTTPD script" and on the other we do not. Any clues?
  2. mistwang

    mistwang LiteSpeed Staff

    Just download 3.3.11 package again, the earlier build does not include the new option in the web admin console.
  3. ffeingol

    ffeingol Member

    Ok, sounds great but...

    Even on a server that we just setup today (and it's set to override cPanel restart HTTPD script) LSWS is not restarting when Apache is being restarted. Any thoughts or things you need passed along?

    Frank
  4. anewday

    anewday Moderator

    what's the difference between that and use apache binary wrapper?
  5. mistwang

    mistwang LiteSpeed Staff

    Frank,

    Does LSWS stopped, or just won't restart?
    Has the /scripts/restartsrv_httpd been overridden? Will it restart both LSWS and Apache when you run it from command line directly?
  6. ffeingol

    ffeingol Member

    It does not restart. I'll dig more later this evening. Basically we have been migrating sites to new hardware using the cPanel xfer process. When the new site is added I "assume" that cPanel calls the restart script (as that is the only way Apache would get the new config) but I can't tell for sure.

    Frank
  7. ffeingol

    ffeingol Member

    ok. I've done some testing with the latest version / override cPanel restart etc. LSWS restarts fine, but Apache is left down. If I manually run service httpd start I get:

    Code:
    /usr/local/apache/bin/httpd: line 38: 0=0: command not found
    
    If you look at line 38 of that script you see:

    Code:
    $?=$ERR
    
    Frank
  8. mistwang

    mistwang LiteSpeed Staff

    I will send you an updated version of the script.

Share This Page