The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
doubt in /etc/inittab script esham Shell Programming and Scripting 3 04-17-2009 01:38 PM
mkitab problem with /etc/inittab respawning jeffpas AIX 19 09-25-2008 07:12 PM
inittab always restarts a process which was commented out uludwig04 HP-UX 2 06-08-2006 12:10 PM
inittab solaris donald1111 UNIX for Dummies Questions & Answers 1 08-19-2003 07:58 AM
I got a corrupt /etc/inittab file....what next? Ivo UNIX for Dummies Questions & Answers 3 10-01-2002 04:09 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-02-2009
kalpeer kalpeer is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 47
Red face inittab in Solaris 10

Hi,

In Solaris 9 and below release we are using the rc script in inittab.I don’t have much idea abt inittab in Solaris.

In Solris 9 and below:
We use rc3 script to start up the server. And we run database script before the rc3.

os:23:respawn:/etc/init.d/database start >/dev/null 2>&1
s3:3:wait:/sbin/rc3 >/dev/msglog 2<>/dev/msglog </dev/console

Now I install my product in Solaris 10 and the
Initab entry looks like

ap::sysinit:/sbin/autopush -f /etc/iu.ap
sp::sysinit:/sbin/soconfig -f /etc/sock2path
smf::sysinit:/lib/svc/bin/svc.startd >/dev/msglog 2<>/dev/msglog </dev/console
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
pt:s1234:powerfail:/usr/lib/svc/method/installupdates lock

When I check svcs –a

The database has not been started before the server boot.
So the server reboot has been failed

Now I need to know how I can start the database, when I reboot the server.

Please help me where I need to add that path. How can I add the path to SVCS(SMF). L

Regards,
Kalai
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0