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 

[SOLVED] Won't connect?

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


Joined: 21 Feb 2008
Posts: 4

PostPosted: Thu Feb 21, 2008 5:36 pm    Post subject: [SOLVED] Won't connect? Reply with quote

Here's a great mystery that I seem entirely unable to solve. My configuration file is called run.eggdrop, just so I'd have something easy to remember.

From the command line:
# ./eggdrop run.eggdrop

It says:
Launched into the background

Yet I never see it connect and join the irc network and channel that it is set up to. However, if I use:
# ./eggdrop -n run.eggdrop

It connects to the network just fine! Why would this happen?


Last edited by Suxen on Thu Feb 21, 2008 10:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
BeBoo
Halfop


Joined: 26 Sep 2007
Posts: 42

PostPosted: Thu Feb 21, 2008 5:50 pm    Post subject: Reply with quote

Try telnetting to your bot after you run that first command and see if it's outputting anything or if you can even connect to it. Not sure what the -n flag is.

Brandon
Back to top
View user's profile Send private message
Suxen
Voice


Joined: 21 Feb 2008
Posts: 4

PostPosted: Thu Feb 21, 2008 6:02 pm    Post subject: Reply with quote

Can't telnet into it either for some reason.

-n stops it running in the background so everything is sent to the console instead
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Feb 21, 2008 6:50 pm    Post subject: Reply with quote

You are having problems with threaded tcl-libraries not being properly detected as such, hence forking into background pretty much freezes the eggdrop.

Another reason for this kind of problems would be that there are multiple tcl-libraries installed on the system. However, with many recent linuxdistributions, this is an issue with libraries however.

A quickfix is to edit the config.h file after running ./configure, and defining the macro "HAVE_TCL_THREADS" to 1.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Suxen
Voice


Joined: 21 Feb 2008
Posts: 4

PostPosted: Thu Feb 21, 2008 10:12 pm    Post subject: Reply with quote

Right on, thanks!! I felt like I was starting to go insane Very Happy

For whatever reason, telnetting to the bot still doesn't seem to want to work even though the configuration is exactly as before, but I can live without it.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Feb 21, 2008 10:44 pm    Post subject: Reply with quote

Suxen wrote:
For whatever reason, telnetting to the bot still doesn't seem to want to work even though the configuration is exactly as before, but I can live without it.

Try:
Code:
/CTCP <nick> CHAT

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Suxen
Voice


Joined: 21 Feb 2008
Posts: 4

PostPosted: Thu Feb 21, 2008 10:49 pm    Post subject: Reply with quote

Can't seem to get a response from it that way either, which is why I defaulted to telnet (which used to work, before I went through recompiling everything). But it's still not the end of the world having to work without it.

Edit: Nevermind, the telnet mystery was that for some reason something else ended up taking up the port. Go figure. All is now good and well again Very Happy
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