This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop not running in bg, but in fg

Old posts that have not been replied to for several years.
Locked
m
micro
Voice
Posts: 2
Joined: Thu Jan 13, 2005 12:28 pm

eggdrop not running in bg, but in fg

Post by micro »

Hi, i truly have an error i am really proud of.

I recompiled an eggdrop without tcl-threads, and startet it again.

Before, i was able to connect in bg and in fg.

Now the same bot, without tcl-threads, same config, so also same network etc.

if i start the bot in BG he does startup normal, but does not do anything, nor does it touch it the logfile or does it connect. Even "strace -p botpid" does not give out any output.

If i start the same bot with -n option for foreground, it does connect fine, lauch channels etc. only in bg he s... up ;)


------------------------------------------
Launching into bg ( bot is not doing anything after that, no open logfile, no connection to irc, no requesting of sockets ...)

Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[17:37] --- Loading eggdrop v1.6.17 (Thu Jan 13 2005)
[17:37] Listening at telnet port 1234 (bots).
[17:37] Listening at telnet port 4321 (users).
[17:37] Modul geladen: dns
[17:37] Modul geladen: channels
[17:37] Modul geladen: server
[17:37] Modul geladen: ctcp
[17:37] Modul geladen: irc
[17:37] Modul geladen: transfer (mit Sprach-Unterstuetzung)
[17:37] Modul geladen: share
[17:37] Modul geladen: notes (mit Sprach-Unterstuetzung)
[17:37] Modul geladen: console (mit Sprach-Unterstuetzung)
[17:37] Modul geladen: blowfish
[17:37] Modul geladen: assoc (mit Sprach-Unterstuetzung)
[17:37] Modul geladen: wire (mit Sprach-Unterstuetzung)
[17:37] Modul geladen: uptime
[17:37] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[17:37] use '.help userinfo' for commands.
[17:37] Shoutcast loaded
[17:37] Loading netbots.tcl v4.09 by slennox..
[17:37] bseen1.4.2c: -- Bass's SEEN loaded --
[17:37] Loading seen database...
[17:37] Done loading 795 seen records.
[17:37] TCL loaded: chanlist.tcl v1.01 by Sup <temex@iki.fi>
[17:37] GetOps v3.0c loaded.
[17:37] Protect Ops v1.6 by MC_8 loaded.
[17:37] UnloadTCL v1.1 by Wingman loaded.
[17:37] Loaded components: botnetop, bseen1.4.2, chanlimit, chanlist, getops, mass, mc.protectops, netbots, sentinel, unloadtcl
[17:37] Userfile loaded, unpacking...
[17:37] === hardtech: 1 channels, 112 users.
Launched into the background (pid: 15856)


-----------------------------------------------
The same but with -n (runs fine)

