Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
-
An attempt to create a Domain in Plesk fails with:
PLESK_ERROR: hosting update is failed: webstatmng: Unable to open file /opt/psa/etc/awstats/awstats.example.com-http.conf: No such file or directory
System error 2: No such file or directory
webstatmng: Unable to copy the file /etc/awstats/awstats.model.conf to /opt/psa/etc/awstats/awstats.example.com-http.conf
System error 2: No such file or directory - Plesk has been recently updated to 18.0.79 or later
- No domains are hosted on the server
- A domain(s) migration fails with the same error if the target server was also updated and has no domain hosted on it.
Cause
An awstats required directory is missing on the affected Plesk server or from the target in case of a migration.
On next reuse please contact Gabriel Aznarez for further investigation on possible support driver.
Resolution
- Connect to the Plesk server via SSH.
-
Recreate the missing directory as follows:
CentOS/RHEL:
# mkdir /usr/local/psa/etc/awstats
Debian/Ubuntu:
# mkdir /opt/psa/etc/awstats
Comments
Please sign in to leave a comment.