Project

General

Profile

Actions

Bug #16279

closed

Error when installing Rudder Server on Centos 7

Added by Nicolas CHARLES almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

    centos7_server: --------------------------------------------------------------------------------
    centos7_server: Total                                              9.5 MB/s | 211 MB  00:22     
    centos7_server: Running transaction check
    centos7_server: Running transaction test
    centos7_server: Transaction test succeeded
    centos7_server: Running transaction
    centos7_server:   Updating   : rsyslog-8.24.0-41.el7_7.2.x86_64                            1/38
    centos7_server:  
    centos7_server:   Installing : postgresql-libs-9.2.24-1.el7_5.x86_64                       2/38
    centos7_server:  
    centos7_server:   Installing : apr-1.4.8-5.el7.x86_64                                      3/38
    centos7_server:  
    centos7_server:   Installing : apr-util-1.5.2-6.el7.x86_64                                 4/38
    centos7_server:  
    centos7_server:   Installing : httpd-tools-2.4.6-90.el7.centos.x86_64                      5/38
    centos7_server:  
    centos7_server:   Installing : postgresql-9.2.24-1.el7_5.x86_64                            6/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:ncf-5.0.15.rc1.git201911270151-1.EL.7.noarch     7/38
    centos7_server:  
    centos7_server:   Installing : perl-Digest-1.17-245.el7.noarch                             8/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-agent-5.0.15.rc1.git201911270151-1.EL.    9/38
    centos7_server:  
    centos7_server: Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-agent.service to /usr/lib/systemd/system/rudder-agent.service.
    centos7_server: Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-cf-execd.service to /usr/lib/systemd/system/rudder-cf-execd.service.
    centos7_server: Created symlink from /etc/systemd/system/rudder-agent.service.requires/rudder-cf-execd.service to /usr/lib/systemd/system/rudder-cf-execd.service.
    centos7_server: Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-cf-serverd.service to /usr/lib/systemd/system/rudder-cf-serverd.service.
    centos7_server: Created symlink from /etc/systemd/system/rudder-agent.service.wants/rudder-cf-serverd.service to /usr/lib/systemd/system/rudder-cf-serverd.service.
    centos7_server: ok: Rudder agent is now disabled.
    centos7_server: INFO: Ensuring correct permissions on the keys directory... Done.
    centos7_server: INFO: Creating keys for Rudder agent... Done.
    centos7_server: ok: Rudder agent has been enabled but not started, wait for next cron run.
    centos7_server: ********************************************************************************
    centos7_server: rudder-agent has been installed (not started). This host can be a Rudder node.
    centos7_server: To get started, configure your Rudder server's hostname and launch the agent:
    centos7_server: # echo 'rudder.server' > /var/rudder/cfengine-community/policy_server.dat
    centos7_server: # rudder agent start
    centos7_server: This node will then appear in the Rudder web interface under 'Accept new nodes'.
    centos7_server: ********************************************************************************
    centos7_server:   Installing : libxslt-1.1.28-5.el7.x86_64                                10/38
    centos7_server:  
    centos7_server:   Installing : python-lxml-3.2.1-4.el7.x86_64                             11/38
    centos7_server:  
    centos7_server:   Installing : python-javapackages-3.4.1-11.el7.noarch                    12/38
    centos7_server:  
    centos7_server:   Installing : javapackages-tools-3.4.1-11.el7.noarch                     13/38
    centos7_server:  
    centos7_server:   Installing : 1:perl-Digest-SHA-5.85-4.el7.x86_64                        14/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-techniques-5.0.15.rc1.git201911270151-   15/38
    centos7_server:  
    centos7_server:   Installing : postgresql-server-9.2.24-1.el7_5.x86_64                    16/38
    centos7_server:  
    centos7_server:   Installing : rsyslog-pgsql-8.24.0-41.el7_7.2.x86_64                     17/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-reports-5.0.15.rc1.git201911270151-1.E   18/38
    centos7_server:  
    centos7_server: INFO: Initializing PostgreSQL ...Initializing database ... OK
    centos7_server: 
    centos7_server:  Done
    centos7_server: INFO: Setting PostgreSQL as a boot service...Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql.service to /usr/lib/systemd/system/postgresql.service.
    centos7_server:  Done
    centos7_server: INFO: Waiting for PostgreSQL to be up... Done
    centos7_server: INFO: Creating Rudder PostgreSQL user... Done
    centos7_server: INFO: Creating Rudder PostgreSQL database... Done
    centos7_server:   Installing : pcsc-lite-libs-1.8.8-8.el7.x86_64                          19/38
    centos7_server:  
    centos7_server:   Installing : libjpeg-turbo-1.2.90-8.el7.x86_64                          20/38
    centos7_server:  
    centos7_server:   Installing : openldap-clients-2.4.44-21.el7_6.x86_64                    21/38
    centos7_server:  
    centos7_server:   Installing : lksctp-tools-1.0.17-2.el7.x86_64                           22/38
    centos7_server:  
    centos7_server:   Installing : tzdata-java-2019c-1.el7.noarch                             23/38
    centos7_server:  
    centos7_server:   Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64                         24/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-inventory-ldap-5.0.15.rc1.git201911270   25/38
    centos7_server:  
    centos7_server: INFO: Setting rudder-slapd as a boot service...rudder-slapd.service is not a native service, redirecting to /sbin/chkconfig.
    centos7_server: Executing /sbin/chkconfig rudder-slapd on
    centos7_server:  Done
    centos7_server: INFO: Restarting rudder-slapd... Done
    centos7_server:   Installing : copy-jdk-configs-3.3-10.el7_5.noarch                       26/38
    centos7_server:  
    centos7_server:   Installing : 1:java-1.8.0-openjdk-headless-1.8.0.232.b09-0.el7_7.x86_   27/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-jetty-5.0.15.rc1.git201911270151-1.EL.   28/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-inventory-endpoint-5.0.15.rc1.git20191   29/38
    centos7_server:  
    centos7_server: INFO: Launching script to check if a migration is needed
    centos7_server: INFO: End of migration script
    centos7_server:   Installing : mailcap-2.1.41-2.el7.noarch                                30/38
    centos7_server:  
    centos7_server:   Installing : httpd-2.4.6-90.el7.centos.x86_64                           31/38
    centos7_server:  
    centos7_server:   Installing : mod_wsgi-3.4-18.el7.x86_64                                 32/38
    centos7_server:  
    centos7_server:   Installing : 1:mod_ssl-2.4.6-90.el7.centos.x86_64                       33/38
    centos7_server:  
    centos7_server:   Installing : 1398866025:rudder-server-relay-5.0.15.rc1.git20191127015   34/38
    centos7_server:  
    centos7_server: INFO: Creating group rudder... Done
    centos7_server: INFO: Creating group rudder-policy-reader... Done
    centos7_server: INFO: Creating the rudder user... Done
    centos7_server: INFO: Setting Apache HTTPd as a boot service...Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
    centos7_server:  Done
    centos7_server: INFO: Stopping Apache HTTPd... Done
    centos7_server: INFO: No usable SSL certificate detected for Rudder HTTP/S support, generating one automatically... Done
    centos7_server: INFO: Starting Apache HTTPd... Done
    centos7_server: INFO: rudder-server-relay setup complete.
    centos7_server: 
    centos7_server: *****************************************************************************************
    centos7_server: INFO: Now run on your root server:                                                             
    centos7_server: INFO:   '/opt/rudder/bin/rudder-node-to-relay 2ca6b4f2-9bcd-4a24-86d3-bc19eaab7230
    centos7_server: INFO: Please look at the documentation for details (Section 'Relay servers')           
    centos7_server: *****************************************************************************************
    centos7_server: INFO: Creating the ncf-api-venv user... Done
    centos7_server:   Installing : 1398866025:ncf-api-virtualenv-5.0.15.rc1.git201911270151   35/38
    centos7_server:  
    centos7_server: INFO: Applying ncf-api-virtualenv selinux policy... Done
    centos7_server:   Installing : 1398866025:rudder-webapp-5.0.15.rc1.git201911270151-1.EL   36/38
    centos7_server:  
    centos7_server: INFO: Stopping Apache HTTPd... Done
    centos7_server: INFO: Adding ncf-api-venv to the rudder group... Done
    centos7_server: INFO: Starting Apache HTTPd... Done
    centos7_server: Initialized empty shared Git repository in /var/rudder/configuration-repository/.git/
    centos7_server: Correctly set option autoupdate-technique-library to value true
    centos7_server: INFO: Launching script to check if a migration is needed
    centos7_server: INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK
    centos7_server: INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK,  SQL skipped
    centos7_server: Overriding existing techniques
    centos7_server: INFO: Correcting permissions on /var/rudder/configuration-repository... Done
    centos7_server: # On branch master
    centos7_server: nothing to commit, working directory clean
    centos7_server: Techniques have been updated, and update branch set to current state of the Techniques
    centos7_server: [master ddd0f5a] Update technique editor hook "ncf-hooks.d/post.write_technique.10_commit.sh" 
    centos7_server: [master bfa519c] Update technique editor hook "ncf-hooks.d/post.write_technique.50_rudderify.sh" 
    centos7_server: INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
    centos7_server: INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
    centos7_server: INFO: Checking PostgreSQL service status... OK
    centos7_server: INFO: Checking LDAP service status... OK
    centos7_server: 
    centos7_server: INFO: The migration has completed successfully.
    centos7_server: INFO: End of migration script
    centos7_server: INFO: Correcting permissions on /var/rudder/configuration-repository... Done
    centos7_server: [master 74a1285] Add ncf hooks to repository
    centos7_server: Setting umask to 0007
    centos7_server: Starting Jetty: . . . . . . . . . . . . . . . FAILED Wed Nov 27 11:39:45 UTC 2019
    centos7_server:   Installing : 1398866025:rudder-server-root-5.0.15.rc1.git201911270151   37/38
    centos7_server:  
    centos7_server: ************************************************************
    centos7_server: Rudder is now installed but not configured.
    centos7_server: Please run /opt/rudder/bin/rudder-init

After the rudder-init, it is corrected, but this is still anoying

Actions #1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #2

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #4

Updated by François ARMAND over 4 years ago

  • Status changed from New to Resolved

It's not the case anymore in 6.1.

Actions #5

Updated by François ARMAND over 4 years ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF