Hi Oli, Thank you very much! Yes, I missed the step to build CGI::Session::OpenXPKI driver module somehow as I did in my development system. This is working correctly now.
I simply git clone from the main github distribution and ended with 3.25.0. Will revert to 3.24.2 in production. Depending on the cost of enterprise edition, I may consider doing so. The reason I am doing Rocky/Alma 9.x is to plan our main HPC environment to the same distribution later this year. We hope not to maintain different OSes. So far, I have not encountered any major issues. Many missing Perl modules we need are built from Fedora 36/37 source RPMs and some are downloaded from CPAN. Cheers, Lixin. On 2023-02-18, 4:13 AM, "Oliver Welter" <[email protected] <mailto:[email protected]>> wrote: Hi Lixin, the project was not tested with OpenSSL 3.0 yet and I also have no idea if the versions of perl modules that come with Rocky9 are working. You should use only the master branch, the current stable release is 3.24.2 - odd release number are development releases and should not be used in production. Enter at your own risk - you have been warned ;) Regarding the error this sounds pretty much that you are missing the CGI::Session::OpenXPKI driver module - this sits in the core repo but is not build/installed by the main Makefile. Oli PS: RHEL8 packages are available via our enterprise edition - if this would be an option, feel free to contact me. On 17.02.23 23:44, Lixin Liu wrote: > Hi, > > I have built the development VM for OpenXPI and appears to be stable on > Rocky/AlmaLinux 9. > Need to modify Makefile.PL to allow using openssl 3.0. And I use YubiHSM2 for > signing. > > This week, I started a production VM but running into an error in UI which I > cannot see why. > On the client web browser, I get > > The server did not return the expected data.<br>Maybe your authentication > session has expired or there is an internal error.<br>HTTP code: 500 > > From the Apache error_log, I get: > > [Fri Feb 17 14:25:03.113974 2023] [fcgid:warn] [pid 286291:tid 286484] > [client xxxxxx:xxxxx] mod_fcgid: stderr: Can't call method "id" on an > undefined value at /var/www/cgi-bin/webui.fcgi line 191., referer: > https://pki.gridcanada.ca/openxpki/ <https://pki.gridcanada.ca/openxpki/> > [Fri Feb 17 14:25:03.120556 2023] [core:error] [pid 286291:tid 286484] > [client xxxxxx:xxxxx] End of script output before headers: webui.fcgi, > referer: https://pki.gridcanada.ca/openxpki/ > <https://pki.gridcanada.ca/openxpki/> > > I am using the currently version from Github which labelled version 3.25.0. > Line 191 is > > Log::Log4perl::MDC->put('sid', substr($session_front->id,0,4)); > > Any suggestions where I should check? > > Thanks! > > Lixin. > > > _______________________________________________ > OpenXPKI-users mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/openxpki-users > <https://lists.sourceforge.net/lists/listinfo/openxpki-users> > -- Protect your environment - close windows and adopt a penguin! _______________________________________________ OpenXPKI-users mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/openxpki-users <https://lists.sourceforge.net/lists/listinfo/openxpki-users> _______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
