Neal Pollack wrote: > On 12/14/09 01:30 PM, Neal Pollack wrote: >> My desktop also runs a web server for our department's reports. >> I did a pkg image-update from 128, (each build, 128 and prior, had >> working >> web server for our weekly reports). >> >> After image-update to build 129, apache2.2 did not start.; >> >> root at zbit:~# svcs -xv >> svc:/network/http:apache22 (Apache 2.2 HTTP server) >> State: offline since December 14, 2009 1:28:33 PM PST >> Reason: Start method is running. >> See: http://sun.com/msg/SMF-8000-C4 >> See: man -M /usr/apache2/2.2/man -s 8 httpd >> See: http://httpd.apache.org >> See: /var/svc/log/network-http:apache22.log
What is in this log file? A known issue with snv_129 that prevents Apache from starting is a broken /etc/apache2/2.2/conf.d/fcgid.conf. If you use mod_fcgid, change the existing FcgidProcessTableFile and FcgidIPCDir directives with unresolved % variables to FcgidProcessTableFile /var/run/apache2/2.2/fcgid_shm FcgidIPCDir /var/run/apache2/2.2/fcgid.sock >> root at zbit:~# /lib/svc/method/http-apache22 start >> Usage: svcprop [-fqtv] [-C | -c | -s snapshot] [-p [name/]name]... >> {FMRI | pattern}... >> svcprop -w [-fqtv] [-p [name/]name] {FMRI | pattern} same errors here with that invocation on a working setup, so false alarm >> >> zbit:~$ cat /var/apache2/logs/error_log >> cat: cannot open /var/apache2/logs/error_log: No such file or directory should be /var/apache2/2.2/logs/error_log >> zbit:~$ pfexec su - >> Sun Microsystems Inc. SunOS 5.11 snv_129 November 2008 >> You have new mail. >> root at zbit:~# cat /var/apache2/logs/error_log >> cat: /var/apache2/logs/error_log: No such file or directory >> root at zbit:~# pkg list | grep -i apache package name is SUNWapch22 >> root at zbit:~# >> >> It appears that apache has been removed?? > > Upon closer inspection, not removed, but broken. > The binaries are there, but some paths are missing or moved. > The start script complains of missing error log above, and indeed > that entire logs directory is not present in build 129 > > # ls /usr/apache2/bin > ls: cannot access /usr/apache2/bin: No such file or directory /usr/apache2/2.2/bin