FAQ:ServiceUnavailable : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
(Création d'un FAQ pour les problèmes PHP8+)
 
m
Ligne 9 : Ligne 9 :
  
 
cat /var/log/httpd/error_log
 
cat /var/log/httpd/error_log
 +
cat /var/log/httpd/access_log
  
cat /var/log/httpd/access_log
+
cat /var/log/php-fpm/error.log
 +
cat /var/log/php-fpm/www-error.log
  
 
chown -R dbsqware:dba /var/log/php-fpm /var/log/httpd
 
chown -R dbsqware:dba /var/log/php-fpm /var/log/httpd

Version du 17 mai 2024 à 10:32

Depuis quelques patch lors de la mise à jour des paquets php-fpm les droits saisies à l'origine sont ignorés

donc on ne peut plus ouvrir la page web de dbSQWare et vous avez l'erreur Service Unavailable

ServiceUnavailable.png

Il faut vérifier dans les log apache pour voir ce qui pose problème.

cat /var/log/httpd/error_log cat /var/log/httpd/access_log

cat /var/log/php-fpm/error.log cat /var/log/php-fpm/www-error.log

chown -R dbsqware:dba /var/log/php-fpm /var/log/httpd chmod -R g+rw /var/log/php-fpm /var/log/httpd chmod -R g+s /var/log/php-fpm /var/log/httpd

systemctl restart php-fpm systemctl restart httpd