LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-03-2003, 01:39 PM   #1
pierow
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Rep: Reputation: 0
ln problem


I want to setup all my web domains in /usr/local/domains and link that
to /home/domains. But the problem I keep getting is too many symbolic
links error. I've googled and haven't came up with any errors related
to this type of ln problem. Here's some info and permissions

root@sleepy:/bin# ls -al ln
-rwxr-xr-x 1 root bin 21988 May 27 2002 ln*

root@sleepy:/usr/local# ls -al
total 52
drwxr-xr-x 13 root root 4096 Aug 3 14:06 ./
drwxr-xr-x 18 root root 4096 Sep 15 2002 ../
drwxr-xr-x 2 root bin 4096 Aug 1 17:33 bin/
drwxr-xr-x 2 root root 4096 Aug 3 14:06 domains/

root@sleepy:/home# ls -al
total 44
drwxr-xr-x 8 root root 4096 Aug 3 14:06 ./
drwxr-xr-x 19 root root 4096 Aug 1 20:17 ../
drwx--x--x 2 admin users 4096 Aug 1 14:10 admin/
lrwxrwxrwx 1 root root 7 Aug 3 14:06 domains ->
domains

Here's the error I recieve when I try to cd into /home/domains -
root@sleepy:/home# cd /home/domains
-su: cd: /home/domains: Too many levels of symbolic links

Thx
~mike
 
Old 08-03-2003, 01:52 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Re: ln problem

Quote:
Originally posted by pierow

lrwxrwxrwx 1 root root 7 Aug 3 14:06 domains ->
domains
The symlink points to itself! I mean: /home/domains points to /home/domains, not /usr/local/domains. What command do you use to create it? Modify /home/domains to point to /usr/local/domains instead and it should be OK.
 
Old 08-03-2003, 01:59 PM   #3
pierow
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thx Mara I was rattling my brain trying to figure it out.

The command I was usin to link was -
ln -s domains /usr/local/domains

instead of ln -s /home/domains /usr/local/domains

Thx
~mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration