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 

bot doesen't work without -n

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


Joined: 05 Mar 2006
Posts: 2

PostPosted: Sun Mar 05, 2006 1:16 pm    Post subject: bot doesen't work without -n Reply with quote

I have a problem with my eggdrop. If I run it without -n option, eggdrop doesent want to connect to a server and doesent accept connections on telnet(telnet actually connects i just don't get welcome screen), but if i run it with -n option it works fine. Has anybody any idea what could be wrong. For now i solved the problem with ./eggdrop -n>/dev/null&. I use eggdrop1.6.17 and debian stable.
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Mar 05, 2006 5:37 pm    Post subject: Reply with quote

Yah, noticed that myself on debian, a problem with forking, debian sucks or something like this. Buzz the gghead's dev team about this or install a different OS. Smile
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon Mar 06, 2006 2:56 am    Post subject: Reply with quote

I had the same problem on debian.
I didn't have the problem on a different debian server with the exact same debian build though.
Back to top
View user's profile Send private message
hellraiser
Voice


Joined: 05 Mar 2006
Posts: 2

PostPosted: Mon Mar 06, 2006 12:03 pm    Post subject: Reply with quote

Yeah, exactly. Eggdrop runs with no problem on my home debian box, but it's not working on the other one.
Back to top
View user's profile Send private message
rjpearce
Voice


Joined: 27 Mar 2006
Posts: 5

PostPosted: Mon Mar 27, 2006 8:40 am    Post subject: Reply with quote

identical problem.. I suspect its something recent in debian.

I run debian, sarge .. what does everyone run?

I have 2 older 1.6.15's eggdrops compiled a while back which run fine without -n.

Only recently when we've recompiled they no longer work without -n..
I've tried 1.6.15, 1.6.16 and 1.6.17.. all have the same problem.

Anyone have any suggestions?..

Its a shame there is no debug output at all.

-R J Pearce
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Mon Mar 27, 2006 9:10 am    Post subject: Reply with quote

this is 99% a lib path issue of multiple installed TCL versions. make sure the first 'LD_LIBRARY_PATH' entry points to the one eggdrop is linking with (get to know with 'ldd eggdrop'). Use the search function to get to more about it.
ex. how it should look like: (highlighted paths must match)
Quote:
~/STARZ$ ldd eggdrop
libtcl8.4.so => /usr/local/lib/libtcl8.4.so (0x40018000)
libm.so.6 => /lib/libm.so.6 (0x400cb000)
libdl.so.2 => /lib/libdl.so.2 (0x400ed000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400f1000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x40106000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40119000)
libc.so.6 => /lib/libc.so.6 (0x4012b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
~/STARZ$ export | grep LD_LIBRARY_PATH
declare -x LD_LIBRARY_PATH="/usr/local/lib"

you should also make sure the one in ldd is the one from which ../include the header file is from with which the bot was compiled. Its not that important than the other thing, but it ensures max compatibility (header version can be seen with .status in partyline as example).

This problem occurs because eggdrop searchs first for /usr/local/lib which is also the default for TCL and debians default TCL is installed in /usr/lib Very Happy.

PS: of course the real solution for this problem to uninstall debians TCL and keep only the new TCL version Very Happy.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
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