LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-25-2009, 09:56 PM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
Stop auto Startup


How to permanently stop a particular application after reboot? Which file I need to look into? (eg.fully stop a Web Server after reboot)
 
Old 03-25-2009, 10:13 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
It depends on the application you want to stop, and your particular distro.

In general, though, I'd look in the following places first:

1. /etc/inittab

2. The startup scripts (particularly those in /etc/rc3.d and /etc/rc5.d)

However, I'm guessing (based on the forum you posted to) that your distro is probably OpenSolaris (vs Unix or BSD, for example), and I understand that newer versions of Solaris (Solaris 10 and up) are now using "services" instead of classic "run levels".

So this FAQ might also give you some pointers:

http://opensolaris.org/os/community/smf/faq/#toc0

'Hope that helps .. PSM
 
Old 03-27-2009, 05:36 AM   #3
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by paulsm4 View Post
It depends on the application you want to stop, and your particular distro.

In general, though, I'd look in the following places first:

1. /etc/inittab

2. The startup scripts (particularly those in /etc/rc3.d and /etc/rc5.d)

However, I'm guessing (based on the forum you posted to) that your distro is probably OpenSolaris (vs Unix or BSD, for example), and I understand that newer versions of Solaris (Solaris 10 and up) are now using "services" instead of classic "run levels".

So this FAQ might also give you some pointers:

http://opensolaris.org/os/community/smf/faq/#toc0

'Hope that helps .. PSM

Yes, but some services like web server can't be stop in the "services". Solaris is using /etc/init.d, I still yet to figure how to stop reboot.
 
Old 03-27-2009, 06:14 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
If your service added on smf and it is enabled on there you will have to disable (it means no point of stopping at /etc/init.d) smf having seperate startup srcipt at /lib/svc/method and these files are called by smf manifest xml(manifest at /var/svc/manifest)

TO check the service status
#svcs -l http or
#svcs | grep http

To stop the service
#svcadm disable http

Above given link have brief instruction I think it will help you to understand smf(system management facility)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop auto-logout? BrianK Linux - General 4 10-24-2008 06:12 PM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
How to stop programs from Auto-Starting Rustylinux Linux - Software 1 02-16-2008 09:40 PM
Torrent Client with auto stop jpc82 Linux - Software 2 09-23-2005 04:29 PM
How do I stop auto load grub? Tiyogi Linux - Newbie 2 05-30-2005 08:09 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration