LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-21-2003, 08:14 PM   #1
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Rep: Reputation: 15
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

my ISP is comcast.net and I'm using dhcp.

Please help.

Thanks
 
Old 09-21-2003, 10:19 PM   #2
msh8r
Member
 
Registered: Jul 2001
Location: Houston, TX
Distribution: RedHat, CentOS, Fedora
Posts: 48

Rep: Reputation: 15
not a solution, but perhaps a workaround:

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.
 
Old 09-22-2003, 06:54 AM   #3
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Original Poster
Rep: Reputation: 15
msh8r - Your assumptions are correct as far a the NAT, but I'm not sure about the quasi static IP based on the MAC address.

Quote:
Under those circumstances I would register my domain to that IP address, and put that information into /etc/hosts as well.
I'm not sure I'm following you. Do you mean go and but a domain (mydomain.com) and have it point to 127.0.0.1 then add that entry to my /etc/hosts ?

I guess I don't understand how that would help Apache start??? , plus I'd rather not spend the $10, too cheap.

Any other ideas?
 
Old 09-22-2003, 07:46 AM   #4
msh8r
Member
 
Registered: Jul 2001
Location: Houston, TX
Distribution: RedHat, CentOS, Fedora
Posts: 48

Rep: Reputation: 15
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:

-see what our IP address is ==> modify /etc/hosts
 
Old 09-22-2003, 10:06 AM   #5
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Original Poster
Rep: Reputation: 15
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???
 
Old 09-22-2003, 10:50 AM   #6
msh8r
Member
 
Registered: Jul 2001
Location: Houston, TX
Distribution: RedHat, CentOS, Fedora
Posts: 48

Rep: Reputation: 15
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.
 
Old 09-24-2003, 06:43 AM   #7
bcarl314
Member
 
Registered: Jun 2003
Location: USA, Minnesota - Land of 10,000 lakes
Distribution: Red Hat 9, Mandrake 10
Posts: 56

Original Poster
Rep: Reputation: 15
Well, I thought I'd post a reply with my solution.

I simply downloaded the latest apache distribution and installed it. Seems to work now.

Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptics touchpad driver - unable to start VertX Linux - Laptop and Netbook 4 02-07-2005 08:27 AM
NIC Driver Missing after Kick-Start jinyang Red Hat 0 05-20-2004 09:44 PM
Installing NIC driver Vyeperman Linux - Hardware 1 09-16-2003 09:34 AM
Unable to start apache because of mod_auth_mysql error krumholz Linux - General 3 07-17-2003 11:18 AM
Need help installing NIC driver hippo909 Linux - Hardware 3 02-22-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration