Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
The network is working OK and I can ping my Fedora box but there is no port 80 shown as open.
Upon boot the Apache server complains that it can not bind to the IP address. I has a lot of other text but it is only up for 2 seconds and I haven't been able to read it. I think I need to read that message.
Q: Is there a way to stop the boot sequence on Fedora 9 so I can read the Apache boot message? I've looked all over the hard drive for a copy of the boot log but I haven't found it.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default dslrouter 0.0.0.0 UG 0 0 0 eth0
Q: The gateway is at 192.168.1.1 so why does the route map show 192.168.1.0 ? What is 192.168.1.0 anyway?
Q: Does the IP address of the Apache Server need to be the same or different than the IP address of the Computer. I've tried both ways and Apache can't bind to whatever IP address I ask it to use.
A couple more pieces of information. Although the network is working (I can browse and print over the network) there are a few anomalies ever since I set a fixed IP address. 1) At the top of the Gnome desktop there is a small network icon. Putting a mouse on that reports that there is no network connection. 2) When I start Mozilla Firefox it always comes up in the Work Offline setting. Unchecking the work offline box allows for perfect browsing. 3) The System->Admin->Add/Remove program can search the web for catalogues successfully but if you ask it to add one it reports back that there is no network connection.
ok, 1 question per thread in future... much less confusing.
1 - look in /var/log/httpd/error_log or /var/log/apache/error_log (or very similar)
2 - that's your local network, your gateway is clearly listed as "dslrouter" from your local dns server, probably running on the router.
3 - at your level, yes. but normally you wouldn't bother specifiying an IP address, you'd just bind to * by default, which would use all locally assigned addresses. you don't explicitly bind to an ip not already in use by the box, that makes no sense.
Quote: acid_kewpie;3394911]ok, 1 question per thread in future... much less confusing.
From Bob @ ScottHill in blue
1 - look in /var/log/httpd/error_log (Empty Directory) or /var/log/apache/error_log (or very similar) No directory named similarly. I've spent quite a bit of time looking for a boot log file in the /etc/ and /var/ directories and their subs and I haven't found it yet
2 - that's your local network, your gateway is clearly listed as "dslrouter" from your local dns server, probably running on the router. Yes the Westell DSL Modem is the gateway and the router. It's IP address is 192.168.1.1
3 - at your level, yes. but normally you wouldn't bother specifiying an IP address, you'd just bind to * by default, which would use all locally assigned addresses. you don't explicitly bind to an ip not already in use by the box, that makes no sense. I'm sorry I got lost here. So I take it that the Apache server should bind to the same IP address as the box. No matter I've tried it both ways with no difference. I have to set up port forwarding in the router so the Apache Server has to have a static IP Address for the router to forward to --- as far as I know.
I would do netstat -lanp | grep :80 to see what process, if any, is bound to port 80.....
apache2ctl start should manually start the apache web server if it's not running.. do that in a shell and you should be able to see any error messages. you can also use apache2ctl to verify your config is good, or what the current server status is..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.