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 

eggdrop not reconnecting to irc

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


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Thu Apr 16, 2009 4:22 pm    Post subject: eggdrop not reconnecting to irc Reply with quote

I suspect the bot is getting disconnected for whatever reason (short server failure) and never connecting again.

- eggdrop version 1.6.19
- Connection to shell is fine, process is running.
- I am connected thought telnet, bot is responding.
- .tcl ignorelist is empty
- also no silence list
- Severlist is big and ok.

No matter how long I wait the bot won't connect to the irc server again. I am in console (telnet) and typed .console +rv and .jump some.working.irc.server. However, I see no messages from the server.

What I can do in order to reconnect the bot to the irc? When I use die and the automatic restart with crontab/autobotchk then it will work, but I want it automatically.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu Apr 16, 2009 4:31 pm    Post subject: Reply with quote

you should log in to the shell and view or download the bot's logfile (as set in the config file—the default is "logs/eggdrop.log", and see what that tells you. Also, is set server-type set correctly?
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Fri Apr 17, 2009 7:38 am    Post subject: Reply with quote

By the way, now right after .tcl die and the automatic restart dcc chat and telnet is working, also .dump test while console is +rv shows the correct interaction.

YooHoo wrote:
you should log in to the shell and view or download the bot's logfile (as set in the config file—the default is "logs/eggdrop.log", and see what that tells you.

Currently I have no logging enabled. What I should log?

YooHoo wrote:
Also, is set server-type set correctly?

Sorry, there is no such variable set. I did google for the term "eggdrop" "server-type" and it doesn't bring any relevant results.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Apr 17, 2009 10:01 am    Post subject: Reply with quote

I believe yoohoo was thinking of the "net-type" setting, although I doubt that setting is related to this issue.

When your eggdrop fails to reconnect, does it respond to commands such as ".match *"?
Also, are you running any custom scripts that might be interfering?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Fri Apr 17, 2009 1:40 pm    Post subject: Reply with quote

net-type is 5, quakenet.

No idea about .match, haven't tested this one but will do so the nest time I see this issue. However, .tcl and .dump worked.

I am running lots of self made scripts. Since .tcl is working at least no script seams to block the bot. However, could theoretically block the bot from connecting when using .jump server.com and .dump?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Apr 18, 2009 7:48 am    Post subject: Reply with quote

If .tcl works, there's no need to test .match...

As for your scripts, unless you are using raw bindings, your scripts should not interfere with server connections. Or, one very remote possibility; if your script opens a lot of files without closing them, your eggdrop will run out of resources. I do, however, believe your eggdrop would crash in such event.
Does it (your eggdrop) respond to .tcl rehash or .tcl restart?
_________________
NML_375, idling at #eggdrop@IrcNET
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