Hi oli, 
thanks for pointing that out i didnt have a dedicated error log set for 
SSL/Vhost, after setting it up i got some permission errors which was stopping 
it to write logs to /var/log/openxpki/webui.log, after fixing that now i'm 
getting a backend service not reachable or not responding error on web page, in 
webui.log im getting this:

2023/09/01 16:28:21 INF Start fcgi loop 2305 [pid=2305|sid=[undef]]
2023/09/01 16:28:21 ERR Error creating backend client Error while writing to 
socket; __EVAL_ERROR__ => I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; 
__ERROR__ => Permission denied, __SOCKETFILE__ => /var/openxpki/openxpki.socket 
[pid=2305|sid=[undef]]
2023/09/01 16:28:21 INF Backend service is not reachable or not responding 
[pid=2305|sid=[undef]]
2023/09/01 16:28:21 ERR Error creating backend client Error while writing to 
socket; __EVAL_ERROR__ => I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; 
__ERROR__ => Permission denied, __SOCKETFILE__ => /var/openxpki/openxpki.socket 
[pid=2305|sid=[undef]]
2023/09/01 16:28:21 INF Backend service is not reachable or not responding 
[pid=2305|sid=[undef]]
2023/09/01 16:28:39 ERR Error creating backend client Error while writing to 
socket; __EVAL_ERROR__ => I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; 
__ERROR__ => Permission denied, __SOCKETFILE__ => /var/openxpki/openxpki.socket 
[pid=2305|sid=[undef]]
2023/09/01 16:28:39 INF Backend service is not reachable or not responding 
[pid=2305|sid=[undef]]
2023/09/01 16:28:39 ERR Error creating backend client Error while writing to 
socket; __EVAL_ERROR__ => I18N_OPENXPKI_CLIENT_INIT_CONNECTION_FAILED; 
__ERROR__ => Permission denied, __SOCKETFILE__ => /var/openxpki/openxpki.socket 
[pid=2305|sid=[undef]]
2023/09/01 16:28:39 INF Backend service is not reachable or not responding 
[pid=2305|sid=[undef]]






> Hi Chris,
> 
> Do you perhaps have a dedicated error log for SSL/vhost configured?
> Nothing in /var/log/openxpki ?
> 
> Use the browser dev tools (F12) and check what URLs are called and what
> they return - perhaps this gives you some idea. Educated guess would be
> you are not resolving the /cgi-bin stuff to run scripts and the server
> returns some HTML error page or the scripts source instead of a JSON
> object which can not be handled by the AJAX components.
> 
> Oli
> 
> On 01.09.23 11:54, chris via OpenXPKI-users wrote:
> 
> > Hi Martin,
> > 
> > this is the apache error log:
> > [Fri Sep 01 9:28:39.274836 2023] [mpm_event:notice] [pid 1660:tid 
> > 140501380126528] AH00491: caught SIGTERM, shutting down
> > [Fri Sep 01 9:28:39.373016 2023] [mpm_event:notice] [pid 1775:tid 
> > 140148171941696] AH00489: Apache/2.4.57 (Unix) OpenSSL/1.1.1v 
> > mod_fcgid/2.3.9 configured -- resuming normal operations
> > [Fri Sep 01 9:28:39.373056 2023] [core:notice] [pid 1775:tid 
> > 140148171941696] AH00094: Command line: '/usr/local/apache2/bin/httpd'
> > [Fri Sep 01 9:30:23.978631 2023] [fcgid:warn] [pid 1776:tid 
> > 140148171941696] mod_fcgid: cleanup zombie process 1893
> > 
> > > Hi Chris,
> > > 
> > > > Hi, I'm reaching out to the community seeking assistance with an issue 
> > > > I've encountered during an integration process. Having recently 
> > > > upgraded my Apache web server to the latest version from source, I 
> > > > referred to the documentation and adjusted the openxpki.conf settings 
> > > > in alignment with the default Apache2 configuration httpd.conf. 
> > > > However, when attempting to access the OpenXPKI web interface, I'm 
> > > > consistently greeted with an "unknown application" error. I've 
> > > > meticulously gone through the logs, and to my surprise, there are no 
> > > > error entries recorded. I'm unable to pinpoint the root cause. As 
> > > > someone relatively new to this endeavor, I'm open to learning from the 
> > > > community's collective wisdom. I would greatly appreciate any insights 
> > > > you could provide. It's possible that I've missed a step or overlooked 
> > > > a crucial configuration, and your guidance could prove instrumental in 
> > > > resolving this matter.
> > > 
> > > Without additional information it is very difficult to assess what went 
> > > wrong. Have a look in the Apache error log, I would expect some 
> > > enlightening information there.
> > 
> > _______________________________________________
> > OpenXPKI-users mailing list
> > OpenXPKI-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openxpki-users
> 
> --
> Protect your environment - close windows and adopt a penguin!
> 
> 
> 
> _______________________________________________
> OpenXPKI-users mailing list
> OpenXPKI-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openxpki-users


_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to