- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: strange ls and pwd error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 05:57 AM
04-19-2001 05:57 AM
The directory I am in is.....
/usr/ud/redback/server/redback/rgw/log.
Any ideas????
Steve post
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:02 AM
04-19-2001 06:02 AM
Re: strange ls and pwd error
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:09 AM
04-19-2001 06:09 AM
Re: strange ls and pwd error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:14 AM
04-19-2001 06:14 AM
Solutione.g. 700 and owned by root. If you then examine the permissions of the mounted filesystem as root everything looks fine. Unmount the filesystem and examine the mountpoint directory's permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:23 AM
04-19-2001 06:23 AM
Re: strange ls and pwd error
Profile: I ran diff /home/redback/.profile /etc/skel. No difference.
I checked permission on /usr/ud directory. It's 777. But /usr/ud IS the mount point. I'll unmount the bugger, and see if there are any strange things underneath for /usr/ud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:27 AM
04-19-2001 06:27 AM
Re: strange ls and pwd error
go to the root directory (/),
and then go down one directory at a time.
This should eventually show where the problem is.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:52 AM
04-19-2001 06:52 AM
Re: strange ls and pwd error
ls -ld /
ls -ld /usr
ls -ld /usr/ud
ls -ld /usr/ud/redback
......
ls -ld /usr/ud/redback/server/redback/rgw/log
mode is 777.
This is the FIRST thing I did.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:57 AM
04-19-2001 06:57 AM
Re: strange ls and pwd error
hmmmz, you mentioned 'ls' or 'pwd' failing, from which point on to they fail in this directory structure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:03 AM
04-19-2001 07:03 AM
Re: strange ls and pwd error
ls -l . < . not found >
ls -l /usr/ud/u....log < I get a listing >.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 07:09 AM
04-19-2001 07:09 AM
Re: strange ls and pwd error
Clay is on the right track. I've experienced this kind (or similar) problem before.
Follow his advice. Unmount the filesystem, verify, and change any directory permissions you need to do, then re-mount the filesystem.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 08:25 AM
04-19-2001 08:25 AM
Re: strange ls and pwd error
at this point I think the magical answer has been given : umount, chmod, mount ...
good luck
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 08:51 AM
04-19-2001 08:51 AM
Re: strange ls and pwd error
I ran dmesg and checked /var/adm/syslog/syslog.log. I ran find /usr/ud -type l -exec ls -ld {} \; just in case there was a goofy link messing something up. It's working now.
Now only time time will tell if it is fixed.
Thanks.
STeve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 04:09 AM
04-20-2001 04:09 AM
Re: strange ls and pwd error
The start and stop programs for this application were renaming the log directory, then creating a new log directory under my nose! ...with the SAME files!
I would have never noticed it except I was in the log directory when it moved. I was in it a lot. But I don't really think it is a good idea move a directory while someone is using it. It's like standing on a rug, and pulling on the rug REAL HARD.
Thanks for the help. And remember "ls -il"
Steve P. ^_^