LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-16-2004, 04:12 PM   #1
labratmatt
LQ Newbie
 
Registered: Nov 2004
Location: The Matrix
Distribution: Gentoo, Redhat, OS X
Posts: 21

Rep: Reputation: 15
ls problems


Once in a while when I issue an ls command in a terminal window in Gnome, ls will just hang. Even if I hit ctrl-c or ctrl-z, I get nothing. I have to close the terminal through Gnome, then reboot my mahine. Once I reboot the problem usually goes away. I don't seem to have problems issuing other commands when ls is acting weird, it just seems to be ls. Also, ls doesn't do it all the time, just sometimes. There doesn't seem to be a pattern. Any ideas on what could be causing this? Thanks.

Oh yeah, I'm running gentoo.
 
Old 11-16-2004, 04:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Do you have any nfs or samba shares mounted, the
machine providing that share being down/disconnected,
and maybe a symlink to those in the directory you're ls'ing in?



Cheers,
Tink
 
Old 11-17-2004, 12:38 PM   #3
labratmatt
LQ Newbie
 
Registered: Nov 2004
Location: The Matrix
Distribution: Gentoo, Redhat, OS X
Posts: 21

Original Poster
Rep: Reputation: 15
I think you're onto something. Yes, I do have shares setup through NFS. I have my home directory on another machine and I have that mounted on the machine that has the ls problems.

So this could be a network connectivity issue? Like I said, it seems to happen only occasionally. Anything else?

I think you're right. Thanks so much for the help.
 
Old 11-17-2004, 02:20 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... next time it happens, open another console (or
ssh into the box) and check the nfs mounts status ...


Cheers,
Tink
 
Old 11-29-2004, 08:31 AM   #5
labratmatt
LQ Newbie
 
Registered: Nov 2004
Location: The Matrix
Distribution: Gentoo, Redhat, OS X
Posts: 21

Original Poster
Rep: Reputation: 15
Tinkster,

Should I check the nfs mounts status by simply issuing a 'mount' comand? If so, what should I be looking for? Thanks for you help.

Last edited by labratmatt; 11-29-2004 at 08:33 AM.
 
Old 11-29-2004, 01:24 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
mount should have something to say indeed :0

But also make sure to check syslog, messages
and debug.


Cheers,
Tink
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:59 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