ZNC 0.200 fails to connect on Mac OS X 10.6.8 and 10.7.1 #25

Closed
opened 2026-10-05 03:54:25 +02:00 by adam · 5 comments
Owner

I recently tried to install ZNC (thru homebrew) on OS X 10.6.8 and 10.7.1 and receive a Connect Failed. ERRNO [65] FD [5] when ZNC try to connect to the irc server. Below is a transcript of what i am seeing.
I don't know if this is a bug with ZNC or homebrew, but figured i would start at the source.
If there is any other information that might help get to the bottom of this please let me know.

user@gmac ~ $ znc -D
[ ok ] Opening Config [/Users/user/.znc/configs/znc.conf]... 
[ ok ] Loading Global Module [webadmin]... [/usr/local/Cellar/znc/0.200/lib/znc/webadmin.so]
[ ok ] Binding to port [+12345]... 
[ ** ] Loading user [user]
[ ok ] Adding Server [irc.freenode.net 6667 ]... 
[ ok ] Loading Module [chansaver]... [/usr/local/Cellar/znc/0.200/lib/znc/chansaver.so]
[ ok ] Loading Module [keepnick]... [/usr/local/Cellar/znc/0.200/lib/znc/keepnick.so]
[ ok ] Loading Module [kickrejoin]... [/usr/local/Cellar/znc/0.200/lib/znc/kickrejoin.so]
[ ok ] Loading Module [nickserv]... [/usr/local/Cellar/znc/0.200/lib/znc/nickserv.so]
[ ok ] Loading Module [simple_away]... [/usr/local/Cellar/znc/0.200/lib/znc/simple_away.so]
[ ** ] Staying open for debugging [pid: 63305]
[ ** ] ZNC 0.200 - http://znc.in
Connecting user [user]
User [user] is connecting to [irc.freenode.net 6667] ...
Csocket.cpp:886 Connect Failed. ERRNO [65] FD [5]
Csocket.cpp:886 Connect Failed. ERRNO [65] FD [5]
IRC::user == SockError(65 No route to host)
Connecting user [user]
Connecting user [user]
Connecting user [user]
^C[ ** ] Exiting on SIG [2]
I recently tried to install ZNC (thru homebrew) on OS X 10.6.8 and 10.7.1 and receive a `Connect Failed. ERRNO [65] FD [5]` when ZNC try to connect to the irc server. Below is a transcript of what i am seeing. I don't know if this is a bug with ZNC or homebrew, but figured i would start at the source. If there is any other information that might help get to the bottom of this please let me know. ``` user@gmac ~ $ znc -D [ ok ] Opening Config [/Users/user/.znc/configs/znc.conf]... [ ok ] Loading Global Module [webadmin]... [/usr/local/Cellar/znc/0.200/lib/znc/webadmin.so] [ ok ] Binding to port [+12345]... [ ** ] Loading user [user] [ ok ] Adding Server [irc.freenode.net 6667 ]... [ ok ] Loading Module [chansaver]... [/usr/local/Cellar/znc/0.200/lib/znc/chansaver.so] [ ok ] Loading Module [keepnick]... [/usr/local/Cellar/znc/0.200/lib/znc/keepnick.so] [ ok ] Loading Module [kickrejoin]... [/usr/local/Cellar/znc/0.200/lib/znc/kickrejoin.so] [ ok ] Loading Module [nickserv]... [/usr/local/Cellar/znc/0.200/lib/znc/nickserv.so] [ ok ] Loading Module [simple_away]... [/usr/local/Cellar/znc/0.200/lib/znc/simple_away.so] [ ** ] Staying open for debugging [pid: 63305] [ ** ] ZNC 0.200 - http://znc.in Connecting user [user] User [user] is connecting to [irc.freenode.net 6667] ... Csocket.cpp:886 Connect Failed. ERRNO [65] FD [5] Csocket.cpp:886 Connect Failed. ERRNO [65] FD [5] IRC::user == SockError(65 No route to host) Connecting user [user] Connecting user [user] Connecting user [user] ^C[ ** ] Exiting on SIG [2] ``` <!-- github-sync-id:1589604 -->
adam closed this issue 2026-10-05 03:54:25 +02:00
Author
Owner

Could you try setting your bindhost to 0.0.0.0? This forces znc to use ipv4 and ignore ipv6.

Could you try setting your bindhost to 0.0.0.0? This forces znc to use ipv4 and ignore ipv6. <!-- github-comment-id:2029069 -->
Author
Owner

Thanks !
adding BindHost = 0.0.0.0 to the "user" section of the config file seems to have solved that problem.
does the issue only happen when setting up ZNC with IPV6 support then ?

Thanks ! adding `BindHost = 0.0.0.0` to the "user" section of the config file seems to have solved that problem. does the issue only happen when setting up ZNC with IPV6 support then ? <!-- github-comment-id:2029462 -->
Author
Owner

Just what I needed! Thanks.

Just what I needed! Thanks. <!-- github-comment-id:8983402 -->
Author
Owner

Btw, this was fixed in 0.207

Btw, this was fixed in 0.207 <!-- github-comment-id:8983573 -->
Author
Owner

Ah, homebrew gave me 0.206

Ah, homebrew gave me 0.206 <!-- github-comment-id:8984447 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#25