Archive

Archive for December, 2011

Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.

December 15, 2011 Leave a comment

Can’t start apache2 in Solaris 10 after enabling 

# svcadm enable apache2

#  svcs -xv apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
State: maintenance since Thu Dec 15 15:53:28 2011
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/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.

 

To fix the problem

#  cp /etc/apache2/httpd-std.conf /etc/apache2/httpd.conf

# svcadm clear apache2

# svcs -p apache2
STATE          STIME    FMRI
online         16:13:34 svc:/network/http:apache2
16:13:34     5400 httpd
16:13:35     5401 httpd
16:13:35     5402 httpd
16:13:35     5403 httpd
16:13:35     5404 httpd
16:13:35     5405 httpd

 

 

Categories: apache