- Plesk for Linux
webmail.example.comwebsite shows Plesk default page or the following error:
CONFIG_TEXT: HTTP 404 Not Found
/etc/nginx/plesk.conf.d/webmails/example.com_webmail.confare empty and not included in Apache configuration:
# apache2ctl -S | grep example.com
ip_addr_idparameter is missing from dom_param table:
# plesk db "select * from dom_param where dom_id=47 and param='ip_addr_id'";
Empty set (0.00 sec)
The webmail configuration file is incomplete for the affected domain:
# cat /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
The Hosting type is set to the No web hosting value on the Plesk > Domains > example.com > Hosting Settings page.
A Plesk upgrade was performed previously.
Database inconsistency after an upgrade.
This is Plesk bug #PPPM-6053 which will be fixed in future product updates.
Until a fix becomes available, the following workaround can be used:
Go to Plesk > Domains > example.com > Hosting Settings.
Click the Change link opposite the Hosting type | No hosting.
Switch the Hosting type directive to the Website Hosting value.
Fill the appeared Username, Password and Confirm password fields and press the Apply button.
Change the Hosting type back to the No web hosting value and the OK button.
Note: if the Apache restart interval (seconds) is set to the high value on the Plesk > Tools & Settings > Apache Web Server page, it is required to additionally restart the Web Server (Apache) service via Plesk > Tools & Settings > Services Management to apply newly generated webmail configuration files.
If the Apache restart interval (seconds) is set to zero value, no service restart is required.