Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 21:20:34 +0100
From:      Melvyn Sopacua <freebsd-questions@webteckies.org>
To:        Marty Landman <MLandman@face2interface.com>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: apache has fallen [and it won't get up]
Message-ID:  <200311302120.40443.freebsd-questions@webteckies.org>
In-Reply-To: <6.0.0.22.0.20031130142935.06c35f48@pop.face2interface.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311302120.40443.freebsd-questions>