Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-17-2002, 11:48 PM   #1
Registered: May 2002
Location: Bs.As., Argentina
Distribution: Slackware; Debian; Suse; RedHat
Posts: 66

Rep: Reputation: 15
apache refuses to start after hostname change

I am having a bit of a problem with apache and my hostname. Before i changed my hostname it worked perfectly. Now it won't start, and this is what appears in the error_log:

[alert] mod_unique_id: unable to gethostbyname("olof")

olof, is the new hostname. I've read the info page about mod_unique_id in the apache manual but it hasn't been of much help.

Does anybody know where the problem is??


Old 10-18-2002, 03:26 AM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Did you adjust the settings to the httpd.conf also ?
Old 02-01-2004, 12:20 AM   #3
Fold Zandura
LQ Newbie
Registered: Feb 2003
Location: Anchorage ,AK
Distribution: SuSE 9.0
Posts: 23

Rep: Reputation: 15
what line in the httpd.conf would you change?
Old 02-01-2004, 02:13 AM   #4
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
I believe it's Servername. So in your httpd.conf it should look like this:

ServerName olof



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cups refuses to start Yalla-One Slackware 2 11-13-2005 04:22 AM
Apache doesn't work after hostname change Brother Michael Debian 2 05-12-2004 07:12 PM
9.2 refuses to change default paper size! thas Mandriva 0 01-12-2004 10:44 AM
screen reso refuses to change bosewicht Linux - Newbie 5 12-02-2003 11:10 PM
x refuses to start for root k4zau Linux - Software 8 10-17-2003 12:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

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