Hi,
i am little confused about logging with OpenCA.

Whenever I want to search in the logs via node-interface, i
get some errors:

Meldung Sitzung Zeitstempel Klasse Niveau
Details Unbekannte Sitzung Die Nachricht 108445432984386722441350407978174550091907 konnte nicht geladen werden. Das Protokollmodul gab den Fehler 6512052 zur�ck. Das ben�tigte Objekt ist nicht verf�gbar.
Details Unbekannte Sitzung Die Nachricht 108445432926542685631526603988281792014663 konnte nicht geladen werden. Das Protokollmodul gab den Fehler 0 zur�ck.


In the stderr of the shell where i started with OpenCA i find the following output:

PKI Master Alert: Logging error
PKI Master Alert: Aborting all operations
PKI Master Alert: Error:   6512052
PKI Master Alert: Message: Das ben�tigte Objekt ist nicht verf�gbar.
PKI Master Alert: debugging messages of logging follow
token loaded
gettext loaded
config ready
loading slot ...
    name=sys_syslog
    class=*
    level=*
    loaded class
    object result:
    object errno:
    loaded object
loading slot ...
    name=xml
    class=*
    level=*
    loaded class
    object result:
    object errno:
    loaded object
slots loaded
slots sorted
PKI Master Alert: Logging error
PKI Master Alert: Aborting all operations
PKI Master Alert: Error:   0
PKI Master Alert: Message:
PKI Master Alert: debugging messages of logging follow

Well, there are no more following logs.

I have entries in my syslog (/var/log/message/)
and the xml directrory is rw for the apache user.

The last entry from /var/log/message:
May 13 15:18:49 rossi OpenCA PKI Log Message[12944]: <log_message> <acl> <cmd>search</cmd> <mode>on</mode> <module
_id>3</module_id> <operation>search</operation> <owner></owner> <owner_argument></owner_argument> <owner_metho
d>any</owner_method> <role>ca operator</role> </acl> <cgi> <params> <cgisessid> <value pos
ition=0>7ea964a22618e4f8f8f62f29ed587fd9</value position=0> </cgisessid> <http_cgi_script> <value posi
tion=0>node</value position=0> </http_cgi_script> <http_request_method> <value position=0>post</value
position=0> </http_request_method> <http_user_agent> <value position=0>mozilla/5.0 (x11; u; linux i686
; en-us; rv:1.6) gecko/20040113</value position=0> </http_user_agent> <openca_ac_channel_remote_address>
<value position=0>172.17.12.33</value posi


Yes, it ends this way.

In /usr/local/ra//OpenCA/var/log/xml/
i have in appr. subdirs some dbm-files.

Any hints?

Best regards
 Michael

--
Dipl.-Inform. Michael Konietzka  Schlund + Partner AG


<openca>
    <log>
        <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/ra//OpenCA/var/log/xml</dir>
            </slot>
        </slots>
    </log>
</openca>

Reply via email to