- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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 02:43 AM
07-17-2007 02:43 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:45 AM
07-17-2007 02:45 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:48 AM
07-17-2007 02:48 AM
Re: Server doing some weird things, HELP!!
Could you also check that the user has permissions to their /home/
Also could you do a 'whereis ksh'. Lastly try and run ksh from your root prompt.
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:51 AM
07-17-2007 02:51 AM
Re: Server doing some weird things, HELP!!
check File or Directory Correct Access
/bin/sh -r-xr-xr-t
/ drwxr-xr-x
/bin drwxr-xr-x
/etc/passwd -r--r--r--
Also maybe /sbin/sh corruption?
Check:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=8615
Also you could make a google search yourself:
http://www.google.de/search?num=20&hl=de&ie=ISO-8859-1&oe=ISO-8859-1&as_qdr=all&q=no+shell+site%3Aforums1.itrc.hp.com&btnG=Suche&meta=lr%3Dlang_en
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:59 AM
07-17-2007 02:59 AM
Re: Server doing some weird things, HELP!!
ll -d /
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:02 AM
07-17-2007 03:02 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 03:02 AM
07-17-2007 03:02 AM
Re: Server doing some weird things, HELP!!
/usr/bin/ksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:10 AM
07-17-2007 03:10 AM
Re: Server doing some weird things, HELP!!
A lot of shells point /bin/ksh and not /usr/bin/ksh.
ls -l /bin
If it gives a lot of files thats good, if it gives /bin -> /usr/bin even better.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:18 AM
07-17-2007 03:18 AM
Re: Server doing some weird things, HELP!!
from ll -d / I get drwxr-xr-x 36 root root
from pwck, it says
prodeng::206:8400:Product Eng:/home/prodeng:/bin/ksh
login directory not found
this for all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:21 AM
07-17-2007 03:21 AM
Re: Server doing some weird things, HELP!!
Please run ls -ld /home
Also run ls -l /home
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:27 AM
07-17-2007 03:27 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 03:28 AM
07-17-2007 03:28 AM
Re: Server doing some weird things, HELP!!
and the other ls -ld /home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:31 AM
07-17-2007 03:31 AM
Re: Server doing some weird things, HELP!!
It looks like a number of your /home directories are missing.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:31 AM
07-17-2007 03:31 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 03:34 AM
07-17-2007 03:34 AM
Re: Server doing some weird things, HELP!!
we should concentrate to one or two users - for example 'prodeng' - there's no home directory for prodeng!
Where should it be? Where had it been?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:34 AM
07-17-2007 03:34 AM
Re: Server doing some weird things, HELP!!
it gives me
lr-xr-xr-t 1 root sys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:40 AM
07-17-2007 03:40 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 03:47 AM
07-17-2007 03:47 AM
Re: Server doing some weird things, HELP!!
The ls /home shows only one third of them are there.
Can you run ls -lb /home
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:48 AM
07-17-2007 03:48 AM
Re: Server doing some weird things, HELP!!
Keep in mind this weird behaviour could also be caused by bad hardware (cpu, system board, disk etc). The part could be failing (almost dead).
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:49 AM
07-17-2007 03:49 AM
Re: Server doing some weird things, HELP!!
you can rlogin and go the first boot stage (init 1) by typing 'init 1' then 'umount -a'.
Check with 'bdf' if /home is unmounted, then run fsck at the raw device of the home disk.
See 'man fsck' - something like 'fsck /dev/rdsk/c1d0s8'
Your raw device you get with:
'ioscan -fnC disk'
Other possibility than 'init 1' to be able to fsck is to reboot server and boot in single user mode.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 02:16 AM
07-18-2007 02:16 AM
Re: Server doing some weird things, HELP!!
Thanks for all your support. turns out a back up script that was running was backing up to a server that went down at the same time the script was running. the script changes permissions to directories at the beginning but never completed to repermission them. A lot of permissions got hosed up, the /root /lib all kinds of stuff. Fortunatly, we just hired some gent from Scotland who happened to be visiting our main location, and he was a big help in finding the root cause and the damaged done.
Again, thank you all for your help, this site is such a help to people!!!
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 03:30 AM
07-18-2007 03:30 AM
Re: Server doing some weird things, HELP!!
I don't understand the logic in that, especially for your basic OS directories (/, /usr, /var, etc).
I think you've also just found a good reason NOT to do that.
At this point I would seriously consider redesigning your backup script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 05:04 AM
07-18-2007 05:04 AM
Re: Server doing some weird things, HELP!!
Patrick has a good point above. Why should you backup be mingling with your files??
I would also add that you do a full backup immediately.
good luck!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 05:17 AM
07-18-2007 05:17 AM
Re: Server doing some weird things, HELP!!
> A lot of permissions got hosed up, the /root /lib all kinds of stuff.
Yikes, don't run that script again! I'd do some further damage assessment and/or fixup by running 'swverify'. Unfortunately, since this appears to be an out-dated 10.20 release, you are limited to finding the mangled objects:
# swverify \*
If you were running a current 11i release you could find *and* fix the damage with:
# swverify -F \*
Regards!
...JRF...