Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2005 01:08:54 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nick Larsen <larsen.nick@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Programs and lib's disappearing, FreeBSD 5.4
Message-ID:  <20050705050854.GA10829@xor.obsecurity.org>
In-Reply-To: <aceb91c30507042044337d0088@mail.gmail.com>
References:  <aceb91c30507042044337d0088@mail.gmail.com>

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

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 05, 2005 at 03:44:19PM +1200, Nick Larsen wrote:
> Hi,
>=20
> I love FreeBSD, but lately I've found in version 5.4-RELEASE every so
> often I won't be able to run a program as it depends on a library
> (which used to be there).
>=20
> Eg: today i tried to access my webserver...Failed... So I SSH'd into
> the box and ran
> # apachectl start
>=20
> It complained that it couldn't find libsasl2.so.2 which was needed by
> modules/libphp4.so, but my web server had been working fine other
> days, with absolutely no changes.
> I fixed this problem, and then it couldnt find some *expat*.so.5 file,
> which i then created sym links in /lib and /usr/lib (as it resides in
> /usr/local/lib)

This was the wrong solution.

> Later on today, I tried to sudo a command, and got...
> bash: sudo: command not found
>=20
> I had to reinstall sudo.
>=20
> I'm extremely cofused, and have checked auth.log (My passwords are
> quite difficult to crack as they have no meaning).

Either you had/still have some serious disk corruption (drop to
single-user mode and run fsck -f), or someone (e.g. another admin, or
you in a moment of forgetfulness) did some deleting or a misdirected
portupgrade session.

Kris

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCyhXmWry0BWjoQKURAp/8AKCLQvyB9YU4JKxSpPLDUlZF3Wp2tACfRDD3
bq9dcuaHxnSoBUaApVimUR0=
=oMJw
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



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