Nis startup in Solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris Nis startup in Solaris 8
# 1  
Old 06-25-2009
Nis startup in Solaris 8

Hello

How can I check to see when nis server is starting? I look at /etc/rc2.d/ but I don't see it in there.
Every time we have power outage problem. I have to start autof service manual. So I think it might have to do with nis server services.
# 2  
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question