{"id":338,"date":"2011-11-29T23:01:09","date_gmt":"2011-11-29T15:01:09","guid":{"rendered":"https:\/\/yangtingkun.net\/?p=338"},"modified":"2011-11-29T23:01:09","modified_gmt":"2011-11-29T15:01:09","slug":"%e8%bf%90%e8%a1%8c%e8%84%9a%e6%9c%acdiagcollection-pl%e6%8a%a5%e9%94%99","status":"publish","type":"post","link":"https:\/\/yangtingkun.net\/?p=338","title":{"rendered":"\u8fd0\u884c\u811a\u672cdiagcollection.pl\u62a5\u9519"},"content":{"rendered":"<p>Oracle\u7684RAC\u63d0\u4f9b\u4e86diagcollection.pl\u811a\u672c\uff0c\u7528\u6765\u6536\u96c6CLUSTER\u548c\u6570\u636e\u5e93\u7684\u811a\u672c\u3002\u4e0d\u8fc7\u5728\u5ba2\u6237\u73af\u5883\u4e2d\u6267\u884c\u8fd9\u4e2a\u811a\u672c\u62a5\u9519\u3002<br \/>\n\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a<\/p>\n<pre lang='SQL'>[root@smsdbrac1 ora_test]# $ORA_CRS_HOME\/bin\/diagcollection.pl -crshome=$ORA_CRS_HOME -collect\r\nProduction Copyright 2004, 2005, Oracle. All rights reserved\r\nCluster Ready Services (CRS) diagnostic collection tool\r\nThe following CRS diagnostic archives will be created in the local directory.\r\ncrsData_smsdbrac1.tar.gz -> logs,traces and cores from CRS home. Note: core files will be packaged only with the -core option.\r\nocrData_smsdbrac1.tar.gz -> ocrdump, ocrcheck etc\r\ncoreData_smsdbrac1.tar.gz -> contents of CRS core files in text format\r\nCollecting crs data\r\nsh: line 1: \/bin\/tar: Argument list too long\r\ngzip: crsData_smsdbrac1.tar: No such file or directory\r\nCollecting OCR data\r\nCollecting information from core files\r\nPrevious frame inner to this frame (corrupt stack?)\r\nPrevious frame inner to this frame (corrupt stack?)\r\nThe following Oracle Home diagnostic archives will be created in the local directory.\r\noraData_smsdbrac1.tar.gz -> logs, traces and cores from Oracle Home\r\nCollecting oracle home data\r\n\/bin\/tar: Removing leading `\/' from member names<\/pre>\n<p>\u6267\u884c\u811a\u672c\u51fa\u73b0Argument list too long\u7684\u9519\u8bef\uff0c\u67e5\u8be2MOS\u53d1\u73b0\u5bfc\u81f4\u95ee\u9898\u7684\u539f\u56e0CRS\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u592a\u591a\uff0c\u4ee5\u81f4\u4e8e\u8d85\u8fc7\u4e86shell\u7684\u9650\u5236\u3002<br \/>\n\u572811g\u4e2d\u53ef\u4ee5\u4f7f\u7528\u2014afterdatevar\u6765\u9650\u5236\u65f6\u95f4\u8303\u56f4\uff0c\u4ece\u800c\u51cf\u5c11CRS\u4e2d\u91c7\u96c6\u7684\u6587\u4ef6\u6570\u91cf\u3002<br \/>\n\u5bf9\u4e8e10.2\u7248\u672c\uff0c\u9664\u4e86\u624b\u5de5\u6536\u96c6\u811a\u672c\u8fd9\u4e2a\u529e\u6cd5\u5916\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u624b\u5de5\u51cf\u5c11\u65e5\u5fd7\u6570\u91cf\u7684\u65b9\u6cd5\u3002\u8fdb\u5165$CRS_HOME\/log\/<host>\/client\u76ee\u5f55\uff0c\u5c06\u6240\u6709\u4e00\u4e2a\u6708\u524d\u7684\u65e5\u5fd7\u6253\u5305\u5e76\u538b\u7f29\uff0c\u7136\u540e\u5220\u9664\uff0c\u518d\u6b21\u8fd0\u884cdiagcollection.pl\u811a\u672c\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle\u7684RAC\u63d0\u4f9b\u4e86diagcollection.pl\u811a\u672c\uff0c\u7528\u6765\u6536\u96c6CLUSTER\u548c\u6570\u636e\u5e93\u7684\u811a\u672c\u3002\u4e0d\u8fc7\u5728\u5ba2\u6237\u73af\u5883\u4e2d\u6267\u884c\u8fd9\u4e2a\u811a\u672c\u62a5\u9519\u3002 \u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a [root@smsdbrac1 ora_test]# $ORA_CRS_HOME\/bin\/diagcollection.pl -crshome=$ORA_CRS_HOME -collect Production Copyright 2004, 2005, Oracle. All rights reserved Cluster Ready Services (CRS) diagnostic collection tool The following CRS diagnostic archives will be created in the local directory. crsData_smsdbrac1.tar.gz -> logs,traces and cores from &hellip; <a href=\"https:\/\/yangtingkun.net\/?p=338\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[254,253],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2yiY3-5s","_links":{"self":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/338"}],"collection":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=338"}],"version-history":[{"count":1,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":339,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/338\/revisions\/339"}],"wp:attachment":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}