Blame

ca4568 Arpan S. 2024-06-20 11:21:55 1
# Plesk
2
3
### 503 on Websites
4
When a site throws 50X errors, most times its the backend application that is causing issues.
5
74d50a Arpan S. 2024-06-20 11:36:05 6
#### PHP Realted:
451e07 Arpan S. 2024-06-20 11:35:01 7
74d50a Arpan S. 2024-06-20 11:36:05 8
##### Plesk incomplete domain removal
add511 Arpan S. 2024-06-20 11:35:49 9
451e07 Arpan S. 2024-06-20 11:35:01 10
This happens when a domain was removed improperly on plesk. Syntomps are
11
12
- 503 Error On websites
13
- Stopped php-fpm service
14
- Unable to restart php-fpm
15
- Following error in journalctl:
16
17
```ERROR: [pool example.com] the prefix '/var/www/vhosts/system/example.com' does not exist or is not a directory```
18
19
To solve this issue, we can take the following steps:
20
21
Confirm if the website still exists on plesk
22
1. Check the vhosts: `ls -al /var/www/vhosts/system/example.com`
23
2. See if httpd has the website in its cache: `httpd -D DUMP_VHOSTS | grep example.com`
24
3. See if the site still exists on pleskdb: `plesk db "select * from domains where name like '%example%'"`
25
::: warning
26
_Note: All these commands should return a negative or incomplete value else do needful removal from whatever throws a positive output_
27
:::
28
29
Remove the ghost file from php-fpm:
30
1. Change the X.X to the php version and set the right conf file in the path to remove the config: `rm /opt/plesk/php/X.X/etc/php-fpm.d/example.com.conf`
31
2. Restart php-fpm from Plesk GUI under System Services or via cli using systemctl.
32
33
Done. This issue should be solved now. [Refrence](https://www.plesk.com/kb/support/various-actions-fail-in-plesk-the-prefix-var-www-vhosts-system-example-com-does-not-exist-or-is-not-a-directory-fpm-initialization-failed/)
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9