nfsd won't start at boot up


 
Thread Tools Search this Thread
Operating Systems Solaris nfsd won't start at boot up
# 1  
Old 03-13-2005
Question nfsd won't start at boot up

Hi

Inexplicably, nfsd no longer starts automatically on our Sun boxes running Solaris 9, so that 'automount' no longer functions automatically. The problem first manifested itself when we could not access files on any of the nfs automounted directories in our LAN after one of the servers (say server A) was rebooted. Attempts to 'cd' to any of the directories on server B served up by server A were met with a 'permission denied'. 'ps - ef | grep nfsd' revealed that 'nfsd' was not running. Meanwhile 'automount' was issueing the message: 'server A not responding' though we could 'ping' server A just fine. We then rebooted server B, and its 'nfsd' too failed to start at boot up, leading to the same 'automount' problem on server A. Starting 'nfsd' manually on both systems fixes the 'automount' problem on both. Perhaps because of whatever caused this behavior, we are no longer able to access these servers using 'SSH' or 'sftp'. Regular non-secure 'ftp' works, but only within the LAN (we are behind an institution-wide firewall). This behavior just came out of the blue, as up until this week these servers have behaved extremely well and reliably for a few years, in providing all kinds of services and resources. Please help!
# 2  
Old 03-13-2005
When was the last change to the nfs startup scripts and inittab? To find out, use
ls -ld /etc/init.d /etc/init.d/nfs.server
ls -ld /etc/rc3.d /etc/rc3.d/*nfs.server
ls -l /etc/inittab

When nfsd is not running, does "/etc/init.d/nfs.server start" restart it? Is the box in run level 3? Use "who -r" to verify. If not, what does: "grep initdefault /etc/inittab" say?
# 3  
Old 03-13-2005
UNIX Daemon:

Thank you for replying. The change to nfs start up script was on Fri 3/11, when I added 'set -x' at the very top, then I rebooted the system.

nmr% ls -ld /etc/init.d/nfs.server
-rwxr--r-- 6 root sys 2777 Mar 11 15:34 /etc/init.d/nfs.server*

nmr% ls -ld /etc/rc3.d /etc/rc3.d/*nfs.server

drw-r--r-- 2 root sys 512 Aug 20 2003 /etc/rc3.d/
-rwxr--r-- 6 root sys 2777 Mar 11 15:34 /etc/init.d/nfs.server*

nmr% ls -l /etc/inittab
-rwxr--r-- 1 root sys 1081 Jun 14 2002 /etc/inittab

"/etc/init.d/nfs.server start" does start nfsd when it fails to start at boot up, and that is how we are able to regain 'mount' functionality... And the system appears to be in run level 3.

nmr% who -r
. run-level 3 Mar 11 15:34

Though my 'dfstab' is populated with several 'share....', the shareall command does not appear to be executed at boot up since 'sharetab' is empty after a reboot. Manually typing 'shareall' repopulates 'sharetab'...

Any thoughts?
# 4  
Old 03-13-2005
Did you make a typo? I don't see a link to nfs.server in /etc/rc3.d in the output you posted. The existence of that link is crucial and its absence could explain why nfs is not being started.
# 5  
Old 03-13-2005
Data

UNIX Daemon:

I just did a cut and paste of the commands you suggested so that I can rule out typo, unless there was one in yout post. I see no link in rc3.d to nfs.server if there's supposed to be one:

nmr% ls -ld /etc/rc3.d /etc/rc3.d/*nfs.server
drwxr-xr-x 2 root sys 512 Aug 20 2003 /etc/rc3.d/
-rwxr--r-- 6 root sys 2777 Mar 11 15:34 /etc/rc3.d/S15nfs.server*

explicity in rc3.d

nmr% ls -l /etc/rc3.d
total 48
-rw-r--r-- 1 root sys 1708 Apr 6 2002 README
-rwxr--r-- 6 root sys 2124 Apr 6 2002 S13kdc.master*
-rwxr--r-- 6 root sys 1239 Apr 6 2002 S14kdc*
-rwxr--r-- 6 root sys 2777 Mar 11 15:34 S15nfs.server*
-rwxr--r-- 6 root sys 707 Apr 6 2002 S16boot.server*
-rwxr--r-- 6 root sys 621 Apr 6 2002 S34dhcp*
-rwxr--r-- 6 root sys 1496 Mar 2 2002 S50apache*
-rwxr--r-- 6 root sys 616 Apr 6 2002 S76snmpdx*
-rwxr--r-- 6 root sys 1056 Apr 6 2002 S77dmi*
-rwxr--r-- 6 root sys 344 Apr 6 2002 S80mipagent*
-rwxr--r-- 6 root sys 1508 Apr 6 2002 S89sshd*
lrwxrwxrwx 1 root other 19 Jan 7 2002 S90hpjfpmd -> /etc/init.d/hpjfpmd*
lrwxrwxrwx 1 root other 21 Jan 7 2002 S90hpwebjetd -> /etc/init.d/hpwebjetd*
-rwxr--r-- 6 root sys 324 Mar 2 2002 S90samba*
-rwxr-xr-x 5 root bin 461 Jan 31 2002 S99sunpci.server*
nmr%

If this link missing, what should it look like and how do I restore it? Why did it just disappear!?!?


Thanks
# 6  
Old 03-13-2005
The link appears to be there. You apparently have ls aliased to add some extra options. So the starup scripts look good and I'm not sure what to tell you... Smilie
# 7  
Old 03-13-2005
Quote:
Originally Posted by Perderabo
The link appears to be there. You apparently have ls aliased to add some extra options. So the starup scripts look good and I'm not sure what to tell you... Smilie
My bet would be that the nfs startup is hanging for some reason, especially since you don't get the ssh functionality, the script does not return so the startup sequence does not continue.

Have a look at the output from ptree and see if the /etc/rc3.d/S15nfs.server is still running, if so this is where the problem lies, as for the actual cause of it hanging, you might also get a clue from there, or maybe post that output.
If you do post, please be sure to remove any reference to your hostname/ipaddress from the post.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Um, my computer suddenly won't start up

Okay, I'm fairly green at Fedora, but it has worked like a gem until now. On startup I get a screen that says this: Booting 'Fedora (3.6.11-4.fc16.x86_64)' Loading Fedora (3.611-4.fc16.x86_64) Loading initial ramdisk .... _Fedora-16-x86_6: Unexpected inconsistency; run fsck manually. ... (6 Replies)
Discussion started by: Anchorsteamer
6 Replies

2. Red Hat

vftpd won't start..

Hi, I am using redhat enterprise 5.7 have installed vsftpd successfully but every time I try to start the service it comes up with FAILED. Here is the contents of the vsftpd.conf file: # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=YES # #... (3 Replies)
Discussion started by: titley100
3 Replies

3. UNIX for Dummies Questions & Answers

don't have nfsd mount point in /proc/fs/nfsd

hi guys I installed NFS server and everything started out fine but I don't have /proc/fs/nfsd entry and so I can't mount nfsd. Therefore I can't start my nfs service. Why don't I have /proc/fs/nfsd? How do I create that? Thanks (1 Reply)
Discussion started by: alirezan
1 Replies

4. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

5. UNIX for Dummies Questions & Answers

ToolTalk won't start

on my AIX 6.1 CDE's ToolTalk server won't start. It says: dtsession: Unable to exec /usr/dt/install/oldrules/dtrmrules.driver. A file or directory in the path name does not exist. How can I fix this? (0 Replies)
Discussion started by: rein
0 Replies

6. Solaris

production server won't start please help me!

if anyone can help me here I will be in debt eternaly. I'm in a spot here fearing for my job. I tried to install a new scsi array on our E5500. I powered it down correctly, removed the terminator, connected the array and powered it on. It was taking so long to come up I freaked out and powered... (3 Replies)
Discussion started by: NewSolarisAdmin
3 Replies

7. Red Hat

X Server won't start (Redhat 9) HELP

im running rh 9 on my vmware, i tryed changing the graphics card mode to resize the desktop, after restarting i get a message X Server cannot start. then it takes me to the consol screen to log on, "im new to using linux as of last night" It would be helpfull if anyone can help me resolve... (4 Replies)
Discussion started by: aoteg
4 Replies

8. SuSE

vsftpd won't start on SLES 10

I recently installed SLES 10 on an x86 64bit blade server. I then installed vsftpd from the suse cds through network services; however after configuring the vsftpd.conf file, the server fails to start: # /etc/init.d/vsftpd start Starting vsftpd startproc: exit status of parent of... (5 Replies)
Discussion started by: dave521
5 Replies

9. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

10. UNIX for Dummies Questions & Answers

HP 10.20 Won start

After I log ino the machine, a window pops up indicating that I should check that the HOSTNAME is the same in these three files /etc//rc.configd/netconf /etc/hosts /var/adm/inetd.sec How do I change the hostname in these files? Thanks, Mike h (1 Reply)
Discussion started by: hutchin
1 Replies
Login or Register to Ask a Question