Hello:

I have installed openca-0.9.2.2, and when I try to connect with my
browser, I obtain the following error in stderr.log:

Can't locate object method "xsetXMLerror" via package "OpenCA::AC"
(perhaps you forgot to load "OpenCA::AC"?) at
/usr/lib/perl5/site_perl/5.6.1/OpenCA/AC.pm line 1068.
Compilation failed in require at ./openca_start line 62.

Searching in AC.pm, in the line 1068, I have found the following
information:

sub getConfigsRBAC {

    my $self = shift;

    my $twig_cmds = $self->{cache}->get_xpath (
                        FILENAME => $self->{configfile},
                        XPATH    =>
'access_control/acl_config/command_dir');
    if (not defined $twig_cmds)
    {
        $self->xsetXMLerror (6291024, "Loading directory with command
configuration");
        return undef;
......
......

My ca.xml has the following configuration, where the command directory
is correctly defined:
<?xml version="1.0"?>
<openca>
  <access_control>
    <channel>
      <type>mod_ssl</type>
      <protocol>.*</protocol>
      <source>.*</source>
      <asymmetric_cipher>.*</asymmetric_cipher>
      <asymmetric_keylength>0</asymmetric_keylength>
      <symmetric_cipher>.*</symmetric_cipher>
      <symmetric_keylength>0</symmetric_keylength>
    </channel>
    <login>
      <type>none</type>
    </login>
    <acl_config>
      <acl>yes</acl>
      <list>/usr/local/OpenCA/etc/rbac/acl.xml</list>
      <command_dir>/usr/local/OpenCA/etc/rbac/cmds</command_dir>
      <module_id>0</module_id>
      <map_role>yes</map_role>
      <map_operation>yes</map_operation>
    </acl_config>
  </access_control>
  <token_config_file>/usr/local/OpenCA/etc/token.xml</token_config_file>
</openca>


Any idea about what is happening? How can I solve it?

Thanks in advance,

    Pepi.




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to