Starting nfs/server


 
Thread Tools Search this Thread
Operating Systems Solaris Starting nfs/server
# 1  
Old 06-14-2010
Starting nfs/server

Hi,

I do not get nfs/server started.

Code:
bash-3.00# svcadm enable nfs/server

bash-3.00# svcs -a |grep nfs
disabled       21:44:36 svc:/network/nfs/cbd:default
disabled       21:44:36 svc:/network/nfs/client:default
disabled       21:44:51 svc:/network/nfs/rquota:default
disabled       22:03:03 svc:/network/nfs/server:default
online         21:44:48 svc:/network/nfs/mapid:default
online         21:44:48 svc:/network/nfs/status:default
online         21:44:48 svc:/network/nfs/nlockmgr:default

bash-3.00# svcs -l nfs/server
fmri         svc:/network/nfs/server:default
name         NFS server
enabled      false
state        disabled
next_state   none
state_time   Mon Jun 14 22:03:03 2010
logfile      /var/svc/log/network-nfs-server:default.log
restarter    svc:/system/svc/restarter:default
contract_id
dependency   require_any/error svc:/milestone/network (online)
dependency   require_all/error svc:/network/nfs/nlockmgr (online)
dependency   optional_all/error svc:/network/nfs/mapid (online)
dependency   require_all/restart svc:/network/rpc/bind (online)
dependency   optional_all/none svc:/network/rpc/keyserv (disabled)
dependency   optional_all/none svc:/network/rpc/gss (online)
dependency   require_all/error svc:/system/filesystem/local (online)

bash-3.00# cat /var/svc/log/network-nfs-server:default.log
[ Jun 14 22:03:03 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Jun 14 22:03:03 Method "start" exited with status 0 ]
[ Jun 14 22:03:03 Stopping because all processes in service exited. ]
[ Jun 14 22:03:03 Executing stop method ("/lib/svc/method/nfs-server stop 97") ]
[ Jun 14 22:03:03 Method "stop" exited with status 0 ]
[ Jun 14 22:03:03 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Jun 14 22:03:03 Method "start" exited with status 0 ]
[ Jun 14 22:03:03 Stopping because all processes in service exited. ]
[ Jun 14 22:03:03 Executing stop method ("/lib/svc/method/nfs-server stop 99") ]
[ Jun 14 22:03:03 Method "stop" exited with status 0 ]
[ Jun 14 22:03:03 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Jun 14 22:03:03 Method "start" exited with status 0 ]
[ Jun 14 22:03:03 Stopping because all processes in service exited. ]
[ Jun 14 22:03:03 Executing stop method ("/lib/svc/method/nfs-server stop 101") ]
[ Jun 14 22:03:03 Method "stop" exited with status 0 ]
[ Jun 14 22:03:03 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Jun 14 22:03:03 Method "start" exited with status 0 ]
[ Jun 14 22:03:03 Stopping because all processes in service exited. ]
[ Jun 14 22:03:03 Executing stop method ("/lib/svc/method/nfs-server stop 103") ]
[ Jun 14 22:03:03 Method "stop" exited with status 0 ]
[ Jun 14 22:03:03 Disabled. ]

Why does'nt the service start right?
# 2  
Old 06-14-2010
have you edited /etc/dfs/dfstab? this file needs a minimum of ONE line (shared folder) for nfs server to start...
# 3  
Old 06-14-2010
Quote:
Originally Posted by DukeNuke2
have you edited /etc/dfs/dfstab? this file needs a minimum of ONE line (shared folder) for nfs server to start...
Yep that did the trick. Did'nt know that there must be an entry there to start. Also did'nt find it in the man pages that there must be an entry.

Thanks!
# 4  
Old 06-14-2010
how can a service be started if there is nothing to do?

Smilie
# 5  
Old 06-14-2010
Because it's added later Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

2. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

3. Solaris

nfs/server not starting

Hi Gurus Sorry to ask this question again but left with no option I have entry in /etc/dfs/dfstab for resources which i am welling to shaer over the netwrok. Idelay once i execute shaerall it should enabel the nfs/server servcie in Solaris 10, however it was not stared and later i tried... (2 Replies)
Discussion started by: kumarmani
2 Replies

4. Solaris

Having problems starting up NFS on an OpenSolaris box

I am trying to set up an OpenSolaris box to be an NFS server. The OpenSolaris version is 2008.11. The kernel (uname -a output) is: SunOS minime-28 5.11 snv_101b i86pc i386 i86pc It is running ZFS but I know nothing about ZFS. I have an entry in the /etc/dfs/dfstab file: share -F... (1 Reply)
Discussion started by: sqa777
1 Replies

5. Solaris

NFS write failed for server.....error 11 (RPC: Server can't decode arguments)

Hello! I have a Linux nfs server (called server100 below) with a export nfs. My problem is that the Solaris client (called client100 below) doesn't seems to like it. In the Solaris syslog I got following messages (and after a while the solaris client behave liked its hanged/to buzy). Also see... (3 Replies)
Discussion started by: sap4ever
3 Replies

6. Solaris

Starting NFS server Solaris 10

Whenever I start nfs/server using "svcadm -v enable" it appears to start up. But when I look for daemons such as nfsd I don't see any. So I checked the manifest logs for nfs/server and it's telling me the NFS service gets enabled and then immediately disabled with a stop 102. All the... (2 Replies)
Discussion started by: bdsffl
2 Replies

7. Solaris

Stopping NFS from starting at bootup - Solaris 10

Does anyone know how I stop nfs/lockd and all of the associated services from starting at bootup? There's nothing in the /etc/rc*.d files to rename. That was my first idea. I also tried renaming /etc/init.d/nfs.server to something else, but that did not work either. Any ideas would be greatly... (2 Replies)
Discussion started by: amheck
2 Replies

8. Solaris

x server starting problem

i have installed solaris 10 on PIII i Ghz cpu, whole installation carried out in GUI mode but after installation it is unable to start GUI mode. Error is : "X server can not be started on display 0" screed flickers twice and the CLI login prompt appears (1 Reply)
Discussion started by: ajays
1 Replies

9. UNIX for Dummies Questions & Answers

starting a server

i am currently am planning to start a webserver to host a community of webpages, but i need help getting started? anyone have any sites or advice for me? thanks! (1 Reply)
Discussion started by: bowlofrice
1 Replies
Login or Register to Ask a Question