V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yuikns
V2EX  ›  问与答

有人在阿里云上部署过 FreeIPA 么?

  •  
  •   yuikns · 2018-11-12 16:54:17 +08:00 · 1142 次点击
    这是一个创建于 2005 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前在 Linode, AWS 和自用的机器上好像都没阿里这毛病

    刚开始是

    IPv6 stack is enabled in the kernel but there is no interface that has ::1 address assigned. Add ::1 address resolution to 'lo' interface. You might need to enable IPv6 on the interface 'lo' in sysctl.conf.
    

    按照这个介绍改了下 net.ipv6.conf.all.disable_ipv6 的配置

    结果继续死

    Configuring directory server (dirsrv). Estimated time: 30 seconds
      [1/45]: creating directory server instance
      [2/45]: enabling ldapi
      [3/45]: configure autobind for root
      [4/45]: stopping directory server
      [5/45]: updating configuration in dse.ldif
      [6/45]: starting directory server
      [error] timeout: Timeout exceeded
    ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    Timeout exceeded
    ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
    

    郁闷,弄不下去了


    端口问题: 我 SELinux 已关,FirewallD 原本就是 masked,找不到啥阻碍的...

    julyclyde
        1
    julyclyde  
       2018-11-13 12:13:52 +08:00
    See /var/log/ipaserver-install.log for more information

    连看日志这么基础的动作都没意识去做,你可能不该玩 FreeIPA 这么高级的东西
    yuikns
        2
    yuikns  
    OP
       2018-11-13 13:06:34 +08:00
    @julyclyde 为啥你觉得我就没看呢?

    日志中内容和文档一致,就是 ldap timeout,389 端口等不到内容。然后加个 backtrace。之前内容呢?没有任何异常报错。

    后来找了下源码和前面写操作。确认了下之前的安装和删除脚本都不干净。然后手工操作重置了下。

    另外之后还有依赖不对,certmonger 连 dbus 跪等等。

    我承认安装起来特烦,各种神奇的跑飞了都得自己来收拾。但这就“高级”了?厉害。
    julyclyde
        3
    julyclyde  
       2018-11-13 14:06:17 +08:00
    @yuikns 因为你的提问方式不像是看过之后应该的样子
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2849 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:29 · PVG 23:29 · LAX 08:29 · JFK 11:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.