micro@r076:~/shoutcast/Hardtechno$ ./eggdrop -n Hardtechno.conf

Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[17:40] Allocated bind table unld (flags 1)
[17:40] Allocated bind table time (flags 1)
[17:40] Allocated bind table note (flags 0)
[17:40] Allocated bind table nkch (flags 1)
[17:40] Allocated bind table load (flags 1)
[17:40] Allocated bind table link (flags 1)
[17:40] Allocated bind table filt (flags 1)
[17:40] Allocated bind table disc (flags 1)
[17:40] Allocated bind table dcc (flags 0)
[17:40] Allocated bind table chpt (flags 1)
[17:40] Allocated bind table chon (flags 1)
[17:40] Allocated bind table chof (flags 1)
[17:40] Allocated bind table chjn (flags 1)
[17:40] Allocated bind table chat (flags 1)
[17:40] Allocated bind table bot (flags 0)
[17:40] Allocated bind table bcst (flags 1)
[17:40] Allocated bind table away (flags 1)
[17:40] Allocated bind table act (flags 1)
[17:40] Allocated bind table evnt (flags 1)
[17:40] --- Loading eggdrop v1.6.17 (Thu Jan 13 2005)
[17:40] LANG: Language loaded: german
[17:40] LANG: 390 messages of 450 lines loaded from ./language/core.german.lang
[17:40] LANG: 0 adds, 390 updates to message table
[17:40] Listening at telnet port 1234 (bots).
[17:40] Listening at telnet port 4321 (users).
[17:40] Modul geladen: dns
[17:40] Modul geladen: channels
[17:40] Allocated bind table wall (flags 1)
[17:40] Allocated bind table raw (flags 1)
[17:40] Allocated bind table notc (flags 1)
[17:40] Allocated bind table msgm (flags 1)
[17:40] Allocated bind table msg (flags 0)
[17:40] Allocated bind table flud (flags 1)
[17:40] Allocated bind table ctcr (flags 1)
[17:40] Allocated bind table ctcp (flags 1)
[17:40] Modul geladen: server
[17:40] Modul geladen: ctcp
[17:40] Allocated bind table topc (flags 1)
[17:40] Allocated bind table splt (flags 1)
[17:40] Allocated bind table sign (flags 1)
[17:40] Allocated bind table rejn (flags 1)
[17:40] Allocated bind table part (flags 1)
[17:40] Allocated bind table nick (flags 1)
[17:40] Allocated bind table mode (flags 1)
[17:40] Allocated bind table kick (flags 1)
[17:40] Allocated bind table join (flags 1)
[17:40] Allocated bind table pubm (flags 1)
[17:40] Allocated bind table pub (flags 0)
[17:40] Allocated bind table need (flags 1)
[17:40] Modul geladen: irc
[17:40] Allocated bind table rcvd (flags 1)
[17:40] Allocated bind table sent (flags 1)
[17:40] Allocated bind table lost (flags 1)
[17:40] Allocated bind table tout (flags 1)
[17:40] LANG: Section loaded: transfer
[17:40] LANG: 59 messages of 65 lines loaded from ./language/transfer.english.lang
[17:40] LANG: 59 adds, 0 updates to message table
[17:40] LANG: 59 messages of 65 lines loaded from ./language/transfer.german.lang
[17:40] LANG: 0 adds, 59 updates to message table
[17:40] Modul geladen: transfer (mit Sprach-Unterstuetzung)
[17:40] Modul geladen: share
[17:40] LANG: Section loaded: notes
[17:40] LANG: 42 messages of 47 lines loaded from ./language/notes.english.lang
[17:40] LANG: 42 adds, 0 updates to message table
[17:40] LANG: 42 messages of 47 lines loaded from ./language/notes.german.lang
[17:40] LANG: 0 adds, 42 updates to message table
[17:40] Modul geladen: notes (mit Sprach-Unterstuetzung)
[17:40] LANG: Section loaded: console
[17:40] LANG: 10 messages of 15 lines loaded from ./language/console.english.lang
[17:40] LANG: 10 adds, 0 updates to message table
[17:40] LANG: 10 messages of 15 lines loaded from ./language/console.german.lang
[17:40] LANG: 0 adds, 10 updates to message table
[17:40] Modul geladen: console (mit Sprach-Unterstuetzung)
[17:40] Modul geladen: blowfish
[17:40] LANG: Section loaded: assoc
[17:40] LANG: 16 messages of 21 lines loaded from ./language/assoc.english.lang
[17:40] LANG: 16 adds, 0 updates to message table
[17:40] LANG: 16 messages of 21 lines loaded from ./language/assoc.german.lang
[17:40] LANG: 0 adds, 16 updates to message table
[17:40] Modul geladen: assoc (mit Sprach-Unterstuetzung)
[17:40] LANG: Section loaded: wire
[17:40] LANG: 10 messages of 15 lines loaded from ./language/wire.english.lang
[17:40] LANG: 10 adds, 0 updates to message table
[17:40] LANG: 10 messages of 17 lines loaded from ./language/wire.german.lang
[17:40] LANG: 0 adds, 10 updates to message table
[17:40] Modul geladen: wire (mit Sprach-Unterstuetzung)
[17:40] Modul geladen: uptime
[17:40] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[17:40] use '.help userinfo' for commands.
[17:40] Creating shoutcast (type 1)
[17:40] Shoutcast loaded
[17:40] Loading netbots.tcl v4.09 by slennox..
[17:40] bseen1.4.2c: -- Bass's SEEN loaded --
[17:40] Loading seen database...
[17:40] Done loading 795 seen records.
[17:40] TCL loaded: chanlist.tcl v1.01 by Sup <temex@iki.fi>
[17:40] GetOps v3.0c loaded.
[17:40] Creating mc.protectops (type 1)
[17:40] Protect Ops v1.6 by MC_8 loaded.
[17:40] UnloadTCL v1.1 by Wingman loaded.
[17:40] Loaded components: botnetop, bseen1.4.2, chanlimit, chanlist, getops, mass, mc.protectops, netbots, sentinel, unloadtcl
[17:40] Userfile loaded, unpacking...
[17:40] === hardtech: 1 channels, 112 users.
[17:40] main: entering loop
[17:40] Versuche Server xxxxx:6667
[17:40] Received challenge from hal9000... sending response ...
[17:40] Verbunden mit hal9000.
[17:40] Downloading user file from hal9000
[17:40] net: connect! sock 15
[17:40] net: eof!(read) socket 15
[17:40] Ignorierte Banns fuer den/die channel(s): #xxx #yyy #...
[17:40] Userfile loaded, unpacking...
[17:40] Uebertragung der Benutzerliste vollstaendig; dazu uebergegangen.
[17:40] DNS resolved xxxxx xxx.yyy.zzz.aaa
[17:40] net: connect! sock 15
[17:40] Connected to xxxxxxxxx
.
.
.

----------------------------------------------------------------------------

All commands from here with bot into bg

lsof -i | grep eggdrop
<no output>

strace -p eggdroppid
<no output>

ps ax | grep eggdrop
myuser pts/2 S 0:00 ./eggdrop myconf.conf

------------------------------------------------------------------------------

i would be happy if someone knows what to do. I got no clue right now.
m
micro
Voice
Posts: 2
Joined: Thu Jan 13, 2005 12:28 pm

more info

Post by micro »

so, as far as i can see, the bot only connects if it runs witin 3 processes.

Before compiling without tcl-threads the bot always ran 3 processes (is that some kind of harmfull to any Network/Trust/cpu, by harmfull i mean, does it connect 3 times? it does take 3 ports to communicate with one of my other bots for sure, but y? ...)

now if i start the bot in bg, he spawns just one process, but with starting with -n option, it forks up to 3 processes.

may there be an error or is it just that tcl-threads are disabled and i need them.
j
joe23
Voice
Posts: 3
Joined: Sun Feb 13, 2005 7:28 am

did you manage to solve this?

Post by joe23 »

did you manage to solve this?
I have the same problem.
running debian 2.6.8, and when running the bot with only the -m trigger, it starts off ok, but does nothing. doesn't join irc, and I can't telnet the bot. only when running with -n it starts off ok (just like with -m) but it actually works!
this is driving me insane.

any ideas?

Joe
f
fjedjik
Voice
Posts: 1
Joined: Mon Feb 14, 2005 12:51 am

Post by fjedjik »

Same here!

I hope someone has a solution to this :S
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

I can honestly say I have no idea about this one. I personally have never come across it. Are you all using 1.6.17?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
j
joe23
Voice
Posts: 3
Joined: Sun Feb 13, 2005 7:28 am

well..

Post by joe23 »

I tried using v1.6.17, v1.6.16 and v1.6.13 :/
I've installed alot of bots before, and suddenly this happens.
any ideas will be most appreciated!

joe
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Searching through the forum this has come up before.

Here is one solution this user had

Click Me!!
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
j
joe23
Voice
Posts: 3
Joined: Sun Feb 13, 2005 7:28 am

yup..

Post by joe23 »

that solved it! :D
thanks alot man, I was starting to think I'll never see my bot working again!

joe
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Weird, you might want report this one as a bug to the eggdrop dev team
m
m4z
Voice
Posts: 1
Joined: Fri May 20, 2005 4:01 pm
Location: hamburg.de

Post by m4z »

for me it helped just to recompile eggdrop.

no messing with tcl (;
dunno how long i had that tcl-version before i got this problem.

i had a crash yesterday so i thought that was the problem, but seemed to be something else. don't remember compiling tcl recently, tho ^^

well, works fine again now. thanks folks
G
Galadhrim
Op
Posts: 123
Joined: Fri Apr 11, 2003 8:38 am
Location: Netherlands, Enschede

Post by Galadhrim »

why would you want to compile without tcl-threads?
Locked