1754274 Members
3205 Online
108813 Solutions
New Discussion юеВ

ls -l hangs

 
SOLVED
Go to solution
EZ2007
Advisor

ls -l hangs

When I issue "ls" / ,it list files but when issuing "ls -l" / it hangs. The data protector is backing everything except / filesystem.
11 REPLIES 11
T G Manikandan
Honored Contributor

Re: ls -l hangs

Might be the resource utilization is more on the server.

you can check /var/adm/syslog/syslog.log file to see if there are weird errors with the file.
Dennis Handly
Acclaimed Contributor

Re: ls -l hangs

ll(1) will hang if you have a NFS mount point that isn't responding.
Steven E. Protter
Exalted Contributor
Solution

Re: ls -l hangs

Shalom,

Many possible causes.

Check for stale NFS links, locked files with DP.

DP is not a good OS backup tool, because it can not produce bootable images. See Ignite for that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
EZ2007
Advisor

Re: ls -l hangs

I am not using any NFS. Is this have to do with licenses or smtg?
Robert-Jan Goossens
Honored Contributor

Re: ls -l hangs

Hi,

any error messages the syslog.log file?

Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: ls -l hangs

Hi:

Did you perhaps use the 'pfs_mount' command to mount a CD? This uses NFS services and is a deprecated, brittle utility that leads to a reboot if used incorrectly.

Regards!

..JRF...
Ivan Krastev
Honored Contributor

Re: ls -l hangs

Possible reason can be bad mount point.
Check all mount points on the server.

regards,
ivan
V. Nyga
Honored Contributor

Re: ls -l hangs

Hi,

can you show us /etc/fstab ?

Volkmar
*** Say 'Thanks' with Kudos ***
Philip Gunter
Respected Contributor

Re: ls -l hangs

Are you running NIS or any other remote directory service? If "ls /" is working then I'd guess the delay is caused by a lookup of user/group details when doing ls -l.

Cheers,
Philip.