{"id":451,"date":"2009-12-30T14:04:39","date_gmt":"2009-12-30T18:04:39","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=451"},"modified":"2013-03-20T08:42:25","modified_gmt":"2013-03-20T12:42:25","slug":"quota-getstat-syscall-inappropriate-ioctl-for-device","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/quota-getstat-syscall-inappropriate-ioctl-for-device","title":{"rendered":"Quota getstat syscall: Inappropriate ioctl for device"},"content":{"rendered":"<p>You may receive the error message while starting a VPS on OpenVZ server.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>vzquota : (error) Quota getstat syscall for id 101: Inappropriate ioctl for device<br \/>\nvzquota init failed [3]<\/strong><\/span><\/p>\n<p>This is a typical Quota error message on OpenVZ servers while starting a VPS. The message indicates that you need to initialize quota on the VPS. You can follow the below steps to correct the issue<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>rm -f \/var\/vzquota\/quota.101<br \/>\nvzquota drop 101<br \/>\nvzctl start 101<\/strong><\/span><\/p><\/blockquote>\n<p>where, 101 is the VPS ID.<\/p>\n<p>If you continue to receive the same error message while starting the VPS,<\/p>\n<p>1. Make sure the <strong>server is booted with the OpenVZ kernel<\/strong>, you can check that out using<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>uname -a<\/strong><\/span><\/p><\/blockquote>\n<p>2. <strong>The vz service is online.<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>service vz status<\/strong><\/span><\/p><\/blockquote>\n<p>if not, restart the vz service<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>service vz start<\/strong><\/span><\/p><\/blockquote>\n<p>Once you confirm the above two things, start the vps again with the vzctl command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may receive the error message while starting a VPS on OpenVZ server.<br \/>\nvzquota : (error) Quota getstat syscall for id 101: Inappropriate ioctl for device<br \/>\nvzquota init failed [3]<br \/>\nThis is a typical Quota error message on OpenVZ servers while starting a VPS. The message indicates that you need to initialize quota on the VPS. You can follow the below steps to correct the issue<br \/>\nrm -f \/var\/vzquota\/quota.101<br \/>\nvzquota drop 101<br \/>\nvzctl start 101<br \/>\nwhere, 101 is the VPS ID.<br \/>\nIf you continue to receive the same error message while starting the VPS,<br \/>\n1. Make sure [&#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":[631,628,630,632,629],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/451"}],"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=451"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":2194,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions\/2194"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}