Apache and mariadb doesn't start

Keywords: WordPress - Installers - Technical issue - Services (Apache, MariaDB, MySQL…)

bndiagnostic ID: 7d2c15a1-f2b8-08fc-8f40-beb52253594b

Description:
command #systemctl status bitnami.service output
● bitnami.service - LSB: bitnami init script
Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-06-19 17:39:02 UTC; 1min 13s ago
Process: 3206 ExecStart=/etc/init.d/bitnami start (code=exited, status=1/FAILURE)

Jun 19 17:38:01 debian bitnami[3206]: php 17:38:01.99 INFO ==> php-fpm is already running
Jun 19 17:38:02 debian bitnami[3206]: 2022-06-19T17:38:02.001Z - info: Performing service start operation for mariadb
Jun 19 17:39:02 debian bitnami[3206]: mariadb 17:39:02.68 ERROR ==> mariadb did not start
Jun 19 17:39:02 debian bitnami[3206]: 2022-06-19T17:39:02.695Z - error: Unable to perform start operation Export start for mariadb failed with exit code 1
Jun 19 17:39:02 debian bitnami[3206]: ## 2022-06-19 17:39:02+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_update_welcome_file…
Jun 19 17:39:02 debian bitnami[3206]: ## 2022-06-19 17:39:02+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_credentials_file…
Jun 19 17:39:02 debian bitnami[3206]: ## 2022-06-19 17:39:02+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_clean_metadata…
Jun 19 17:39:02 debian systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
Jun 19 17:39:02 debian systemd[1]: bitnami.service: Failed with result ‘exit-code’.
Jun 19 17:39:02 debian systemd[1]: Failed to start LSB: bitnami init script.
command #journalctl -xe output
Jun 19 17:45:35 debian sshd[4325]: Accepted publickey for root from 192.168.64.1 port 64586 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:45:35 debian sshd[4325]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:45:35 debian sshd[4325]: pam_unix(sshd:session): session closed for user root
Jun 19 17:45:49 debian sshd[4331]: Accepted publickey for root from 192.168.64.1 port 64695 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:45:49 debian sshd[4331]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:45:49 debian sshd[4331]: pam_unix(sshd:session): session closed for user root
Jun 19 17:45:50 debian sshd[4346]: Accepted publickey for root from 192.168.64.1 port 64698 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:45:50 debian sshd[4346]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:45:50 debian sshd[4346]: pam_unix(sshd:session): session closed for user root
Jun 19 17:45:55 debian sshd[4362]: Accepted publickey for root from 192.168.64.1 port 64738 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:45:55 debian sshd[4362]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:45:55 debian sshd[4362]: pam_unix(sshd:session): session closed for user root
Jun 19 17:46:09 debian sshd[4378]: Accepted publickey for root from 192.168.64.1 port 64857 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:46:09 debian sshd[4378]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:46:09 debian sshd[4378]: pam_unix(sshd:session): session closed for user root
Jun 19 17:46:17 debian sshd[4120]: Received disconnect from 192.168.64.1 port 63669:11: disconnected by user
Jun 19 17:46:17 debian sshd[4120]: Disconnected from user root 192.168.64.1 port 63669
Jun 19 17:46:17 debian sshd[4120]: pam_unix(sshd:session): session closed for user root
Jun 19 17:46:19 debian sshd[4384]: Accepted publickey for root from 192.168.64.1 port 64950 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:46:19 debian sshd[4384]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 19 17:46:19 debian sshd[4384]: pam_unix(sshd:session): session closed for user root
Jun 19 17:46:19 debian sshd[4386]: Accepted publickey for root from 192.168.64.1 port 64951 ssh2: RSA SHA256:hpoXgcRurjE64FGJe1pb5xm0J+uQpD7L1Ir+cNEvB3A
Jun 19 17:46:19 debian sshd[4386]: pam_unix(sshd:session): session opened for user root by (uid=0)

Hi @t.khal3d,

There is not enough free RAM available on the machine. I recommend upgrading the instance to a more powerful one.

Regards,
Michiel