I edited my /etc/proxychains.conf
dynamic_chain
localnet 127.0.0.1 000 255.255.255.255
socks4 127.0.0.1 9050
socks5 127.0.0.1 9050

but i experienced the following error afterwards.
Can help?

root@kali:~# proxychains msfconsole
ProxyChains-3.1 (http://proxychains.sf.net)
|DNS-response|: kali does not exist
[-] Failed to connect to the database: 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?


root@kali:~# cat /etc/resolv.conf
# Generated by NetworkManager
search Home
nameserver 192.168.1.254
nameserver fe80::e28e:3cff:fe1a:fdd1%eth0
nameserver 8.8.8.8