Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 30, 2003 2:13 am 
Offline
Junior Member

Joined: Thu Jul 24, 2003 3:00 pm
Posts: 22
Hi all,

Firstly, does it matter if I start my Apache webserver (Red Hat 9 Large install) thru regular ssh, or thru the console utility?

Secondly, why do I get the following when I type:
root% apachectl status

Code:
Object not found!

          The  requested URL was not found on this server. If you entered
          the URL manually please check your spelling and try again.

          If  you  think  this  is  a  server  error,  please contact the
          [1]webmaster

Error 404


    [2]localhost
    Thu 30 Oct 2003 01:10:24 AM EST
    Apache/2.0.40 (Red Hat Linux)

References

   1. mailto:root@localhost
   2. http://localhost/


Thanks for the help.


Top
   
 Post subject:
PostPosted: Thu Oct 30, 2003 2:49 am 
Offline
Linode Staff
User avatar

Joined: Fri Oct 17, 2003 12:38 am
Posts: 287
Location: Dr Wierd's Lab, South Jersey Shore
There should not be a difference starting apache from the console or ssh.

As for the status problem, apachectl fires up some sort of browser (internal, or lynx I'm not sure) and goes to the url http://localhost/status, or something very similiar. This relys on a status handler being installed for this url. Most likely it isn't. For a first step you might check the apache config files. There is a high probability that this is already in the config file just commented out. Try opening it up in your favorite editor and searching for 'status'. If it is there and commented out, uncomment it and restart apache.

Sorry this isn't more detailed. If you still don't have success let me know and I will look at some docs and see if I can't help you out further.

Michael


Top
   
 Post subject:
PostPosted: Thu Oct 30, 2003 7:52 am 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
The status handler is usual commented out by default or locked down to localhost as it can create some security problems.

Although it is very useful for trying to work out why a site is running slow.

Adam


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


Who is online

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