• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

imc安装数据库无法连接

2021-05-31提问
  • 0关注
  • 1收藏,1265浏览
阿狸 零段
粉丝:0人 关注:0人

问题描述:

     2021-05-31 15:49:29 [WARN ] [main] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:29 [WARN ] [main] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:29 [WARN ] [main] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:29 [INFO ] [main] [com.h3c.imc.deploy.InstallLauncher::checkEnv(297)] Deploy jar file not found, first installation 2021-05-31 15:49:30 [WARN ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:40 [INFO ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1147)] start checkVm.... 2021-05-31 15:49:40 [INFO ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1147)] zip file path:/home/H3C/Standard/linux /install/./components/common/server/commonserver_linux.zip 2021-05-31 15:49:40 [INFO ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1147)] temp execute file path:/tmp/commonserv er 2021-05-31 15:49:44 [WARN ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1153)] hello run command 2021-05-31 15:49:44 [WARN ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1153)] command run ok 2021-05-31 15:49:44 [INFO ] [SwingWorker-pool-1-thread-1] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1147)] Execute [sh, anti-vm.sh, 0], return 12 6 STDOUT: STDERR: anti-vm.sh: /tmp/commonserver/anti-vm/bin/../../anti-vm/bin/anti-vm: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 2021-05-31 15:49:44 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.InstallPhysicalInfoVerification::printlnMsg(1147)] end checkVm.... 2021-05-31 15:49:44 [WARN ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:44 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.install.wizard.AgreementPanel::getAgreementText(178)] getAgreementText 2021-05-31 15:49:44 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getCustomStringWithOemInfo(3028)] agreementPanel.fileName has no custom value 2021-05-31 15:49:44 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getCustomFolderName(3062)] path:./components/common/deploy/custom 2021-05-31 15:49:45 [WARN ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:45 [WARN ] [AWT-EventQueue-0] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.EnvChecker::checkOs(540)] hello run command cat /etc/redhat-release 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.EnvChecker::checkOs(546)] version:CentOS Linux release 7.9.2009 (Core) 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.Util::checkReservedPort(1920)] InetAddress.getLocalHost():alibj-it-h3c-01/10.250.201.146 2021-05-31 15:49:45 [WARN ] [Thread-3] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor::isOracleInstalled(1598)] oracleHome is null 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor::isMySQLInstalled(1722)] MySQL Installed 2021-05-31 15:49:45 [WARN ] [Thread-3] [com.h3c.imc.deploy.Util::getInstallInfo(868)] Can not find instInfoFile - /etc/iMC-Reserved/instinfo.txt 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor::isOracleInstalled(1598)] oracleHome is null 2021-05-31 15:49:45 [INFO ] [Thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor::isMySQLInstalled(1722)] MySQL Installed 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://10.250.0.184:3306/ 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = h3c_test_rw 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 15:50:16 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 15:50:17 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 15:50:17 [ERROR] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622447416779/common/lib/conntest_my_linux" (in directory "/tmp/1622447416779/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://172.18.40.1:3306/ 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = root 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 17:42:46 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 17:42:47 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 17:42:47 [ERROR] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622454166195/common/lib/conntest_my_linux" (in directory "/tmp/1622454166195/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://172.18.40.1:3306/ 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = root 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 17:42:49 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 17:42:50 [INFO ] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 17:42:50 [ERROR] [SwingWorker-pool-1-thread-4] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622454169628/common/lib/conntest_my_linux" (in directory "/tmp/1622454169628/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://172.18.40.1:3306/ 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = root 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 17:43:24 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 17:43:25 [INFO ] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 17:43:25 [ERROR] [SwingWorker-pool-1-thread-5] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622454204574/common/lib/conntest_my_linux" (in directory "/tmp/1622454204574/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://172.18.40.1:3306/ 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = root 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 17:53:14 [INFO ] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 17:53:14 [ERROR] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622454794169/common/lib/conntest_my_linux" (in directory "/tmp/1622454794169/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2182)] cl assName:com.mysql.cj.jdbc.Driver 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2185)] UR L: jdbc:mysql://172.18.40.1:3306/ 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2189)] pa ssword = {PROTECTED} 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] al lowPublicKeyRetrieval = true 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] se rverTimezOne= Asia/Shanghai 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us er = root 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2191)] us eSSL = false 2021-05-31 17:53:17 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::checkMySQLPath(2 448)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 14.14 Distrib 5.7.34, for Linux (x86_64) using EditLine wrapper STDERR: 2021-05-31 17:53:18 [INFO ] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430 )] Change LD_LIBRARY_PATH=./ 2021-05-31 17:53:18 [ERROR] [SwingWorker-pool-1-thread-7] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394) ] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1622454797407/common/lib/conntest_my_linux" (in directory "/tmp/1622454797407/common/lib"): error=2, No such file or dire ctory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at java.base/java.lang.Runtime.exec(Runtime.java:591) at com.h3c.imc.deploy.Util.executeCommand(Util.java:4076) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doConntest(DatabaseSelectPanelDescriptor.java:2372) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2249) at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1901) at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 13 more 2021-05-31 17:53:20 [INFO ] [Thread-3] [com.h3c.imc.deploy.EnvChecker$7::run(461)] dhcp及eventlog服务重启成功了 2021-05-31 17:53:20 [INFO ] [Thread-3] [com.h3c.imc.deplo y.EnvChecker$7::run(485)] canGoon is false

组网及组网描述:


最佳答案

粉丝:2人 关注:1人

截了一段:(Thread.java:834) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.数据库安装是否完全,可以尝试卸载数据库(卸干净)重新安装尝试。

我是远端数据库 mysql+centos

阿狸 发表时间:2021-05-31 更多>>

我是远端数据库 mysql+centos

阿狸 发表时间:2021-05-31
2 个回答
粉丝:133人 关注:6人

您好,请知:

数据库无法链接,以下是排查要点,请参考:

1、检查链接数据库的用户名、密码是否正确。

2、检查数据库的服务是否能正常启动,且端口号是否可达。


使用命令连接

阿狸 发表时间:2021-05-31 更多>>

我是远端数据库 本地测试正常

阿狸 发表时间:2021-05-31

使用命令连接

阿狸 发表时间:2021-05-31
阿狸 知了小白
粉丝:0人 关注:0人

2021-05-31 14:50:42 [INFO ] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::getFixedEnv(2430
)] Change LD_LIBRARY_PATH=./
2021-05-31 14:50:42 [ERROR] [SwingWorker-pool-1-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doConntest(2394)
] Execute 'conntest' failed
java.io.IOException: Cannot run program "/tmp/1622443841968/common/lib/conntest_my_linux" (in directory "/tmp/1622443841968/common/lib"): error=2, No such file or dire
ctory

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明