- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX newbie SOS
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-10-2001 02:53 PM
04-10-2001 02:53 PM
The session is hung once I get the NFS server not responding message but the 'still trying' messages keep coming until I disconnect.
How do I go about finding which volume(s) to re-mount if this is indeed the issue?
It has been suggested that rebooting would solve the problem but 1) I have no idea what has been going on with this machine in the 3-4 months since last boot; and 2) that is the wimpy way out that doesn't add to my learning experience!
Any suggestions are greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 03:33 PM
04-10-2001 03:33 PM
Re: HP-UX newbie SOS
cd /sbin/init.d
./nfs.client stop
./nfs.client start
then execute mountall -r to mount all remote
filesystems
If you were a really bad boy you killed inetd
In which case only the console and directly
attached serial terminals can connect. If that is the case then from the /sbin/init.d directory
./inetd stop
./inetd start
If you do a ps -ef listing and attach that we may be able to see what process(es) are missisg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 07:01 PM
04-10-2001 07:01 PM
Re: HP-UX newbie SOS
I get a nfs.client:not found message when executing nfs.client start or stop command. I did verify that the nfs.client is in the directory you stated.
Since I am connecting through a telnet session over a network I doubt that "I was a really bad boy" ;)
Here is a ps -ef listing....I see that some of the jobs run from my previous connection are still lingering! Let me know if you need anything else.
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 02:11 AM
04-11-2001 02:11 AM
Re: HP-UX newbie SOS
also think you killed your nfs client. You should be able to restart it as root. Just as mentioned above.
As you got a "not found" message: did you type nfs.client start or ./nfs.client start? (note the "./"). This errormessage seems like the shell isn't able to locate the script as the root user has no "." set in the PATH.
Hope this helps. Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 02:44 AM
04-11-2001 02:44 AM
Re: HP-UX newbie SOS
It is hard to say what you killed. To me also it looks like nfs client processes are not running. NOTE: no nfsd's and not automountd.
Either give the absolute path to the command /sbin/init.d/nfs.client stop then /sbin/init.d/nfs.client start or as some said cd to /sbin/init.d and give the relative path ./nfs.client stop then ./nfs.client start.
I would recommend you stop the process before starting, as you are not sure if you killed any of the rpc processes,
We all oops starting out. Hard to realize sometimes how much power and control root has esp if you come from windblows environments! As long as you learn from mistakes, then sh&% happens!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 05:54 AM
04-11-2001 05:54 AM
Re: HP-UX newbie SOS
The quickest fix as it is a play server is reboot it and learn from a mistake ( as we all have done).
I remember killing pid 1 once (OOOPS) - (it is very interesting to watch a server slowly die).
;^)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 06:01 AM
04-11-2001 06:01 AM
SolutionWhen I got in this morning I saw your ps listing. It appears that the portmap process is missing. This would cause a host of problems. I would suggest that you reboot at this point but if you are determined to try to
fix this then here are the steps.
FROM THE CONSOLE as root:
cd /sbin/init.d
./nfs.client stop
./nfs.server stop
./inetd stop
./nfs.core stop
# The portmap process must start before inetd
./nfs.core start
./inetd start
./nfs.server start
./nfs.client start
If this doesn't work then you will almost certainly have to reboot because there are so many interdependent processes.
./
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 06:19 AM
04-11-2001 06:19 AM
Re: HP-UX newbie SOS
Kill all the pfs_mount.rpc and pfsd processes and if that doesn't work....reboot.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 10:43 AM
04-11-2001 10:43 AM
Re: HP-UX newbie SOS
It looks like everything is ducky again. This is what I did:
FROM THE CONSOLE as root:
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/inetd stop
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.core start
/sbin/init.d/inetd start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start
From here I ran the find command wide open and it parsed the entire file structure without errors or hanging. The bdf listing had a couple errors regarding the cdrom and I cleaned that up with a umount, mount of the cdrom. The processes that were in 'zombie' state were identified by the start date and killed.
There are 2 questions, though:
-Why was I able to do this from a telnet session instead of the console?
-What is the deal with the check mark? I had to use the full path to execute the necessary commands; changing to the /sbin/init.d directory and then executing gave 'not found' errors even though they were in that directory.
Thanks again to all who replied!
Best regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2001 12:28 AM
04-12-2001 12:28 AM
Re: HP-UX newbie SOS
2. ./ isn't a checkmark: it means "current working directory". Default, the PATH environment variable for root doesn't include "." (security hazard). That's why you either had to use "./nfs.client stop" or the full path, "/sbin/init.d/nfs.client stop". If you include /sbin/init.d in PATH for user root, you can just run "nfs.client stop". My advise would to just keep it like it is and NEVER put "." in your PATH...
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2001 02:21 PM
04-12-2001 02:21 PM