Date: Wed, 2 Dec 1998 14:01:20 +1100 From: "John Saunders" <john.saunders@scitec.com.au> To: "Jim Mock" <jim@phrantic.phear.net>, "Ben Smithurst" <ben@scientia.demon.co.uk> Cc: <questions@FreeBSD.ORG> Subject: RE: whereis in 2.2.8-RELEASE Message-ID: <002501be1da0$0949ffd0$6cb611cb@saruman.scitec.com.au> In-Reply-To: <Pine.BSF.4.05.9812020911310.736-100000@oz.phear.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, 1 Dec 1998, Ben Smithurst wrote: > > > Jim Mock wrote: > > > > > [root@oz:~]# whereis sendmail > > > Can't exec "/usr/sbin/sysctl -n user.cs_path": No such file or > > > directory at /usr/bin/whereis line 99sendmail: /usr/sbin/sendmail > > > /usr/share/man/man8/sendmail.8.gz > > > > sysctl is in /sbin. Just edit the whereis script, the version in 3.0 > > doesn't seem to have this problem. Hmm... john@monster:~ {508} $ ll /sbin/sysctl -r-xr-xr-x 1 bin bin 57344 Nov 5 20:31 /sbin/sysctl* john@monster:~ {509} $ ll /usr/sbin/sysctl lrwxrwxrwx 1 root bin 12 Nov 5 20:31 /usr/sbin/sysctl@ -> /sbin/sysctl Looking at /usr/sys/usr.sbin/sysctl/Makefile makes me think that a symbolic link has gone missing in your system. BINDIR= /sbin LINKS= ${BINDIR}/sysctl /usr/sbin/sysctl I would suggest "ln -s -f /sbin/sysctl /usr/sbin/sysctl" instead of editing the whereis script. Cheers. -- . +-------------------------------------------------------+ ,--_|\ | John Saunders mailto:John.Saunders@scitec.com.au | / Oz \ | SCITEC LIMITED Phone +61294289563 Fax +61294289933 | \_,--\_/ | "By the time you make ends meet, they move the ends." | v +-------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501be1da0$0949ffd0$6cb611cb>