ucenter在CentOs7.4+mariadb5.5 下安装时一直报连接数据库失败。
在命令行下测试本地和远程都能正常登录数据库,
在/etc/iMC-Reserved/log中有以下报错内容,该如何解决?
2020-03-31 14:09:23 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::c(1696)] Execute 'mysql -V', return: 0 STDOUT: mysql Ver 15.1 Distrib 5.5.56-MariaDB, for Linux (x86_64) using readline 5.1
STDERR:
2020-03-31 14:09:24 [INFO ] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::b(1672)] Change LD_LIBRARY_PATH=./:/home/imc/linux/install/common/jre_linux64/lib/amd64/server:/home/imc/linux/install/common/jre_linux64/lib/amd64:/home/imc/linux/install/common/jre_linux64/../lib/amd64
2020-03-31 14:09:24 [ERROR] [SwingWorker-pool-1-thread-3] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::a(1642)] Execute 'conntest' failed java.io.IOException: Cannot run program "/tmp/1585634963012/common/lib/conntest_my_linux" (in directory "/tmp/1585634963012/common/lib"): java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470) at java.lang.Runtime.exec(Runtime.java:593)
at com.h3c.imc.deploy.Util.executeCommand(Util.java:3575)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.a(DatabaseSelectPanelDescriptor.java:1620)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1497)
at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:1320)
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论