| View previous topic :: View next topic |
| Author |
Message |
grindking Voice
Joined: 01 Sep 2008 Posts: 9
|
Posted: Fri May 15, 2009 3:46 pm Post subject: Have no idea what's going on |
|
|
I have been using eggdrops for years. I see the sercurity update today for 1.6.19 ctcp patch so i decide to download it and update. Now the bot won't connect irc at all. It makes absolutely NO sense because NO errors are printed to the error log with absolutely EVERY argument that I've added to the log setting.
But I can run it './eggdrop -n config.conf' file all day long and the bot will connect fine to irc.
Without any printouts for the error I have *NO* way to debug this software.
I will be forced to go back to the older vulnerable version if this newer update does NOT WORK.
Has anyone else had this problem at all, any feedback is much appreciated. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 15, 2009 4:31 pm Post subject: |
|
|
Did I get you right, if you add the -n parameter, it works just fine, if you don't, it freezes?
If that's the case, then you've got problems with threaded tcl8.5 not being properly detected as such. You'll find several threads regarding this all over the forum, search for threaded tcl, and you'll most likely find some of them.
Short fix, define the TCL_HAVE_THREADS macro in your config.h file after running configure. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
grindking Voice
Joined: 01 Sep 2008 Posts: 9
|
Posted: Fri May 15, 2009 4:39 pm Post subject: |
|
|
| nml375 wrote: | Did I get you right, if you add the -n parameter, it works just fine, if you don't, it freezes?
If that's the case, then you've got problems with threaded tcl8.5 not being properly detected as such. You'll find several threads regarding this all over the forum, search for threaded tcl, and you'll most likely find some of them.
Short fix, define the TCL_HAVE_THREADS macro in your config.h file after running configure. |
sorry if i was a little vague, basically i get no output to ANY log files if i run without the -n option and the bot also does not connect to irc nor show anything. with the -n option it all works fine.
it still shows all my scripts being loaded etc without the -n, just never 'does anything' if that makes sense and with no logs it's hard. ... i *did* initially see a libtcl8.4.so error but i thought i had that fixed in the previous version before update. i will check those again.
ahhh, this must be what it is, as i am running ubuntu as well and see the other posts, so thank you for the pointer i guess i should have searched for eggdrop -n or something i just had to go on a service call and figured this would be best while i'm away from the computer
thanks again.
Last edited by grindking on Fri May 15, 2009 4:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 15, 2009 4:44 pm Post subject: |
|
|
Well, the threaded-tcl issue will not freeze your eggdrop until it tries to fork into background, so the "loading scripts" logs is normal with this bug.
Simply put, what happens is that once it tries to fork into background, it will become completely unresponsive (not accept telnet connections, not connecting to any server, or anything else either). _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
grindking Voice
Joined: 01 Sep 2008 Posts: 9
|
Posted: Fri May 15, 2009 4:45 pm Post subject: |
|
|
i knew i should have used standard debian! ha, dunno if that would have mattered, but i converted this ubuntu 8.10 to a server a few months back out of laziness  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 15, 2009 4:48 pm Post subject: |
|
|
Well, the lazy-fix is to manually edit config.h and make sure HAVE_TCL_THREADS is defined to 1, and recompile. You'll most likely find a comment saying #undef HAVE_TCL_THREADS, "just remove the comment and define it" :p
There's been talk 'bout an updated configure-script to properly detect threaded libs with tcl8.5, but I have no clue as to whether it's been implemented yet. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
grindking Voice
Joined: 01 Sep 2008 Posts: 9
|
Posted: Fri May 15, 2009 5:51 pm Post subject: |
|
|
thanks again for the help, that did it  |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 15, 2009 5:53 pm Post subject: |
|
|
You're welcome,
enjoy! _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|