Failed to start LSB: bitnami init script”

Keywords: LAMP/MAMP/WAMP - Google Cloud Platform - Technical issue - Services (Apache, MariaDB, MySQL…)

bndiagnostic ID: 625f0ba4-cb1f-7fe0-5a56-f2dc3cf93c2c

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/

bndiagnostic failure reason: The tool could not find any issue

Description:
When I try to restart services this return and error, I run this command systemctl status bitnami.service and return this

May 26 09:56:53 clublia-prod systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
May 26 09:56:53 clublia-prod systemd[1]: bitnami.service: Failed with result ‘exit-code’.
May 26 09:56:53 clublia-prod systemd[1]: Failed to start LSB: bitnami init script.

[Thu May 26 15:40:28.743424 2022] [mpm_event:notice] [pid 10722:tid 140553090464640] AH00491: caught SIGTERM, shutting down
[Thu May 26 15:42:00.910857 2022] [ssl:warn] [pid 13536:tid 139667886381952] AH01909: comunidad.clublia.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 26 15:42:00.923376 2022] [ssl:warn] [pid 13537:tid 139667886381952] AH01909: comunidad.clublia.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 26 15:42:00.928578 2022] [mpm_event:notice] [pid 13537:tid 139667886381952] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1n configured – resuming normal operations
[Thu May 26 15:42:00.928766 2022] [core:notice] [pid 13537:tid 139667886381952] AH00094: Command line: ‘/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf’
[Thu May 26 15:43:00.673840 2022] [mpm_event:notice] [pid 13537:tid 139667886381952] AH00491: caught SIGTERM, shutting down
[Thu May 26 15:43:23.360476 2022] [ssl:warn] [pid 15424:tid 139650156387200] AH01909: comunidad.clublia.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 26 15:43:23.372292 2022] [ssl:warn] [pid 15425:tid 139650156387200] AH01909: comunidad.clublia.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 26 15:43:23.377330 2022] [mpm_event:notice] [pid 15425:tid 139650156387200] AH00489: Apache/2.4.46 (Unix) OpenSSL/1.1.1n configured – resuming normal operations
[Thu May 26 15:43:23.377377 2022] [core:notice] [pid 15425:tid 139650156387200] AH00094: Command line: ‘/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf’

I find this in the error log file after fix the bitnami script issue how coul I solve this certificate error ?

Hi @dylan.lievano.cuevas,

There is not any certificate error in that log file. I only saw these error lines that our bndiagnostic tool got when reviewing your logs

 [Thu May 26 07:25:04.604684 2022] [proxy_fcgi:error] [pid 1617:tid 140574088783616] [client **ip_address**:41171] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant FS_METHOD - assumed 'FS_METHOD' (this will throw an Error in a future version of PHP) in /opt/bitnami/apache/clublia-site/wp-config.php on line 83PHP message: PHP Warning: Use of undefined constant direct - assumed 'direct' (this will throw an Error in a future version of PHP) in /opt/bitnami/apache/clublia-site/wp-config.php on line 83'

Please take a look at that.

Regarding the errors restarting the services, let’s get more information about the error. Can you run these commands?

for file in `find /opt/bitnami/scripts/ -name stop.sh`; do sudo $file; done
for file in `find /opt/bitnami/scripts/ -name start.sh`; do sudo $file; done

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.