egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Telnet says cannot restart using -n

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
MrMike19597
Voice


Joined: 07 Jul 2005
Posts: 30

PostPosted: Fri Apr 20, 2007 4:06 am    Post subject: Telnet says cannot restart using -n Reply with quote

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??
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Apr 20, 2007 9:32 am    Post subject: Reply with quote

./eggdrop -ntm eggdrop.conf

this should allow you to see why it's not connecting properly
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Apr 20, 2007 10:14 am    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
MrMike19597
Voice


Joined: 07 Jul 2005
Posts: 30

PostPosted: Fri Apr 20, 2007 1:39 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Fri Apr 20, 2007 11:53 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber