From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 05:08:55 2005 Return-Path: X-Original-To: questions@freebsd.org 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 DED9816A41C for ; Tue, 5 Jul 2005 05:08:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9868A43D46 for ; Tue, 5 Jul 2005 05:08:55 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DCBA652055; Tue, 5 Jul 2005 01:08:54 -0400 (EDT) Date: Tue, 5 Jul 2005 01:08:54 -0400 From: Kris Kennaway To: Nick Larsen Message-ID: <20050705050854.GA10829@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: questions@freebsd.org Subject: Re: Programs and lib's disappearing, FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 05:08:56 -0000 --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--