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.

Unknown error while starting Eggdrop

General support and discussion of Eggdrop bots.
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Unknown error while starting Eggdrop

Post by planetX »

Hello,
I am using Linux debian Lenny

and I get error while starting eggdrop, however I edited the eggdrop.conf file
, and there's no eggdrop.log file to see logs in "logs" folder =(

Code: Select all

[b]./eggdrop rwpc.conf[/b]

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[23:18:04] --- Loading eggdrop v1.6.20 (Thu Aug 25 2011)
[23:18:04] Listening at telnet port 3334 (bots).
[23:18:04] Listening at telnet port 4443 (users).
[23:18:04] Module loaded: blowfish
[23:18:04] Module loaded: dns
[23:18:04] Module loaded: channels
[23:18:04] Module loaded: server
[23:18:04] Module loaded: ctcp
[23:18:04] Module loaded: irc
[23:18:04] Module loaded: notes            (with lang support)
[23:18:04] [b]* You didn't edit your config file completely like you were told, did you?[/b]
Why am I getting this error ? =\ Please help me out, i have been searching alot on google and now here =\

I am using UnrealIRCD with Anope.

[/code]
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

You've forgotten to remove a line from your config-file:

Code: Select all

# Comment out this next line. Otherwise, your bot won't start.
die "You didn't edit your config file completely like you were told, did you?"
NML_375
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

Yes I did configure again, and now I am getting following error ->

Code: Select all

./eggdrop rwpc.conf

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[00:47:41] --- Loading eggdrop v1.6.20 (Fri Aug 26 2011)
[00:47:41] Listening at telnet port 3333 (all).
[00:47:41] Module loaded: blowfish
[00:47:41] Module loaded: dns
[00:47:41] Module loaded: channels
[00:47:41] Module loaded: server
[00:47:41] Module loaded: ctcp
[00:47:41] Module loaded: irc
[00:47:41] Module loaded: notes            (with lang support)
[00:47:42] Module loaded: console          (with lang support)
[00:47:42] Module loaded: assoc            (with lang support)
[00:47:42] Module loaded: wire             (with lang support)
[00:47:42] Module loaded: uptime
[00:47:42] GetOps v2.3c loaded.
[00:47:42] Loading dccwhois.tcl...
[00:47:42] Loaded dccwhois.tcl
[00:47:42] Loaded cmd_resolve.tcl successfully.
[00:47:42] Tcl error in file 'rwpc.conf':
[00:47:42] can't read "argc": no such variable
    while executing
"if {$argc == 0} {
  puts "\nusage: $argv0 <eggdrop config> \[options\]"
  puts " -dir     (directory to run autobotchk in)"
  puts " -noemail (discard..."
    (file "scripts/autobotchk" line 73)
    invoked from within
"source scripts/autobotchk"
    (file "rwpc.conf" line 1364)
[00:47:42] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

don't know what's wrong =\
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

Now I am getting this error

Code: Select all

use '.help userinfo' for commands.
 Writing channel file...
* USER FILE NOT FOUND!  (try './eggdrop -m ' to make one)

USER FILE not found =\
w
willyw
Revered One
Posts: 1205
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Check it out: http://www.egghelp.org/setup.htm#starting

That explains it. :)
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

Thank you bro..


and here is my eggdrop.log file

Code: Select all

[03:17:36] -ERROR from server- Closing Link: [xx.xx.xx.xx] (Ping timeout)
[03:17:36] Server says my nickname is invalid.
[03:18:16] -ERROR from server- Closing Link: [xx.xx.xx.xx] (Ping timeout)
[03:18:16] Server says my nickname is invalid.
[03:18:55] -ERROR from server- Closing Link: [xx.xx.xx.xx] (Ping timeout)
[03:18:55] Server says my nickname is invalid.
[03:19:34] -ERROR from server- Closing Link: [xx.xx.xx.xx] (Ping timeout)
[03:19:35] Server says my nickname is invalid.
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

willyw wrote:
Check it out: http://www.egghelp.org/setup.htm#starting

That explains it. :)

I did, and now see still error

Code: Select all

 ./eggdrop -m rwpc.conf

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[03:25:20] --- Loading eggdrop v1.6.20 (Fri Aug 26 2011)
[03:25:20] Listening at telnet port 3334 (all).
[03:25:20] Module loaded: blowfish
[03:25:20] Module loaded: dns
[03:25:20] Module loaded: channels
[03:25:20] Module loaded: server
[03:25:20] Module loaded: ctcp
[03:25:20] Module loaded: irc
[03:25:20] Module loaded: notes            (with lang support)
[03:25:20] Module loaded: console          (with lang support)
[03:25:20] Module loaded: assoc            (with lang support)
[03:25:20] Module loaded: wire             (with lang support)
[03:25:20] Module loaded: uptime
[03:25:20] Loading dccwhois.tcl...
[03:25:20] Loaded dccwhois.tcl
[03:25:20] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[03:25:20] use '.help userinfo' for commands.
[03:25:20] Writing channel file...


STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type:  /msg BOTNICK hello
This will make the bot recognize you as the master.

[03:25:20] === BOTNICK: 1 channels, 0 users.
Launched into the background  (pid: 6081)

and then ==> ./eggdrop rwpc.conf


it says =>

Code: Select all

