Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache and MariaDB errors #1710

Closed
robertthomasmarck opened this issue Nov 12, 2024 · 5 comments
Closed

Apache and MariaDB errors #1710

robertthomasmarck opened this issue Nov 12, 2024 · 5 comments
Assignees
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@robertthomasmarck
Copy link

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

2f07b9cf-e081-17dc-031a-3dc787a697fb

bndiagnostic output

**===== Begin of bndiagnostic tool output =====

Action '-t -f /opt/bitnami/apache2/conf/httpd.conf' failed.
The Apache error log may have more information.

? Resources: Found possible issues
? Connectivity: Found possible issues
? Mariadb: Found possible issues
✓ Processes: No issues found
✓ 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: 1947 390 314 26 1241 1346 
Swap: 0 0 0

Press [Enter] to continue:
You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.

[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/

[Mariadb]

Found recent error messages in the MariaDB error log:

2024-11-12 6:17:02 0 [ERROR] Aborting

Please check the following guide to troubleshoot MariaDB issues:

https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-mariadb/

[Apache]
Press [Enter] to continue:

Found recent error or warning messages in the Apache error log.

[Mon Nov 11 17:31:36.025980 2024] [core:error] [pid 24959:tid 140479219873536] 
[client **ip_address**:54938] AH10244: invalid URI path 
(/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32
%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh)
 [Tue Nov 12 05:17:51.292711 2024] [core:error] [pid 24960:tid 140479093982976] 
[client **ip_address**:60414] AH10244: invalid URI path 
(/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
 [Tue Nov 12 05:17:52.108067 2024] [core:error] [pid 24825:tid 140479177910016] 
[client **ip_address**:60430] AH10244: invalid URI path 
(/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32
%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh)

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:

Press [Enter] to continue:
apache2: Syntax error on line 112 of /opt/bitnami/apache2/conf/httpd.conf: 
module log_config_module is built-in and can't be loaded

Please check the configuration.

===== End of bndiagnostic tool output =====**

bndiagnostic was not useful. Could you please tell us why?

I could not find any info on clearing RAM, connectivity fix did not work, MariaDB fix relies on more memory, can't identify syntax error.

Describe your issue as much as you can

The Lightsail instance went down a few weeks ago. The website shows a database error. I have not found any fixes that work.

@robertthomasmarck robertthomasmarck added the tech-issues The user has a technical issue about an application label Nov 12, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 12, 2024
@jotamartos
Copy link
Collaborator

jotamartos commented Nov 13, 2024

apache2: Syntax error on line 112 of /opt/bitnami/apache2/conf/httpd.conf:
module log_config_module is built-in and can't be loaded

It seems there is an error in the httpd.conf file. You probably edited it by accident. Please undo the changes you made and try to restart Apache.

The website shows a database error. I have not found any fixes that work.

Try to restart the database and check the error in the log file to get more information

sudo /opt/bitnami/ctlscript.sh restart mariadb

@jotamartos jotamartos changed the title [<application>] <title> Apache and MariaDB errors Nov 13, 2024
@robertthomasmarck
Copy link
Author

I made no changes to line 112 in httpd.conf.

I tried commenting-out that line in the file just now. On reset I am still getting the same messages.

MariaDB is not resetting.

@jotamartos
Copy link
Collaborator

On reset I am still getting the same messages.

Please debug the error and solve it. If you commented-out the line, it shouldn't return that error anymore.

MariaDB is not resetting.

Check the logs under /opt/bitnami/mariadb/logs and debug the issue

Copy link

github-actions bot commented Dec 1, 2024

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Dec 1, 2024
Copy link

github-actions bot commented Dec 7, 2024

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Dec 7, 2024
@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved stale 15 days without activity tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants