Start up in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Start up in Solaris
# 1  
Old 06-14-2006
Start up in Solaris

Hello everyOne

My OS is Soraris 9. I can't find how I can execute script when OS start up. Namely, where is stored "Start up" such as in Window?

Best Regards Anar
# 2  
Old 06-14-2006
Presumably this is a script that you want executed in the standard OS run-level 3 (or multi-user mode). As part of the boot process, the /sbin/rc3 script is executed by init. This script scans the directory /etc/rc3.d/ for any script beginning with an uppercase 'S'. Those found are then called with a single "start" argument. For example:

/etc/rc3.d/S99script start

So, create a script in /etc/rc3.d with an appropriate name. The numbers following S are not required but are used for ordering execution. It is, however, just a simple ls command in rc3.

I've always used /etc/init.d/nfs.server as a template.


** DISCLAIMER ** This is an overly-simplified explanation.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Not able to start cron service in Solaris 10

Hi, This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies

2. Solaris

How to remotely start ssh on Solaris?

Hi everyone, I have a Solaris machine: SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220 After reboot, I can't ssh to this machine. Error message: ssh: connect to host xxxx port 22: Connection refused It seems ssh daemon is not running, but I don't have... (5 Replies)
Discussion started by: Zaiwen Gong
5 Replies

3. Solaris

Not able to start non global zone on Solaris 11

I have configured three zones on Solaris-11. These are non-global zones contain Solaris-11 only. One of the zone is not booting up, complaining about IP address in use, while it is not. root@tdpdmsp02 # zoneadm list -icv ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: solaris_1977
3 Replies

4. Shell Programming and Scripting

How to start multiple threads in Solaris?

Hello, In a unix Solaris environment, (for simulation) how to start multiple threads (as Light Weight Process, not background process)? thanks, J. (7 Replies)
Discussion started by: seafan
7 Replies

5. Solaris

Start of VNC with Solaris

Hello, We have machines running Solaris 2.8 These are part of a process control system. A selection menu after the launch of Solaris can be selected whether the Solaris desktop or Leitsoftware to start. VNC server is up and running when the Solaris user interface is started or when the... (1 Reply)
Discussion started by: eckart.t
1 Replies

6. Solaris

solaris reboots as it start loading

hello, my problem is the one of the title , as I press enter on Solaris voice in the grub, my computer reboots , is there an option, a flag ,I can add to the Solaris voice , that allow me to see where is the problem ? something that avoid the computer reboot on error? I can't find a way to know... (7 Replies)
Discussion started by: freeware
7 Replies

7. Solaris

samba wouldn't start on solaris 10

I've configured the copy of samba that ships with solaris 10. when i try to start the samba services, i get the following errors sundb01 root > svcs -vx nmbd svc:/application/nmbd:default (Samba) State: online since 9 December 2008 15:47:38 GMT See:... (4 Replies)
Discussion started by: soliberus
4 Replies

8. Solaris

Syslog-ng does not start Solaris 9

I have been installing syslog-ng on our Solaris 9 servers. All ov them are working except two which return the following error: # /etc/init.d/syslog start syslog-ng service starting. Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (125)' ... (6 Replies)
Discussion started by: takendal
6 Replies

9. Solaris

Database can't start automatically on solaris

Hi, I have installed oracle 9i on solaris 10 sucessfully. I have configured listener & tnsname.ora file sucessfuly. Even i can start database manully by starting listener first and from sqlplus promt data base sucessfully. Now i want to start the database automatically after system reboots. I... (2 Replies)
Discussion started by: Sachin Vaidya
2 Replies

10. UNIX for Dummies Questions & Answers

how to start and stop the network in Solaris 9??

Hi how do I start or stop the network interfaces in Solaris 9 I have tried "/etc/init.d/network stop" but it doesn't work thanks (1 Reply)
Discussion started by: eldiego
1 Replies
Login or Register to Ask a Question