I'm in the process of upgrading a server from Fedora 10 to Fedora 11. "This should be no problem" I thought because, in my heart, I'm an optimist. No, really! I totally am. So just imagine my surprise when after what appeared to be a really smooth update I tried to start my (already installed) Sun Java System Web Server. Was I greeted with "Server ready for requests"? Nope. Instead I was greeted with the wildly unhelpful errors:
parsexml: /export/WS7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib64/libcrypt.so.1) webservd-wdog: /export/WS7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib64/libcrypt.so.1)
After much poking and prodding with strace and lsof, and much fooling about with Google, I chased it down.
Sun Web Server bundles several third-party libraries in its distribution in order to guarantee their availability on any arbitrary system. But of course it also makes use of system-provided libraries for some functions. In this case Sun Web Server is using the system-provided libcrypt.so.1, but the privately supplied libfreebl3.so. The older libfreebl3.so is not providing the functionality that libcrypt.so.1 is expecting. The solution? Make Sun Web Server use the system-provided libfreebl3.so:
[root@localhost https-www]# ./bin/startserv parsexml: /export/WS7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib64/libcrypt.so.1) webservd-wdog: /export/WS7/lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib64/libcrypt.so.1) [root@localhost https-www]# cd ../lib/ [root@localhost lib]# mv *freebl* tmp [root@localhost lib]# cd - /export/WS7/https-www [root@localhost https-www]# ./bin/startserv Sun Java System Web Server 7.0U5 (64-Bit) B03/10/2009 15:13 info: HTTP3072: ls0: http://www:80 ready to accept requests warning: CORE2176: MakeServerRunFaster directive ignored info: CORE3274: successful server startup [root@localhost https-www]#
Sun, please do update the bundled versions of the libraries you ship with Sun Web Server, OR open source the rest of Sun Web Server and allow us to rebuild the entire thing ourselves on newer systems. Thanks!