svcs -x reports
svc:/milestone/multi-user-server:default (multi-user plus exports milestone)
State: offline since Tue Feb 15 12:16:31 2005
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: init(1M)
See: /var/svc/log/milestone-multi-user-server:default.log
Impact: 1 dependent service is not running. (Use -v for list.)
svc:/network/http:apache2 (Apache 2 HTTP server)
State: maintenance since Tue Feb 15 12:19:04 2005
Reason: Start method failed repeatedly, last died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: apache2(1M)
See: /var/svc/log/network-http:apache2.log
Impact: This service is not running.
svcs -l reports
fmri svc:/network/http:apache2
name Apache 2 HTTP server
enabled true
state maintenance
next_state none
state_time Tue Feb 15 12:19:04 2005
logfile /var/svc/log/network-http:apache2.log
restarter svc:/system/svc/restarter:default
contract_id
dependency require_all/error svc:/network/loopback:default (online)
dependency optional_all/error svc:/network/physical:default (online)
/var/svc/log/network-http:apache2.log thus ...
[ Feb 15 12:16:02 Enabled. ]
[ Feb 15 12:16:02 Executing start method ("/lib/svc/method/http-apache2
start") ]
[ Feb 15 12:17:03 Method or service exit timed out. Killing contract 29 ]
[ Feb 15 12:17:03 Method "start" failed due to signal KILL ]
[ Feb 15 12:17:03 Executing start method ("/lib/svc/method/http-apache2
start") ]
[ Feb 15 12:18:03 Method or service exit timed out. Killing contract 87 ]
[ Feb 15 12:18:04 Method "start" failed due to signal KILL ]
[ Feb 15 12:18:04 Executing start method ("/lib/svc/method/http-apache2
start") ]
[ Feb 15 12:19:04 Method or service exit timed out. Killing contract 89 ]
[ Feb 15 12:19:04 Method "start" failed due to signal KILL ]
[ Feb 15 12:33:51 Leaving maintenance because clear requested. ]
[ Feb 15 12:33:51 Enabled. ]
[ Feb 15 12:33:51 Executing start method ("/lib/svc/method/http-apache2
start") ]
Terminated
[ Feb 15 12:35:46 Enabled. ]
[ Feb 15 12:35:46 Executing start method ("/lib/svc/method/http-apache2
start") ]
[ Feb 15 12:36:47 Method or service exit timed out. Killing contract 28 ]
[ Feb 15 12:36:47 Method "start" failed due to signal KILL ]
[ Feb 15 12:36:47 Executing start method ("/lib/svc/method/http-apache2
start") ]
[ Feb 15 12:36:52 Method "start" exited with status 0 ]
listprop output
svc:/network/http> listprop
general framework
general/entity_stability astring Evolving
tm_common_name template
tm_common_name/C ustring "Apache 2 HTTP server"
tm_man_apache2 template
tm_man_apache2/manpath astring :default
tm_man_apache2/section astring 1M
tm_man_apache2/title astring apache2
tm_doc_apache_org template
tm_doc_apache_org/name astring apache.org
tm_doc_apache_org/uri astring http://httpd.apache.org
svc:/network/http>
editprop output
# Property group "general"
# delprop general
# addpg general framework
# setprop general/entity_stability = astring: (Evolving)
# Property group "tm_common_name"
# delprop tm_common_name
# addpg tm_common_name template
# setprop tm_common_name/C = ustring: ("Apache 2 HTTP server")
# Property group "tm_man_apache2"
# delprop tm_man_apache2
# addpg tm_man_apache2 template
# setprop tm_man_apache2/manpath = astring: (:default)
# setprop tm_man_apache2/section = astring: (1M)
# setprop tm_man_apache2/title = astring: (apache2)
# Property group "tm_doc_apache_org"
# delprop tm_doc_apache_org
# addpg tm_doc_apache_org template
# setprop tm_doc_apache_org/name = astring: (apache.org)
# setprop tm_doc_apache_org/uri = astring: (http://httpd.apache.org)
scvprop output
# svcprop -p httpd/ssl svc:/network/http:apache2
true
apache log ...
[Tue Feb 15 12:36:54 2005] [notice] Digest: generating secret for digest
authentication ...
[Tue Feb 15 12:36:54 2005] [notice] Digest: done
[Tue Feb 15 12:36:55 2005] [notice] Apache/2.0.52 (Unix) DAV/2
mod_ssl/2.0.52 OpenSSL/0.9.7d PHP/5.0.3 configured -- resuming normal
operations
This sort of behaviour usually indicates a service that hasn't stated
a complete set of dependencies: it's getting started too early.
> svcs -l reports
>
> fmri svc:/network/http:apache2
> name Apache 2 HTTP server
> enabled true
> state maintenance
> next_state none
> state_time Tue Feb 15 12:19:04 2005
> logfile /var/svc/log/network-http:apache2.log
> restarter svc:/system/svc/restarter:default
> contract_id
> dependency require_all/error svc:/network/loopback:default (online)
> dependency optional_all/error svc:/network/physical:default (online)
This list is far too short. Apache will require all system libraries
to be available (system/filesystem/root), /var to be mounted
(system/filesystem/minimal), and possibly more.
I'll go see if there's a bug on this already; otherwise, one will be
filed.
- Stephen
--
Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
stephe...@sun.com
Thanks again
Jim
6222168 documents some other issues with that manifest regarding the
network dependency (it should just depend on the network milestone), so
I've added this onto that bug.
Dave