Recently, an update and a reboot of CWP on Rocky 8, i encountered 502 Bad Gateway error on CWP User end services (Like mail, roundcube and user panel).

I started searching on internet for what could be the reason, for 2 hours i went through many forums, threads, complicated configuration posts.

Turns out it maybe a simple fix. When I checked a few things and one specific helpful posts at, it turned out to be a really simple fix.

So, open SSH terminal with root and check if the following service is running or not!

systemctl status cwp-phpfpm

If its not running or active, then run the following command:

systemctl start cwp-phpfpm

Original Article:

Categorized in:


Last Update: March 22, 2024