dolphinSchedule登录失败

一、出现的问题

今天登录dolphinScheduler的时候,一直卡在登录界面,小圈圈一直转,最后提示登录失败。

二、解决方法

我的问题是数据库服务启动失败

看看你的数据库服务是否启动

service mysqld status

如果不能启动,去看一下mysql日志

cat /var/log/mysqld.log

InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 90115203 and the end 90115072.
去搜了一下
删除/var/lib/mysql目录下的ib_logfile0和ib_logfile1重新启动就可以了

参考:https://www.huaweicloud.com/articles/3634d23fc9ee82f4f8cca3544f68e489.html

然后重启MySQL服务,重启小海豚即可登录

三、记录一下解决步骤

先启动小海豚,然后追踪日志

tail -f tail -f dolphinscheduler-api-server.log 
#日志在你的安装目录下/log里面

......
[ERROR] 2021-08-17 10:40:31.290 com.alibaba.druid.pool.DruidDataSource:[2572] - create connection SQLException, url: jdbc:mysql://localhost:3306/dolphinscheduler?characterEncoding=UTF-8&allowMultiQueries=true, errorCode 0, state 08S01
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
......

报了一堆错,反反复复提示数据库连接出错

就看了一下MySQL的服务,没有启动,然后start了一把,失败。去查看MySQL日志。
cat /var/log/mysqld.log

InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint 90115203 and the end 90115072.

搜索问题
删除/var/lib/mysql目录下的ib_logfile0和ib_logfile1重新启动。
参考:https://www.huaweicloud.com/articles/3634d23fc9ee82f4f8cca3544f68e489.html

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值