When trying to enable nfs/server, I keep getting this message that another entity has disabled the service but I cannot find where the problem is.
Code:
hostname:> svcadm -v enable -s svc:/network/nfs/server
svc:/network/nfs/server:default enabled.
svcadm: Instance "svc:/network/nfs/server:default" has been disabled by another entity.
svcs doesn't really tell me anything about what the problem is. In fact, svcs says that it is disabled by an administrator.
Code:
hostname:> svcs -xv nfs/server
svc:/network/nfs/server:default (NFS server)
State: disabled since Tue Aug 12 19:59:12 2008
Reason: Disabled by an administrator.
See: Sun Message ID: SMF-8000-05
See: man -M /usr/share/man -s 1M nfsd
Impact: This service is not running.
Checking the log doesn't give me anything to go on either.
Code:
hostname:> cat /var/svc/log/network-nfs-server\:default.log | tail -10
[ Aug 12 13:16:45 Enabled. ]
[ Aug 12 13:16:49 Disabled. ]
[ Aug 12 13:17:37 Enabled. ]
[ Aug 12 13:17:43 Disabled. ]
[ Aug 12 13:21:42 Enabled. ]
[ Aug 12 13:21:46 Disabled. ]
[ Aug 12 13:24:30 Enabled. ]
[ Aug 12 13:24:34 Disabled. ]
[ Aug 12 19:59:01 Enabled. ]
[ Aug 12 19:59:12 Disabled. ]
Can anyone point me in the right direction to find out why this svc keeps getting disabled?
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 ]
Thanks for your time, guys. After talking to one of the admin guys over a 2 day period, he finally tells me there's a daemon running that kills nfs whenever it finds it running (unless one of two other processes had started it and were still active). Some security audit. And there are only two approved processes for enabling nfs.
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)
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)
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)
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)
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)
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)
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)