{"id":159,"date":"2012-07-24T18:41:52","date_gmt":"2012-07-24T18:41:52","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/blog\/?p=159"},"modified":"2023-02-01T13:29:12","modified_gmt":"2023-02-01T13:29:12","slug":"error-required-ub-parameter-swappages-not-set","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/","title":{"rendered":"Error: required UB parameter swappages not set"},"content":{"rendered":"<p>When restarting a <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/vps-hosting\/\">VPS<\/a> on your node, you will receive the error. The VPS won&#8217;t start from command prompt as well as GUI.<\/p>\n<blockquote><p><strong>Error: required UB parameter swappages not set<\/strong><\/p><\/blockquote>\n<p>This is because swappages are not set for that particular VPS. You will need to set it with command<\/p>\n<blockquote><p><strong>vzctl set VEID &#8211;swappages=100:100 &#8211;save<\/strong><\/p><\/blockquote>\n<p>Now, try starting the VPS, it should work.<\/p>\n<p><strong>Note<\/strong>: Replace VEID with your actual VPS ID.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When restarting a VPS on your node, you will receive the error. The VPS won&#8217;t start from command prompt as well as GUI. Error: required UB parameter swappages not set This is because swappages are not set for that particular VPS. You will need to set it with command vzctl set VEID &#8211;swappages=100:100 &#8211;save Now,&#8230; <a class=\"read-more\" href=\"https:\/\/www.milesweb.co.uk\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[365],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-vps"],"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":13400,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions\/13400"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}