problem due to hostname change

Pietro Cerutti pietro.cerutti at gmail.com
Thu Mar 17 07:42:31 PST 2005


On Thu, 17 Mar 2005 07:38:49 -0800, Ted Mittelstaedt
<tedm at toybox.placo.com> wrote:
> 
> 
> > -----Original Message-----
> > From: owner-freebsd-questions at freebsd.org
> > [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Pietro Cerutti
> > Sent: Thursday, March 17, 2005 7:05 AM
> > To: Lowell Gilbert
> > Cc: FreeBSD
> > Subject: Re: problem due to hostname change
> >
> > No, this is not the problem. I searched in httpd.conf but I didn't
> > find anything concerning my <old_hostname>.
> >
> 
> When apache starts up if it don't have your hostname set in it's
> config file then it issues a system call asking what
> the hostname for the IP address is that is on your host.
> 
> whatever it gets back it then uses to setup a default website.  If you
> change the name of your host in /etc.rc.conf then it better also
> have been changed in any DNS servers that your system is using.
> 
> >
> > I'm sure I didn't set my <old_hostname> anywhere else than in rc.conf
> >
> 
> Did you check /etc/hosts
> 
> 
> Ted
> 
> 


Thanks Ted, Neo-Vortex and Eric.

nothing found with grep on /etc/* , /usr/local/etc* , /var/named/*
but I found this:

# grep <old_hostname> /var/*
Binary file /var/db matches
Binary file /var/mysql matches
Binary file /var/restoresymtable matches
#

Well I double check once more on my system!

Thank you!

-- 
Pietro Cerutti
<pietro.cerutti at gmail.com>
<http://www.gahr.ch/pgp-key>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"


More information about the freebsd-hackers mailing list