Sponsored Content
Operating Systems Solaris svcadm fails to enable nfs/server Post 302224581 by Vi-Curious on Wednesday 13th of August 2008 12:54:23 PM
Old 08-13-2008
Code:
 
hostname:> svcs -d nfs/server
STATE          STIME    FMRI
disabled        0:49:04 svc:/network/rpc/keyserv:default
online          0:49:06 svc:/milestone/network:default
online          0:49:39 svc:/system/filesystem/local:default
online          0:49:40 svc:/network/rpc/bind:default
online          0:49:40 svc:/network/nfs/mapid:default
online          0:49:40 svc:/network/nfs/nlockmgr:default
online          0:49:41 svc:/network/rpc/gss:default

When I looked at this, I thought ... great, just start keyserv. But I don't think that's the cause of the problem. Even when I use the recursive option for svcadm if fails to start. Plus, this is one server in a redundant pair. On the mate server, svcs -d shows the same thing (except for difference in STIME) but nfs/server comes online in the mate. On this server, it briefly comes online and then quickly goes disabled again.

The logs have now changed. Yesterday they were only showing Enabled/Disabled, now they look like this:
Code:
[ Aug 13 09:27:42 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Aug 13 09:27:42 Method "start" exited with status 0 ]
[ Aug 13 09:28:01 Stopping because service disabled. ]
[ Aug 13 09:28:01 Executing stop method ("/lib/svc/method/nfs-server stop 2393") ]
[ Aug 13 09:28:01 Method "stop" exited with status 0 ]
[ Aug 13 09:34:43 Enabled. ]
[ Aug 13 09:34:43 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Aug 13 09:34:43 Method "start" exited with status 0 ]
[ Aug 13 09:34:57 Stopping because service disabled. ]
[ Aug 13 09:34:57 Executing stop method ("/lib/svc/method/nfs-server stop 2409") ]
[ Aug 13 09:34:58 Method "stop" exited with status 0 ]
[ Aug 13 09:35:22 Enabled. ]
[ Aug 13 09:35:22 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Aug 13 09:35:23 Method "start" exited with status 0 ]
[ Aug 13 09:35:36 Stopping because service disabled. ]
[ Aug 13 09:35:36 Executing stop method ("/lib/svc/method/nfs-server stop 2419") ]
[ Aug 13 09:35:36 Method "stop" exited with status 0 ]
[ Aug 13 09:36:29 Enabled. ]
[ Aug 13 09:36:30 Executing start method ("/lib/svc/method/nfs-server start") ]
[ Aug 13 09:36:30 Method "start" exited with status 0 ]
[ Aug 13 09:36:46 Stopping because service disabled. ]
[ Aug 13 09:36:46 Executing stop method ("/lib/svc/method/nfs-server stop 2435") ]
[ Aug 13 09:36:46 Method "stop" exited with status 0 ]

 

8 More Discussions You Might Find Interesting

1. Solaris

Solaris 8 - FTP server -enable

Hi, I have turn off the FTP service and rebooted the server . (edit /etc/inetd.conf and /etc/inet/services) Now , how can I enable back the FTP without rebooting the server . Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

2. 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

3. 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

4. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

5. SCO

enable ssh server on SCO 5.0.6

hi How to enable ssh server on SCO unix 5.0.6 and allow remote root login? (2 Replies)
Discussion started by: ccc
2 Replies

6. AIX

Enable large filesize option in NFS mount in AIX 4.3

Hi All, I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it. The AIX version is 4.3.2 Thanks in Advance!! (1 Reply)
Discussion started by: mad_man12
1 Replies

7. UNIX for Dummies Questions & Answers

enable all operations to use a proxy server , redhat server

Hi, i would like to enable all operations/connections to use a proxy server in a redhat server , witch file should i config to get this for all conections .... Thanks (0 Replies)
Discussion started by: prpkrk
0 Replies

8. 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
automountd(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
automountd [-Tvn] [-D name=value] automountd is an RPC server that answers file system mount and unmount requests from the autofs file system. It uses local files or name service maps to locate file systems to be mounted. These maps are described with the automount(1M) command. If automount finds any non-trivial entries in either the local or distributed automount maps and if the daemon is not running already, the automountd daemon is automatically invoked by automount(1M). automountd enables the svc:/network/nfs/nlockmgr service (lockd(1M)), and the svc:/network/nfs/status service (statd(1M)), if NFS mounts need to be done. At startup, the automountd daemon is invoked as is invoked as the system/filesystem/autofs:default service. See . The following options are supported: -D name=value Assign value to the indicated automount map substitution variable. These assignments cannot be used to substitute variables in the master map auto_master. -n Turn off browsing for all autofs mount points. This option overrides the -browse autofs map option on the local host. -T Trace. Expand each RPC call and display it on the standard output. -v Verbose. Log status messages to the console. USAGE
See largefile(5) for the description of the behavior of automountd when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). /etc/auto_master Master map for automounter. /etc/default/autofs Supplies default values for parameters for automount and automountd. See autofs(4). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ svcs(1), automount(1M), svcadm(1M), autofs(4), attributes(5), largefile(5), smf(5) The automountd service is managed by the service management facility, smf(5), under the service identifier: svc:/system/filesystem/autofs Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using svcs(1). If it is disabled, it is enabled by automount(1M) unless the application/auto_enable property is set to false. 3 Mar 2005 automountd(1M)
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy