500 Internal Server Error

i can’t access to my cyberpanel … and my websites not working
“500
Internal Server Error
An internal server error has occured.”

"[root@vps290417 pdns]# journalctl -xe
– Subject: Unit pdns.service has begun start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit pdns.service has begun starting up.
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Loading ‘/usr/lib64/pdns/libgmysqlbackend.so’
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: This is a standalone pdns
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Listening on controlsocket in ‘/var/run/pdns.controlsocket’
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: UDP server bound to 0.0.0.0:53
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: UDPv6 server bound to [::]:53
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: TCP server bound to 0.0.0.0:53
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: TCPv6 server bound to [::]:53
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: PowerDNS Authoritative Server 4.2.3 (C) 2001-2019 PowerDNS.COM BV
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Using 64-bits mode. Built using gcc 4.8.5 20150623 (Red Hat 4.8.5-39) on Sep 22 2020 13:58:59 by root@776a317fd72f.
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the G
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Polled security status of version 4.2.3 at startup, no known issues reported: OK
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Creating backend connection for TCP
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: gmysql Connection failed: Unable to connect to database: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Can’t connect to local My
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Cleaning up
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: TCP server is unable to launch backends - will try again when questions come in: Unable to launch gmysql connection: Unable to connect to
Oct 19 22:13:46 vps290417.vps.ovh.ca systemd[1]: Started PowerDNS Authoritative Server.
– Subject: Unit pdns.service has finished start-up
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit pdns.service has finished starting up.

– The start-up result is done.
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: About to create 3 backend threads for UDP
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: gmysql Connection failed: Unable to connect to database: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Can’t connect to local My
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Cleaning up
Oct 19 22:13:46 vps290417.vps.ovh.ca pdns_server[9957]: Distributor caught fatal exception: Unable to launch gmysql connection: Unable to connect to database: Can’t connect to local MySQL serve
Oct 19 22:13:46 vps290417.vps.ovh.ca systemd[1]: pdns.service: main process exited, code=exited, status=1/FAILURE
Oct 19 22:13:46 vps290417.vps.ovh.ca systemd[1]: Unit pdns.service entered failed state.
Oct 19 22:13:46 vps290417.vps.ovh.ca systemd[1]: pdns.service failed.
"

please help me

solved database error. ,same error, now my websites are working, but still can’t access to cyberpanel

Could you resolve the error? I currently have the same error and I don’t want to lose the information. it stays in an infinite loop and I don’t know how to stop it. I appreciate if you can tell me how you solved that error

Dear Users,
I am getting some errors "when I click on all websites, there is no preview instead showing an error

“No Screenshot available”
500 Internal Server error

Why it is showing on all websites, however, the websites are running ok, I have checked it on gtmetrix and google page speed, websites are working fine, secondly, after installing Cyberpanel my traffic is decreasing day by day and alexa rank is hit badly.