On 12/Sep/2007 13:23 Arsen Hayrapetyan wrote ..
> Hi,
>
> I had similar problem in the past. The problem was that apache user didn't
> have enough privileges for $OPENCA/var/ directory (and its
> subdirectories), where $OPENCA is the directory in which openca was
> installed.
> In your case the user running your web server seems to be user the
> 'nobody' (Group ID=99, User ID=99).
> I solved this problem in the following way:
> 1) added user openca ('adduser openca')
> 2) modified the entries for User and Group in my apache configuration file
> (httpd.conf) to look as follows:
> User openca
> Group openca
> 3) changed owner and group of directory $OPENCA/var to openca ('chown
> openca $OPENCA/var'; 'chgrp openca $OPENCA/var')
>
Thanks, but still getting:
# /usr/local/OpenCA/etc/openca_rc start
Starting OpenCA ... OpenCA::XML::Cache> WARNING: cannot write logfile
/usr/local/OpenCA/var/log/xml_cache.log
OpenCA::XML::Cache> MESSAGE: Error 600: Call to POSIX function bind failed.
OpenCA::XML::Cache> WARNING: cannot write logfile
/usr/local/OpenCA/var/log/xml_cache.log
OpenCA::XML::Cache> MESSAGE: Error 500: Client: The POSIX function connect
failed.
Logging is not initialized.
Logging is not initialized.
Configuration error: The XML cache does not work properly - aborting.
Configuration error: The XML cache does not work properly - aborting.
Configuration error: The XML cache does not work properly - aborting.
Compilation failed in require at /usr/local/OpenCA/etc/openca_start line 62.
Configuration error: The XML cache does not work properly - aborting.
Compilation failed in require at /usr/local/OpenCA/etc/openca_start line 62.
FAILED
Any other ideas?, this is really getting on my nerves. I have tried different
perms for the log directory with no success.
:-)
PS: It does create the xml_cache.log, which has the following:
OpenCA::XML::Cache> Mon Sep 24 16:19:44 2007 UTC message:
OpenCA::XML::Cache> startDaemon successfull at Mon Sep 24 16:19:44 2007 UTC
PID: 3977
OpenCA::XML::Cache> Mon Sep 24 16:19:45 2007 UTC message:
OpenCA::XML::Cache> Error 500: Client: The POSIX function connect failed.
And I get several lines of the following if I do ps aux :
nobody 6423 0.0 3.2 41644 33280 ? S Sep10 0:05 /usr/bin/perl
/usr/local/OpenCA/etc/openca_start
Where might it be finding a config to use noboby?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users