On 12/14/09 02:15 PM, Jeff Trawick wrote:
> Neal Pollack wrote:
>> On 12/14/09 01:45 PM, Jeff Trawick wrote:
>>> Neal Pollack wrote:
>>
>>
>> root at zbit:~# cd /var/apache2/2.2/logs
>> root at zbit:/var/apache2/2.2/logs# tail error_log
>> [Mon Dec 14 14:00:33 2009] [warn] Init: Session Cache is not 
>> configured [hint: SSLSessionCache]
>> [Mon Dec 14 14:00:34 2009] [emerg] (2)No such file or directory: 
>> mod_fcgid: Can't create shared memory for size 12993924 bytes
>> [Mon Dec 14 14:00:35 2009] [warn] Init: Session Cache is not 
>> configured [hint: SSLSessionCache]
>> [Mon Dec 14 14:00:36 2009] [emerg] (2)No such file or directory: 
>> mod_fcgid: Can't create shared memory for size 12993924 bytes
>> [Mon Dec 14 14:00:37 2009] [warn] Init: Session Cache is not co
>>
>>
>> OK, so the messages placed on the screen, and by svcs -xv, need to be 
>> updated.
>> That's one bug.   It does indeed seem to be this mod_fcgid issue, but 
>> I don't use,
>> or even know, what fcgid is.   Is there a work-around for this, or do 
>> I need to revert
>> to build 128?
>
> since you don't use mod_fcgid, uninstall SUNWapch22m-fcgid and make 
> sure /etc/apache2/2.2/conf.d/fcgid.conf goes away too
>
> my previous e-mail indicated what directives to fix in fcgid.conf if 
> you indeed use it

It was able to come up simply by removing 
/etc/apache2/2.2/conf.d/fcgid.conf.
I can't seem to remove the package, but that does not seem to matter;

# pkg uninstall SUNWapch22m-fcgid
Creating Plan /pkg: Cannot remove 
'pkg://opensolaris.org/SUNWapch22m-fcgid at 2.3.4,5.11-0.129:20091205T072646Z' 
due to the following packages that depend on it:
  pkg://opensolaris.org/amp at 0.5.11,5.11-0.129:20091205T133816Z

root at zbit:/var/apache2/2.2/logs#

So it appears that a valid work-around, if not using mod-fcgid, is to
simply remove the conf file.

Can someone on the team file bugs about the wrong console path messages?

As follows, once you notice that apache is not running, you do svcs -xv 
and get;
root at zbit:~# svcs -xv
svc:/network/http:apache22 (Apache 2.2 HTTP server)
 State: offline since December 14, 2009  1:59:51 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
Impact: This service is not running.

You cat  /var/svc/log/network-http:apache22.log  and get
[ Dec 14 14:20:40 Executing start method ("/lib/svc/method/http-apache22 
start"). ]
Apache version is 2.2
[ Dec 14 14:20:41 Method "start" exited with status 0. ]
[ Dec 14 14:20:42 Stopping because all processes in service exited. ]

So you then issue:  #/lib/svc/method/http-apache22   start
and you get improper paths to the error_log file, along with usage warnings.


Reply via email to