nacos启动时如果外部数据源还没启动导致nacos实际启动失败 nacos上的服务实例变成僵尸服务

nacos启动时如果外部数据源还没启动导致nacos实际启动失败 nacos上的服务实例变成僵尸服务是什么原因啊? 必须要重启服务 服务实例才会恢复正常

展开
收起
鸡蛋灌饼儿 2023-02-12 11:46:14 524 分享 版权
1 条回答
写回答
取消 提交回答
  • 同问,遇到了同样的问题,重启服务器的时候,由于访问derby数据库失败,导致nacos成为了僵尸进程,8848,8898都监听,但是实际无法提供外部访问。必须重启nacos才能恢复。 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'nacosUserDetailsServiceImpl': Unsatisfied dependency expressed through field 'userPersistService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'embeddedUserPersistServiceImpl': Unsatisfied dependency expressed through field 'databaseOperate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'standaloneDatabaseOperateImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: com.alibaba.nacos.api.exception.runtime.NacosRuntimeException: errCode: 500, errMsg: load schema.sql error.

    2023-03-30 19:28:43
    赞同 展开评论

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

收录在圈子:
+ 订阅
阿里云 云原生应用平台 肩负阿里巴巴集团基础设施云化以及核心技术互联网化的重要职责,致力于打造稳定、标准、先进的云原生产品,成为云原生时代的引领者,推动行业全面想云原生的技术升级,成为阿里云新增长引擎。商业化产品包括容器、云原生中间件、函数计算等。
还有其他疑问?
咨询AI助理