Is Apache 2.0.58 OK to use?
cd to /usr/apache2/bin
if you installed the server SUNWcall or oem SUNWXcall cluster, check
bash-3.00# pkginfo |grep apch2
system SUNWapch2d Apache Web Server V2 Documentation
system SUNWapch2r Apache Web Server V2 (root)
system SUNWapch2u Apache Web Server V2 (usr)
cd /usr/apache2/bin
# ./httpd -v
Server version: Apache/2.0.58
Server built: Mar 15 2007 03:11:11
#
# cd /etc/apache2
# ls
highperformance-std.conf httpd.conf-example ssl.conf
highperformance.conf magic ssl.conf.new
httpd-std.conf mime.types
httpd-std.conf.new ssl-std.conf
# cp httpd.conf-example httpd.conf
# mkdir /var/run/apache2
# ./apachectl start
# ps -ef|grep httpd
webservd 29093 29089 0 20:23:43 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29090 29089 0 20:23:43 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29094 29089 0 20:23:43 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29092 29089 0 20:23:43 ? 0:00 /usr/apache2/bin/httpd -k
start
root 29089 1 0 20:23:42 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29091 29089 0 20:23:43 ? 0:00 /usr/apache2/bin/httpd -k
start
#../apachectl stop
# /usr/sfw/bin/wget 127.0.0.1
--20:24:41-- http://127.0.0.1/
=> `index.html'
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,456 [text/html]
100%[====================================>] 1,456 --.--K/s
20:24:41 (13.89 MB/s) - `index.html' saved [1456/1456]
bash-3.00# svcadm disable svc:/network/http:apache2
bash-3.00# ps -ef|grep apache
bash-3.00# svcadm clear svc:/network/http:apache2
svcadm: Instance "svc:/network/http:apache2" is not in a maintenance or
degraded state.
bash-3.00# svcadm enable svc:/network/http:apache2
bash-3.00# ps -ef|grep apache
webservd 29188 29184 0 20:31:30 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29185 29184 0 20:31:30 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29189 29184 0 20:31:30 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29187 29184 0 20:31:30 ? 0:00 /usr/apache2/bin/httpd -k
start
root 29184 1 0 20:31:29 ? 0:00 /usr/apache2/bin/httpd -k
start
webservd 29186 29184 0 20:31:30 ? 0:00 /usr/apache2/bin/httpd -k
start
bash-3.00#
This message posted from opensolaris.org