Skip navigation
All People > Patrick-Dussault > Patrick Dussault's Blog > 2018 > April
2018

Here a single command to install all prereq for SiteMinder 12.52SP1 32bit on RedHat 6 :

 

for i in libstdc++ libXau libxcb compat-libtermcap libidn compat-db compat-db42 compat-db43 libX11 libXrender expat libfreetype libfontconfig libICE libuuid libSM libXext compat-libstdc++ compat-db libXi libXtst libXft libXt libXp; do yum -y install $i.i686 ; done;

Issue

 

I run the rpm command on Linux and the install stops because it's
missing some dependencies. How can I install it without any
consideration about the dependencies ?

 

I've got 2 packages that are needed one to the other :

 

[root@localhost Packages]# rpm -i nss-softokn-freebl-3.28.3-6.el7.i686.rpm --force
warning: nss-softokn-freebl-3.28.3-6.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
libc.so.6 is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libdl.so.2 is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.28.3-6.el7.i686
libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.28.3-6.el7.i686

 

[root@localhost Packages]# rpm -Uvh glibc-2.17-196.el7.i686.rpm
warning: glibc-2.17-196.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
libfreebl3.so is needed by glibc-2.17-196.el7.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.17-196.el7.i686

 

Solution :

 

Run the rpm command with the switches --force --nodeps on one of the
package, and then install the second one to solve this issue.

 

[root@localhost download]# rpm -fi nss-softokn-freebl-3.28.3-6.el7.i686.rpm --force --nodeps

Use the switch -x in order to have the bash script command line
included in ca-wa-12.51-cr08-sol.bin.

 

To illustrate when running Web Agent installer as root :

 

# bash -x ./ca-wa-12.51-cr08-sol.bin -i console > output.txt 2>&1

 

You'll find all script debug line in output.txt

[root@duspa01-I12261 debug]# /opt/apache2429/bin/ab -n 100000 -c 10 http://localhost/

 

This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests


Server Software: Apache/2.4.29
Server Hostname: localhost
Server Port: 80

Document Path: /
Document Length: 45 bytes

Concurrency Level: 10
Time taken for tests: 98.186 seconds
Complete requests: 100000
Failed requests: 0
Total transferred: 28900000 bytes
HTML transferred: 4500000 bytes
Requests per second: 1018.47 [#/sec] (mean)
Time per request: 9.819 [ms] (mean)
Time per request: 0.982 [ms] (mean, across all concurrent requests)
Transfer rate: 287.44 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 1 10 5.8 9 37
Waiting: 0 10 5.8 9 36
Total: 1 10 5.8 9 37

Percentage of the requests served within a certain time (ms)
50% 9
66% 10
75% 12
80% 13
90% 19
95% 20
98% 22
99% 23
100% 37 (longest request)

Here's a sample of ldapsearch command line to get all attributes from a specific user :

 

ldapsearch -h ldap_server_ip -p ldap_port -b "dc=training,dc=com" -D "administrator_dn_to_connect_to_ldap" -w administrator_password -x "(uid=the_uid_value)"