Hi Sam, it seems to be a problem with your log configuration, which is in /usr/local/etc/openca/log.xml - or which should be in this place. I had a look at my configuration and there are two slots configured, one for syslog and one for xml-formatted log files. I have commented out the syslog-slot. Maybe I ran into the same problem, but I don't remember. There might also be something like apparmor or selinux which prevents you from writing there.
In the xml-configuration you should have a "dir" and that directory must exist and be writable for the openca daemon. Sometimes you have to clean up the directory structure. I have seen the following problems, if the openca is running for a long time: - you may run out of inodes (or possibly disk space if you run it in a small VM) - in rare cases there may be collisions of the id's, especially when you ran in the above problem already - the dbm files might get corrupted, e.g. when the machine is not shut down cleanly due to power outage an example log configuration: cat /usr/local/etc/openca/log.xml <openca> <debug>0</debug> <stderr>/usr/local/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>unix</socket_type> </slot> --> <slot> <name>xml</name> <class>*</class> <level>*</level> <logger>XML</logger> <dir>/usr/local/var/log/xml</dir> </slot> </slots> </log> </openca> best regards, Martin On 12/15/2014 09:28 AM, Samuel Bramm wrote: > Hi list, > > I'm trying to set up OpenCA 1.5.1 on a debian linux system. > I've downloaded the source code for openca base, tools and pki compiled > and installed it. > But when i try to run :/openca_start I always get an error message like > this. > > Logging is not initialized. > > Configuration error: Die Protokollierung konnte nicht initialisiert werden > (/usr/local/etc/openca/log.xml)!() > Configuration error: 64310030 > > Compilation failed in require at ./openca_start line 66. > > Can someone help me? Oh and btw is there a documentation for version > 1.5.1? I just found one for version 0.9. > > Thanks in advance > > Sam ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users