- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Server doing some weird things, HELP!!
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
07-17-2007 12:35 AM
07-17-2007 12:35 AM
I am running hp 10.2, Yester day my srever was doing some weird things. couldn't run sam, not even an ls would work. Rebooted, all worked fine till today. Now I can only seem to log into system with root. All other users report no shell when I try to do a su.
I think something is starting to physically go wrong with my hard drives. I thought about running fsck. Can this be run on a mounted file system. Will this repair or rewrite any bad files? I have 10 people at my cube asking what is wrong, please give me some guidence. i do not see any thing in the syslog that points to a problem, although admittitly, I don't really know where to look in the file or other log files for guidence. Please help!!
Thanks,
Phil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 12:46 AM
07-17-2007 12:46 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 12:46 AM
07-17-2007 12:46 AM
Re: Server doing some weird things, HELP!!
No shell? Do ll /etc/passwd and check the date and timestamp in case someone has been messing about with the contents. Make sure the shell allocated to users is a valid one.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 12:54 AM
07-17-2007 12:54 AM
Re: Server doing some weird things, HELP!!
also check user log in .dt - error.log, startlog, sessionlogs.
'a mounted file system' - mounted from where?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:01 AM
07-17-2007 01:01 AM
Re: Server doing some weird things, HELP!!
File system not full, only 80 some %. Passwd file seems ok.
Any idea what to do next?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:06 AM
07-17-2007 01:06 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:08 AM
07-17-2007 01:08 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:08 AM
07-17-2007 01:08 AM
Re: Server doing some weird things, HELP!!
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:12 AM
07-17-2007 01:12 AM
Re: Server doing some weird things, HELP!!
this sems to be the log file of root (which works, right?).
Check .dt in the users home directories ...
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:14 AM
07-17-2007 01:14 AM
Re: Server doing some weird things, HELP!!
Did not get any error messages?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:15 AM
07-17-2007 01:15 AM
Re: Server doing some weird things, HELP!!
Could you also add your /etc/rc.log file?
In addition just to check that your /home folders are all local and not automounted. You are not running NIS perhaps?
What result do you get when you run bdf /home.
Also bdf without any parameters (I suspect it might hang though)
Run ioscan -fnC disk and see if there are any NO_HW or other errors.
What shell are the users using?
My feelings are there are either problems with the users home directories or with the shell which is usually in /usr/bin or /usr/local/bin but check /etc/passwd for its location.
HTH
Andrew Y
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:19 AM
07-17-2007 01:19 AM
Re: Server doing some weird things, HELP!!
How can I check the shell binaries the users are using? i am not that familiar with unix to check shell things
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:20 AM
07-17-2007 01:20 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:31 AM
07-17-2007 01:31 AM
Re: Server doing some weird things, HELP!!
That's quite all right, Mr Campfire ;-)
Phil - the final field in the /etc/passwd file tells you the user's shell. For root it should be /sbin/sh, for other users it may be different. Check the entry for a user who cannot log in and do ll /sbin/sh (or whatever shell it happens to be). The ll command should produce successful output.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:32 AM
07-17-2007 01:32 AM
Re: Server doing some weird things, HELP!!
can you try to telnet on the server and create a new test user using SAM and see if the latter is able to login.
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:55 AM
07-17-2007 01:55 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 01:58 AM
07-17-2007 01:58 AM
Re: Server doing some weird things, HELP!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:03 AM
07-17-2007 02:03 AM
Re: Server doing some weird things, HELP!!
# ll /usr/bin/ksh
See if the binary is there. try running the shell as root and see if runs or possibly makes a core dump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:10 AM
07-17-2007 02:10 AM
Re: Server doing some weird things, HELP!!
With out it, it just returns back to the prompt, no out put messages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:11 AM
07-17-2007 02:11 AM
Re: Server doing some weird things, HELP!!
Use ls -l instead of ll
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:20 AM
07-17-2007 02:20 AM
Re: Server doing some weird things, HELP!!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:26 AM
07-17-2007 02:26 AM
Re: Server doing some weird things, HELP!!
I just added a user, every thing says in sam it was added fine. when i go to telnet login it says "no shell" Yes I did use pipe. attached is the output of /ls -l /usr/bin/ksh
thanks for sticking with me guys.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:35 AM
07-17-2007 02:35 AM
Re: Server doing some weird things, HELP!!
Is /usr/bin/ksh listed in /etc/shells?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:37 AM
07-17-2007 02:37 AM
Re: Server doing some weird things, HELP!!
# awk -F: '{print $7'} /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:38 AM
07-17-2007 02:38 AM
Re: Server doing some weird things, HELP!!
Mark