Our postgres data folder was installed on a disk with very limited space. Now I'm trying to move it to a newly mounted drive (more space). I followed several blog posts and they all say ...
The service starts, but when I go to connect, it gives me "could not connect to the server: connection refused"
I tried to connect to port 5432 and nothing.
Here is a link to what I tried: http://www-01.ibm.com/support/docview.wss?uid=swg21324272
Thank you all for your help. The problem seemed to be resolving.
Instead of doing
cp -R fromfolder tofolder
I did
cp -a fromfolder tofolder
And that decided. Thanks to everyone.