Project

General

Profile

Actions

Bug #9598

closed

Errors at the installation of Rudder 4.0 on centos6

Added by Nicolas CHARLES about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
1 (highest)
Assignee:
-
Category:
Web - Compliance & node report
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Trying to install Rudder 4 on centos6 failed with following errors:

  Installing : 1398866025:rudder-agent-4.0.0.rc6.git201611020111-1.EL    88/104
==> centos6_server:  
==> centos6_server: ok: Rudder agent is now disabled.
==> centos6_server: INFO: Creating keys for CFEngine agent...warning: %post(rudder-agent-1398866025:4.0.0.rc6.git201611020111-1.EL.6.i686) scriptlet failed, exit status 126
==> centos6_server: Non-fatal POSTIN scriptlet failure in rpm package 1398866025:rudder-agent-4.0.0.rc6.git201611020111-1.EL.6.i686
(snip)
==> centos6_server: Running rudder-init.sh...
==> centos6_server: Done.
==> centos6_server: ldap_bind: Invalid credentials (49)

Actions #1

Updated by Nicolas CHARLES about 8 years ago

Rudder agent is disabled

# rudder agent run
/opt/rudder/share/commands/agent-version: /var/rudder/cfengine-community/bin/cf-agent: /lib/ld-linux.so.2: bad ELF interpreter: Aucun fichier ou dossier de ce type
Rudder agent 4.0.0.rc6.git201611020111 ()
Node uuid: root

error: The Rudder agent is currently disabled. You can enable it with 'rudder agent enable'.

Actions #2

Updated by Nicolas CHARLES about 8 years ago

and indeed, it fails because of

# yum list installed | grep rudder
rudder-agent.i686    1398866025:4.0.0.rc6.git201611020111-1.EL.6
rudder-inventory-endpoint.noarch
rudder-inventory-ldap.x86_64
rudder-jetty.noarch  1398866025:4.0.0.rc6.git201611020111-1.EL.6
rudder-reports.noarch
rudder-server-root.noarch
rudder-techniques.noarch
rudder-webapp.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6

Actions #3

Updated by Nicolas CHARLES about 8 years ago

dependency was badly computed:

==> centos6_server: ---> Package rudder-server-root.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: rudder-webapp = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: rudder-reports = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: rudder-inventory-ldap = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: rudder-inventory-endpoint = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: rudder-jetty = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: rudder-agent = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-server-root-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Running transaction check
==> centos6_server: ---> Package rudder-agent.i686 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: dmidecode for package: 1398866025:rudder-agent-4.0.0.rc6.git201611020111-1.EL.6.i686
==> centos6_server: ---> Package rudder-inventory-endpoint.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: ---> Package rudder-inventory-ldap.x86_64 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: libltdl.so.7()(64bit) for package: 1398866025:rudder-inventory-ldap-4.0.0.rc6.git201611020111-1.EL.6.x86_64
==> centos6_server: ---> Package rudder-jetty.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: java-1.7.0-openjdk for package: 1398866025:rudder-jetty-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: ---> Package rudder-reports.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: rsyslog-pgsql >= 4 for package: 1398866025:rudder-reports-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: --> Processing Dependency: postgresql-server >= 8.4 for package: 1398866025:rudder-reports-4.0.0.rc6.git201611020111-1.EL.6.noarch
==> centos6_server: ---> Package rudder-webapp.noarch 1398866025:4.0.0.rc6.git201611020111-1.EL.6 will be installed
==> centos6_server: --> Processing Dependency: rudder-techniques = 1398866025:4.0.0.rc6.git201611020111 for package: 1398866025:rudder-webapp-4.0.0.rc6.git201611020111-1.EL.6.noarch


it installs agent 32 bits rather than 64 bits

Actions #4

Updated by Nicolas CHARLES about 8 years ago

  • Status changed from New to Rejected

Actually, the issue was that agent 64bits was not in the repo, so it fetched agent 32 bits, and failed.
Retested this morning, it works as expected

Actions

Also available in: Atom PDF