Hi folks,

I'm using stunnel4 to secure Redis replication clients over the public
internet. I've noticed that when I reboot the master server, stunnel4 fails
to start with the following journal entries:

Jul 23 20:06:57 tor-master-001 stunnel4[1446]: [!] bind: Cannot assign
requested address (99)
Jul 23 20:06:57 tor-master-001 stunnel4[1446]: [!] Error binding service
[redis] to 159.203.23.157:6379
Jul 23 20:06:57 tor-master-001 stunnel4[1446]: [ ] Closing service [redis]
Jul 23 20:06:57 tor-master-001 stunnel4[1446]: [ ] Service [redis] closed
Jul 23 20:06:57 tor-master-001 stunnel4[1446]: failed

159.203.23.157 is my public IP address. Guessing that stunnel4 is starting
before the network and is therefore unable to bind to the address, I added
$network to Required-Start in /etc/init.d/stunnel4 and that seems to have
solved the problem.

Thoughts? Can we update the package with this fix? Or is there a better fix?

Thank you,

Mike Pastore
m...@oobak.org
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to