Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apache use to be in /usr/local/apache
Where is it on RH7.1? I have edited the .conf file but can't test or get a fullstatus because I don't know where /path/to/apche/bin/apachectl is.
My book says to run the apachectl script:
/path/to/apache/bin/apachectl fullstatus
The path to apache in RH6 use to be:
/usr/local/apache
…but where is it in RH7.1.
I am able to access my index.html page from the same box with:
lynx 123.456.789.123
but I can't access the same page with the same ip from a different box through the internet. Its as if Apache hears the local request but not the internet request.
dont know why the connections arent working, but i would guess that apache went into /etc/httpd.. why did it go there? who knows, doesnt make sense.. but the first line of the config file gives the location away...
ServerRoot only means the area where the apache configuration files are stored.
I am running apache on redhat 7.0 and I do not have an apachectl file. My apache binary is located in /usr/sbin/httpd. I would not try to start apache directly using this binary. You should start apache through the init script (/etc/init.d/httpd) unless you have very specific reasons not too.
When you start apache using the init script, does it give you any errors. If not try looking in /var/log/httpd/error_log. Sometimes this will shed some light on the sutuation. If apache is not giving any errors you should make sure that it is not already running (in case you have a network problem not an apache problem). You can do this by doing a 'ps ax | grep httpd' If you see that processes are running then you may have a problem with your network instead of apache.
Your init scripts will also provide additional info with different parameters like {start|stop|restart|reload|condrestart|status}. You may be able to get a status of apache through this too. When having problems with apache or any other service you should always try to stop it before you start it. Even if the service is already down, sometimes lockfiles or PID files may remain and prevent a proper startup ( I have run into this in mysql).
Good Luck. (BTW, I don't see any problems with your conf file.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.