This happens when a domain was removed improperly on plesk. Syntomps are
+
+
- 503 Error On websites
+
- Stopped php-fpm service
+
- Unable to restart php-fpm
+
- Following error in journalctl:
+
+
```ERROR: [pool example.com] the prefix '/var/www/vhosts/system/example.com' does not exist or is not a directory```
+
+
To solve this issue, we can take the following steps:
+
+
Confirm if the website still exists on plesk
+
1. Check the vhosts: `ls -al /var/www/vhosts/system/example.com`
+
2. See if httpd has the website in its cache: `httpd -D DUMP_VHOSTS | grep example.com`
+
3. See if the site still exists on pleskdb: `plesk db "select * from domains where name like '%example%'"`
+
::: warning
+
_Note: All these commands should return a negative or incomplete value else do needful removal from whatever throws a positive output_
+
:::
+
+
Remove the ghost file from php-fpm:
+
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`
+
2. Restart php-fpm from Plesk GUI under System Services or via cli using systemctl.
+
+
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/)