./eggdrop rwpc.conf

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[03:26:14] --- Loading eggdrop v1.6.20 (Fri Aug 26 2011)
[03:26:14] Listening at telnet port 3335 (all).
[03:26:14] Module loaded: blowfish
[03:26:14] Module loaded: dns
[03:26:14] Module loaded: channels
[03:26:14] Module loaded: server
[03:26:14] Module loaded: ctcp
[03:26:14] Module loaded: irc
[03:26:14] Module loaded: notes            (with lang support)
[03:26:14] Module loaded: console          (with lang support)
[03:26:14] Module loaded: assoc            (with lang support)
[03:26:14] Module loaded: wire             (with lang support)
[03:26:14] Module loaded: uptime
[03:26:14] Loading dccwhois.tcl...
[03:26:14] Loaded dccwhois.tcl
[03:26:14] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[03:26:14] use '.help userinfo' for commands.
[03:26:14] Writing channel file...
[03:26:14] * USER FILE NOT FOUND!  (try './eggdrop -m rwpc.conf' to make one)



:(
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You don't seem to have fallowed all the steps mentioned on the starting page.
Once the game is over, the king and the pawn go back in the same box.
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

caesar wrote:You don't seem to have fallowed all the steps mentioned on the starting page.


I have followed all steps. problem is that bot.user isn't being created =\ i.e user file..

I am also confused regarding Bot Config file.. in botchk configuration, in following line

# change this to the name of your bot's config file (capitalization COUNTS):


in this line I have put eggdrop.cnf file =\

for example

Code: Select all

# change this to the name of your bot's config file (capitalization COUNTS):
botscript="rwpc.conf"

Did i do correct ?
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

I think theer is problem in my eggdrop config file, ok below is config lines of FILES & DIRECTORIES

Code: Select all

##### FILES AND DIRECTORIES #####

# Specify here the filename your userfile should be saved as.
set userfile "BOTNAME.user"

# Specify here the filename Eggdrop will save its pid to. If no pidfile is
# specified, pid.(botnet-nick) will be used.
set pidfile "pid.BOTNAME"

# If you want your userfile to be sorted upon saving, enable this setting.
# This causes the bot to use a bit more CPU when saving the userfile.
set sort-users 1

# Specify here where Eggdrop should look for help files. Don't modify this
# setting unless you know what you're doing!
set help-path "help/"

# Specify here where Eggdrop should look for text files. This is used for
# certain Tcl and DCC commands.
set text-path "text/"

# Set here a place to store temporary files.
set temp-path "/tmp"

# The MOTD (Message Of The day) is displayed when people dcc chat or telnet
# to the bot. Look at doc/TEXT-SUBSTITUTIONS for options.
set motd "text/motd"

# This banner will be displayed on telnet connections. Look at
# doc/TEXT-SUBSTITUTIONS for options.
set telnet-banner "text/banner"

# This specifies what permissions the user, channel, and notes files should
# be set to. The octal values are the same as for the chmod system command.
#
# To remind you:
#
#          u  g  o           u  g  o           u  g  o
#    0600  rw-------   0400  r--------   0200  -w-------    u - user
#    0660  rw-rw----   0440  r--r-----   0220  -w--w----    g - group
#    0666  rw-rw-rw-   0444  r--r--r--   0222  -w--w--w-    o - others
#
# Note that the default 0600 is the most secure one and should only be changed
# if you need your files for shell scripting or other external applications.
set userfile-perm 0600

is this right configuration ??
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

I'm not exactly sure of your current state, but from what I can tell, your config-file is valid. However, the nickname you've selected does not conform to the IRC specs, thus the server you've selected won't let it online.
If it can't get online, you'll have a hard time "greeting" it (in order to create your user account, and with it, the user file).

Also, eggdrop only saves it's user file once an hour, so don't kill it straight after greeting it...

Don't bother with the botchk-script until you've got this part sorted. botchk is only used with cronjobs to automatically restart your eggdrop in the event that it crashes, get killed, etc.
NML_375
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

hey thank you :)

I changed my Bot's name, and now I am in Channel...but here's problem

when i did

./eggdrop -m rwpc.conf

bot joined channel

when I did
./eggdrop rwpc.conf

it again said that USER FILE NOT FOUND =\

now what's probem :=\
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Actually, reading abit further, it seems you've tried to start two instances of your eggdrop at once.
planetX wrote:...

Code: Select all

 ./eggdrop -m rwpc.conf

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[03:25:20] --- Loading eggdrop v1.6.20 (Fri Aug 26 2011)
[03:25:20] Listening at telnet port 3334 (all).
...
STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type:  /msg BOTNICK hello
This will make the bot recognize you as the master.

[03:25:20] === BOTNICK: 1 channels, 0 users.
Launched into the background  (pid: 6081)
At this point, you've got one eggdrop running in user file create mode. As soon as this comes online, you'll have to greet it in order to create the user file..
Next:
planetX wrote:

Code: Select all

./eggdrop rwpc.conf

Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[03:26:14] --- Loading eggdrop v1.6.20 (Fri Aug 26 2011)
[03:26:14] Listening at telnet port 3335 (all).
...
This tells me that your eggdrop was unable to listen on port 3334, and instead tried the next one; 3335. Most likely, this is because the previous process is still running and already listening on 3334.
NML_375
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

planetX wrote:hey thank you :)

I changed my Bot's name, and now I am in Channel...but here's problem

when i did

./eggdrop -m rwpc.conf

bot joined channel

when I did
./eggdrop rwpc.conf

it again said that USER FILE NOT FOUND =\

now what's probem :=\
Did you greet the bot, make sure it saved the userfile (either waiting atleast an hour, or using the .save command from dcc chat partyline) before trying to restart it?
Or did you simply issue the second command while your eggdrop was still within the channel?
NML_375
p
planetX
Voice
Posts: 18
Joined: Thu Aug 25, 2011 12:39 am

Post by planetX »

when I saw that bot has joined the channel

i went in channel, and type

/msg BOTNAME hello
/msg BOTNAME PASS password


then in telnet i typed

telnet irc.domain.com 3333

it prompted me Nickname.

below I wrote " BOTNAME"

and hit enter, that's it.

still no user file =\
Post Reply