Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Sep 10, 2025, 07:22 AM

Title: Website hosted in Plesk shows error 502 in the browser: AH01071: Got error
Post by: Suhitha on Sep 10, 2025, 07:22 AM
Question: Website hosted in Plesk shows error 502 in the browser: AH01071: Got error 'Primary script unknown'


Applicable to:



Symptoms



:

[proxy_fcgi:error] [pid 17521:tid 140525340448512] [client 35.181.112.20:0] AH01071: Got error 'Primary script unknown'

# There is incorrect ownership on some items in the WWW root directory
of the domain 'example.com' ............................................ [ERROR]


Cause

Incorrect domain file permissions.


Resolution

1. Connect into the server via SSH

2. Fix the domain permissions with the following Plesk utility:

# plesk repair fs example.com -y
If issue is present on several domains, execute the following command instead:

# plesk repair fs -y