| View previous topic :: View next topic |
| Author |
Message |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Wed Sep 09, 2009 8:06 pm Post subject: Missing messages in logfiles |
|
|
I'm trying to log the conversation on an IRC channel, and I've set up an Eggdrop on my VPS based on these two guides:
http://www.arkinex.com/guides/65/install-eggdrop-debian/
http://www.cyberarmy.net/library/article/207
The eggdrop.log shows that it's able to connect to the IRC server, but when I connect as another user from my PC, the bot is not on the user list. And the logfile doesn't contain any public messages other than these two lines:
[07:45] username joined #CHANNELNAME.
[07:45] #CHANNELNAME: mode change '+nt ' by irc.HOSTNAME.net
The corresponding option in eggdrop.conf:
logfile jpk #CHANNELNAME"/home/eggdrop/CHANNELNAME.log"
And here's the output from eggdrop -n beginning from the JOIN command:
[07:45] [s->] JOIN #CHANNELNAME
[07:45] [@] USERNAME!~USERNAME@IP.ADD.RE.SS JOIN :#CHANNELNAME
[07:45] USERNAME joined #CHANNELNAME.
[07:45] [!m] MODE #CHANNELNAME +b
[07:45] [m->] MODE #CHANNELNAME +b
[07:45] [!m] MODE #CHANNELNAME +e
[07:45] [m->] MODE #CHANNELNAME +e
[07:45] [!m] MODE #CHANNELNAME +I
[07:45] [!m] MODE #CHANNELNAME
[07:45] [!m] WHO #CHANNELNAME
[07:45] [!m] TOPIC #CHANNELNAME
[07:45] [@] irc.HOSTNAME.net MODE #CHANNELNAME +nt
[07:45] #CHANNELNAME: mode change '+nt ' by irc.HOSTNAME.net
[07:45] [@] irc.HOSTNAME.net 353 USERNAME = #CHANNELNAME :@USERNAME
[07:45] [@] irc.HOSTNAME.net 366 USERNAME #CHANNELNAME :End of /NAMES list.
[07:45] [@] irc.HOSTNAME.net 368 USERNAME #CHANNELNAME :End of Channel Ban List
[07:45] [@] irc.HOSTNAME.net 349 USERNAME #CHANNELNAME :End of Channel Exception List
[07:45] [m->] MODE #CHANNELNAME +I
[07:45] [@] irc.HOSTNAME.net 347 USERNAME #CHANNELNAME :End of Channel Invite List
[07:45] [m->] MODE #CHANNELNAME
[07:45] [@] irc.HOSTNAME.net 324 USERNAME #CHANNELNAME +nt
[07:45] [@] irc.HOSTNAME.net 329 USERNAME #CHANNELNAME 1252539918
[07:45] [m->] WHO #CHANNELNAME
[07:45] [@] irc.HOSTNAME.net 352 USERNAME #CHANNELNAME ~USERNAME IP.ADD.RE.SS irc.HOSTNAME.net USERNAME H@ :0 /msg USERNAME hello
[07:45] [@] irc.HOSTNAME.net 315 USERNAME #CHANNELNAME :End of /WHO list.
[07:45] [m->] TOPIC #CHANNELNAME
[07:45] [@] irc.HOSTNAME.net 331 USERNAME #CHANNELNAME :No topic is set.
[07:48] [@] PING :irc.HOSTNAME.net
[07:48] [m->] PONG :irc.HOSTNAME.net
[07:50] @#CHANNELNAME (+tn) : [m/1 o/1 h/0 v/0 n/0 b/0 e/0 I/0]
[07:50] [m->] PING :1252540200
[07:50] [@] irc.HOSTNAME.net PONG irc.HOSTNAME.net :1252540200
Any idea what could have caused this issue? |
|
| Back to top |
|
 |
arfer Master

Joined: 26 Nov 2004 Posts: 436 Location: Manchester, UK
|
Posted: Thu Sep 10, 2009 7:34 am Post subject: |
|
|
I'm not entirely sure I understand your question but I would make three observations.
1. If you are saying that when you connect to IRC from an alternative computer and find that your bot does not seem to be amongst the IRC channel users, then you are possibly connecting to to a different network server that is split from the one your bot is on.
2. The channel log definition in your .conf file would not generally need a full path for the file it creates to log channel events. It is normally saved to the logs subdirectory of your bot installation. You seem to be saving it to your bots root directory anyway.
3. There seems to be a space missing in the channel log definition in your .conf file unless this was simply an error in pasting the information to this forum.
Taking 2 and 3 above into account, change
logfile jpk #CHANNELNAME"/home/eggdrop/CHANNELNAME.log"
to
logfile jpk #CHANNELNAME "logs/CHANNELNAME.log"
I don't know if this helps or I have completely misunderstood your question. _________________ I must have had nothing to do |
|
| Back to top |
|
 |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 5:06 pm Post subject: |
