We're running a CA Access Gateway (SPS) and we'd like to know the
embedded Apache server version. We've tried the httpd -v command, but
this doesn't seem to work.
[email protected] bin]# ./httpd -v
./httpd: error while loading shared libraries: libpcre.so.1: cannot
open shared object file: No such file or directory
It seems also that there are missing libraries :
[[email protected] bin]# ldd ./httpd
linux-gate.so.1 => (0x00d12000)
libpcre.so.1 => not found
libaprutil-1.so.0 => not found
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00e7d000)
libapr-1.so.0 => not found
libuuid.so.1 => /lib/libuuid.so.1 (0x00884000)
librt.so.1 => /lib/librt.so.1 (0x00745000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x0084e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x006e3000)
libdl.so.2 => /lib/libdl.so.2 (0x0078e000)
libc.so.6 => /lib/libc.so.6 (0x0095c000)
libfreebl3.so => /lib/libfreebl3.so (0x00db8000)
How can we fix this ?
CA Access Gateway (SPS) 12.8SP0 on RedHat 7
At first glance, you can get the version of embedded Apache with
running other command previously.
You need first to source the CA Access Gateway (SPS) environment
$ source ca_sps_env.sh
Then the -V will give you the full details and much more !
(This one is output from CA Access Gateway (SPS) 12.8SP0)
$ ./httpd/bin/apachectl -V
Server version: Apache/2.4.27 (Unix)
Server built: Jul 25 2017 07:12:16
Server's Module Magic Number: 20120211:68
Server loaded: APR 1.6.2, APR-UTIL 1.6.0
Compiled using: APR 1.6.2, APR-UTIL 1.6.0
Server MPM: worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)