boot up script in solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris boot up script in solaris 10
# 1  
Old 08-02-2006
boot up script in solaris 10

Hi I'd like to add a start up script to run at boot time.I think that pre solaris 10 you'd add it to /etc/init.d. But I'm using Solaris 10 now and it has this SMF config thing which I'm not sure whether I have to add a service to it or not.

Does anyone know how add a script at boot time on solaris 10?


Cheers.
# 2  
Old 08-02-2006
Solaris 10 lets you run what it calls "legacy services" as they run in Solaris 9 and lower.
The usual setup is to create the run crontrol script in /etc/init.d and then link it to any of the /etc/rcX.d directories - usually rc3.d for scripts other than system scripts - depending when you want you script to start or stop The run control script should have options for stop and start, and you should create 2 links, one starting with S, one starting with K, so the OS knows what to start when it's booting up, and what to stop when it's going down.
# 3  
Old 01-02-2007
System Shock:

I search to find your post in last year. I want to run "legacy services" on Solaris 10. I created a auto startup and shutdown script in /etc/init.d, then I created 2 links to /etc/rc0.d and /etc/rc3.d. My system run level is 3. It didn't work. I may need to modify more on the settings. Could you please give detailed information on how to set up 'S' and 'K'? Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris stuck during boot after reconfigure boot

Hello, I have a problem with my machine that won't boot properly. The story is that I installed a software called apcupsd, which is a control application for my APC battery UPS. I have used version 3.14.10 earlier, but as part of restoring my previously crashed os harddrive I wanted to... (18 Replies)
Discussion started by: Zorken
18 Replies

2. Solaris

Solaris 10 - hangs during boot

Power server up runs through diagnostics. Goes to the boot section and then the bit where the cursor is spinning and thats it. Hangs completely. Any ideas? (10 Replies)
Discussion started by: psychocandy
10 Replies

3. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies

4. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

5. Solaris

error at boot solaris 10

Hi all, i have problem when booting my sun fire V240 with solaris 10. the errors are follow: ################################################################ Rebooting with command: boot Boot device: disk File and args: SunOS Release 5.10 Version Generic_125100-10 64-bit Copyright... (0 Replies)
Discussion started by: faberarnold
0 Replies

6. Solaris

Boot server for solaris 10

Can any one give me the steps to configure a temporary boot server .. so that i can boot one of my failing server which does not have cdrom . I do not want to configure full fledge jumpstart box .. i need it just for recovery purpose. And i want to set it up in one of my other servers .. which... (10 Replies)
Discussion started by: fugitive
10 Replies

7. Solaris

cant boot from solaris CD

Hi all , I am trying to isntallsolaris 10 using a DVD , But when i try to boot from the OB Prompt i am getting this error : Rebooting with command: boot cdrom -install Boot device: /pci@1f,700000/pci@0/pci@1/pci@0/ide@1f/cdrom@0,0:f File and args: -install Can't read disk label. Can't open... (2 Replies)
Discussion started by: ppass
2 Replies

8. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

9. Solaris

Solaris (9) won't boot!

Hi, I've just bought an Ultra 60 running solaris 9 (or so I've been led to believe). When I start up, it looks for a (presumably) domain/network to hook up to and the following messages are displayed: Boot device: net file and args: Network link setup failed Please check cable and try... (3 Replies)
Discussion started by: alarmcall
3 Replies

10. UNIX for Dummies Questions & Answers

Dual Boot Solaris 8

Greetings, I have learned much since joining the message board, but I was unable to locate any information concerning dual booting Solaris with Windows on a machine with standardized equipment. I have read on the sun.com page that it is possible and can even be pushed to the rear partition, but... (3 Replies)
Discussion started by: TStoddard
3 Replies
Login or Register to Ask a Question