g3bi1120:bcard1 > ./runcluvfy.sh stage -pre crsinst -n g3bi1110,g3bi1120 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node "g3bi1120" Destination Node Reachable? ------------------------------------ ------------------------ g3bi1110 yes g3bi1120 yes Result: Node reachability check passed from node "g3bi1120". Checking user equivalence... Check: User equivalence for user "opbcard" Node Name Comment ------------------------------------ ------------------------ g3bi1110 failed g3bi1120 failed Result: User equivalence check failed for user "opbcard". ERROR: User equivalence unavailable on all the nodes. Verification cannot proceed. Pre-check for cluster services setup was unsuccessful on all the nodes. |
$ pwd /tmp/1581058 $ ls -l total 0 drwxrwxr-x 2 opbcard dba 256 Jul 19 2005 bin drwxr-xr-x 5 opbcard dba 256 Jul 16 2005 cv drwxrwxr-x 2 opbcard dba 256 Aug 16 2005 jlib drwxr-xr-x 4 opbcard dba 256 Aug 25 19:19 jre drwxrwxr-x 2 opbcard dba 256 Jul 19 2005 lib drwxrwxr-x 2 opbcard dba 256 Jul 19 2005 lib32 drwxrwxr-x 2 opbcard dba 256 Jul 19 2005 log |
检查cvutrace.log.0里面的内容发现错误出现在,ssh连接成功显示banner的地方,所以问题找到了,应该是banner作怪。当时看到metalink上300548.1说disable banner是在/etc/banner里面设置,aix上没有这个文件以为就没有关系了,结果搞了很久。
[Worker 0] [10:36:31:487] [UnixSystem.isNodeAccessible:821] Checking accessibility of node: g3bi1110; Wed Au g 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:487] [UnixSystem.isNodeAccessible:821] Checking accessibility of node: g3bi1120; Wed Au g 24 10:36:31 GMT+08:00 2011 [main] [10:36:31:488] [Semaphore.acquire:109] ClientResource Constructor:Blocking Semaphore owned by main:Ac quire called by thread main m_count=0; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:489] [UnixSystem.checkRemoteExecutionSetup:1819] checkRemoteExecutionSetup:: Checking u ser equivalence using Secured Shell '/usr/bin/ssh'; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:489] [UnixSystem.checkRemoteExecutionSetup:1819] checkRemoteExecutionSetup:: Checking u ser equivalence using Secured Shell '/usr/bin/ssh'; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:991] [UnixSystem.checkRemoteExecutionSetup:1821] checkRemoteExecutionSetup:: Running Un ix command: /usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 g3bi1120 /usr/bin/true; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:992] [UnixSystem.checkRemoteExecutionSetup:1821] checkRemoteExecutionSetup:: Running Un ix command: /usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 g3bi1110 /usr/bin/true; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:992] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command ; Wed Aug 24 1 0:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:993] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command ; Wed Aug 24 1 0:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:993] [RuntimeExec.runCommand:76] /usr/bin/ssh ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:994] [RuntimeExec.runCommand:76] /usr/bin/ssh ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:994] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:995] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:996] [RuntimeExec.runCommand:76] FallBackToRsh=no ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:996] [RuntimeExec.runCommand:76] FallBackToRsh=no ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:997] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:997] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:31:998] [RuntimeExec.runCommand:76] PasswordAuthentication=no ; Wed Aug 24 10:36:31 GMT+08 :00 2011 [Worker 0] [10:36:31:998] [RuntimeExec.runCommand:76] PasswordAuthentication=no ; Wed Aug 24 10:36:31 GMT+08 :00 2011 [Worker 2] [10:36:31:999] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 0] [10:36:31:999] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:31 GMT+08:00 2011 [Worker 2] [10:36:32:0] [RuntimeExec.runCommand:76] StrictHostKeyChecking=yes ; Wed Aug 24 10:36:32 GMT+08:0 0 2011 [Worker 0] [10:36:32:0] [RuntimeExec.runCommand:76] StrictHostKeyChecking=yes ; Wed Aug 24 10:36:32 GMT+08:0 0 2011 [Worker 2] [10:36:32:1] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 0] [10:36:32:1] [RuntimeExec.runCommand:76] -o ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 2] [10:36:32:247] [RuntimeExec.runCommand:76] NumberOfPasswordPrompts=0 ; Wed Aug 24 10:36:32 GMT+08 :00 2011 [Worker 0] [10:36:32:247] [RuntimeExec.runCommand:76] NumberOfPasswordPrompts=0 ; Wed Aug 24 10:36:32 GMT+08 :00 2011 [Worker 2] [10:36:32:248] [RuntimeExec.runCommand:76] g3bi1120 ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 0] [10:36:32:248] [RuntimeExec.runCommand:76] g3bi1110 ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 2] [10:36:32:249] [RuntimeExec.runCommand:76] /usr/bin/true ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 0] [10:36:32:249] [RuntimeExec.runCommand:76] /usr/bin/true ; Wed Aug 24 10:36:32 GMT+08:00 2011 [Worker 2] [10:36:33:135] [RuntimeExec.runCommand:131] runCommand: Waiting for the process; Wed Aug 24 10:36 :33 GMT+08:00 2011 [Worker 0] [10:36:33:548] [RuntimeExec.runCommand:131] runCommand: Waiting for the process; Wed Aug 24 10:36 :33 GMT+08:00 2011 [Thread-6] [10:36:33:550] [StreamReader.run:61] In StreamReader.run ; Wed Aug 24 10:36:33 GMT+08:00 2011 [Thread-4] [10:36:33:548] [StreamReader.run:61] In StreamReader.run ; Wed Aug 24 10:36:33 GMT+08:00 2011 [Thread-7] [10:36:33:138] [StreamReader.run:61] In StreamReader.run ; Wed Aug 24 10:36:33 GMT+08:00 2011 [Thread-5] [10:36:33:549] [StreamReader.run:61] In StreamReader.run ; Wed Aug 24 10:36:33 GMT+08:00 2011 [Thread-7] [10:36:35:706] [StreamReader.run:65] ERROR>****************************************************** *************************; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:706] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:707] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:707] [StreamReader.run:65] ERROR>* Welcome to AIX Version 5.3! *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:707] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:708] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:708] [StreamReader.run:65] ERROR>* Please see the README file in /usr/lpp/bos for info rmation pertinent to *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:708] [StreamReader.run:65] ERROR>* this release of the AIX Operating System. *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:709] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:709] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:710] [StreamReader.run:65] ERROR>****************************************************** *************************; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-7] [10:36:35:710] [StreamReader.run:65] ERROR>Authorized uses only. All activity may be monitored an d reported.; Wed Aug 24 10:36:35 GMT+08:00 2011 [Thread-6] [10:36:36:31] [StreamReader.run:65] ERROR>******************************************************* ************************; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:32] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:32] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:33] [StreamReader.run:65] ERROR>* Welcome to AIX Version 5.3! *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:33] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:34] [StreamReader.run:65] ERROR>* *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:34] [StreamReader.run:65] ERROR>* Please see the README file in /usr/lpp/bos for infor mation pertinent to *; Wed Aug 24 10:36:36 GMT+08:00 2011 [Thread-6] [10:36:36:35] [StreamReader.run:65] ERROR>* this release of the AIX Operating System. *; Wed Aug 24 10:36:36 GMT+08:00 2011 |
Aix disable benner的方法:
注释掉/etc/ssh目录下sshd_config中的” #Banner /etc/motd”的行,然后把/etc/motd改成其它名,重启sshd服务stopsrc -s sshd, startsrc -s sshd
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15779287/viewspace-705830/,如需转载,请注明出处,否则将追究法律责任。