View previous topic :: View next topic |
Author |
Message |
Normie Tux's lil' helper
Joined: 03 Jul 2002 Posts: 83
|
Posted: Tue Nov 05, 2002 1:43 am Post subject: Apache complains with a hostname other than localhost... |
|
|
Topic says it all. But if I set my hostname to localhost, samba (and then vmware) tends to complain rather badly--plus, my intended hostname of nosferatu is soooo much cooler
So, if my hostname is localhost, apache is fine, but samba and vmware break. If my hostname is anything else, apache won't start (and complains with the following error in /etc/apache/logs/error_log:
Code: |
[Mon Nov 4 17:37:14 2002] [alert] mod_unique_id: unable to gethostbyname("nosferatu")
|
I get the suspect feeling that this is a case of RTFM, but I've looked everywhere I know, and my proficiency with the apache conf files is sorta blah, so... *mutter*
Sorry to bug, and thanks.
-Normie --- "GACK! Top-heavy!" _________________ Achaea. Play it. Love it. Live it. |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Tue Nov 05, 2002 2:09 am Post subject: |
|
|
that modules always errored for me...so i just disabled it
somebody tell me what it does :- D |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Tue Nov 05, 2002 2:33 am Post subject: |
|
|
well i'm not sure but try adding your hostname to your /etc/hosts file. |
|
Back to top |
|
|
ashkar n00b
Joined: 26 Sep 2002 Posts: 48
|
Posted: Tue Nov 05, 2002 2:36 am Post subject: |
|
|
El_Presidente_Pufferfish wrote: | that modules always errored for me...so i just disabled it
somebody tell me what it does :- D |
according to this it allows every http request to have an unique id based on ip, pid, and time. don't ask me what it's good for. i have no clue. |
|
Back to top |
|
|
Normie Tux's lil' helper
Joined: 03 Jul 2002 Posts: 83
|
Posted: Tue Nov 05, 2002 3:02 am Post subject: |
|
|
Feh, I just commented out the relevant lines in apache.conf, and it works, but I'm pretty sure it's gonna bite me in the ass later.
Thanks!
-Normie _________________ Achaea. Play it. Love it. Live it. |
|
Back to top |
|
|
dj_choco Tux's lil' helper
Joined: 13 Oct 2002 Posts: 144 Location: North America
|
|
Back to top |
|
|
bekenone n00b
Joined: 10 Nov 2002 Posts: 7 Location: USA
|
Posted: Mon Nov 11, 2002 3:16 am Post subject: yes do that |
|
|
samba will like the HOSTS file.
now....if that box happens to be on the NET all the time with a STATIC IP then go get a pretty DNS name and buy it set its to what ever website you got out there, then call up your DNS provider and tell them you want to add a A-RECORD.....give them the IP of that machine.
now go into your Apache Config file and set your host name and domain name.
it will take about 48 hrs.
your host name in samba doesnt have to be the same as your real DNS host name (samba is NB/apache is DNS).
try it...its fun and its how REAL websites are viewable.
oh ya if you realy went and did this kill your HOSTS entry cuz it will battle with DNS. |
|
Back to top |
|
|
|