|
|
| arfer wrote: | I'm not entirely sure I understand your question but I would make three observations.
1. If you are saying that when you connect to IRC from an alternative computer and find that your bot does not seem to be amongst the IRC channel users, then you are possibly connecting to to a different network server that is split from the one your bot is on.
2. The channel log definition in your .conf file would not generally need a full path for the file it creates to log channel events. It is normally saved to the logs subdirectory of your bot installation. You seem to be saving it to your bots root directory anyway.
3. There seems to be a space missing in the channel log definition in your .conf file unless this was simply an error in pasting the information to this forum.
Taking 2 and 3 above into account, change
logfile jpk #CHANNELNAME"/home/eggdrop/CHANNELNAME.log"
to
logfile jpk #CHANNELNAME "logs/CHANNELNAME.log"
I don't know if this helps or I have completely misunderstood your question. |
Thanks for your reply, Arfer.
1. I joined the channel via a few clients simultaneously and I do see the same user list, so I don't think it was split.
2. Erm, I don't think the log path really matters. After all, the log gets written in the correct path.
3. Yea I missed a space there while copying the text. The original .conf file has it.
Ok let me summarize my original post into two questions:
1. Why does my eggdrop not appear in the user list even though its log says that it's connected to the server?
2. Why is my eggdrop unable to log the public conversation? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Sep 10, 2009 6:15 pm Post subject: |
|
|
Basically, either they're not connected to the same server (or servers on the same irc network), or the irc server(s) are playing a trick on you.
Taking into account the debug output in your first post, your eggdrop sees itself joining a channel where it instantly gains operator privileges, and is the sole channel-member (in essence, it "created" the channel).
Since you say you've got several other clients connected, which can see eachother but not your eggdrop, this only means that your clients and your eggdrop are in fact not joining the same channel. Either the channel-names are messed up, the server-names messed up, or your irc server(s) are playing tricks on you (I don't suppose you're using !channels ?) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 6:46 pm Post subject: |
|
|
| nml375 wrote: | Basically, either they're not connected to the same server (or servers on the same irc network), or the irc server(s) are playing a trick on you.
Taking into account the debug output in your first post, your eggdrop sees itself joining a channel where it instantly gains operator privileges, and is the sole channel-member (in essence, it "created" the channel).
Since you say you've got several other clients connected, which can see eachother but not your eggdrop, this only means that your clients and your eggdrop are in fact not joining the same channel. Either the channel-names are messed up, the server-names messed up, or your irc server(s) are playing tricks on you (I don't suppose you're using !channels ?) |
Thanks for the quick reply.
Hmm...based on your observation, my guess is that my bot entered the wrong channel. Can I discuss with you about this over #eggdrop? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Sep 10, 2009 6:51 pm Post subject: |
|
|
Feel free to try and catch me online, though I tend to be idle on irc every now and then these days.. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 7:23 pm Post subject: |
|
|
| nml375 wrote: | | Feel free to try and catch me online, though I tend to be idle on irc every now and then these days.. |
Thanks a lot for helping me troubleshoot this and getting it fixed over IRC! I owe you one for this. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Thu Sep 10, 2009 7:30 pm Post subject: Re: Missing messages in logfiles |
|
|
The 1st url you give appears to download, compile, make, etc the eggdrop. The 2nd url appears to do the same with added benefit of a simplified (albeit incomplete) eggdrop.conf setup. Using strictly these 2 urls to configure your eggdrop cause this behavior. | Code: | # What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0 |
The default is set to efnet. Simply put, it starts out at 0. Unless you change this to what network-type your connecting to (and neither url above does, hence my mentioning incomplete up there), and it just so happens it isn't efnet. Well, you've just discovered what happens.
Edit: solved before I saw it. But..was I right? _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 7:33 pm Post subject: Re: Missing messages in logfiles |
|
|
| speechles wrote: |
The 1st url you give appears to download, compile, make, etc the eggdrop. The 2nd url appears to do the same with added benefit of a simplified (albeit incomplete) eggdrop.conf setup. Using strictly these 2 urls to configure your eggdrop cause this behavior. | Code: | # What is your network?
# 0 = EFnet
# 1 = IRCnet
# 2 = Undernet
# 3 = DALnet
# 4 = +e/+I/max-modes 20 Hybrid
# 5 = Others
set net-type 0 |
The default is set to efnet. Simply put, it starts out at 0. Unless you change this to what network-type your connecting to (and neither url above does, hence my mentioning icomplete up there), and it just so happens it isn't efnet. Well, you've just discovered what happens.  |
I've changed that to "5" after reading through the entire .conf file (thanks to the 2 die statements embedded in there ). |
|
| Back to top |
|
 |
lxsg Voice
Joined: 09 Sep 2009 Posts: 6
|
Posted: Thu Sep 10, 2009 7:36 pm Post subject: |
|
|
| To anyone else reading this topic and hoping to find a solution for a similar issue, mine was just a misspelling of the channel name as nml375 has diagnosed for me; the eggdrop is working great now. |
|
| Back to top |
|
 |
|