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

[Wordpress] PHP-FPM not starting #1745

Open
modollarpo opened this issue Jan 5, 2025 · 1 comment
Open

[Wordpress] PHP-FPM not starting #1745

modollarpo opened this issue Jan 5, 2025 · 1 comment
Assignees
Labels
tech-issues The user has a technical issue about an application triage Triage is needed wordpress

Comments

@modollarpo
Copy link

modollarpo commented Jan 5, 2025

Platform

Azure

bndiagnostic ID know more about bndiagnostic ID

7f3c070d-73b8-231c-5766-a4eb265bfaa0

bndiagnostic output

[Apache]

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

[Sun Jan 05 02:37:27.713069 2025] [proxy_fcgi:error] [pid 30034:tid 31509]
[client **ip_address**:7444] AH01079: failed to make connection to backend:
www-fpm
 [Sun Jan 05 02:37:27.798213 2025] [proxy:error] [pid 30135:tid 32131] (2)No
such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket
Press [Enter] to continue:
/opt/bitnami/php/var/run/www.sock (www-fpm:8000) failed
 [Sun Jan 05 02:37:27.798267 2025] [proxy_fcgi:error] [pid 30135:tid 32131]
[client **ip_address**:36436] AH01079: failed to make connection to backend:
www-fpm

Please check the following guide to troubleshoot server issues:

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

A high number of incoming requests originate from one or more unique IP
addresses. This could indicate a bot attack. The following guide shows how to
check for and block suspicious IP addresses.

https://docs.bitnami.com/general/apps/wordpress/troubleshooting/deny-conne
ctions-bots-apache/

System Apache is running:

elastic+ 683 0.7 1.7 10239316 4744248 ? Sl Jan04 3:01
/usr/share/elasticsearch/jdk/bin/java -Des.networkaddress.cache.ttl=60
-Des.networkaddress.cache.negative.ttl=10 -Djava.security.manager=allow
Press [Enter] to continue:
-XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8
-Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true
-Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0
-Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true
-Dlog4j2.formatMsgNoLookups=true -Djava.locale.providers=CLDR
--enable-native-access=org.elasticsearch.nativeaccess,org.apache.lucene.core
-XX:ReplayDataFile=/var/log/elasticsearch/replay_pid

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

Press [Enter] to continue:
The files listed below are bigger than 10MB and have not been included, please notify the support agent.

/opt/bitnami/apache/logs/error_log
/opt/bitnami/apache2/logs/error_log

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

Generalized Nature of Recommendations: The tool provides high-level recommendations, but the issue might require detailed analysis of your specific server setup, application configuration, or traffic patterns.

Describe your issue as much as you can

Primary Problem:
PHP-FPM fails to start, causing Apache to be unable to serve PHP-based applications. Errors in the Apache logs suggest a failure to connect to the www.sock socket or backend.
Detailed Observations:
Apache logs show repeated connection errors to PHP-FPM.
PHP-FPM logs are not included in the diagnostic bundle but might contain additional details.
OPcache was configured but could be affecting performance or stability due to incorrect settings.
High incoming traffic might be contributing to server overload.
Additional Context:
The issue might stem from a misconfiguration of www.conf or php.ini that impacts PHP-FPM's ability to start properly. This would cascade into Apache being unable to process requests.

@modollarpo modollarpo added the tech-issues The user has a technical issue about an application label Jan 5, 2025
@github-actions github-actions bot added the triage Triage is needed label Jan 5, 2025
@jotamartos
Copy link
Collaborator

Thanks for using Bitnami. I suggest you take a look at this other thread

#1253

@jotamartos jotamartos changed the title [<Bitnami Wordpress>] <title>PHP-FPM not starting [Wordpress] PHP-FPM not starting Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-issues The user has a technical issue about an application triage Triage is needed wordpress
Projects
None yet
Development

No branches or pull requests

2 participants