Quote:
Originally Posted by whissama
**Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[08006] [7] could not connect to server: Connection refused
Is the server running on host "192.168.xx.xx" and accepting TCP/IP connections on port 5432?'**
|
First,
connection refused means that you can connect (not a typo
) to this IP address, i.e. the kernel is running, it's attached to the network and no firewall blocks port 5432. However, no process listens for connection requests at port 5432, and the kernel actively rejects the connection by sending the client an ICMP packet.
This could be a temporary condition. Perhaps the processes on the FreeNAS take a bit longer to start up. Perhaps the FreeNAS is in the middle of a monstrous filesystem check. If so, you should be able to connect in a few minutes.
Or it's a permanent problem, and your power failure has caused a problem that prevents the server processes on the FreeNAS to start up and wait for connection requests.
You should start troubleshooting this on the FreeNAS. I believe it's essentially a FreeBSD box with special software on it, so that you should be able to log on and look around, either using its web interface or the command line. There might be a console showing that the FreeNAS can't complete its boot process, or log files that indicate why processes aren't running.