Re: troubleshooting network settings




On 30/05/2006, at 10:29 PM, Kevin Kinsey wrote:

Malcolm Fitzgerald wrote:
Malcolm Fitzgerald wrote:
Running that command returns this:
ifconfig: -inet: bad value


Bah! I'm on the road too much lately. No "dash"
before "inet" ...

here's the output

bsd-box# ifconfig lo0 inet 127.0.0.1 netmask 255.255.255.0
bsd-box# ifconfig -a
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::2e0:4cff:fe08:e02a%rl0 prefixlen 64 scopeid 0x1
inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:e0:4c:08:e0:2a
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xffffff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
bsd-box# apachectl graceful
httpd not running, trying to start
bsd-box# tail -f /var/log/httpd-error.log
[Tue May 30 22:33:13 2006] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "bsd-box."
Configuration Failed
[Tue May 30 22:43:26 2006] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue May 30 22:43:26 2006] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue May 30 22:43:26 2006] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue May 30 22:43:26 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue May 30 22:43:26 2006] [info] Init: Initializing (virtual) servers for SSL
[Tue May 30 22:43:26 2006] [info] Server: Apache/2.2.2, Interface:mod_ssl/2.2.2, Library: OpenSSL/0.9.7e-p1
[Tue May 30 22:43:51 2006] [alert] (EAI 8)hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "bsd-box."
Configuration Failed


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Understanding the interplay of ipfw, vlan, and carp
    ... CARP is broken with this patch. ... inet 192.168.0.11 netmask 0xffffff00 ... And the ifconfig output on the 7.0 box will show: ...
    (freebsd-net)
  • Re: Understanding the interplay of ipfw, vlan, and carp
    ... CARP is broken with this patch. ... inet 192.168.0.11 netmask 0xffffff00 ... And the ifconfig output on the 7.0 box will show: ...
    (freebsd-net)
  • Re: ifconfig: solaris 10: new restrictions?
    ... The more common netmask ... ifconfig hme0:1 inet 10.253.252.251 netmask 255.255.255.0 ... That script needs to assign, track and remove logical interfaces so I ...
    (comp.unix.solaris)
  • Re: getaddrinfo returning IPv6 loopback address
    ... The "ifconfig -a" command doesn't show ... inet 10.212.94.131 netmask fffffe00 broadcast 10.212.95.255 ... When you install Solaris you are asked if you want IP V6 support so, if someone answered "no" you may have to figure out how to install it. ...
    (comp.unix.solaris)
  • Re: nfe driver 6.2 stable
    ... inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.x ... I do not explicitly specify rxcsum or txcsum in my rc.conf ifconfig ...
    (freebsd-stable)