unable to start apache after installing NIC driver
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.
unable to start apache after installing NIC driver
I'm running a Dell 2350 with RedHat 9. The computer has a Broadcom 440x series ingrated NIC, which I recently found the driver for and installed it. Now I can access the internet, which is great, however, I cannot start Apache. All my other services seem to be ok, just not apache. (Apache 2.0 btw)
I keep getting the following error in my /var/log/httpd/error_log file...
[alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "x1-6-00-08-74-c4-9e-63"
I also used to see userName@localhost for my command prompt, but now I see userName@x1-6-00-08-74-c4-9e-63 instead.
Any idea what I screwed up???
Additional info:
/etc/hosts does contain 127.0.0.1 localhost localhost.localdomain
I make the following assumptions (correct me if I'm wrong)
-your machine connects to your ISP directly (i.e. no NAT router)
-the IP address is assigned via DHCP - but for practical reason could be seen as static (many ISPs will always give you the same address - based on your MAC address)
Under those circumstances I would register my domain to that IP address, and put that information into /etc/hosts as well.
Like I said, not the perfect solution - but it worked for me for the past year.
the problem with apache not starting seems to be that it can't resolve your machine's name in DNS.
If you don't want to register a domain (Why are you then running a webserver? Just for local access?) I would take note of the IP address that your ISP assigns you via DHCP, and put an entry for it in /etc/hosts , like:
aa.bb.cc.dd mywebserver myserver.localdomain
This should make apache happy.
Of course, if your ISP changes that IP address you have to update /etc/hosts as well - perhaps a nice exercise for a little cron job:
Yep, pretty much using this box as my development server, so I don't need to register a domain name, just run some things like apache, mysql, postgre, php, perl and the like.
I guess I don't understand why http://localhost would not be suffiecient to start apache???
apache should run with http://localhost - no idea what causes the error message "Name or service not known: mod_unique_id: unable to find IPv4 address of "x1-6-00-08-74-c4-9e-63"
Obviously it is trying to resolve your hostname (x1-6-00-08-74-c4-9e-63 as assigned by your ISP) to an IP address and fails. Have you posted this to the apache mailing list? Perhaps someone there has an idea how to fix it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.