二进制安装MySQL后cloudera-scm-server status启动几秒后就挂掉
/opt/cm-5.11.0/etc/init.d/cloudera-scm-server status
clouderascmserver dead but pid file exists
删除pid重启依旧,查看日志
[root@cdh1 log]# cat /opt/cm-5.11.0/log/cloudera-scm-server/log/cloudera-scm-server.log|grep ERROR
2017-06-17 07:27:55,888 ERROR main:org.hibernate.engine.jdbc.spi.SqlExceptionHelper: Table 'scm.CM_VERSION' doesn't exist
用rpm包安装MySQL就能正常运行
二进制安装mysql导致的这个问题,原因尚不清楚,初始化是一样的
/opt/cm-5.11.0/share/cmf/schema/scm_prepare_database.shmysql -hcdh1 -uroot -p123456 --scm-host cdh1 scm scm scm
|