LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2017, 09:29 AM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 521

Rep: Reputation: 37
midnight commander locks up at certain folder


I'm running centos 6 server (command line only) with midnight commander (mc-4.7.0.2-6.el6.x86_64) and it works ok until I try to open /media. It navigates all the other folders ok. To open /media I move the highlight to /media but it doesn't lock up until I press Enter on the keyboard. In a normal console (putty) I can navigate all over without any problems and I've set the permissions on /media to 777. In a console also I went to /media and tried to open mc from there but it locked up again. I haven't tried rebooting the machine (yet) because I'd like to see if i can solve this without that. I'm stumped, thanks for any help.

Last edited by tonj; 03-12-2017 at 11:37 AM.
 
Old 03-12-2017, 09:44 AM   #2
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Have you got "preview" turned on??
 
Old 03-12-2017, 11:10 AM   #3
tonj
Member
 
Registered: Sep 2008
Posts: 521

Original Poster
Rep: Reputation: 37
preview? where's that?
 
Old 03-12-2017, 11:23 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,827

Rep: Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983Reputation: 6983
Quote:
Originally Posted by tonj View Post
I'm running centos 6 server (command line only) with midnight commander (mc-4.7.0.2-6.el6.x86_64) and it works ok until I try to open /media. It navigates all the other folders ok. To open /media I move the highlight to /media but it doesn't lock up until I press Enter on the keyboard. In a normal console (putty) I can navigate all over without any problems and I've set the permissions on /media to 777. In a console also I went to /media and tried to open mc from there but it locked up again. I haven't tried rebooting the machine (yet) because I'd like to see if i can solve this without that. I'm stumped, thanks for any help.
First question I'd ask is, what's under /media??

For example, if you have a (slow) network share mounted (Google Drive, for example), it can take a good while to respond. Similarly, if you've got NFS/Samba shares that aren't ready or mounted, it'll attempt to get them read, until it times out. Same if you have a TON of files...it'll try to read/cache them all before it builds the tree.
 
Old 03-12-2017, 11:35 AM   #5
tonj
Member
 
Registered: Sep 2008
Posts: 521

Original Poster
Rep: Reputation: 37
solved: it was a folder (vps) under /media causing the trouble. I unmounted the vps folder using umount -l /media/vps but the folder was still mounted yet it now worked and I was able to get into /media without mc locking up. Strange problem but unmounting the vps folder solved it. Maybe it was mounted twice?

Last edited by tonj; 03-12-2017 at 11:37 AM.
 
  


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
[SOLVED] Midnight-commander new2nagios Linux - Software 4 08-05-2009 10:55 AM
Midnight Commander 4.6.2 guanx Slackware 8 02-07-2009 03:53 AM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 04:26 PM
midnight commander archlyric Linux - Software 2 02-28-2004 02:04 AM
Where's mc (Midnight Commander) Shadow Of Death Linux - Software 7 01-09-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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