- scream in agony (mandatory).
- reboot my workstation -> works
- conclusion: problem was move of filesystems accomplished last night.
- reboot web server -> fails.
- conclusion: file service is not the problem for the web server.
- manually started web server
/etc/init.d/apachectl start
- complaint: can't find libz.so.1
- conclusion:
LD_LIBRARY_PATH or contents got messed up.
- checked /local/lib: required file there.
% ls -l /local/lib/libz*
lrwxrwxrwx 1 dert staff 48 Apr 5 15:52 /local/lib/libz.a -> /loc/utils/zlib-1.1.3/sunos-sun4u-5.7/lib/libz.a
lrwxrwxrwx 1 dert staff 55 Apr 5 15:52 /local/lib/libz.so -> /loc/utils/zlib-1.1.3/sunos-sun4u-5.7/lib/libz.so.1.1.3
lrwxrwxrwx 1 dert staff 55 Apr 5 15:52 /local/lib/libz.so.1 -> /loc/utils/zlib-1.1.3/sunos-sun4u-5.7/lib/libz.so.1.1.3
lrwxrwxrwx 1 dert staff 55 Apr 5 15:52 /local/lib/libz.so.1.1.3 -> /loc/utils/zlib-1.1.3/sunos-sun4u-5.7/lib/libz.so.1.1.3
- Oops! This is a new version!
- checked the file itself:
% cd /loc/utils/zlib-1.1.3/sunos-sun4u-5.7/lib
% ls -l
total 286
-rwxr-xr-x 1 dert staff 73768 Apr 5 15:52 libz.a
lrwxrwxrwx 1 dert staff 13 Apr 5 15:52 libz.so -> libz.so.1.1.3
lrwxrwxrwx 1 dert staff 13 Apr 5 15:52 libz.so.1 -> libz.so.1.1.3
-rwxr-xr-x 1 dert staff 68932 Apr 5 15:52 libz.so.1.1.3
- checked
/loc/utils and found /loc/utils/zlib-1.1.3-old.
- Conclusion: new version has problems.
- changed script
conbrio:/etc/init.d/apachectl so that
LD_LIBRARY_PATH points to old version:
LD_LIBRARY_PATH=/loc/utils/zlib-1.1.3-old/lib:/local/lib; export LD_LIBRARY_PATH
- started apache again => worked.
- Conclusion: zlib needs help, apache now OK.
- Full problem description:
- ran web server
- changed zlib.
- didn't reboot => worked fine.
- reboot => failure.