The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Apache Configuration issue on Solaris rahulrathod SUN Solaris 1 10-21-2005 12:36 AM
Apache Config> One IP, Multiple Servers l008com UNIX for Advanced & Expert Users 7 09-15-2003 09:54 AM
Apache httpd.conf <VirtualHost> issue Spetnik UNIX for Dummies Questions & Answers 5 07-01-2003 01:35 PM
Apache Config l008com UNIX for Dummies Questions & Answers 2 07-23-2002 05:54 PM
Apache Config Files Webwitch UNIX for Dummies Questions & Answers 1 08-01-2001 03:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #15 (permalink)  
Old 04-04-2008
BrewDudeBob's Avatar
BrewDudeBob BrewDudeBob is offline
Registered User
  
 

Join Date: Aug 2005
Location: Atlanta Burbs
Posts: 47
ok, I saw that the output of that error message had a hyperlink and I clicked on it and saw this:

"Use svcs -xv service_fmri to see a list of services waiting for the service to start"

What is a "service_fmri"? Where do I find it? is it in the error message?
  #16 (permalink)  
Old 04-04-2008
BrewDudeBob's Avatar
BrewDudeBob BrewDudeBob is offline
Registered User
  
 

Join Date: Aug 2005
Location: Atlanta Burbs
Posts: 47
WooHoo!

Sometimes asking questions out loud gets me my own answer. I actually did the nasty an read the man page on svcs and got it to work. After ~38 years, you'd think MAN pages would eventually get a little more user-friendly!

root> svcs -xv /network/http:apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
State: maintenance since Sat Mar 08 00:06:08 2008
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: Sun Message ID: SMF-8000-KS
See: man -M /usr/apache2/man -s 8 httpd
See: /var/svc/log/network-http:apache2.log
Impact: This service is not running.
root> more /var/svc/log/network-http:apache2.log
[ Feb 19 21:43:30 Rereading configuration. ]
[ Feb 20 01:30:35 Disabled. ]
[ Mar 8 00:06:08 Enabled. ]
[ Mar 8 00:06:08 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Mar 8 00:06:08 Method "start" exited with status 96 ]
root> svcadm clear /network/http:apache2
root> svcs -xv /network/http:apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
State: online since Fri Apr 04 17:34:53 2008
See: man -M /usr/apache2/man -s 8 httpd
See: /var/svc/log/network-http:apache2.log
Impact: None.
  #17 (permalink)  
Old 04-04-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 542
i've never liked the apache it ships with. idk why. just don't

service_fmri is the new SMF functionality of sol10. its to help make sol10 more "windowsy". however, there is a good side to it as it allows for concurrent services to start thus speeding up the boot time. svcs is really to help you see which services are running. you can make your own script to start up as a service with svcadm, svcfg and some scripting... both xml stuff and regular shell scripting.
  #18 (permalink)  
Old 04-04-2008
BrewDudeBob's Avatar
BrewDudeBob BrewDudeBob is offline
Registered User
  
 

Join Date: Aug 2005
Location: Atlanta Burbs
Posts: 47
Yeah, I have two Solaris 10 books. I have been to lazy to open them up. it is about time for me to read them through.
Sponsored Links
Closed Thread

Bookmarks

Tags
solaris, unix commands

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 09:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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