Bitnami service can't start

Keywords: WordPress - Bitnami Cloud Hosting - Technical issue - Application configuration

bnsupport ID: d5a7d182-fab4-1366-ab80-847f68883a2a

bndiagnostic output:

? Apache: Found possible issues
? Connectivity: Found possible issues
? Resources: Found possible issues
? Processes: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/administration/use-pagespeed/#disable-pagespeed
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:
My server crashed yesterday evening and I rebooted it this morning. httpd, apache, and bitnami services can’t start.

It’s not a problem of space, probably memory, but not sure if some files got corrupt.

I followed the first article and made the necessary modifications but nothing changed.

Oct 11 09:05:02 ip-172-26-14-229 systemd[1]: bitnami.service: Control process exited, code=exited, status=3/NOTIMPLEMENTED

[Sun Oct 10 21:19:29.442602 2021] [autoindex:error] [pid 12951:tid 
140315943941888] [client **ip_address**:38036] AH01276: Cannot serve directory 
/opt/bitnami/apps/wordpress/htdocs/wp-admin/css/: No matching DirectoryIndex 
 [Sun Oct 10 22:50:38.795730 2021] [proxy_fcgi:error] [pid 26987:tid 
140315943941888] (70008)Partial results are valid but processing is incomplete: 
[client **ip_address**:23082] AH01075: Error dispatching request to : (reading 
Press [Enter] to continue:

Can you please assist?

Thanks!

Hi @lomeraniel

Thanks for using Bitnami WordPress!

According to the report generated by the bndiagnostic-tool, the PHP & MySQL services were up and running:

-----------------------------------
Get the ctlscript status
-----------------------------------
Running: ./ctlscript.sh status
In: /opt/bitnami

Output:

php-fpm already running
apache not running
mysql already running

That is not the case for the Apache service, let’s try to discover the issue. Listing your running processes, it seems there is another instance of Apache running, not the one that comes with the Bitnami stack, but a system one.

Running: ps aux | grep 'apache\|mysql\|nginx\|/opt/bitnami\|php-fpm'
In: /opt/bitnami

Output:

root       604  0.0  0.1   8444   936 ?        Ss   09:04   0:00 /usr/sbin/apache2 -k start
www-data   607  0.0  0.1 754684   632 ?        Sl   09:04   0:00 /usr/sbin/apache2 -k start
www-data   608  0.0  0.2 754756  1252 ?        Sl   09:04   0:00 /usr/sbin/apache2 -k start
root       880  0.0  0.0   2400   480 ?        S    09:04   0:00 /bin/sh /opt/bitnami/mysql/bin/mysqld_safe --defaults-file=/opt/bitnami/mysql/my.cnf --mysqld=mysqld.bin --socket=/opt/bitnami/mysql/tmp/mysql.sock --datadir=/opt/bitnami/mysql/data --log-error=/opt/bitnami/mysql/data/mysqld.log --pid-file=/opt/bitnami/mysql/data/mysqld.pid --lower-case-table-names=1
mysql     1199  0.1 17.5 1159844 86592 ?       Sl   09:04   0:02 /opt/bitnami/mysql/bin/mysqld.bin --defaults-file=/opt/bitnami/mysql/my.cnf --basedir=/opt/bitnami/mysql --datadir=/opt/bitnami/mysql/data --plugin-dir=/opt/bitnami/mysql/lib/plugin --user=mysql --lower-case-table-names=1 --log-error=/opt/bitnami/mysql/data/mysqld.log --pid-file=/opt/bitnami/mysql/data/mysqld.pid --socket=/opt/bitnami/mysql/tmp/mysql.sock --port=3306
root      1283  0.0  0.9 267788  4548 ?        Ss   09:04   0:00 php-fpm: master process (/opt/bitnami/php/etc/php-fpm.conf)
daemon    1284  0.0  0.9 268056  4576 ?        S    09:04   0:00 php-fpm: pool wordpress
root      1685  0.0  0.3  10228  1764 pts/0    S+   09:31   0:00 sudo /opt/bitnami/bndiagnostic-tool
root      1686 13.4 51.5 332896 254720 pts/0   Sl+  09:31   0:43 /opt/bitnami/bndiagnostic-tool
root      2064  0.0  0.1   6216   848 pts/0    S+   09:36   0:00 grep apache\|mysql\|nginx\|/opt/bitnami\|php-fpm

In order to stop that apache instance, run the following command:

$ sudo service apache2 stop

After that, try to start up the Bitnami Apache service:

$ sudo /opt/bitnami/ctlscript.sh start apache

Can you please try that and report back?

Best regards,
Jose Antonio Carmona


Was my answer helpful? Click on :heart: