Project

General

Profile

Actions

Bug #13661

closed

Error when installing rudder-server-relay on debian9

Added by Nicolas CHARLES about 6 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Relay server or API
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
45
Name check:
Fix check:
Regression:

Description

Installing rudder-server-relay on debian9 failed


# apt-get install rudder-server-relay
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-wsgi libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libpython2.7 libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom python2.7-doc binfmt-support
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-wsgi libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libpython2.7 rudder-server-relay
The following packages will be upgraded:
  libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal
4 upgraded, 12 newly installed, 0 to remove and 130 not upgraded.
Need to get 11.5 MB of archives.
After this operation, 33.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.fr.debian.org/debian stretch/main amd64 libapr1 amd64 1.5.2-5 [96.6 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 python2.7 amd64 2.7.13-2+deb9u3 [285 kB]
Get:3 http://ftp.fr.debian.org/debian stretch/main amd64 libaprutil1 amd64 1.5.4-3 [85.8 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 libpython2.7-stdlib amd64 2.7.13-2+deb9u3 [1,897 kB]
Get:5 http://repository.rudder.io/rtf/apt/4.3-nightly stretch/main amd64 rudder-server-relay amd64 4.3.5~rc1~git201810150112-stretch0 [4,266 kB]
Get:6 http://ftp.fr.debian.org/debian stretch/main amd64 libaprutil1-dbd-sqlite3 amd64 1.5.4-3 [19.3 kB]                      
Get:7 http://ftp.fr.debian.org/debian stretch/main amd64 libaprutil1-ldap amd64 1.5.4-3 [17.4 kB]                                          
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 python2.7-minimal amd64 2.7.13-2+deb9u3 [1,382 kB]                
Get:9 http://ftp.fr.debian.org/debian stretch/main amd64 liblua5.2-0 amd64 5.2.4-1.1+b2 [110 kB]             
Get:10 http://security.debian.org/debian-security stretch/updates/main amd64 libpython2.7-minimal amd64 2.7.13-2+deb9u3 [389 kB]              
Get:11 http://ftp.fr.debian.org/debian stretch/main amd64 apache2-bin amd64 2.4.25-3+deb9u5 [1,186 kB]         
Get:12 http://security.debian.org/debian-security stretch/updates/main amd64 libpython2.7 amd64 2.7.13-2+deb9u3 [1,071 kB]        
Get:13 http://ftp.fr.debian.org/debian stretch/main amd64 apache2-utils amd64 2.4.25-3+deb9u5 [217 kB]                  
Get:14 http://ftp.fr.debian.org/debian stretch/main amd64 apache2-data all 2.4.25-3+deb9u5 [162 kB]
Get:15 http://ftp.fr.debian.org/debian stretch/main amd64 apache2 amd64 2.4.25-3+deb9u5 [236 kB]
Get:16 http://ftp.fr.debian.org/debian stretch/main amd64 libapache2-mod-wsgi amd64 4.5.11-1 [91.1 kB]
Fetched 11.5 MB in 0s (13.0 MB/s)          
Reading changelogs... Done
Selecting previously unselected package libapr1:amd64.
(Reading database ... 35945 files and directories currently installed.)
Preparing to unpack .../00-libapr1_1.5.2-5_amd64.deb ...
Unpacking libapr1:amd64 (1.5.2-5) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../01-libaprutil1_1.5.4-3_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../02-libaprutil1-dbd-sqlite3_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../03-libaprutil1-ldap_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.4-3) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../04-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../05-apache2-bin_2.4.25-3+deb9u5_amd64.deb ...
Unpacking apache2-bin (2.4.25-3+deb9u5) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../06-apache2-utils_2.4.25-3+deb9u5_amd64.deb ...
Unpacking apache2-utils (2.4.25-3+deb9u5) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../07-apache2-data_2.4.25-3+deb9u5_all.deb ...
Unpacking apache2-data (2.4.25-3+deb9u5) ...
Selecting previously unselected package apache2.
Preparing to unpack .../08-apache2_2.4.25-3+deb9u5_amd64.deb ...
Unpacking apache2 (2.4.25-3+deb9u5) ...
Preparing to unpack .../09-python2.7_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7 (2.7.13-2+deb9u3) over (2.7.13-2) ...
Preparing to unpack .../10-libpython2.7-stdlib_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) over (2.7.13-2) ...
Preparing to unpack .../11-python2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2+deb9u3) over (2.7.13-2) ...
Preparing to unpack .../12-libpython2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) over (2.7.13-2) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../13-libpython2.7_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.13-2+deb9u3) ...
Selecting previously unselected package libapache2-mod-wsgi.
Preparing to unpack .../14-libapache2-mod-wsgi_4.5.11-1_amd64.deb ...
Unpacking libapache2-mod-wsgi (4.5.11-1) ...
Selecting previously unselected package rudder-server-relay.
Preparing to unpack .../15-rudder-server-relay_4.3.5~rc1~git201810150112-stretch0_amd64.deb ...
Unpacking rudder-server-relay (4.3.5~rc1~git201810150112-stretch0) ...
Setting up libapr1:amd64 (1.5.2-5) ...
Processing triggers for mime-support (3.60) ...
Setting up apache2-data (2.4.25-3+deb9u5) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up libaprutil1:amd64 (1.5.4-3) ...
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) ...
Setting up libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) ...
Setting up python2.7-minimal (2.7.13-2+deb9u3) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-3) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Setting up apache2-utils (2.4.25-3+deb9u5) ...
Setting up apache2-bin (2.4.25-3+deb9u5) ...
Setting up python2.7 (2.7.13-2+deb9u3) ...
Setting up libpython2.7:amd64 (2.7.13-2+deb9u3) ...
Setting up apache2 (2.4.25-3+deb9u5) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Setting up libapache2-mod-wsgi (4.5.11-1) ...
apache2_invoke: Enable module wsgi
Setting up rudder-server-relay (4.3.5~rc1~git201810150112-stretch0) ...

Configuration file '/opt/rudder/etc/rudder-networks.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-networks.conf (Y/I/N/O/D/Z) [default=N] ? 

Configuration file '/opt/rudder/etc/rudder-networks-24.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-networks-24.conf (Y/I/N/O/D/Z) [default=N] ? 

Configuration file '/opt/rudder/etc/rudder-networks-policy-server.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-networks-policy-server.conf (Y/I/N/O/D/Z) [default=N] ? 

Configuration file '/opt/rudder/etc/rudder-networks-policy-server-24.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** rudder-networks-policy-server-24.conf (Y/I/N/O/D/Z) [default=N] ? 
INFO: Creating group rudder... Done
INFO: Creating group rudder-policy-reader... Done
INFO: Creating the rudder user... Done
INFO: No usable SSL certificate detected for Rudder relay HTTP/S support, generating one automatically... Done
INFO: Restarting Apache HTTPd...dpkg: error processing package rudder-server-relay (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Errors were encountered while processing:
 rudder-server-relay
E: Sub-process /usr/bin/dpkg returned an error code (1)

reruning postinst shows the issue

# ./info/rudder-server-relay.postinst configure
INFO: Restarting Apache HTTPd... Done
INFO: rudder-server-relay setup complete.

*****************************************************************************************
INFO: Now run on your root server:                                                             
INFO:   '/opt/rudder/bin/rudder-node-to-relay 6b53dbb8-6c1f-40b1-b907-6f22067ba3c6
INFO: Please look at the documentation for details (Section 'Relay servers')           
*****************************************************************************************

Note that I did run he rudder-node-to-relay prior to installing the package

Actions

Also available in: Atom PDF