Hello Max. A problem I have in this and previous versions is with the
startup script that comes with OpenCA.
Assuming that OpenCA-prefix is /home/openca,

when I run

    */home/openca/etc/init.d/openca start*


the log reports the following:

    *==> stderr.log <==*
    *Logging is not initialized.*
    *Configuration error: Cannot initialize cryptographic layer
    (configurationfile /home/openca/etc/openca/token.xml)!Cannot create
    new OpenCA Token object. *
    *Configuration error: 7123080*
    *Compilation failed in require at
    /home/openca/etc/openca/openca_start line 66.*
    *OK*



The above problem could fix, adding in my OpenCA startup script
(/home/OpenCA/etc/init.d/OpenCA) as first instruction the following command:

    *cd /home/openca/etc/openca*



Assuming that this file is assembled from the file
(openca-base-1.5.0/src/common/etc/openca.in) a general patch could be:

    *root@debian7:/opt# diff -u
    openca-base-1.5.0/src/common/etc/openca.in /tmp/openca.in *
    *--- openca-base-1.5.0/src/common/etc/openca.in    2013-08-03
    11:55:59.000000000 -0300*
    *+++ /tmp/openca.in    2013-08-13 16:30:30.120193768 -0300*
    *@@ -8,6 +8,7 @@*
    * # processname: openca*
    * # config: /@etc_prefix@/config.xml*
    * *
    *+cd @etc_prefix@*
    * export LD_LIBRARY_PATH=@openssl_prefix@/lib:$LD_LIBRARY_PATH*
    * *
    * openca_start=@etc_prefix@/openca_start*
    *root@debian7:/opt# *



I hope it helps.

Nicolas


-----
CeSPI 
Centro Superior para el Procesamiento de la Información

Universidad Nacional de La Plata
-------------------------------------------------------------------------------
Proteja el Medioambiente. No imprima este mail si no es absolutamente necesario
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to