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.

bot does not connect to irc server (permission denied)

General support and discussion of Eggdrop bots.
Post Reply
E
Ethan3110
Voice
Posts: 3
Joined: Tue Jul 17, 2007 7:41 am

bot does not connect to irc server (permission denied)

Post by Ethan3110 »

Hi,

I'm using a simple conf, but I can't connect to any irc server I try.

The bot's log says this:

[12:44] Trying server irc.uunet.nl:6667
[12:44] Failed connect to irc.uunet.nl (Permission denied)

what could be wrong?

PS. I'm using a shell.
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

Some IRC Servers require a speciffic ident to be set.
Check the IRC Network's website IF they have one, and read the FAQ there.

Bytheway, i tried to connect myself and i got this:

ERROR Closing Link: SpItHash[unknown@my.ip.net] (Unauthorized connection)

This means that the admins set their network some limits.
They don't allow anyone to connect..I guess its something like a private network.

Can't help you more with that. It's NOT an eggdrop issue and i am SURE.
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
m
melwil
Voice
Posts: 1
Joined: Sat Nov 17, 2007 6:19 pm

Post by melwil »

I'm not so sure about that, I get the same error trying to connect to irc.netgamers.org:

[23:22] main: entering loop
[23:22] Trying server irc.netgamers.org:6668
[23:22] DNS resolved irc.netgamers.org to 195.149.21.43
[23:22] Failed connect to irc.netgamers.org (Permission denied)

First of all, I've connected to it with mIRC, Java, PHP and C++ bots, and I've never encountered this problem.
Second, this network actually allows bots.

But I can't get the eggdrop to connect to it, I'm pretty sure I did something wrong in the config file, and I've tried to do it a couple more times, added specific servers, IPs and stuff like that, I've tried different networks, but no luck, I get the (Permission Denied) no matter where I try.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

#### SERVER MODULE ####

# This module provides the core server support. You have to load this
# if you want your bot to come on IRC. Not loading this is equivalent
# to the old NO_IRC define.
loadmodule server

# 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
Make sure that is set correctly. All Bahamut derived IRCd's are 3 (.i.e Unreal).
[23:22] Failed connect to irc.netgamers.org (Permission denied)
This also indicates an akill. Maybe check with the IRCOp's on your Network?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
mcdarby
Halfop
Posts: 69
Joined: Tue Jul 16, 2002 7:46 pm
Location: Bangor, Pennsylvania
Contact:

Re: bot does not connect to irc server (permission denied)

Post by mcdarby »

Ethan3110 wrote:Hi,

I'm using a simple conf, but I can't connect to any irc server I try.

The bot's log says this:

[12:44] Trying server irc.uunet.nl:6667
[12:44] Failed connect to irc.uunet.nl (Permission denied)

what could be wrong?

PS. I'm using a shell.
Definitely something with the network there, I have this on my end:

Code: Select all

 * Connecting to irc.uunet.nl (6667)
-
Please wait while we process your connection.
-
Closing Link: McDarby[unknown@xxx.xxx.xxx.xxx] (Unauthorized connection)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

check the my-ip and/or my-hostname settings in your conf file
make sure you have your bot using an allowed vhost
some shell companies block higher port (1025-65535) remote access from their default IP, so you have to make sure your bot is using an IP or hostname listed in their "public vhost" list
(this might not be your problem, I'm just giving you another "it could be")
Post Reply