× Installation and guides about a great free, plesk and cpanel alternative project

CWP 502 Bad Gateway error?

Περισσότερα
3 Χρόνια 5 Μήνες πριν - 3 Χρόνια 5 Μήνες πριν #104 από infogate
CWP 502 Bad Gateway error? δημιουργήθηκε από infogate
If you force PHP-FPM and you deal with 502 bad gateway error try the following

1. Check whether the status of the service using the below command.
systemctl status cwp-phpfpm

2. Try to find the User that caused the error by checking the log files.
tail /usr/local/cwp/php71/var/log/php-fpm.log

3. If there is a user causing the problem and the service can not start then remove the user configuration file
rm -f /usr/local/cwp/php71/etc/php-fpm.d/users/user.conf

4. Try to start the PHP-FPM service running the following command
systemctl start cwp-phpfpm

5. If you still have problem use the following command replacing the username with your username
# su USERNAME -c "touch /home/USERNAME/.quota-check" -s /bin/bash

6. If nothing of the above gives you peace in mind then do the following. (mostly if you are using a container)
Edit the following file

"/etc/pam.d/su"

to change all "session" variables to "OPTIONAL"

so that the file looks like this:
session--optional-- system-auth
session--optional--postlogin
session--optional--pam_xauth.so


The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal

Last edit: 3 Χρόνια 5 Μήνες πριν by infogate.

Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.

Χρόνος δημιουργίας σελίδας: 0.059 δευτερόλεπτα
Powered by Kunena Φόρουμ