-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8/19/2014 3:19 PM, Neil Aggarwal wrote: > Christopher: > >> Do the tcnative*.so files have the execute bit set? > > Doing a ls -lah gives me this: -rw-r--r-- 1 root root 1.7M Aug 17 > 08:57 libtcnative-1.a -rwxr-xr-x 1 root root 1.1K Aug 17 08:57 > libtcnative-1.la lrwxrwxrwx 1 root root 23 Aug 17 08:57 > libtcnative-1.so -> libtcnative-1.so.0.1.31 lrwxrwxrwx 1 root root > 23 Aug 17 08:57 libtcnative-1.so.0 -> libtcnative-1.so.0.1.31 > -rwxr-xr-x 1 root root 713K Aug 16 23:02 libtcnative-1.so.0.1.30 > -rwxr-xr-x 1 root root 980K Aug 17 08:57 libtcnative-1.so.0.1.31 > drwxr-xr-x 2 root root 26 Aug 17 14:56 pkgconfig > > It seems like the execute bits are set. > >> file /usr/local/apr/lib/libtcnative-1.so > > That gives me: /usr/local/apr/lib/libtcnative-1.so: symbolic link > to `libtcnative-1.so.0.1.31' > > file /usr/local/apr/lib/libtcnative-1.so.0.1.31 gives me: > /usr/local/apr/lib/libtcnative-1.so.0.1.31: ELF 64-bit LSB shared > object, x86-64, version 1 (SYSV), dynamically linked, > BuildID[sha1]=0x56885899f70761 f7a250dbc6560a69131dc9e950, not > stripped > >> All users should have "read" and "execute" privileges on the >> file itself > > The file is world read and execute, so that should be OK. > >> Tomcat user requires "execute" privileges on every directory >> between / and /usr/local/apr/lib. You might also need Tomcat to >> have "read" privileges on those directories > > I just checked /, /usr, /usr/local, /usr/local/apr, and > /usr/local/apr/lib and they are all world read and execute bits > set. > > Any other ideas? > > Thanks, Neil > > -- Neil Aggarwal, (972) 834-1565 We lend money to investors to buy > or refinance single family rent houses. No origination fees, quick > approval, no credit check.
Neil, I don't have CentOS 7 installed yet (on my list of things to do), but in CentOS 6.5, there are places where ld.so.cache gets built from. It's configured by the files in /etc/ld.so.conf.d/. Each directory gets its own configuration file ending in a .conf. The file contains the directory to cache. For example, to include /usr/local/apr/lib in ld.so.cache, you would make a file called: apr.conf Inside that file, add the following directory (if I've read where you've installed the libraries correctly): /usr/local/apr/lib That should place the libraries on the system search path. You can do that, or create a setenv.sh file in $CATALINA_BASE/bin that contains the following line. CATALINA_OPTS="-Djava.library.path=/usr/local/apr/lib" Obviously add any other CATALINA_OPTS you need to have there as well. I just checked on my Fedora 20 system, and the configuration is the same. So there's a good chance that this will be correct for CentOS 7. . . . just my two cents /mde/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (MingW32) iQEcBAEBAgAGBQJT8+ZGAAoJEEFGbsYNeTwtaDcIAKpcH7oK7cBb+p/mdx40MI6k EfPpHEA+487gtEyRxFvYQrbxXvUA9gutEJlkAbrochZIp2hiPZ+YgremDUd6Illb RvnMCR3XBmMmrxZaGSWnGFW9hkb8dGVN1PgrfP6JZmS1SNIwpqECR+czFMIoRFW8 O7WlqNCEFhsGS9EQlF1HklT6B7VaKssw+lAI2xqQqUyP/HJZXlBHFdGBPJ1IK/2V 6XysQ6bFuLmLJ1j+mMxm+c9WJn/RsXT1Z9r8bwsW1Zg+oc567EkPDKe0rt1Lw97y 3CMo6d91xemPMv7VIe2cJjNUR3q5ZOws/BffBLADc+Pi8neBavOy9n8TE7uqnYE= =I3iS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org