My website is showing database connection error

0

my website has been down since last Sunday (01/10/2023). I have tried restarting Lightsail Instance but not working. Nothing has been changed by me because I am not a developer so I do not know more about it. By searching on the internet I have tried to check the cause but I was unable to find it. I just found that Mariadb is not working and not restarting.

bitnami@ip-###-##-##-##:~$ sudo /opt/bitnami/ctlscript.sh status mariadb 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)

gefragt vor 7 Monaten244 Aufrufe
2 Antworten
1
Akzeptierte Antwort

Hello! Can you create a snapshot for your instance and try to create another instance from that snapshot? Follow this doc for help: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-instance-from-snapshot

AWS
beantwortet vor 7 Monaten
  • A few snapshots were not working but the old snapshot is working perfectly. Thank you very much.

0

Have you tried starting it with

sudo /opt/bitnami/ctlscript.sh start mariadb

profile picture
EXPERTE
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen