Open michaelortmann opened 1 year ago
this also happends to me for some reason.
.rehash [17:38:17] #user# rehash Rehashing. [17:38:17] Rehashing ... [17:38:17] Tcl error in file 'eggdrop.conf': [17:38:17] this port is already bound to a specific IP on this machine, remove it before trying to bind to all interfaces while executing "listen 4040 all" (file "eggdrop.conf" line 37) [17:38:17] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) Connection closed by foreign host.
anyone found out why this is happening?
This is happening, when on rehash
eggdrop tries to set a listen port to ANYIP (0.0.0.0 / ::) while eggdrop is already listening to that port, but on a specific IP.
listen 4040 all
doesnt specify an IP, so that becomes ANYIP.
When listen ports are changed during eggdrops runtime via tcl listen
that error is reported, but when the same change would happen during rehash
eggdrop will die after reporting it. rehash
should not change listen ports. so far so good. but i think eggdrop should not die during rehash
either. Logging a warning instead should suffice.
.dccstat
will show current listen IP/ports
.tcl listen [ip] <port> off
removes a current listen IP/port
ye thats actually a good point, also i think documentation should point out how important it is in listen statement to include ip adress, without it you experience wierd stuff as i did, finally i found this and fixed my error.
im happy
eggdrop version: current git develop: 901c3a129ca5126b061786498c0fc63701eeed00
could be related to the garbage config setting
set listen-addr "virtual.host.com"
but that should not lead to the bot dying on.rehash