- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Starting nfsd on HP-UX 11.0
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-23-2003 10:05 PM
07-23-2003 10:05 PM
Starting nfsd on HP-UX 11.0
I am trying to start nfsd on HP-UX 11.0 on a HP C Class Workstation, but the demon doesn 't seem to start. I tried starting NFS Server through SAM, even that doesn 't sem to work.
How do i start NFS Server Services ?
Manjunath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:07 PM
07-23-2003 10:07 PM
Re: Starting nfsd on HP-UX 11.0
you must check a couple of things:
- file /etc/rc.config.d/nfsconf
the SERVER part must be 1
then, and only then
/sbin/init.d/nfs.server start
if you also want tthe client
/sbin/init.d/nfs.client start
SAM uses the /sbin script, but they start is they are configured.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:11 PM
07-23-2003 10:11 PM
Re: Starting nfsd on HP-UX 11.0
Set the following in /etc/rc.config.d/nfsconf file:
NFS_CLIENT=1
NFS_SERVER=1
Then run the following:
# /sbin/init.d/nfs.core start
# /sbin/init.d/nfs.client start
# /sbin/init.d/nfs.server start
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:17 PM
07-23-2003 10:17 PM
Re: Starting nfsd on HP-UX 11.0
You need to start the three daemons
nfs.core
nfs.server
nfs.client
Core must run, you can omit client if you never want to be an nfs client
Better to run it.
All three are in /sbin/init.d/
to: Start
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start
It took a bunch of tried to get this to post. Something is up with itrc
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:18 PM
07-23-2003 10:18 PM
Re: Starting nfsd on HP-UX 11.0
Check the /etc/rc.config.d/nfsconf file for NFS_SERVER=1, if the value is not 1, chnage it to 1.
check the NUM_NFSD, this will tell the number of nfsd process.
then restart the nfs service by
/sbin/init.d/nfs.server start
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 01:42 AM
07-25-2003 01:42 AM
Re: Starting nfsd on HP-UX 11.0
I still have a problem in starting the NFS Server.
The Variables
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
have the assigned values in /etc/rc.config.d/nfsconf
When I start the /sbin/init.d/nfs.server I get the following output
# ./nfs.server start
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 843
exportfs error: /usr/system: No such file or directory
exportfs error: /usr/users/vipul: No such file or directory
Reading in /etc/exports
starting up the mount daemon
rpc.mountd already started, using pid: 1906
starting up the NFS daemons
/usr/sbin/nfsd 16
starting up the Status Monitor daemon
rpc.statd already started, using pid: 921
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 927
./nfs.core start
starting NFS CORE networking
starting up the rpcbind
rpcbind already started, using pid: 843
But still nfsd is not visible in the process and I am unable to utilize NFS Services.
What may be wrong ?, would appreciate your help.
Regards,
Manjunath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 02:00 AM
07-25-2003 02:00 AM
Re: Starting nfsd on HP-UX 11.0
exportfs error: /usr/users/vipul: No such file or directory
What is the content of
/etc/exports
?
BTW:
proper order to start is
nfs.core
nfs.server
nfs.client
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 02:07 AM
07-25-2003 02:07 AM
Re: Starting nfsd on HP-UX 11.0
Check if they are present and have appropriate permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 05:52 AM
07-25-2003 05:52 AM
Re: Starting nfsd on HP-UX 11.0
As you can see exportfs has problem of export
the 2 directory, post your /etc/exports
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 11:01 PM
07-27-2003 11:01 PM
Re: Starting nfsd on HP-UX 11.0
Thank you for further clarification. I did not notice the exportfs error, regret the overlook. There were old entries in /etc/exports file which I have removed. Now looks like my /etc/exports is intact and it looks like this.
/abaqus/abq_exp -root=mesh
Now when I start the NFS Daemons, I get the following Output
./nfs.core start
starting NFS CORE networking
starting up the rpcbind
rpcbind already started, using pid: 843
./nfs.server start
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 843
Reading in /etc/exports
starting up the mount daemon
rpc.mountd already started, using pid: 1906
starting up the NFS daemons
/usr/sbin/nfsd 16
starting up the Status Monitor daemon
rpc.statd already started, using pid: 921
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 927
# ./nfs.client start
starting NFS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 843
starting up the BIO daemons
biod(s) already started, using pid(s): 898 899 897 900 901 902 903 904 9
05 906 907 908 909 910 911 912
Reading in /etc/exports
starting up the Status Monitor daemon
rpc.statd already started, using pid: 921
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 927
starting up the Automount daemon
automount already started, using pid: 938
mounting remote NFS file systems ...
Permission denied
FAILURE CODE: 1
Mount failed! Possible local filesystem mount.
If local filesystem, then nfs.server will mount it.
This is the output, there seems to be a problem in mounting remote file systems, But I think that should should not be a problem to start NFSD.
I am still not able to start the NFSD Daemon.
I can 't reboot the System atleast for next couple of days. What do I do further ?
Regards,
Manjunath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 11:43 PM
07-27-2003 11:43 PM
Re: Starting nfsd on HP-UX 11.0
Give us your hole /etc/rc.config.d/nfsconf file. Could be problems with the automounter.
But first I recommend you to stop and start again the nfs startup procedure. Could be something wrong in yours. Because nfs.server and nfs.client was running and formost then you have started nfs.core server an client in the right direction.
So do that.
/etc/rc.config./nfs.client stop
/etc/rc.config./nfs.server stop
/etc/rc.config./nfs.core stop
Are processes really stopped as was said in the stop messages? Check this with ps command. Otherwise kill them. Then do the startup procedure in this sequence.
/etc/rc.config./nfs.core start
/etc/rc.config./nfs.server start
/etc/rc.config./nfs.client start
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 11:46 PM
07-27-2003 11:46 PM
Re: Starting nfsd on HP-UX 11.0
It is /sbin/init.d/nfs.core stop/start
similar to the others.
NOT
/etc/rc.config./nfs.core
Roland
PS : That is fat finger syndrome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 06:33 AM
07-28-2003 06:33 AM
Re: Starting nfsd on HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 11:47 PM
07-31-2003 11:47 PM
Re: Starting nfsd on HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 11:54 PM
07-31-2003 11:54 PM
Re: Starting nfsd on HP-UX 11.0
check two things:
- since you are going to reboot, put AUTOFS=1, it works much better than automount. same parameters, no need to have further changes
- check if the remote host is properly exporting towards your hosts.
In aby case, without nfsd, you can try to mount the FS by hand:
mount remote:/export/dir /local/dir
Does this work ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 02:53 AM
08-01-2003 02:53 AM
Re: Starting nfsd on HP-UX 11.0
NFS needs to be in the kernel as well.
What is the result of doing the following
# /usr/sbin/kmsystem | egrep -i nfs
There should be 4 items listed here, if not you will need to re-build the kernel with them in. The default is to have them in the kernel, thus if they have been removed from the kernel it was probably done on purpose, so you might want to check this out before re-building the kernel as NFS is sited as a potential security problem (hours of fun discussing NFS & security!!!).
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2003 03:01 AM
08-01-2003 03:01 AM
Re: Starting nfsd on HP-UX 11.0
Hope you have some sucess soon (Tim, the Ex-FE guy)
Regards
Tim