Project

General

Profile

Actions

Bug #9419

closed

Error on pcre on centos6

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

Status:
Rejected
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

While upgrading rudder-agent from 3.1 to 4.0 on centos6, i got the following errors:

rudder-agent[3598]: [INFO] Launching CFEngine Community cf-serverd...
/var/rudder/cfengine-community/bin/cf-serverd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[3718]: [ALERT] no PID file for cf-serverd after 30 seconds. Trying again...
/var/rudder/cfengine-community/bin/cf-serverd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[3840]: [ALERT] no PID file for cf-serverd after 60 seconds. Trying again...
/var/rudder/cfengine-community/bin/cf-serverd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[3883]: [ALERT] no PID file for cf-serverd after 70 seconds
rudder-agent[3884]: [INFO] Launching CFEngine Community cf-execd...
/var/rudder/cfengine-community/bin/cf-execd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[4004]: [ALERT] no PID file for cf-execd after 30 seconds. Trying again...
/var/rudder/cfengine-community/bin/cf-execd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[4126]: [ALERT] no PID file for cf-execd after 60 seconds. Trying again...
/var/rudder/cfengine-community/bin/cf-execd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
rudder-agent[4169]: [ALERT] no PID file for cf-execd after 70 seconds
error: service rudder-agent could not be started
INFO: Scheduling an inventory during next run...
  Nettoyage     : 1398866025:rudder-agent-3.1.16.release-1.EL.6.x86_64                                                                                                                                                                    2/2 
INFO: A back up copy of the /opt/rudder/etc/uuid.hive has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/policy_server.dat has been created in /var/backups/rudder
INFO: A back up copy of the /var/rudder/cfengine-community/ppkeys has been created in /var/backups/rudder
  Verifying     : 1398866025:rudder-agent-4.0.0.alpha1.git201610180603-1.EL.7.x86_64                                                                                                                                                      1/2 
  Verifying     : 1398866025:rudder-agent-3.1.16.release-1.EL.6.x86_64                                                                                                                                                                    2/2 

Mis à jour :
  rudder-agent.x86_64 1398866025:4.0.0.alpha1.git201610180603-1.EL.7                                                                                                                                                                          

Terminé !
root@agent3:/home/vagrant# rudder agent run
/var/rudder/cfengine-community/bin/cf-agent: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
Rudder agent 4.0.0.alpha1.git201610180603 ()
Node uuid: a260d7a4-bb71-4865-82fa-1787a7d4c602
/var/rudder/cfengine-community/bin/cf-agent: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
error    Rudder agent was interrupted during execution by a fatal errors
         Run with -i to see log messages.

Output of ldd is:

root@agent3:/home/vagrant# ldd /var/rudder/cfengine-community/bin/cf-agent 
/var/rudder/cfengine-community/bin/cf-agent: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /var/rudder/cfengine-community/bin/cf-agent)
/var/rudder/cfengine-community/bin/cf-agent: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/rudder/lib/liblmdb.so)
    linux-vdso.so.1 =>  (0x00007fff239b5000)
    liblmdb.so => /opt/rudder/lib/liblmdb.so (0x00007fef5867f000)
    libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fef5840e000)
    libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fef5802b000)
    libpcre.so.1 => not found
    libpam.so.0 => /lib64/libpam.so.0 (0x00007fef57e1c000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fef57c18000)
    librt.so.1 => /lib64/librt.so.1 (0x00007fef57a10000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fef5778b000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fef5756e000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fef571da000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fef56f95000)
    libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fef56caf000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fef56aab000)
    libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fef5687e000)
    libz.so.1 => /lib64/libz.so.1 (0x00007fef56668000)
    libaudit.so.1 => /lib64/libaudit.so.1 (0x00007fef56445000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fef5620d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fef58bd1000)
    libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fef56002000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fef55dff000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fef55be4000)
    libfreebl3.so => /lib64/libfreebl3.so (0x00007fef559e1000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fef557c1000)

Actions

Also available in: Atom PDF