LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2010, 01:20 AM   #1
ramprasadgk
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
problem accessing symmlinks: MAXSYMLINKS


I happen to create a aymlink like below:
ln -l /toc/s /toc/usr/tcskrir/gpu/stats.pl
long list of the file shows :

lrwxrwxrwx 1 nobody nobody 29 Dec 31 00:06 /toc/s -> /toc/usr/tcskrir/gpu/stats.pl

when I tried to run /toc/s which links to a perl file
I got error like below:
bash-3.00# /toc/s
bash: /toc/s: Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS

I did some research on net but no luck yet . Any answers much appreciated.. thanks in advance

--Ram
 
Old 12-31-2010, 01:33 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Try this:
1. rm /toc/s
<= Delete the symbolic link. It's apparently garbage.

2. ls -l /toc/usr/tcskrir/gpu/stats.pl
<= Verify that stats.pl exists, and it's a real file

3. cd /toc
ln -s /toc/usr/tcskrir/gpu/stats.pl s
<= Re-create link "s", with the correct syntax
 
  


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
Accessing problem shariefbe Fedora 21 02-24-2009 05:39 PM
Problem with accessing NFS shridhar_bhat83 Linux - Server 2 10-02-2008 02:15 AM
Problem in accessing NFS agilan_v Linux - Newbie 1 07-31-2007 03:48 PM
ACcessing problem hk_michael Linux - Networking 1 03-31-2005 12:52 AM
Problem accessing libraries DDD26 Linux - Newbie 4 12-16-2004 05:38 PM


All times are GMT -5. The time now is 10:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration