• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any Solaris admin experts around?

gittyup

Diamond Member
Typically, I would install my Java application on an AIX box and add an entry into the /etc/inittab to make sure a)it's always running or b)it gets re-started if the servers gets bounced.

Now, with Solaris it's not that easy to do the same thing. I was told to place some startup script in /etc/init.d/ on Solaris and this will start the application when the server boots up.

First, I tried that and the appliation didn't start when I rebooted the server. Second, is that even the case? Any input would be appreciated on the subject. Thanks...
 
Well, I figured it out.

You place a startup script in /etc/init.d/myscript and make it executable.

You then create a softlink from /etc/rc[2,3].d/ < ln -s /etc/init.d/myscript S99myscript

The S in S99myscript represents start. So, when the kernal comes back up, it will start up the application. 😀

 
Originally posted by: gittyup
Well, I figured it out.

You place a startup script in /etc/init.d/myscript and make it executable.

You then create a softlink from /etc/rc[2,3].d/ < ln -s /etc/init.d/myscript S99myscript

The S in S99myscript represents start. So, when the kernal comes back up, it will start up the application. 😀

I was going to reply earlier but I didn't remember how Solaris managed it's rc"X".d directories.
 
Solaris supports an inittab just like AIX does. It has the Run Control areas for starting up and stopping services that don't necessarily always need to be up (some scripts may run and do something and then exit), but you should be able to put your stuff in the inittab as well.
 
Back
Top