New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jumpserver coco迁移之后,coco无法启动 #1826

Open
xiadashao opened this Issue Sep 16, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@xiadashao

xiadashao commented Sep 16, 2018

[简述你的问题]

使用版本

[Version 1.4.0-2 GPLv2.]

问题复现步骤
  1. [把原jumpserver, coco打包迁移到另外一台机器]
  2. [修改数据库配置]
    3.[创建数据库,导入原备份数据]
    4.[启动jumpserver正常,启动coco-master时候报错]
    [root@toolset coco-master]# ./cocod start
    Start coco process
    2018-09-16 16:19:39 [service DEBUG] Initial app service
    2018-09-16 16:19:39 [service DEBUG] Load access key
    2018-09-16 16:19:39 [service DEBUG] Set app service auth: 9e1076e6-8730-4010-8c9b-681fbc1d08c9
    2018-09-16 16:19:39 [service ERROR] Connect server error or access key is invalid, remove ./keys/.access_key run again
    2018-09-16 16:19:42 [service ERROR] Connect server error or access key is invalid, remove ./keys/.access_key run again
    2018-09-16 16:19:45 [service ERROR] Connect server error or access key is invalid, remove ./keys/.access_key run again

5.删除./key/.access_key文件之后再次启动,依然报错。
Start coco process
2018-09-16 16:08:27 [service DEBUG] Initial app service
2018-09-16 16:08:27 [service DEBUG] Load access key
2018-09-16 16:08:27 [service INFO] No access key found, register it
2018-09-16 16:08:27 [terminal ERROR] Response json couldn't be decode: <!doctype html><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

HTTP Status 404 – Not Found


Type Status Report

Message /api/terminal/v1/terminal/

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.


Apache Tomcat/8.5.32

其他

[注:] 完成后请关闭 issue

@wojiushixiaobai

This comment has been minimized.

Show comment
Hide comment
@wojiushixiaobai

wojiushixiaobai Sep 17, 2018

Collaborator

coco无法联系上jumpserver,手动把conf.py里面的jumpserver url地址修正

Collaborator

wojiushixiaobai commented Sep 17, 2018

coco无法联系上jumpserver,手动把conf.py里面的jumpserver url地址修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment