{"id":61,"date":"2009-09-22T16:45:26","date_gmt":"2009-09-22T20:45:26","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=61"},"modified":"2013-03-20T08:39:38","modified_gmt":"2013-03-20T12:39:38","slug":"failed-domain-creation-mailmng-failed","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/failed-domain-creation-mailmng-failed","title":{"rendered":"Failed domain creation: mailmng failed"},"content":{"rendered":"<p>If you receive &#8220;virtual.db: No such file or directory&#8221; error message while adding a domain in Plesk control panel, you need to create the virtual.db file and place it in the proper location. The complete error message looks like:<\/p>\n<blockquote><p><strong>Failed domain creation: Unable to update domain data: mailmng failed: Fatal error: plesk::mail::postfix::PostfixConfigurationError(postmap:fatal:open database \/var\/spool\/postfix\/plesk\/virtual.db: No such file or directory)<\/strong><\/p><\/blockquote>\n<p>You need to manually fix the problem:<br \/>\n#Create the virtual.db file<br \/>\n    <strong>postmap \/etc\/postfix\/virtual<\/strong><\/p>\n<p>#Copy the .db file to the location you see in the error message:<br \/>\n    <strong>cp \/etc\/postfix\/virtual.db \/var\/spool\/postfix\/plesk\/virtual.db <\/strong><\/p>\n<p>This will allow you to add domains on your server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you receive &#8220;virtual.db: No such file or directory&#8221; error message while adding a domain in Plesk control panel, you need to create the virtual.db file and place it in the proper location. The complete error message looks like:<br \/>\nFailed domain creation: Unable to update domain data: mailmng failed: Fatal error: plesk::mail::postfix::PostfixConfigurationError(postmap:fatal:open database \/var\/spool\/postfix\/plesk\/virtual.db: No such file or directory)<br \/>\nYou need to manually fix the problem:<br \/>\n#Create the virtual.db file<br \/>\n    postmap \/etc\/postfix\/virtual<br \/>\n#Copy the .db file to the location you see in the error message:<br \/>\n    cp [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[75,73,76,74],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":2109,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/2109"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}