{"id":453,"date":"2009-04-09T23:53:24","date_gmt":"2009-04-09T14:53:24","guid":{"rendered":"https:\/\/tksm.org\/wordpress\/2009\/04\/09\/20090409235324.php"},"modified":"2009-12-05T12:19:06","modified_gmt":"2009-12-05T03:19:06","slug":"openvz-centos5-udev-%e3%81%be%e3%81%a8%e3%82%81%ef%bc%89","status":"publish","type":"post","link":"https:\/\/tksm.org\/wp\/archives\/453","title":{"rendered":"OpenVZ (CentOS5 udev \u307e\u3068\u3081\uff09"},"content":{"rendered":"<p>OpenVZ\u4e0a\u306eCentOS5\u306e\u6bce\u56de\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067udev\u95a2\u4fc2\u3067\u30cf\u30de\u30eb\u4ef6\u3067\u3059\u304c\u3001\u305f\u3076\u3093\u89e3\u6c7a\u3067\u304d\u305f\u306e\u3067\u307e\u3068\u3081<br \/>\n\uff1c\u767a\u751f\u539f\u56e0\uff1e<br \/>\nCentOS5.0\u30ea\u30ea\u30fc\u30b9\u76f4\u5f8c\u306econtrib\u3067\u516c\u958b\u3055\u308c\u3066\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a4\u30e1\u30fc\u30b8\u306fudev\u95a2\u4fc2\u306e\u5bfe\u5fdc\u304c\u3057\u3066\u306a\u3044\u306e\u3067udev\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3068\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308a\u4e0d\u5177\u5408\u304c\u767a\u751f\u3059\u308b\u3002<br \/>\n\uff1c\u5bfe\u51e6\uff11 \u5931\u6557\uff1e<br \/>\n\/dev\u306e\u4e2d\u8eab\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u3044\u3066udev\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u5f8c\/dev\/\u3092\u5dee\u3057\u66ff\u3048\u3066\u307f\u305f\u3002<br \/>\nudev\u3092\u8d77\u52d5\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304a\u3044\u305f\u3002<br \/>\n<a href=\"https:\/\/tksm.org\/mt\/2007\/05\/23\/200705234705.php\">OpenVZ(CentOS5)<\/a><br \/>\n\uff1c\u5bfe\u51e6\uff12 \u5931\u6557\uff1e<br \/>\nCentOS5.2\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u969b\u306bvzctl enter xxx \u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u3001udev\u304b\u3089tty0\u3068ptmx\u3092\u4f5c\u6210\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u307f\u305f<br \/>\n<a href=\"https:\/\/tksm.org\/mt\/2008\/06\/25\/200806253855.php\">OpenVZ (CentOS5 udev \u3064\u3065\u304d\uff09<\/a><br \/>\n\uff1c\u72b6\u6cc1\uff1e<br \/>\nCentOS5.3\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3068\u3053\u308drpm\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<pre>\n#yum update\nLoaded plugins: fastestmirror\n\u30a8\u30e9\u30fc: dbpath \u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\n\u30a8\u30e9\u30fc: \/%{_dbpath} \u306b\u3042\u308b Package \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u307e\u305b\u3093\u3002\nTraceback (most recent call last):\nFile \"\/usr\/bin\/yum\", line 29, in ?\nyummain.user_main(sys.argv[1:], exit_code=True)\nFile \"\/usr\/share\/yum-cli\/yummain.py\", line 229, in user_main\nerrcode = main(args)\nFile \"\/usr\/share\/yum-cli\/yummain.py\", line 84, in main\nbase.getOptionsConfig(args)\nFile \"\/usr\/share\/yum-cli\/cli.py\", line 184, in getOptionsConfig\nenabled_plugins=self.optparser._splitArg(opts.enableplugins))\nFile \"\/usr\/lib\/python2.4\/site-packages\/yum\/__init__.py\", line 191, in _getConfig\nself._conf = config.readMainConfig(startupconf)\nFile \"\/usr\/lib\/python2.4\/site-packages\/yum\/config.py\", line 754, in readMainConfig\nyumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)\nFile \"\/usr\/lib\/python2.4\/site-packages\/yum\/config.py\", line 824, in _getsysver\nidx = ts.dbMatch('provides', distroverpkg)\nTypeError: rpmdb open failed\n<\/pre>\n<p>\uff1c\u539f\u56e0\uff1e<br \/>\n\u4ee5\u524d\u4f5c\u3089\u306a\u304f\u3057\u305fptmx\u304c\u306a\u3044\u3068CentOS5.3\u306e\u969b\u306b\u3042\u304c\u308brpm-4.4.2.3-9.el5\u304c\u52d5\u304b\u306a\u3044\u6a21\u69d8\u3002<br \/>\n\uff1c\u691c\u8a3c\uff1e<br \/>\n\u6700\u8fd1\u306e\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308bCentOS5.2\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3060\u3068\u554f\u984c\u306a\u3044\u3002\u9055\u3044\u3092\u8abf\u3079\u308b\u3068\u300c\/etc\/udev\/devices\u300d\u306a\u3093\u3066\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308a\u3001udev\u8d77\u52d5\u6642\u306b\u3053\u306e\u4e2d\u8eab\u306f\/dev\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3089\u3057\u3044\u3002<br \/>\n<a href=\"http:\/\/download.openvz.org\/template\/precreated\/\">http:\/\/download.openvz.org\/template\/precreated\/<\/a><br \/>\n\uff1c\u5bfe\u51e6\uff1e<br \/>\n\u3093\u3058\u3083\u3001\/etc\/udev\/devices\u3092\u3082\u3063\u3066\u3053\u308c\u3070\u3044\u3044\u3079\uff01\u3063\u3066\u3053\u3068\u3067\u3001\u6700\u8fd1\u306e\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u308b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u300c\/etc\/udev\/devices\u300d\u3092tar\u3067\u304b\u305f\u3081\u3066\u52d5\u304b\u306a\u3044VE\u306b\u3082\u3063\u3066\u304d\u3066VE\u518d\u8d77\u52d5\u3067\u5fa9\u65e7(^\u25c7^)\u30ce \u30a4\u30a8\u30a3(\u7b11)<br \/>\n\uff1c\u8003\u5bdf\uff1e<br \/>\n\u30cd\u30c3\u30c8\u3067\u3057\u3089\u3079\u3066\u3082\u30cf\u30de\u3063\u3066\u3044\u308b\u4eba\u304c\u898b\u3064\u304b\u3089\u305a\u3001\u521d\u671f\u306e\u30ea\u30ea\u30fc\u30b9(contrib)\u306e\u3082\u306e\u3092\u3064\u304b\u3063\u3066\u305f\u304b\u3089\u304b\u3082\u3057\u3089\u3093\u3002\u4eca\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3060\u3068\u554f\u984c\u306a\u304f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304d\u308b\u3057\u3002<br \/>\n\u304a\u3057\u307e\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenVZ\u4e0a\u306eCentOS5\u306e\u6bce\u56de\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067udev\u95a2\u4fc2\u3067\u30cf\u30de\u30eb\u4ef6\u3067\u3059\u304c\u3001\u305f\u3076\u3093\u89e3\u6c7a\u3067\u304d\u305f\u306e\u3067\u307e\u3068\u3081 \uff1c\u767a\u751f\u539f\u56e0\uff1e CentOS5.0\u30ea\u30ea\u30fc\u30b9\u76f4\u5f8c\u306econtrib\u3067\u516c\u958b\u3055\u308c\u3066\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a4\u30e1\u30fc\u30b8\u306fudev\u95a2\u4fc2\u306e\u5bfe &hellip; <a href=\"https:\/\/tksm.org\/wp\/archives\/453\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;OpenVZ (CentOS5 udev \u307e\u3068\u3081\uff09&#8221;\u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"views":3215,"_links":{"self":[{"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":1,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":580,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/posts\/453\/revisions\/580"}],"wp:attachment":[{"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tksm.org\/wp\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}