You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

CentOS7 AWS环境Guacamole 1.3.0突发无法访问故障排查

AWS CentOS 7 环境 Guacamole 1.3.0 突发访问异常故障排查

故障背景

部署在AWS上的CentOS 7系统Guacamole 1.3.0服务此前运行稳定,采用PostgreSQL存储用户数据,某天突发无法访问问题,无搭建文档也无法联系到原搭建人员,排查受阻。

故障表现

  • 访问AWS对应服务地址的:8080/guacamole路径时,直接返回ERROR错误
  • 若将/etc/guacamole/guacamole.properties重命名为其他文件名,可正常显示登录界面,初步判定问题与PostgreSQL数据库配置关联

现有配置信息

/etc/guacamole/guacamole.properties中PostgreSQL相关配置如下:

# PostgreSQL properties
postgresql-hostname: localhost
postgresql-port: 5432
postgresql-database: guacamole_db
postgresql-username: guacamole_user
postgresql-password: password
#postgresql-auto-create-accounts: true

#Guac Properties
#skip-if-unavailable: postrgresql

已尝试排查操作

  • 确认guacamole_user为PostgreSQL数据库用户(非Guacamole内部用户,不在guacamole_entity表中),无法解释此前正常、突发异常的原因
  • 取消#skip-if-unavailable: postgresql的注释重启服务,问题未解决
  • 将PostgreSQL对应的Java驱动包从postgresql-42.2.23.jar升级到postgresql-42.3.1.jar,故障依旧
  • 查看/var/log/messages系统日志,未检索到与该错误相关的记录,无有效排查思路

最终解决方案

经排查确认,故障由SELinux策略限制导致,与PostgreSQL本身无关,禁用SELinux后服务恢复正常。


内容的提问来源于stack exchange,提问作者Phoenix

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.24 09:45:03