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.

Newbie help

Old posts that have not been replied to for several years.
Locked
User avatar
dohko
Voice
Posts: 3
Joined: Mon May 02, 2005 4:21 pm
Location: São Paulo - Brasil

Newbie help

Post by dohko »

Hi folks,

I'm trying to set up a bot for use on the irc network where I work. I've followed the steps on how to configure eggdrop from eggdrop's home.

When I try to start it (as a normal linux user, not root) using

Code: Select all

eggdrop -m eggdrop.conf
I get this output:

Code: Select all

 Eggdrop v1.6.17+Gentoo (C) 1997 Robey Pointer (C) 2004 Eggheads
[09:09] --- Loading eggdrop v1.6.17+Gentoo (Tue May  3 2005)
[09:09] Listening at telnet port 4584 (all).
[09:09] Module loaded: dns
[09:09] Module loaded: channels
[09:09] Module loaded: server
[09:09] Module loaded: ctcp
[09:09] Module loaded: irc
[09:09] Module loaded: notes            (with lang support)
[09:09] Module loaded: console          (with lang support)
[09:09] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[09:09] use '.help userinfo' for commands.
[09:09] Creating channel file
[09:09] Couldn't create channel file: /opt/eggdrop/var/eggdrop.chan.  Dropping
[09:09] * STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
Well, let's leave the chanfile error for later. The fact is that after doing that, if I look for eggdrop's process nothing shows up on ps aux, so I assume it's not really running. I've already tryied to comment out the chanfile line in the configuration (to check whether that error was preventing it from running) but I get the same thing: no process appears. Therefore I can't telnet to it. netstat -lat shows that no process is listening on the specified port.

I've searched google and this forum for any similar problem but found nothing that could help me.

If anyone has any hint please let me know.

Thanks.

[edit log] * I've fixed the chanfile error, but problem continues
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

use -mn to get the console output on stdout. this might help you finding the quit case.

have you intentionally skipped the blowfish module?
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...
User avatar
dohko
Voice
Posts: 3
Joined: Mon May 02, 2005 4:21 pm
Location: São Paulo - Brasil

Post by dohko »

Hi De Kus,

I've already started it using -mn and I'm not loading blowfish. The thing is that the process gets killed right after that message (gdb tells it returns code 1).

So, that must be probably deeper than I thought. The last thing it tries to do (I got it from strace) is unlink("") which returns an error. Also, I notice some device erros (ioctl) in strace.

I've already recompiled it but it didn't work neither.

Thanks!
r
rabb1d
Halfop
Posts: 45
Joined: Tue Oct 12, 2004 6:55 pm

Post by rabb1d »

why dont you try it with blowfish enabled and see if you still get that error
User avatar
dohko
Voice
Posts: 3
Joined: Mon May 02, 2005 4:21 pm
Location: São Paulo - Brasil

Post by dohko »

Hi rabb1d, thanks for your reply.

Loading blowfish makes no difference at all. I had joined the irc channel and after all effort and hints from there I found out that something was making eggdrop return an error code. So, I'll try following the source code with gdb.
Locked