When you cloned the create a fresh dbserver, did you use a CentOS 6 or 7 VM? The scripts work for me on CentOS 6.x.
Please reboot the VM. That's not in the instructions, but I found I had to do it manually after makeme_dbserver.sh applies the /etc/sysctl.conf shared memory settings.
After the reboot, can you do:
psql -U spec -d specdb
And see:
psql -U spec -d specdb
psql (8.4.20, server 9.2.21)
WARNING: psql version 8.4, server version 9.2.
Some psql features might not work.
Type "help" for help.
specdb=#
If that works, Ctrl+D to exit. Let's turn off IPV6:
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.all.disable_ipv6=1
Then retry /opt/other_scripts/loaddb_postgres.sh.
Lisa