Sponsored Content
Full Discussion: Nis startup in Solaris 8
Operating Systems Solaris Nis startup in Solaris 8 Post 302329014 by TonyFullerMalv on Thursday 25th of June 2009 05:33:14 PM
Old 06-25-2009
If you can get correct output from:
Code:
# ypcat -k auto.master

After a reboot then NIS is okay, it is more likely that the RC script links are missing or have been renamed to disable them, check that the /etc/init.d/autofs script is present and correct and then run:
Code:
ls -l /etc/rc?.d/*autofs*

to find the start and stop links to /etc/init.d/aufofs, there should be at least one starting with a capital S to start the autofs and onw with a capital K to stop it.

If the problem only occurs after a power outage but not after a reboot then it won't be missing rc script links, it would be worth checking /var/adm/messages for any clues as to what is complaining.

If you are suffereing power outage problems then make sure you have ufs logging enabled for all you disk mounts in /etc/vfstab, e.g.:
Code:
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 yes logging

It will drastically reduce the necessity to fsck the filesystem and so improve the chances of the machine coming back up without human intervention.

Last edited by TonyFullerMalv; 06-25-2009 at 06:38 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

2. Shell Programming and Scripting

Solaris Startup script for Apache.

I'm running Solaris 5.9 and Apache 2.... I've created a startup script for Apache....but it doesn't work!!! it resides in /etc/init.d and has a link to /etc/rc3.d and if it run it as /etc/init.d/apache_start stop it stops the httpd services and /etc/init.d/apache_start start starts the... (3 Replies)
Discussion started by: Zak
3 Replies

3. Shell Programming and Scripting

[Help] startup script on solaris 8

hi experts, i have some problem with my solaris 8 v890 server, is : the server running process called SS7 below is example process : PID STAT MODE HOST MUX OBJECT 384 ok LX|A USSDGmdn-1a spm/0 daemon 385 ok LX|A USSDGmdn-1a spm/2 ... (0 Replies)
Discussion started by: bucci
0 Replies

4. Solaris

X server startup on Solaris 9

Hi, I have Solaris 9 installed on a SunFire V880. When the machine boots up, I get a message, "the X-server cannot be started on display:0". I searched the forum for possible solution, however, they are not applicable to my problem for two reasons: either the platform is different or the... (6 Replies)
Discussion started by: purveshkhatri
6 Replies

5. UNIX for Advanced & Expert Users

How to diagnosis the problem on Solaris 10 for DB startup

I run Oracle 10g on Solaris 10 Sparc machine. I created a dbora file to automatically start Oracle database when UNIX system reboot. I created this dbora file under /etc/init.d, Then link it to /etc/rc0.d/K10dbora and /etc/rc2.d/S99dbora. When I reboot solaris 10 system to test this script. It... (2 Replies)
Discussion started by: duke0001
2 Replies

6. Solaris

VirtualBox Startup Script Solaris 10 U6

I have an Ultra 24 with Solaris 10 U6 with the latest patches. I'm running VirtualBox 2.1.0 with Windows 2003 as the guest. What I'm trying to do is have the Windows VM start at Solaris startup. I had a simple script that was working that was in /etc/init.d and linked to /etc/rc3.d. For some reason... (2 Replies)
Discussion started by: Lespaul20
2 Replies

7. Solaris

Solaris 10 NIS Client

Hi all, Recently i have implemented NIS functionality in solaris 10 and i have created server and client with user in server side by giving useradd -d /export/home/user1 -m -s /bin/sh user1 after that I went to /var/yp dir and give /usr/ccs/bin/make so that it will refelect to client... (2 Replies)
Discussion started by: esungoe
2 Replies

8. Solaris

Is there a way to debug the startup on Solaris?

Is there a way to debug the startup on a VT100 running Solaris 5? I have a problem related to file attributes that are resetting to there prior settings when the machine reboots. (3 Replies)
Discussion started by: jimcz2it
3 Replies

9. Solaris

Solaris 10 startup scripts

Hi all, I have a server in maintenance mode and need to boot it up. Its due to a broken service "RepX". I need to stop the service from trying to start at boot up but i can't find where it is booting up from... it is not in any of the rcX.d directories and the two locations i have found it... (6 Replies)
Discussion started by: Tommyk
6 Replies

10. Solaris

Solaris - Moving off NIS to something better

Mostly Solaris 11 with some 10 and even fewer 8 and 9. At the moment, NIS is used. Looking for a better way and to get rid of NIS. (13 Replies)
Discussion started by: psychocandy
13 Replies
AUTOFS(8)						      System Manager's Manual							 AUTOFS(8)

NAME
/etc/rc.d/init.d/autofs - Control Script for automounter SYNOPSIS
/etc/rc.d/init.d/autofs start|stop|restart|reload|status DESCRIPTION
autofs controls the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with the start parameter and at shutdown time with the stop parameter. The autofs script can also be manually invoked by the system administra- tor to shut down, restart or reload the automounters. OPERATION
autofs will consult a configuration file /etc/auto.master (see auto.master(5)) by default to find mount points on the system. For each of those mount points automount(8) will mount and start a thread, with the appropriate parameters, to manage the mount point. /etc/rc.d/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have changed and then start daemons for new or changed entries. If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be rerun to activate the changes. /etc/rc.d/init.d/autofs status will display the status of, automount(8) ,running or not. SEE ALSO
automount(8), autofs(5), auto.master(5). autofs_ldap_auth.conf(5) AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debi GNU/Linux system. Edited by H. Peter Anvin <hpa@trans- meta.com>. 9 Sep 1997 AUTOFS(8)
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy