| View previous topic :: View next topic |
| Author |
Message |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Thu Aug 25, 2011 7:22 pm Post subject: Unknown error while starting Eggdrop |
|
|
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: | [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] |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Aug 25, 2011 8:16 pm Post subject: |
|
|
You've forgotten to remove a line from your config-file:
| Code: | # 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, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Thu Aug 25, 2011 8:52 pm Post subject: |
|
|
Yes I did configure again, and now I am getting following error ->
| Code: | ./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 =\ |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Thu Aug 25, 2011 11:15 pm Post subject: |
|
|
Now I am getting this error
| Code: | use '.help userinfo' for commands.
Writing channel file...
* USER FILE NOT FOUND! (try './eggdrop -m ' to make one) |
USER FILE not found =\ |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Thu Aug 25, 2011 11:24 pm Post subject: |
|
|
Thank you bro..
and here is my eggdrop.log file
| Code: | [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.
|
|
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Thu Aug 25, 2011 11:29 pm Post subject: |
|
|
I did, and now see still error
| Code: | ./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: | ./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) |
 |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Fri Aug 26, 2011 12:38 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Fri Aug 26, 2011 3:19 am Post subject: |
|
|
| 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: | # change this to the name of your bot's config file (capitalization COUNTS):
botscript="rwpc.conf" |
Did i do correct ? |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Fri Aug 26, 2011 3:37 am Post subject: |
|
|
I think theer is problem in my eggdrop config file, ok below is config lines of FILES & DIRECTORIES
| Code: | ##### 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 ?? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Aug 26, 2011 8:24 am Post subject: |
|
|
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, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Fri Aug 26, 2011 9:16 am Post subject: |
|
|
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 :=\ |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Aug 26, 2011 9:16 am Post subject: |
|
|
Actually, reading abit further, it seems you've tried to start two instances of your eggdrop at once.
| planetX wrote: | ...
| Code: | ./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: | ./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, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Aug 26, 2011 9:18 am Post subject: |
|
|
| 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, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
planetX Voice
Joined: 25 Aug 2011 Posts: 18
|
Posted: Fri Aug 26, 2011 10:20 am Post subject: |
|
|
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 =\ |
|
| Back to top |
|
 |
|