Actions
Bug #9419
closedError on pcre on centos6
Bug #9419:
Error on pcre on centos6
Pull Request:
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)
Updated by Nicolas CHARLES about 9 years ago
root@agent3:/home/vagrant# yum list installed | grep pcre pcre.x86_64 7.8-6.el6 @anaconda-CentOS-201410241409.x86_64/6.6
root@agent3:/home/vagrant# rpm -ql pcre /lib64/libpcre.so.0 /lib64/libpcre.so.0.0.1 /usr/bin/pcregrep /usr/bin/pcretest /usr/lib64/libpcrecpp.so.0 /usr/lib64/libpcrecpp.so.0.0.0 /usr/lib64/libpcreposix.so.0 /usr/lib64/libpcreposix.so.0.0.0 /usr/share/doc/pcre-7.8 /usr/share/doc/pcre-7.8/AUTHORS /usr/share/doc/pcre-7.8/COPYING /usr/share/doc/pcre-7.8/ChangeLog /usr/share/doc/pcre-7.8/LICENCE /usr/share/doc/pcre-7.8/NEWS /usr/share/doc/pcre-7.8/README /usr/share/man/man1/pcre-config.1.gz /usr/share/man/man1/pcregrep.1.gz /usr/share/man/man1/pcretest.1.gz
uname -a Linux agent3 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Updated by Nicolas CHARLES about 9 years ago
- Status changed from New to Rejected
Wrong package installed, centos7 on centos6
sorry
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 318 to 4.0.0~rc2
Actions