After revoking SSL certificate, Server stopped error is See "systemctl status bitnami.service" and "journalctl -xe"

Keywords: WordPress - AWS - Technical issue - Other

bnsupport ID: 2137b1c2-3b84-c24a-2417-9e9a56e18f3c

bndiagnostic output:

? Apache: Found possible issues
? Connectivity: Found possible issues
? Wordpress: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/general/faq/administration/use-firewall/

bndiagnostic failure reason: The documentation did not make any significant change

Description:
I was trying to revoke letsencrypt SSL certificate to activate Cloudflare SSL. I followed the step mentioned in docs but the server is not working now. When i try to run the status command i get this error Cannot find any running daemon to contact. If it is running, make sure you are pointing to the right pid file (/var/run/gonit.pid)"
when i try to run the restart command i get error “See “systemctl status bitnami.service” and “journalctl -xe” for details”

Hello @vnsaneek,

Could you please take a look at the previous case?

I hope it helps

Hello @davidg I tried to follow the steps mentioned, It’s not working i got an error of command not found.

-bash: -bash:: command not found

bitnami@ip-172-31-43-73:~$ bitnami@ip-172-31-43-73:~$ $ sudo find /bitnami/maria db/data -type d -exec chmod 700 {} ;
-bash: bitnami@ip-172-31-43-73:~$: command not found
bitnami@ip-172-31-43-73:~$ -bash: $: command not found
-bash: -bash:: command not found
bitnami@ip-172-31-43-73:~$ bitnami@ip-172-31-43-73:~$ $ sudo find /bitnami/maria db/data -type f -exec chmod 660 {} ; -bash: $: command not found
-bash: bitnami@ip-172-31-43-73:~$: command not found
bitnami@ip-172-31-43-73:~$ bitnami@ip-172-31-43-73:~$ sudo su
-bash: bitnami@ip-172-31-43-73:~$: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo /opt/bitna mi/ctlscript.sh stop mariadb
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo cp -R /bit nami/mariadb/data /bitnami/mariadb-back
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo cp -R /opt /bitnami/mariadb /opt/bitnami/mariadb-back
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo chown -R r oot:root /opt/bitnami/mariadb
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo chown -R m ysql:mysql /opt/bitnami/mariadb/logs /opt/bitnami/mariadb/tmp
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo chown -LR mysql:mysql /opt/bitnami/mariadb/data
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo find /bitn ami/mariadb/data -type d -exec chmod 700 {} ;
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$ bash: $: command not found
-bash: bash:: command not found
bitnami@ip-172-31-43-73:~$ root@ip-172-31-43-73:/home/bitnami# $ sudo find /bitn ami/mariadb/data -type f -exec chmod 660 {} ;
-bash: root@ip-172-31-43-73:/home/bitnami#: No such file or directory
bitnami@ip-172-31-43-73:~$

Hi @vnsaneek,

That’s why you are copying the $ sign. For example, paste only

sudo find /bitnami/maria db/data -type d -exec chmod 700 {} ;

instead of

$ sudo find /bitnami/maria db/data -type d -exec chmod 700 {} ;

Regards