【发布时间】:2022-01-09 03:32:52
【问题描述】:
我们的 Centos 7 AWS Guacamole(版本 1.3.0)服务器完全正常工作,用户使用的是 postgresql 数据库。有一天它决定不工作,我很困惑。我没有设置它,也无法访问设置它的人。
登录 aws.....:8080/guacamole 时,出现 ERROR。如果我将 /etc/guacamole/guacamole.properties 重命名为其他名称,则会出现登录屏幕,因此 postgres 存在一些问题。
screenshot of error message when trying to access guacamole from web browser
这里是 guacamole.properties:
# 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 确实存在,但不在表 guacamole_entity 中,我想知道该用户是否是 postgres 用户而不是 guacamole 用户,但为什么会改变?
我试过取消散列 skip-if-unavailable: postgresql 但这并没有改变任何东西。
还将 postgres java 文件从 postgresql-42.2.23.jar 升级到 postgresql-42.3.1.jar
但这无济于事。
/var/log/messages 与错误没有任何关系。我真的找不到调试它的方法。
完全不知所措,有什么想法吗?
编辑:这是一个 SELinux 问题。禁用 SELinux 解决了它,所以它与 Postgres 无关。感谢您的宝贵时间。
【问题讨论】:
标签: postgresql guacamole