- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to start the NFS server on HP-UX 11.31 at ...
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
Discussions
Discussions
Forums
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
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
тАО12-18-2009 08:38 AM
тАО12-18-2009 08:38 AM
I want to start the NFS server on HP-UX 11.31 at start up (boot up) automatically.
For that i have done following configuration in /etc/rc.config.d/nfsconf
---------------------------------------
# vi /etc/rc.config.d/nfsconf
NFS_CORE=1
LOCKMGR=1
NFS_SERVER=1
START_MOUNTD=1
-------------------------------------------
But NFS server is not starting automatically.
where as i am able to start manually and access the NFS share.
I used following commands to start NFS manually
# /sbin/init.d/nfs.core start
# /sbin/init.d/lockmgr start
# /sbin/init.d/nfs.server start
How to solve this issue
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 08:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 08:45 AM
тАО12-18-2009 08:45 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
if yes, check /etc/rc.log to see what is the error causing it to fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 09:21 AM
тАО12-18-2009 09:21 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
Please find the output from /etc/rc.log
# more /etc/rc.log | grep -i nfs
Start NFS core subsystem
Output from "/sbin/rc2.d/S400nfs.core start":
Starting NFS CORE networking
Start NFS IPv6 subsystem
Output from "/sbin/rc2.d/S401nfs.core-ipv6 start":
Start NFS IPv6 subsystem
Output from "/sbin/rc2.d/S402nfs.core2-ipv6 start":
Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start":
Starting NFS CLIENT subsystem
"/sbin/rc2.d/S430nfs.client start" FAILED
Start NFS server subsystem
Output from "/sbin/rc3.d/S100nfs.server start":
"/sbin/rc3.d/S100nfs.server start" FAILED
# more /etc/rc.log | grep -i lock
Start lock manager subsystem
Output from "/sbin/rc2.d/S425lockmgr start":
Starting up the lock manager daemon
/usr/sbin/rpc.lockd
ERROR: rpc.lockd not running. Run "/sbin/init.d/lockmgr start" to start rpc.lockd, exiting
Start clock daemon
ERROR: rpc.lockd not running. Run "/sbin/init.d/lockmgr start" to start rpc.lockd, exiting
So as per above log, the "NFS server" and "lockmgr" are not started.
How to solve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 09:24 AM
тАО12-18-2009 09:24 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 09:24 AM
тАО12-18-2009 09:24 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
you grepped the nfs word, it will not show the error it gave while failed. So, can you attach the /etc/rc.log with your post or paste the error from the file here to further look into.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 09:29 AM
тАО12-18-2009 09:29 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
By any chance did you make a backup of '/etc/rc.config.d/nfsconf' when you changed its settings? If so, did you retain that backup copy in '/etc/rc.config.d'? There are ways to do this and ways to _not_ do this.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 10:06 AM
тАО12-18-2009 10:06 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
Start NFS core subsystem
Output from "/sbin/rc2.d/S400nfs.core start":
----------------------------
Starting NFS CORE networking
Starting up the rpcbind
/usr/sbin/rpcbind
Start lock manager subsystem
Output from "/sbin/rc2.d/S425lockmgr start":
----------------------------
Starting up the Status Monitor daemon
/usr/sbin/rpc.statd
Starting up the lock manager daemon
/usr/sbin/rpc.lockd
Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start":
----------------------------
Starting NFS CLIENT subsystem
ERROR: rpc.lockd not running. Run "/sbin/init.d/lockmgr start" to start rpc.lockd, exiting
"/sbin/rc2.d/S430nfs.client start" FAILED
Start NFS server subsystem
Output from "/sbin/rc3.d/S100nfs.server start":
----------------------------
ERROR: rpc.lockd not running. Run "/sbin/init.d/lockmgr start" to start rpc.lockd, exiting
"/sbin/rc3.d/S100nfs.server start" FAILED
Is it enough?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 10:38 AM
тАО12-18-2009 10:38 AM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 12:47 PM
тАО12-18-2009 12:47 PM
Re: How to start the NFS server on HP-UX 11.31 at start up (boot up) automatically
Using SAM / SMH to enable NFS might get
everything done right automatically. Not
using the easy-to-use tools may make more
sense if you know what you're doing, but if
you're asking here about what went wrong,
then I'd vote for using the easy-to-use
tools.
After it works, you can go back in and play
with exporting/sharing particular file
systems in particular ways.