Hi Alex
>What error message do you get? Can you start the server with debug
>output and look for an error there?
>Try openxpkictl start --debug OpenXPKI::Service:128
>and look at what is 'collect'ed and 'talk'ed, for example ...
Ploblem was with permission for session directory.
Now I'm testing web-interface and have already found some errors.
For example,
for authentication I select "Anonymous" and after press button I see next:
System error: Insecure dependency in sysopen while running setgid at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line 99.
context: ...
95: }
96:
97: $mode = O_RDWR|O_CREAT|O_EXCL unless -e $path;
98:
99: sysopen(FH, $path, $mode, $self->{UMask}) or return $self->set_error(
"store(): couldn't open '$path': $!" );
100:
101: # sanity check to make certain we're still ok
102: if (-l $path) {
103: return $self->set_error("store(): '$path' is a symlink, check for
malicious processes");
...
code stack: /usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm:99
/usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm:244
/usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm:88
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm:99
/var/www/html/autohandler:49
/var/www/html/syshandler:4
raw error
Insecure dependency in sysopen while running setgid at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line 99.
Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line
129
HTML::Mason::Exceptions::rethrow_exception('Insecure dependency in sysopen
while running setgid at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line 99.^J')
called at /usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line 99
CGI::Session::Driver::file::store('CGI::Session::Driver::file=HASH(0xa9a7adc)',
'db5f665bbff36d26a8047b6ee6cdf38c', '$D = {\'_SESSION_ETIME\' =>
86400,\'_SESSION_ID\' =>
\'db5f665bbff36d26a8047b6ee6cdf38c\',\'_SESSION_REMOTE_ADDR\' => \'
127.0.0.1\',\'_SESSION_CTIME\' => 1192091133,\'_SESSION_ATIME\' =>
1192091133,\'user\' => \'\',\'pki_realm\' =>
\'I18N_OPENXPKI_DEPLOYMENT_TEST_DUMMY_CA\',\'role\' => \'\'};;$D') called at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 244
CGI::Session::flush('CGI::Session=HASH(0xa9a3fbc)') called at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 88
CGI::Session::DESTROY('CGI::Session=HASH(0xa9a3fbc)') called at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line 99
eval {...} at /usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/file.pm line
99
HTML::Mason::Request::comp(undef, undef, undef, '__session_id',
'db5f665bbff36d26a8047b6ee6cdf38c', 'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1310
HTML::Mason::Request::scomp('HTML::Mason::Request::ApacheHandler=HASH(0xa8c26f8)',
'/authentication/autohandler', '__session_id',
'db5f665bbff36d26a8047b6ee6cdf38c', 'next_comp', '') called at
/var/www/html/autohandler line 49
HTML::Mason::Commands::__ANON__('no_menu', '', '__session_id',
'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa5803dc)',
'no_menu', '', '__session_id', 'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1262
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef, 'no_menu', '',
'__session_id', 'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 921
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa8c26f8)')
called at /var/www/html/syshandler line 4
HTML::Mason::Commands::__ANON__('no_menu', '', '__session_id',
'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa8888d4)',
'no_menu', '', '__session_id', 'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1260
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef, 'no_menu', '',
'__session_id', 'db5f665bbff36d26a8047b6ee6cdf38c', 'submit',
'I18N_OPENXPKI_CLIENT_HTML_MASON_SUBMIT', 'auth_stack', 'Anonymous',
'next_comp', '') called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 466
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 466
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 418
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa8c26f8)')
called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa8c26f8)')
called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa3a84d0)',
'Apache2::RequestRec=SCALAR(0x9da2274)') called at
/usr/lib/perl5/site_perl/5.8.8/OpenXPKI/Client/HTML/Mason/ApacheHandler.pm
line 23
OpenXPKI::Client::HTML::Mason::ApacheHandler::handler('Apache2::RequestRec=SCALAR(0x9da2274)')
called at -e line 0
eval {...} at -e line 0
(For all directory I set permission for user&group openxpki)
In log I'm reading that login successful.
After refresh page with this error printing menu and message
"CONNECTION_WORKING".
What is it?
Best regards, Igor
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users