Hi all,
I've been building up a new server over the last week, and I had everything but OMV working. Now I can't get OMV to work, and I've broken most of what was already working... lol.
I'm running Squid for proxy auth through Dansguardian content filtering. I had Apache installed and sort of working (it only served the "The server is running but you have no content" page, but that was enough for now).
Dansguardian listened on port 8080, and passed connections to Squid on 8081, and it worked perfectly. I'm also directing Squid users to OpenDNS name servers, for a second level of content filtering (I have kids at just the wrong age to be using the internet without serious protections).
Anyway, that was all working fine. Cue several bodged OMV installs, and now nothing works. I started by trying to apt-get install openmediavault while still pulling from an old OMV repo via my apt/sourceslist. I had lots of issues with dependencies etc. all being a mess, but I eventually found out that Fedaykin was the old OMV, I changed the source to be Kralizec, and I apt-get installed with no issue. Or so I thought!
It seems that the new OMV serves the web gui via Nginx, which I know nothing about. My server had some hodge-bodge mix of Apache and Nginx, so I apt-get removed Apache and Openmediavault, and then apt-get autoremoved to clean up any leftover old dependencies etc. I rebooted to make sure I had a clean slate, and then simply did an apt-get install openmediavault. It pulled down the 50-something packages again, and set up the sites-available and sites-enabled OMV folder and symlink, as it should, and it all looks great, but... I can't get to the web gui. Well, I actually can't get to any sites at all.
I simply get "Iceweasel can't establish a connection to the server at 127.0.0.1.", and I get the same for 192.168.1.2 (the local address of the server, rather than its LO). How do I configure Nginx? Everything I've read said it should just work, but I think having the old Apache install on here has confused things. It's possible that many of my ports are blocked now (maybe uninstalling Apache closes port 80 for security?), but I've tried omv-firstaid and changing the port to all sorts of alternatives, and I'm fairly sure it's not just a matter of them all being blocked.
To make matter worse, Dansguardian now doesn't work, because it can't bind to 8081 anymore. I'm in a little over my head when we start talking about socket binding, I'm afraid.
root@novak:/home/jedi# service dansguardian restart
Restarting DansGuardian: dansguardianError binding server socket: [8080 192.168.1.2 0] (Cannot assign requested address)
Error binding server socket (is something else running on the filter port and ip?
Exiting with error
failed!
For the record, Squid is still happy:
root@novak:/home/jedi# service squid restart
Restarting Squid HTTP proxy: squid Waiting.....................done.
.
Can anyone tell me how to clean up my OMV/Nginx/Apache so that the webgui works, and which part of my clusterf#@k might have broken DG's attachment to 8081?
Thanks heaps!
Benjamin.