*BSD News Article 98510


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!134.48.1.31!spool.mu.edu!sol.net!spool.mu.edu!newsspool.sol.net!howland.erols.net!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Too many symbolic links, Symbolic link loop
Date: 26 Jun 1997 13:40:26 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 60
Message-ID: <5otrga$2ek$1@sol.ctr.columbia.edu>
References: <33B22527.5821785A@easynet.fr>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43559

Daring to challenge the will of the almighty Leviam00se, Michael Hallgren
(hallgren@easynet.fr) had the courage to say:

: Hello,


: I'm fighting with a FreeBSD machine. Roughly what I'm up to: I clean
: installed FreeBSD, with the DES option. The goal is to set up an Apache
: on the machine. Then I performed a rdist from a BSDI machine, importing
: stuff like password file, user directories, user quotas, shells.

"rdist from BSDI?" Well, at the very least, the shells may well not work:
while FreeBSD (depending on the version) can run many BSDI binaries, you
might find some that don't work. You should not copy shell binaries from
a BSDI machine to a FreeBSD machine: you should install the native FreeBSD
versions instead. Tcsh, bash, pdksh and probably many others are in the
FreeBSD ports/packages collection. Alternatively, you can just get the
original source and build them yourself.

I might suggest using NFS to mount the user directories from the BSDI
host, except that I don't know if quotas will work. For the password
database, you should copy only the entries for your users from
/etc/master.passwd and use pwd_mkdb to make a new FreeBSD password
database (in other words, don't overlay the FreeBSD /etc/master.passwd
with the one from BSDI: just copy the entries for the users on your
system.)

: The
: Apache works
: just fine, but when I try to run Perl I get stuck with the error
: message:
: "Too many symbolic links" (under bash), "Symbolic link loop" (under sh).
: I've
: scanned through my symbolic links w/o finding something striking.

Evidently you need to be struck harder. :)

: Basically, the
: links I have are "shortcuts to shells", some links to user logs...
: Anyone seen this kind of problem? Anyone solved it? How?

Perl is also available for FreeBSD. That said, this error usually
indicates a circular link, i.e. a symlink that points to itself (or
one link that points to a second link, which in turn points back to
the first link).

Probably you don't really have a perl executable at all: you just have
a perl link that points back to itself. Install perl from the FreeBSD
packages collection and test it to make sure it works.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
  "Now, that's "Open" as used in the sentence "Open your wallet", right?"
=============================================================================