My LAMP goes down

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Other
bnsupport ID: 1233f50b-4e12-8f67-4ead-a9c2102ba306
I have a LAMP bitnami instance running on Lightsail, but suddenly it’s down. When I reboot the instance it’s up for only a few minutes, are there any troubleshooting steps I should take? All the Lightsail instance status checks look fine.

Hello @eibt,

I can see apache is not running. Could you try to start it by executing the command below?

sudo /opt/bitnami/ start apache

Apart from that, I only can see some errors regarding Pagespeed. Pagespeed can cause this issue sometimes. Can you try flushing the cache?

If that doesn’t work, can you try disabling it entirely?

I hope it helps

Hi David, thank you very much for your help. This is what I get when I try to restart Apache:

Syntax OK
/opt/bitnami/apache2/scripts/ : httpd could not be started
Monitored apache

Hello @eibt,

The problem seems to be that /opt/bitnami/letsencrypt/certificates/ and /opt/bitnami/letsencrypt/certificates/ does not exist.

lrwxrwxrwx  1 root    root     55 Apr 15 20:25 -> /opt/bitnami/letsencrypt/certificates/
lrwxrwxrwx  1 root    root     55 Apr 15 20:25 -> /opt/bitnami/letsencrypt/certificates/

You can verify it by running ls -larth /opt/bitnami/letsencrypt/certificates.

I hope it helps