{"id":500,"date":"2010-01-31T11:36:58","date_gmt":"2010-01-31T15:36:58","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=500"},"modified":"2013-03-20T08:42:24","modified_gmt":"2013-03-20T12:42:24","slug":"unable-to-start-init-probably-incorrect-template","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/unable-to-start-init-probably-incorrect-template","title":{"rendered":"Unable to start init, probably incorrect template"},"content":{"rendered":"<p>You may receive an error <strong>&#8220;Unable to start init, probably incorrect template&#8221;<\/strong> while starting a VPS. The &#8220;incorrect template&#8221; problem occurs when the &#8220;init&#8221; on the VPS goes missing. The init file resides under \/sbin i.e. check<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>ls -la \/vz\/private\/VEID\/sbin\/init<\/strong><\/span><\/p><\/blockquote>\n<p>of a VPS. If the file is missing or the file size is zero, your VPS won&#8217;t start. In order to resolve problem, you can either copy the &#8216;init&#8217; from a different VPS using the same OS template i.e.<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>cp \/vz\/root\/VEID1\/sbin\/init \/vz\/private\/VEID\/sbin\/<\/strong><\/span><\/p><\/blockquote>\n<p><strong>OR<\/strong><\/p>\n<p>you can untar the OS template located under \/vz\/template\/cache\/ directory and copy the &#8216;init&#8217; file there i.e.<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>tar -zxf \/vz\/template\/cache\/os_template.tar.gz<br \/>\ncp \/vz\/template\/cache\/sbin\/init \/vz\/private\/VEID\/sbin\/<\/strong><\/span><\/p><\/blockquote>\n<p>Once done, you will be able to start your VPS.<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>vzctl start VEID<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>You may receive an error &#8220;Unable to start init, probably incorrect template&#8221; while starting a VPS. The &#8220;incorrect template&#8221; problem occurs when the &#8220;init&#8221; on the VPS goes missing. The init file resides under \/sbin i.e. check<br \/>\nls -la \/vz\/private\/VEID\/sbin\/init<br \/>\nof a VPS. If the file is missing or the file size is zero, your VPS won&#8217;t start. In order to resolve problem, you can either copy the &#8216;init&#8217; from a different VPS using the same OS template i.e.<br \/>\ncp \/vz\/root\/VEID1\/sbin\/init \/vz\/private\/VEID\/sbin\/<br \/>\nOR<br \/>\nyou can untar the OS template located under \/vz\/template\/cache\/ directory [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[676,675,673,674,677,678,672,671],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/500"}],"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=500"}],"version-history":[{"count":6,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":2188,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/500\/revisions\/2188"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}