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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] [cPanel] After LiteSpeed installation /whm-server-status gives a 404 error

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2011, 04:28 AM
georgetasioulis georgetasioulis is offline
New Member
 
Join Date: Dec 2011
Posts: 9
Default [solved] [cPanel] After LiteSpeed installation /whm-server-status gives a 404 error

Hello,

I have a cPanel server WHM 11.30.5 (build 2) w/ CloudLinux 5.7 and yesterday I installed LiteSpeed server on it.

Although I can confirm from my logs that /whm-server-status was giving proper output before with Apache, right after installing LiteSpeed it gives a 404 error.

Code:
127.0.0.1 - - [07/Dec/2011:10:55:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:10:55:04 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:10:59:12 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:00:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:00:04 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:04:13 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:05:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:05:02 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:09:13 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:10:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:10:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:14:14 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:15:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:15:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:19:16 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:20:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:20:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:24:17 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:25:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:11:25:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:11:29:17 +0000] "GET / HTTP/1.1" 200 111
I guess it's normal behavior but is there any similar directive I can add to LiteSpeed in order to fix this? In Apache I had
Code:
root@hydrogen [/]# grep -A 5 whm-server-status /usr/local/apache/conf/httpd.conf
<Location /whm-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>
Otherwise can I somehow disable whatever is calling /whm-server-status every five minutes so that my access-log isn't filling up?

PS: I'm seeing the above 404 errors on my /usr/local/apache/logs/access_log file, although when I curl localhost I get server by LiteSpeed.
Code:
root@hydrogen [/]# curl -i http://localhost/whm-server-status 
HTTP/1.1 404 Not Found
----> Date: Wed, 07 Dec 2011 12:25:48 GMT
Server: LiteSpeed
Connection: close
Content-Type: text/html
Content-Length: 1979
Code:
root@hydrogen [/]# tail /usr/local/apache/logs/access_log 
127.0.0.1 - - [07/Dec/2011:12:15:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:12:19:27 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:12:20:01 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:12:20:03 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:12:24:28 +0000] "GET / HTTP/1.1" 200 111
127.0.0.1 - - [07/Dec/2011:12:24:55 +0000] "GET /whm-server-status HTTP/1.1" 404 1979
127.0.0.1 - - [07/Dec/2011:12:25:02 +0000] "GET /whm-server-status HTTP/1.1" 404 1970
127.0.0.1 - - [07/Dec/2011:12:25:03 +0000] "GET / HTTP/1.1" 200 111
----> 127.0.0.1 - - [07/Dec/2011:12:25:48 +0000] "GET /whm-server-status HTTP/1.1" 404 1979
Something tells me I may have mixed things up a bit :P

Last edited by NiteWave; 12-07-2011 at 05:16 PM..
Reply With Quote
  #2  
Old 12-07-2011, 11:56 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
LiteSpeed does not support Apache's status page, that's normal.
Reply With Quote
  #3  
Old 12-07-2011, 11:57 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
to get rid of "/whm-server-status", just comment out dcpumon cronjob.
Reply With Quote
  #4  
Old 12-07-2011, 01:12 PM
georgetasioulis georgetasioulis is offline
New Member
 
Join Date: Dec 2011
Posts: 9
Quote:
Originally Posted by webizen View Post
to get rid of "/whm-server-status", just comment out dcpumon cronjob.
Thanks a lot, that did the trick
Reply With Quote
Reply

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 10:12 PM.



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