Hi
I have been testing the back up and restore to a different server I ran it manually last night and it all worked fine from what i could see. I places the script into cron.daily but i think i did something wrong. This morning I tried to connect to the new server and got this:
error: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" :1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
I then tried to manually run the script again but got this error :
psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
I have not alteres anything in the
/etc/postgresql/9.4/main/postgresql.conf
Any ideas ?
Cheers Andy
I have been testing the back up and restore to a different server I ran it manually last night and it all worked fine from what i could see. I places the script into cron.daily but i think i did something wrong. This morning I tried to connect to the new server and got this:
error: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" :1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
I then tried to manually run the script again but got this error :
psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
I have not alteres anything in the
/etc/postgresql/9.4/main/postgresql.conf
Any ideas ?
Cheers Andy