This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Telnet says cannot restart using -n

General support and discussion of Eggdrop bots.
Post Reply
M
MrMike19597
Voice
Posts: 30
Joined: Thu Jul 07, 2005 9:39 pm

Telnet says cannot restart using -n

Post by MrMike19597 »

ok lets see where to start ... all the problems lol i spent days configuring the firewall to let me telnet .. finally i get things going but when i ./eggdrop -m eggdrop.conf it loads fine but it will not go to the server unless i do ./eggdrop -m eggdrop.conf -n so i have the user file an everything made an i can telnet... but now i cant .restart it says you cannot .restart while using -n and then something about TCL? now if i remove the -n an start the bot without the -n it will still not go to the server and its not giving me any reason why, any suggestions??
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

./eggdrop -ntm eggdrop.conf

this should allow you to see why it's not connecting properly
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

This would sound like a pthread/fork issue. I would guess that the tcl-library you're using was compiled with threads enabled, which now causes problems when your eggdrop tries to fork() into background (using -n or -nt prevents forking, and hence your eggdrop will suddenly appear to work without any problems. Unfortunately, because of tcl, you cannot use .restart when not launched into background).
NML_375
M
MrMike19597
Voice
Posts: 30
Joined: Thu Jul 07, 2005 9:39 pm

Post by MrMike19597 »

ok here is what i am getting

[06:28] net: connect! sock 5
[06:28] DNS resolved xx.xx.xxx.xxx to xxxxx
[06:28] Telnet connection: xxxxx/3330
[06:28] net: connect! sock 11
[06:28] net: eof!(write) socket 11 (Connection refused,111)
[06:28] Timeout/EOF ident connection
[06:28] Logged in: Mike(telnet@wxxxxx/3330)
[06:28] tcl: builtin dcc call: *dcc:save Mike 10
[06:28] Writing user file...
[06:28] Writing channel file...
[06:28] tcl: builtin dcc call: *dcc:restart Mike 10
[06:28] #Mike# restart
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

wow, that's actually an error I haven't seen before
hopefully nml375, or one of the other devs, can shed some light on what's going on.

I wouldn't think it's a threaded TCL issue since all of my servers use threaded TCL and I haven't had any problems like this with eggdrops on any of them.
Post Reply