#6767 [copr] ipa server install failing as mod_lookup_identity pkg was installed
Closed: fixed 7 years ago Opened 7 years ago by ksiddiqu.

IPA Server install failing because mod_lookup_identity pkg was not installed. Should not this be pulled as dependency during ipa-server pkg install?

(1) Server install failing

[17/22]: create KDC proxy user
[18/22]: create KDC proxy config
[19/22]: enable KDC proxy
[20/22]: restarting httpd
[error] CalledProcessError: Command '/bin/systemctl restart httpd.service' returned non-zero
exit status 1
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    Command     '/bin/systemctl restart httpd.service' returned non-zero exit status 1
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

(2) httpd service log shows it failed parsing ipa.conf where it was trying to load mod_lookup_identity module

[root@localhost ~]# systemctl status httpd -l
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
       └─ipa.conf
Active: failed (Result: exit-code) since Wed 2017-03-15 16:39:49 IST; 2min 23s ago
Docs: man:httpd(8)
       man:apachectl(8)
Process: 6761 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 6759 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited,     status=1/FAILURE)
Process: 6755 ExecStartPre=/usr/libexec/ipa/ipa-httpd-kdcproxy (code=exited, status=0/SUCCESS)
Main PID: 6759 (code=exited, status=1/FAILURE)

Mar 15 16:39:47 localhost.testrelm.test systemd[1]: Starting The Apache HTTP Server...
Mar 15 16:39:48 localhost.testrelm.test ipa-httpd-kdcproxy[6755]: ipa         : INFO     KDC proxy enabled
Mar 15 16:39:49 localhost.testrelm.test httpd[6759]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 10 of /etc/httpd/conf.d/ipa.conf: Cannot load modules/mod_lookup_identity.so into server: /etc/httpd/modules/mod_lookup_identity.so: cannot open shared object file: No such file or directory
Mar 15 16:39:49 localhost.testrelm.test systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 15 16:39:49 localhost.testrelm.test kill[6761]: kill: cannot find process ""
Mar 15 16:39:49 localhost.testrelm.test systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 15 16:39:49 localhost.testrelm.test systemd[1]: Failed to start The Apache HTTP Server.
Mar 15 16:39:49 localhost.testrelm.test systemd[1]: Unit httpd.service entered failed state.
Mar 15 16:39:49 localhost.testrelm.test systemd[1]: httpd.service failed.
[root@localhost ~]#

(3) mod_lookup_identity pkg was not installed

[root@localhost ~]# rpm -q mod_lookup_identity
package mod_lookup_identity is not installed
[root@localhost ~]# rpm -q ipa-server
ipa-server-4.4.90-201703141626.el7.x86_64
[root@localhost ~]#

Yes, it should and it is in new build.

As pvomacka, wrote, it has been fixed.

Note that PR https://github.com/freeipa/freeipa/pull/643 will make it even more specific.

Metadata Update from @pvoborni:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata