Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 01, 2015 7:27 am 
Offline

Joined: Sat Aug 29, 2015 8:09 am
Posts: 1
"Unable to access local server status for Apache at <http://127.0.0.1/server-status?auto>?auto: 400 URL must be absolute"


Any ideas?

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 8053/mysqld
tcp 0 0 *:44 *:* LISTEN 2889/sshd
tcp 0 0 li1371-78.members.:http 82-69-226-94.dsl.:56066 SYN_RECV -
tcp 0 0 *:webmin *:* LISTEN 3288/perl
tcp 0 0 localhost:tproxy *:* LISTEN 2895/savwebd
tcp 0 232 li1371-78.members.li:44 31-221-64-130.cus:64431 ESTABLISHED 3924/0
tcp 0 0 li1371-78.members.li:44 31-221-64-130.cus:60020 ESTABLISHED 8444/sshd: root@not
tcp6 0 0 [::]:44 [::]:* LISTEN 2889/sshd
tcp6 0 0 [::]:http [::]:* LISTEN 9631/apache2


Top
   
PostPosted: Tue Sep 01, 2015 2:08 pm 
Offline
Linode Staff

Joined: Wed Jul 01, 2015 10:33 am
Posts: 59
Have you tried going through our troubleshooting steps here yet?

https://www.linode.com/docs/platform/lo ... leshooting


Top
   
PostPosted: Sun Sep 06, 2015 7:01 pm 
Offline
Newbie

Joined: Sun Sep 06, 2015 6:49 pm
Posts: 2
I'm having the same issue:

Code:
Unable to access local server status for Apache at <http://MYDOMAIN.com/server-status?auto>?auto: 400 URL must be absolute


I've gone through the troubleshooting steps. dpkg-reconfigure says it loads this URL just fine and that everything is configured correctly. I've also verified using lynx locally that this URL responds with the apache status page that one would expect.

My Apache.conf looks like:

Code:
location <http://MYDOMAIN.com/server-status?auto>


Any idea which URL is being referred to as not absolute?


Top
   
PostPosted: Tue Sep 08, 2015 10:04 am 
Offline
Linode Staff

Joined: Mon Sep 29, 2014 4:47 pm
Posts: 90
Twitter: FelicianoTech
You need to take out the less-than and greater-than signs. It should be like this:

location http://127.0.0.1/server-status?auto

or, if you have something weird going on with your vhost,

location http://SOMEDOMAIN/server-status?auto


You can test if Apache is serving infor by curl'ing the URL like so:

curl http://127.0.0.1/server-status?auto

You should get back something like:

Code:
Total Accesses: 22632
Total kBytes: 186726
CPULoad: .0180561
Uptime: 480226
ReqPerSec: .0471278
BytesPerSec: 398.161
BytesPerReq: 8448.54
BusyWorkers: 1
IdleWorkers: 74
ConnsTotal: 0
ConnsAsyncWriting: 0
ConnsAsyncKeepAlive: 0
ConnsAsyncClosing: 0
Scoreboard: ___W_______________________________________________________________________...........................................................................


Top
   
PostPosted: Tue Sep 08, 2015 10:18 am 
Offline
Newbie

Joined: Sun Sep 06, 2015 6:49 pm
Posts: 2
Fixed, thanks!

The <> were the problems. You might want to update https://www.linode.com/docs/platform/lo ... leshooting to remove the <>'s.


Top
   
PostPosted: Tue Sep 08, 2015 3:59 pm 
Offline
Linode Staff
User avatar

Joined: Thu Sep 06, 2012 2:22 pm
Posts: 26
Location: New Jersey - Where the weak are killed and eaten.
PeEll wrote:
Fixed, thanks!

The <> were the problems. You might want to update https://www.linode.com/docs/platform/lo ... leshooting to remove the <>'s.


Updated! Sorry about that.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group