From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 12:20:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2277716A4CE for ; Sun, 30 Nov 2003 12:20:45 -0800 (PST) Received: from morpheus.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0047143F85 for ; Sun, 30 Nov 2003 12:20:43 -0800 (PST) (envelope-from freebsd-questions@webteckies.org) Received: from sarevok.idg.nl (unknown [192.168.1.12]) by morpheus.webteckies.org (Postfix) with ESMTP id 43D5C107C6; Sun, 30 Nov 2003 21:17:23 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: Marty Landman Date: Sun, 30 Nov 2003 21:20:34 +0100 User-Agent: KMail/1.5.93 References: <6.0.0.22.0.20031130132339.0773a440@pop.face2interface.com> <200311302002.02402.freebsd-questions@webteckies.org> <6.0.0.22.0.20031130142935.06c35f48@pop.face2interface.com> In-Reply-To: <6.0.0.22.0.20031130142935.06c35f48@pop.face2interface.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_YEly//xlK4nKrHl"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311302120.40443.freebsd-questions@webteckies.org> cc: FreeBSD-questions Subject: Re: apache has fallen [and it won't get up] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 20:20:45 -0000 --Boundary-02=_YEly//xlK4nKrHl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 30 November 2003 20:56, Marty Landman wrote: > At 02:01 PM 11/30/2003, Melvyn Sopacua wrote: > >Disable mod_unique_id in httpd.conf to get it back up-and-running. > > Ok, this worked.. thank you Melvyn. You're welcome (been there :). > >The real error is probably in /etc/resolv.conf not pointing to a valid > >nameserver. > > Interesting. /etc/resolv.conf has last been changed like 10 minutes ago > [not knowingly by me though]. All it says is > > search mshome.net > nameserver 192.168.0.1 Looks like a DHCP layout. Are you running dhclient (ie: have=20 ifconfig_IFACE=3D"DHCP" in /etc/rc.conf)? > Since my workstation is delliver.mshome.net and also shares its internet > connection on my lan via ics from and its ip addr on the lan is as shown, > what's up do you think? I think typing: host delliver.mshome.net *on that machine* doesn't give a valid ip address or an adress that is not = on=20 the workstation. Since you're refering to 'ics' I guess you're gateway is an MS box and does= n't=20 run DNS or a DNS forwarder at best. > Also would like to add that other intranet tools seem to still be ok > including > > - lynx > - ftp [in and out] > - ssh [in] > - intra-box email > - ping These do not resolve the local hostname on the machine itself, which is wha= t=20 mod_unique_id tries to do though. > If it's really just apache that's having the trouble I wonder if it could > be a race condition? I notice that apache starts from a shell cmd when fb= sd > reboots. > > Swami: ls -l /usr/local/etc/rc.d/*.sh > -r-xr-xr-- 1 root pgsql 875 Nov 11 17:24 > /usr/local/etc/rc.d/010.pgsql.sh -rwxr-x--x 1 root wheel 407 Nov 12 > 19:33 /usr/local/etc/rc.d/apache2.sh -rwxr-xr-- 1 root wheel 144 Nov 12 > 16:18 /usr/local/etc/rc.d/landns.root.sh Swami: > > What determines the sequence in which these three scripts run? Exactly what you're typing: it's lexacilly sorted - to be exact: sorted=20 according to the glob(3) implementation. If you need landns.root.sh to start first, rename it to: 010.landns.root.sh Just in case you're wondering: 000.* is used for ldconfig(8)'s shared library paths, like 'lib/mysql' and= =20 'lib/kde3' so you might wanna steer clear of that. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20 00:15:33 CET 2003 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_YEly//xlK4nKrHl Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/ylEYOv9JNmfFN5URAroeAKC/XU2fZVCeoS9DpJBZEjnboRC0jACgjZrA ltTJ35G71wdRrT4vBZxSjg4= =6Ee/ -----END PGP SIGNATURE----- --Boundary-02=_YEly//xlK4nKrHl--