Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 22, 2014 12:26 pm 
Offline
Junior Member

Joined: Fri Apr 26, 2013 3:58 am
Posts: 23
============================================
Oh no!
The Apache module for Longview has been successfully installed on your system, but there was a problem collecting data from Apache:

Quote:
Unable to access local server status for Apache at http://127.0.0.1/server-status?auto: 500 Can't connect to http://www.127.0.0.1:80


You'll need to resolve this issue before we can collect data about Apache. The following guide has troubleshooting tips to help you resolve the issue:
Longview for Apache - Troubleshooting

============================================
I tried the above guide, but no luck.


Top
   
PostPosted: Mon May 26, 2014 10:21 am 
Offline
Junior Member

Joined: Fri Apr 26, 2013 3:58 am
Posts: 23
due to the above error message, the size of longview.log file is increasing day by day. please help me resolve the issue.


Top
   
PostPosted: Mon May 26, 2014 10:37 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
You ought to be using log rotation to deal with that.

With regard to fixing the Apache module: what happens when you try to run the following from your Linode:

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

- Les


Top
   
PostPosted: Mon May 26, 2014 1:18 pm 
Offline
Junior Member

Joined: Fri Apr 26, 2013 3:58 am
Posts: 23
I am getting this:-

Code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.127.0.0.1/server-status?auto">here                 </a>.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at 127.0.0.1 Port 80</address>
</body></html>


Top
   
PostPosted: Mon May 26, 2014 1:23 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
So you've got Apache configured to redirect where it shouldn't be. You'll need to fix that.


Top
   
PostPosted: Tue May 27, 2014 1:22 pm 
Offline
Junior Member

Joined: Fri Apr 26, 2013 3:58 am
Posts: 23
akerl wrote:
So you've got Apache configured to redirect where it shouldn't be. You'll need to fix that.


Sorry, I don't know how to fix it. Please help me.

For your information, I have hosted 3 websites in my linode. In which 2 are wordpress and 1 is phpBB. I have installed "Redirection" plugin in wordpress only. Should I provide .htaccess files?

Thanks

Regards


Top
   
PostPosted: Sat Jul 05, 2014 10:36 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
Sorry to hijack this thread but I'm getting an internal error instead after the curl command.. thoughts? thanks!

Quote:
Request exceeded the limit of 10 internal redirects due to probable configuration error.

in apache log


Top
   
PostPosted: Tue Aug 12, 2014 7:31 pm 
Offline
Newbie

Joined: Sat Apr 20, 2013 4:50 pm
Posts: 3
This happen because you have virtual hosts enabled in your Apache and most probably you disable the default site. What you are seeing in the curl output is the html code of your first virtual host. If you run this command, will enable the default site.

Code:
sudo a2ensite default


You probably will see the "It Works!" page, if you didn't create a homepage for the default site. After that, run again the curl command and you will be able to see the server-status output.

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


Hope helps, it worked for me. 8)


Top
   
PostPosted: Thu Aug 14, 2014 3:28 pm 
Offline
Linode Staff

Joined: Mon Jun 16, 2014 2:27 pm
Posts: 50
Location: Galloway, NJ
saudor wrote:
Sorry to hijack this thread but I'm getting an internal error instead after the curl command.. thoughts? thanks!

Quote:
Request exceeded the limit of 10 internal redirects due to probable configuration error.

in apache log


Please make a new thread rather than hi-jack this one. Thank you.


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


Who is online

Users browsing this forum: No registered users and 5 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