I am using Alfresco 3.4.4 in my production environment(Redhat Linux). Yesterday I just tried to restart my Alfresco server but now it's not starting up. The tomcat starts successfully but postgres throws an exception while starting the server (here I am using postgres DB that was bundled with alfresco and haven't modified anything in the configuration files). I manually tried to start the postgresql server from alfresco/postgresql/scripts/ctl.sh and got the following error:
error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
Then I executed the following commands (I found this solution somewhere on the net):
$ cd /postgresql/bin
$ . setenv.sh
$ ldd initdb.bin
After executing these commands I didn't get any error related to libssl.so but still I am not able to start the Postgres server and I only get the following error:
./ctl.sh : postgresql could not be started
Edit: ldd command gives the following output:
linux-vdso.so.1 => (0x00007fff4251e000) libssl.so.0.9.8 => /opt/alfresco-3.4.4/common/lib/libssl.so.0.9.8 (0x00002b2e2c607000) libcrypto.so.0.9.8 => /opt/alfresco-3.4.4/common/lib/libcrypto.so.0.9.8 (0x00002b2e2c755000) libz.so.1 => /opt/alfresco-3.4.4/common/lib/libz.so.1 (0x00002b2e2c9cb000) libreadline.so.5 => /opt/alfresco-3.4.4/common/lib/libreadline.so.5 (0x00002b2e2cae5000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000338a200000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003377c00000) libm.so.6 => /lib64/libm.so.6 (0x0000003377400000) libc.so.6 => /lib64/libc.so.6 (0x0000003377000000) /lib64/ld-linux-x86-64.so.2 (0x0000003376c00000)
ldd postmaster(run from within the bin directory)?