Hi all,
I installed OpenCA 0.9.2 RC6 on Solaris 8.
I managed to compile it (with a small problem : I had to modify
"Makefile.global-vars" to put manually the full path to "INSTALL" or else
it is ./install-sh and it doesn't work when I run "make install-offline").
When I launched openca_start, I had this error :
Configuration error: Cannot initialize logging
(/usr/local/openca-RC6/ca/OpenCA/etc/log.xml)!()<br>
Configuration error: 64310030<br>
My log.xml file is :
<openca>
<debug>0</debug>
<stderr>/usr/local/openca-RC6/ca/OpenCA/var/log/stderr.log</stderr>
<log>
<debug>0</debug>
<slots>
<slot>
<name>sys_syslog</name>
<class>*</class>
<level>*</level>
<logger>Syslog</logger>
<type>Sys</type>
<prefix>OpenCA PKI Log Message</prefix>
<facility>local6</facility>
<!-- socket type for Sys::Syslog -->
<socket_type>unix</socket_type>
</slot>
<slot>
<name>xml</name>
<class>*</class>
<level>*</level>
<logger>XML</logger>
<dir>/usr/local/openca-RC6/ca/OpenCA/var/log/xml</dir>
</slot>
</slots>
</log>
</openca>
In /usr/local/openca-RC6/ca/OpenCA/var/log/stderr.log, I have this message
:
unix dgram connect: Socket operation on non-socket at
/usr/local/openca-RC6/perl-modules/perl5/OpenCA/Logger/Syslog/Sys.pm line
56
PKI Master Alert: Logging error
PKI Master Alert: Aborting all operations
PKI Master Alert: Error: 64310030
PKI Master Alert: Message: ()
PKI Master Alert: debugging messages of logging follow
token loaded
gettext loaded
config ready
loading slot ...
loaded class
name=sys_syslog
class=*
level=*
object result:
object errno:
Logging is not initialized.
Can't call method "setEncoding" on an undefined value at
/usr/local/openca-RC6/ca/OpenCA/lib/servers/ca-node/functions/initServer
line 507.
Compilation failed in require at ./openca_start line 62.
I try to remove the sys_syslog slot in log.xml :
<openca>
<debug>0</debug>
<stderr>/usr/local/openca-RC6/ca/OpenCA/var/log/stderr.log</stderr>
<log>
<debug>0</debug>
<slots>
<slot>
<name>xml</name>
<class>*</class>
<level>*</level>
<logger>XML</logger>
<dir>/usr/local/openca-RC6/ca/OpenCA/var/log/xml</dir>
</slot>
</slots>
</log>
</openca>
and the same error appears.
Thanks for your help!
Florent
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users