I have been flashing my rpi2 for days trying to get armitage to work. On my 5th try (have made a backup of the expanded image so no more waiting on downloads for the kali-linux-full.) I finally did get everything to work perfectly. Armitage was up and running. So I decided to hook up the pi to my network via ethernet so I had the wifi adapter free if i needed it. (I SSH into the Pi from my chromebook or use VNC when the gui is needed). After hooking it up and starting the pi I get a permission error when I run postgresql.

Here is the output.

root@kali:~# service postgresql start
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2015-05-24 09:15:35 UTC LOG: database system was interrupted; last known up at 2015-05-24 07:33:08 UTC 2015-05-24 09:15:35 UTC FATAL: could not open file "/etc/ssl/certs/ssl-cert-snakeoil.pem": Permission denied 2015-05-24 09:15:35 UTC LOG: startup process (PID 2572) exited with exit code 1 2[FAIL5-24 09:15:35 UTC LOG: aborting startup due to startup process failure ... failed!
failed!

Can someone please help me fix this I am a noob.

Thanks in advance