在CentOS上安装FreeIPA时出错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在CentOS上安装FreeIPA时出错相关的知识,希望对你有一定的参考价值。
我收到一条消息说我已经在我的CentOS机器上成功安装了FreeIPA,但当我尝试从浏览器登录时,我得到了这条消息。
我的主机名是mike.imagine所以我输入https://mike.imagine.com/ipa/ui/然后我得到“400 Bad Request”Flipping BS
答案
确保您的防火墙已关闭,具体取决于Centos版本的版本。
systemctl stop iptables
您应该看到以下状态消息
[sample@centos ~]$ sudo systemctl status iptables
â— iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2017-08-08 14:41:06 EDT; 3 weeks 1 days ago
Main PID: 10890 (code=exited, status=0/SUCCESS)
Aug 08 14:38:01 systemclt systemd[1]: Starting IPv4 firewall with iptables...
Aug 08 14:38:01 systemclt iptables.init[10890]: iptables: Applying firewall rules: [ OK ]
Aug 08 14:38:01 systemclt systemd[1]: Started IPv4 firewall with iptables.
Aug 08 14:41:06 systemclt systemd[1]: Stopping IPv4 firewall with iptables...
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Setting chains to policy ACCEPT: filter [ OK ]
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Flushing firewall rules: [ OK ]
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Unloading modules: [ OK ]
Aug 08 14:41:06 systemclt systemd[1]: Stopped IPv4 firewall with iptables.
以上是关于在CentOS上安装FreeIPA时出错的主要内容,如果未能解决你的问题,请参考以下文章