Comments (5)
@tochi1981 can you run the bndiagnostic tool and share the generated code with us? Did you use the bncert-tool to generate the certificate? Did it return any error message?
We also recommend you to take a look at the guide below, which explains how to manually generate and configure a Let's Encrypt certificate. It should help you to find and fix your issue.
https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/#alternative-approach
from vms.
Hello. Yes i used the bn-cert tool to generate the certificate. It worked fine for a few weeks then it stopped working for wildcard certificates. I then tried the alternative approach to try and reinstall and it crashed the server.
How do i run the bndiagnostic tool?
from vms.
Here is the result from bndiagnostic tool:
===== Begin of bndiagnostic tool output =====
? Resources: Found possible issues
? Connectivity: Found possible issues
✓ Mariadb: No issues found
? Processes: Found possible issues
✓ Wordpress: No issues found
? Apache: Found possible issues
✓ Php: No issues found
[Resources]
Your instance has little available RAM memory.
total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap:
0 0 0
You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.
Press [Enter] to continue:===== Begin of bndiagnostic tool output =====
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Processes]
One or more component's processes are not running:
apache not running mariadb not running php-fpm not running
You can try to restart the process with the following command:
$ sudo /opt/bitnami/ctlscript.sh start COMPONENT_NAME
[Apache]
Found recent error or warning messages in the Apache error log.
[Tue Jun 18 02:33:56.587026 2024] [access_compat:error] [pid 396989:tid
Press [Enter] to continue:
? Resources: Found possible issues
? Connectivity: Found possible issues
✓ Mariadb: No issues found
? Processes: Found possible issues
✓ Wordpress: No issues found
140150503384832] [client **ip_address**:39228] AH01797: client denied by server
configuration: /opt/bitnami/wordpress/xmlrpc.php, referer: http://34.193.58.178
[Tue Jun 18 02:34:32.299228 2024] [access_compat:error] [pid 426178:tid
140150168229632] [client **ip_address**:40112] AH01797: client denied by server
configuration: /opt/bitnami/wordpress/xmlrpc.php, referer:
http://34.193.58.178/wp-json/oembed/1.0/embed?url=http%3A%2F%2F34.193.58.178%2Fla
ser-therapy%2F
[Tue Jun 18 02:50:21.027341 2024] [proxy_fcgi:error] [pid 426178:tid
140150411618048] [client **ip_address**:31122] AH01071: Got error 'PHP message:
PHP Warning: Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php
on line 173; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in
/bitnami/wordpress/wp-config.php on line 174; PHP message: PHP Warning:
Undefined array key "HTTP_HOST" in /opt/bitnami/wordpress/wp-includes/media.php
on line 1366; PHP message: PHP Warning: Und
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-apache/
The Apache configuration has errors:
AH00526: Syntax error on line 5 of
Press [Enter] to continue:/opt/bitnami/apache/conf/vhosts/wordpress-https-vhost.conf: SSLCertificateFile:
file '/opt/bitnami/apache/conf/www.spabyrescuemd.com.crt' does not exist or is
empty
Please check the configuration.
===== End of bndiagnostic tool output =====
? Apache: Found possible issues
✓ Php: No issues found
[Resources]
Press [Enter] to continue:
Your instance has little available RAM memory.
total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap:
0 0 0
``` The diagnostic bundle was uploaded successfully to the Bitnami servers. Please copy the following code:
e3d04835-9e9e-c3cb-6723-1443350a850f
And paste it in your Bitnami Support ticket.
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Connectivity: Found possible issues
-bash: ?: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Mariadb: No issues found
-bash: ✓: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Processes: Found possible issues
-bash: ?: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Wordpress: No issues found
-bash: ✓: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Apache: Found possible issues
-bash: ?: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Php: No issues found
-bash: ✓: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ [Resources]
-bash: [Resources]: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ Your instance has little available RAM memory.
-bash: Your: command not found
bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ```
> total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap:
> 0 0 0
> ```
-bash: total: command not found
-bash: 0: command not found
from vms.
Here is the result from bndiagnostic tool:
===== Begin of bndiagnostic tool output =====
? Resources: Found possible issues ? Connectivity: Found possible issues ✓ Mariadb: No issues found ? Processes: Found possible issues ✓ Wordpress: No issues found ? Apache: Found possible issues ✓ Php: No issues found
[Resources]
Your instance has little available RAM memory.
total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap: 0 0 0
You could try to increase your instance's memory. Please check your cloud provider's documentation for more information. Press [Enter] to continue:===== Begin of bndiagnostic tool output =====
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Processes]
One or more component's processes are not running:
apache not running mariadb not running php-fpm not running
You can try to restart the process with the following command:
$ sudo /opt/bitnami/ctlscript.sh start COMPONENT_NAME
[Apache]
Found recent error or warning messages in the Apache error log.
[Tue Jun 18 02:33:56.587026 2024] [access_compat:error] [pid 396989:tid Press [Enter] to continue: ? Resources: Found possible issues ? Connectivity: Found possible issues ✓ Mariadb: No issues found ? Processes: Found possible issues ✓ Wordpress: No issues found 140150503384832] [client **ip_address**:39228] AH01797: client denied by server configuration: /opt/bitnami/wordpress/xmlrpc.php, referer: http://34.193.58.178 [Tue Jun 18 02:34:32.299228 2024] [access_compat:error] [pid 426178:tid 140150168229632] [client **ip_address**:40112] AH01797: client denied by server configuration: /opt/bitnami/wordpress/xmlrpc.php, referer: http://34.193.58.178/wp-json/oembed/1.0/embed?url=http%3A%2F%2F34.193.58.178%2Fla ser-therapy%2F [Tue Jun 18 02:50:21.027341 2024] [proxy_fcgi:error] [pid 426178:tid 140150411618048] [client **ip_address**:31122] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php on line 173; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php on line 174; PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /opt/bitnami/wordpress/wp-includes/media.php on line 1366; PHP message: PHP Warning: Und
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/
The Apache configuration has errors:
AH00526: Syntax error on line 5 of Press [Enter] to continue:/opt/bitnami/apache/conf/vhosts/wordpress-https-vhost.conf: SSLCertificateFile: file '/opt/bitnami/apache/conf/www.spabyrescuemd.com.crt' does not exist or is empty
Please check the configuration.
===== End of bndiagnostic tool output =====
? Apache: Found possible issues ✓ Php: No issues found
[Resources] Press [Enter] to continue: Your instance has little available RAM memory.
total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap: 0 0 0 ``` The diagnostic bundle was uploaded successfully to the Bitnami servers. Please copy the following code: e3d04835-9e9e-c3cb-6723-1443350a850f And paste it in your Bitnami Support ticket. bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Connectivity: Found possible issues -bash: ?: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Mariadb: No issues found -bash: ✓: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Processes: Found possible issues -bash: ?: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Wordpress: No issues found -bash: ✓: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ? Apache: Found possible issues -bash: ?: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ✓ Php: No issues found -bash: ✓: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ [Resources] -bash: [Resources]: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ Your instance has little available RAM memory. -bash: Your: command not found bitnami@ip-172-26-15-41:/opt/bitnami/bndiagnostic$ ``` > total used free shared buff/cache available Mem: 3873 534 760 4 2579 3052 Swap: > 0 0 0 > ``` -bash: total: command not found -bash: 0: command not found
Yes. I know it says my instance has little memory but this only started after i started having certificate issues. The instance is a t3.medium with AWS. It has 4 gigs of ram with no traffic on the site at all.
from vms.
@tochi1981 according to the logs you shared, the SSL certificate is missing, which is preventing Apache server from starting
AH00526: Syntax error on line 5 of
Press [Enter] to continue:/opt/bitnami/apache/conf/vhosts/wordpress-https-vhost.conf: SSLCertificateFile:
file '/opt/bitnami/apache/conf/www.spabyrescuemd.com.crt' does not exist or is
empty
Please review the SSL generation and configuration process to find the issue.
from vms.
Related Issues (20)
- vSphere 6.5/ 6.7 when i create from ova: 8.13.4-0 I get error: Issues detected with selected template. Details: - -1:-1:VALUE_ILLEGAL: No supported hardware versions among [vmx-19] HOT 4
- Redmine home page is not accessible HOT 7
- MariaDB Temp files are filling EBS drive and crashing the server HOT 8
- Parse-server 4.1.0 Linux installer HOT 5
- Unable to start my lighstail wordpress instance
- [bitnami/ejbca] Unable to access the EJBCA web page HOT 3
- Setting up Virtual Hosts in LAMP with Bitnami HOT 7
- [WordPress Multisite] Migrate from version 5.2-1 to the latest version (ec2) HOT 5
- Ubuntu and PHP Versions of WordPress Certification by Bitnami and Automattic HOT 6
- [WordPress] Apache service fails to start after configuring SSL certificates with Let's Encrypt on Google Cloud HOT 2
- [Wordpress] Unable to start bitnami.service after rebooting instance HOT 2
- [Silverstripe] Bitnami image on AWS HOT 3
- Critical Bug on mariadb - Wordpress on GCP VM HOT 2
- [Sonarqube] Issues in upgrading sonarqube from 8.9.4 to 9.9.5 LTS HOT 6
- [Wordpress] Redirect - which file to edit? HOT 15
- EJBCA - PK12 file gives an error HOT 5
- [WordPress] htaccess woocomerce uploads - public accessible HOT 4
- Lampstack php 8.2.x and mariadb 10.6.x HOT 1
- [argo-events] Create image and helm chart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vms.