Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
e9de1bde
Commit
e9de1bde
authored
Apr 12, 2018
by
wojiushixiaobai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增faq说明
parent
d881feb3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
10 deletions
+26
-10
faq.rst
docs/faq.rst
+24
-7
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+1
-2
step_by_step.rst
docs/step_by_step.rst
+1
-1
No files found.
docs/faq.rst
View file @
e9de1bde
...
@@ -5,11 +5,11 @@ FAQ
...
@@ -5,11 +5,11 @@ FAQ
::
::
(1). 如果白屏
可能是nginx配置文件的guacamole设置的不对,也可能运行guacamole的docker容器有问题,总之请求到不了guacamole
(1). 如果白屏
检查nginx配置文件的guacamole设置ip是否正确,检查终端管理的gua状态是否在线,检查资产设置及系统用户是否正确;
(2). 如果显示没有权限 可能是你在 终端管理里没有接受 guacamole的注册,请接受一下,
如果还是不行,就删除刚才的注册,重启guacamole的docker重新注册
(2). 如果显示没有权限 可能是你在 终端管理里没有接受 guacamole的注册,请接受一下,
然后重启guacamole
(3). 如果显示未知问题 可能是你的资产填写的端口不对,或者授权的系统用户的协议不是rdp
(3). 如果显示未知问题 可能是你的资产填写的端口不对,或者授权的系统用户的协议不是rdp
(4). 提示无法连接服务器,请联系管理员或查看日志 一般情况下是登录的系统账户不正确,可以从Windows的日志查看信息
(4). 提示无法连接服务器,请联系管理员或查看日志 一般情况下是登录的系统账户不正确,可以从Windows的日志查看信息
(资产的信息填写不正确也会报这个错误)
(5). 提示网络问题无法连接或者超时,请检查网络连接并重试,或联系管理员 一般情况下是防火墙设置不正确,可以从Windows的日志查看信息
(5). 提示网络问题无法连接或者超时,请检查网络连接并重试,或联系管理员 一般情况下是防火墙设置不正确,可以从Windows的日志查看信息
(资产的信息填写不正确也会报这个错误)
2. Linux 资产连接错误排查思路
2. Linux 资产连接错误排查思路
...
@@ -33,7 +33,7 @@ FAQ
...
@@ -33,7 +33,7 @@ FAQ
Sudo: /usr/bin/git,/usr/bin/php,/bin/cat,/bin/more,/bin/less,/usr/bin/head,/usr/bin/tail
Sudo: /usr/bin/git,/usr/bin/php,/bin/cat,/bin/more,/bin/less,/usr/bin/head,/usr/bin/tail
意思是允许这个系统用户免密码执行 git、PHP、cat、more、less、head、tail 命令,只要关联了这个系统用户的用户在相应的资产都可以执行这些命令。
意思是允许这个系统用户免密码执行 git、PHP、cat、more、less、head、tail 命令,只要关联了这个系统用户的用户在相应的资产都可以执行这些命令。
4. coco或guacamole
注册失败,或重新注册方法
4. coco或guacamole注册失败,或重新注册方法
::
::
...
@@ -121,8 +121,25 @@ FAQ
...
@@ -121,8 +121,25 @@ FAQ
(3). Failed to connect to the host via ssh: ssh_exchange_identification: read: Connection reset by peer\r\n
(3). Failed to connect to the host via ssh: ssh_exchange_identification: read: Connection reset by peer\r\n
# 一般是资产的 ssh 或者 防火墙 做了限制
# 一般是资产的 ssh 或者 防火墙 做了限制
,无法连接资产(资产信息填错也可能会报这个错误)
(4). "MODULE FAILURE","module_stdout":"/bin/sh: 1: /usr/bin/python: not found\r\n","module_stderr":"Shared connection to xx.xx.xx.xx closed.\r\n"
(4). "MODULE FAILURE","module_stdout":"/bin/sh: 1: /usr/bin/python: not found\r\n","module_stderr":"Shared connection to xx.xx.xx.xx closed.\r\n"
# 一般是资产 python 未安装或者 python 异常,此问题多发生在 ubuntu 资产上
# 一般是资产 python 未安装或者 python 异常
9. 其他问题
::
(1). 邮箱设置 新建用户无法收到邮件需要重启一次jumpserver(系统设置修改需要重启的问题后面会修正)
(2). 收到的邮件链接地址是 localhost 可以到 系统设置-基本设置 里面修改url,保存后重启即可
(3). coco 提示[service ERROR] Failed register terminal jzsas exist already
# 参考上面的coco重新注册方法
(4). guacamole 不在线
# 尝试重启一下guacamole,然后再看看,如果任然不在线,参考上面gua重新注册的方法
$ docker restart jms_guacamole # 如果容器的名称不对,请用docker ps查询
(5). LDAP设置 测试通过,但是登录失败需要检查用户的ou是否正确,如果使用用户cn作为登录用户名,请确认用户的cn属性不是中文
docs/setup_by_ubuntu.rst
View file @
e9de1bde
...
@@ -277,8 +277,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
...
@@ -277,8 +277,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
}
}
location /guacamole/ {
location /guacamole/ {
proxy_pass http://localhost:8081/;
proxy_pass http://localhost:8081/; # 如果guacamole安装在别的服务器,请填写它的ip
## 请手动修改 localhost:8081 为运行 docker 服务的服务器地址, windows资产连接白屏的问题多数是出现在这里
proxy_buffering off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
...
...
docs/step_by_step.rst
View file @
e9de1bde
...
@@ -321,7 +321,7 @@ Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/term
...
@@ -321,7 +321,7 @@ Jumpserver 会话管理-终端管理(http://192.168.244.144:8080/terminal/term
}
}
location /guacamole/ {
location /guacamole/ {
proxy_pass http://localhost:8081/; #
请修改成运行docker服务的服务器IP,windows资产连接白屏的问题多数是出现在这里
proxy_pass http://localhost:8081/; #
如果guacamole安装在别的服务器,请填写它的ip
proxy_buffering off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment