LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-09-2013, 06:30 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
By reboot the service is not started


I've created a service and I can use the svcadm to start and to stop it.

Now I stop it and reboot the machine and hope by rebooting it will be restarted. But it doesn't.

What could be the reason?
 
Old 07-09-2013, 06:46 AM   #2
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Original Poster
Rep: Reputation: 33
I think maybe I should keep the service started before I reboot the machine? Or in other words, if the service is stopped (disable) before reboot, it will not be restarted by rebooting?
 
Old 07-09-2013, 05:17 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no start or stop service commands but enable or disable. If you disable a service, it won't be started at reboot for obvious reasons.
 
  


Reply



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
The httpd cannot be started after reboot thomas2004ch Linux - Software 5 11-04-2010 03:03 AM
iptables service not started karimasif Linux - Kernel 0 08-31-2007 07:42 AM
LDAP service is not getting started dhanju Linux - Networking 0 01-06-2006 03:36 AM
Telnet service cannot be started! supermyself Linux - Networking 2 06-09-2005 11:46 AM
Steam service not started (Issue after reboot) kwiksand Linux - Games 0 02-03-2004 08:55 PM

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

All times are GMT -5. The time now is 03: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