Project

General

Profile

Actions

Bug #9163

closed

katello-installer failed on rhel7 with error: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1:

Added by Stephen Benjamin almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1187014
Description of problem:
katello installer failed on rhel7 with:

Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1:

Version-Release number of selected component (if applicable):
nightly on rhel7

  • candlepin-0.9.38-1.el7.noarch
  • candlepin-common-1.0.18-1.el7.noarch
  • candlepin-selinux-0.9.38-1.el7.noarch
  • candlepin-tomcat-0.9.38-1.el7.noarch
  • elasticsearch-0.90.10-7.el7.noarch
  • foreman-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-compute-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-gce-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-libvirt-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-ovirt-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-postgresql-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-proxy-1.8.0-0.develop.201501280951gite1bc928.el7.noarch
  • foreman-release-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el7.noarch
  • foreman-vmware-1.8.0-0.develop.201501281301gitf8a56f5.el7.noarch
  • katello-2.1.0-1.201411061509gitb0b8f43.el7.noarch
  • katello-certs-tools-2.0.1-1.el7.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-2.2.0-1.201501272021gitf707d62.el7.noarch
  • katello-installer-base-2.2.0-1.201501272021gitf707d62.el7.noarch
  • katello-repos-2.1.1-1.el7.noarch
  • katello-server-ca-1.0-1.noarch
  • openldap-2.4.39-3.el7.x86_64
  • pulp-docker-plugins-0.2.1-0.2.beta.el7.noarch
  • pulp-katello-0.3-3.el7.noarch
  • pulp-nodes-common-2.5.1-1.el7.noarch
  • pulp-nodes-parent-2.5.1-1.el7.noarch
  • pulp-puppet-plugins-2.5.1-1.el7.noarch
  • pulp-puppet-tools-2.5.1-1.el7.noarch
  • pulp-rpm-plugins-2.5.1-1.el7.noarch
  • pulp-selinux-2.5.1-1.el7.noarch
  • pulp-server-2.5.1-1.el7.noarch
  • python-ldap-2.4.6-6.el7.x86_64
  • ruby193-rubygem-ldap_fluff-0.3.3-1.el7.noarch
  • ruby193-rubygem-net-ldap-0.10.0-1.el7.noarch
  • ruby193-rubygem-runcible-1.3.0-1.el7.noarch
  • rubygem-hammer_cli-0.1.4-1.201501260908gitf44b8c5.el7.noarch
  • rubygem-hammer_cli_foreman-0.1.4-1.201501221305git706b057.el7.noarch
  • rubygem-hammer_cli_foreman_bootdisk-0.1.2-1.el7.noarch
  • rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
  • rubygem-hammer_cli_import-0.10.4-1.el7.noarch
  • rubygem-hammer_cli_katello-0.0.7-1.201501281312git793226f.git.0.7c94372.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. katello-installer
2.
3.

Actual results:

Expected results:
installer should succeed

Additional info:
installer logs on console
[ INFO 2015-01-29 02:24:41 verbose] Executing hooks in group post
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/katello-installer/katello-installer.log
[ INFO 2015-01-29 02:24:41 verbose] All hooks in group post finished
[ERROR 2015-01-29 02:24:41 verbose] Repeating errors encountered during run:
[ERROR 2015-01-29 02:24:41 verbose] Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Postgresql::Server::Service/Service[postgresqld]/enable: change from false to true failed: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/enable: change from false to true failed: Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Puppet::Agent::Service/Service[puppet]/enable: change from false to true failed: Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/enable: change from false to true failed: Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable qpidd: Execution of '/sbin/chkconfig --add qpidd' returned 1: error reading information on service qpidd: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Qpid::Service/Service[qpidd]/enable: change from false to true failed: Could not enable qpidd: Execution of '/sbin/chkconfig --add qpidd' returned 1: error reading information on service qpidd: No such file or directory
[root@qe-foreman-rhel7 ~]#


Related issues 2 (0 open2 closed)

Is duplicate of Katello - Bug #8478: MongoDB fails to start with a RHEL 7 systemClosedIvan Necas11/21/2014Actions
Is duplicate of Katello - Bug #9202: katello-installer should use systemd instead of chkconfig for all services on rhel7Duplicatedustin tsang02/03/2015Actions
Actions

Also available in: Atom PDF