Changing IP address on Fedora 4

Tod Merley todbot88 at gmail.com
Wed Sep 6 09:29:53 UTC 2006


On 9/6/06, Philip Mark Donaghy <philip.donaghy at gmail.com> wrote:
> I've read many posts on the internet about the problems related to
> changing IP address. We changed the IP on a Fedora 4 system now we are
> unable to start httpd. I've looked for references to the old IP
> everywhere. And the error_log does not tell me anything. Is there a
> way to get more information from httpd?
>
> Thank you,
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi Philip Donaghy:

Ok, try this on the machine:
-----------------------------------------
tod at tod-desktop:~$ ps aux | grep ht
tod       2475  0.0  0.1   2876   792 pts/5    R+   02:07   0:00 grep ht
tod at tod-desktop:~$
-----------------------------------------

On my machine I do not run httpd and so you see only the reference to
me using grep to search for it amongst all of the currently running
processes (ps aux).

My guess is that you will find a reference to httpd alive and well.

My next guess is that when you changed the IP of the machine we are
probably talking about which is running the web server (httpd) that
you did not inform all of the name services involved of where your
"MyHostName.com" is now.  So people looking for "MyHostName.com"
cannot find your new IP.

You could also try opening your favorite browser and entering
"http://xxx.xxx.xxx.xxx" where "xxx.xxx.xxx.xxx" is your new IP (the
IP of the machine found by doing "ifconfig" as below (some numbers Xed
for privacy):
------------------------------------------------------------
tod at tod-desktop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:4C:25:8D:A1
          inet addr:192.168.x.x  Bcast:192.168.x.255  Mask:255.255.255.0
          inet6 addr: fe80::210:4bff:fe21:8da1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26598 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26436 errors:0 dropped:0 overruns:0 carrier:0
          collisions:33 txqueuelen:1000
          RX bytes:17282587 (16.4 MiB)  TX bytes:6959203 (6.6 MiB)
          Interrupt:10 Base address:0x9800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:932 (932.0 b)  TX bytes:932 (932.0 b)

tod at tod-desktop:~$
-------------------------------------------------------------------
Please see below for a better understanding of name service on the Internet:

http://www.tldp.org/HOWTO/Unix-and-Internet-Fundamentals-HOWTO/internet.html

Per your originial request:

http://www.tldp.org/HOWTO/Intranet-Server-HOWTO.html

Good Hunting!

Tod

Google is our friend.




More information about the fedora-list mailing list