{"id":159,"date":"2012-07-24T18:41:52","date_gmt":"2012-07-24T18:41:52","guid":{"rendered":"http:\/\/www.milesweb.com\/blog\/?p=159"},"modified":"2023-02-01T18:58:25","modified_gmt":"2023-02-01T13:28:25","slug":"error-required-ub-parameter-swappages-not-set","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/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.in\/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<p><strong>Error: required UB parameter swappages not set<\/strong><\/p>\n<p>This is because swappages are not set for that particular VPS. You will need to set it with command<\/p>\n<p><strong>vzctl set VEID &#8211;swappages=100:100 &#8211;save<\/strong><\/p>\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.in\/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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Error: required UB parameter swappages not set<\/title>\n<meta name=\"description\" content=\"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error: required UB parameter swappages not set\" \/>\n<meta property=\"og:description\" content=\"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting Blogs by MilesWeb | WordPress, Cloud &amp; SEO Tips\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-24T18:41:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-01T13:28:25+00:00\" \/>\n<meta name=\"author\" content=\"Neha Khanna\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Neha Khanna\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\",\"url\":\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\",\"name\":\"Error: required UB parameter swappages not set\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/blog\/#website\"},\"datePublished\":\"2012-07-24T18:41:52+00:00\",\"dateModified\":\"2023-02-01T13:28:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/92e28debc55550c9cf3d9eb47af1d6e7\"},\"description\":\"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error: required UB parameter swappages not set\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/blog\/#website\",\"url\":\"https:\/\/www.milesweb.in\/blog\/\",\"name\":\"Web Hosting Blogs by MilesWeb | WordPress, Cloud &amp; SEO Tips\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/92e28debc55550c9cf3d9eb47af1d6e7\",\"name\":\"Neha Khanna\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/blog\/wp-content\/uploads\/2024\/12\/neha.jpeg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/blog\/wp-content\/uploads\/2024\/12\/neha.jpeg\",\"caption\":\"Neha Khanna\"},\"description\":\"Neha Kahnna is a professional content writer associated with MilesWeb. She curates articles on web hosting, latest SEO trends and technology topics. Her insightful content captivates the reader\u2019s attention and deliver a higher learning ROI.\",\"sameAs\":[\"https:\/\/www.milesweb.com\/\"],\"url\":\"https:\/\/www.milesweb.in\/blog\/author\/neha-khanna\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error: required UB parameter swappages not set","description":"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/","og_locale":"en_US","og_type":"article","og_title":"Error: required UB parameter swappages not set","og_description":"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.","og_url":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/","og_site_name":"Web Hosting Blogs by MilesWeb | WordPress, Cloud &amp; SEO Tips","article_published_time":"2012-07-24T18:41:52+00:00","article_modified_time":"2023-02-01T13:28:25+00:00","author":"Neha Khanna","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Neha Khanna","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/","url":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/","name":"Error: required UB parameter swappages not set","isPartOf":{"@id":"https:\/\/www.milesweb.in\/blog\/#website"},"datePublished":"2012-07-24T18:41:52+00:00","dateModified":"2023-02-01T13:28:25+00:00","author":{"@id":"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/92e28debc55550c9cf3d9eb47af1d6e7"},"description":"Restarting VPS server and facing the error on node. Here is a detailed guide to fix the error.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/blog\/hosting\/vps\/error-required-ub-parameter-swappages-not-set\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Error: required UB parameter swappages not set"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/blog\/#website","url":"https:\/\/www.milesweb.in\/blog\/","name":"Web Hosting Blogs by MilesWeb | WordPress, Cloud &amp; SEO Tips","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/92e28debc55550c9cf3d9eb47af1d6e7","name":"Neha Khanna","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/blog\/wp-content\/uploads\/2024\/12\/neha.jpeg","contentUrl":"https:\/\/www.milesweb.in\/blog\/wp-content\/uploads\/2024\/12\/neha.jpeg","caption":"Neha Khanna"},"description":"Neha Kahnna is a professional content writer associated with MilesWeb. She curates articles on web hosting, latest SEO trends and technology topics. Her insightful content captivates the reader\u2019s attention and deliver a higher learning ROI.","sameAs":["https:\/\/www.milesweb.com\/"],"url":"https:\/\/www.milesweb.in\/blog\/author\/neha-khanna\/"}]}},"views":12517,"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":17289,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions\/17289"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/blog\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}