Computing.Net > Forums > Solaris > Autostart apache tomcat on Solaris 9

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Autostart apache tomcat on Solaris 9

Reply to Message Icon

Name: Terrier
Date: July 8, 2009 at 05:44:50 Pacific
OS: N/A
Subcategory: General
Comment:

Hi @ all,

i installed Apache Tomcat 5.5 on Solaris 9. The Problem is that i only can start it manually with "sh startup.sh". But if i reboot solaris, apache is down.

Is there any way to start Apache automatically after reboot??

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: paulsep
Date: July 28, 2009 at 00:34:11 Pacific
Reply:

You need to create a script, that allows you to start and stop the apache, e.g. rcapache, so that you can type:
rcapache start
and
rcapache stop
to start and stop apache.

Store this file in /etc/init.d.
Create symbolic links to that file in /etc/rc3.d.
A symbolic link for stopping a service is named e.g.
K12rcapache
and for starting a service
S12rcapache

So if you have created the 2 symbolic links in rc3.d, every time, you start solaris, at loadstage (init) 3, apache gets started.
On shutting down solaris, apache will be stopped automatically.

Hope that helps

Please send a reply, if you solved the problem !!!


0

Response Number 2
Name: webbiie
Date: August 1, 2009 at 11:34:43 Pacific
Reply:

installing and setting up a auto start up script as described below may help

http://easylinuxstuffs.blogspot.com...
for-vnc-server.html


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Autostart apache tomcat on Solaris 9

Can't Access FTP on Solaris 9 www.computing.net/answers/solaris/cant-access-ftp-on-solaris-9/2431.html

Install Oracle 9i on Solaris 9 www.computing.net/answers/solaris/install-oracle-9i-on-solaris-9-/2905.html

Apache 2.0 install on Solaris 9 www.computing.net/answers/solaris/apache-20-install-on-solaris-9/4110.html