Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Bruno on October 06, 2010, 10:42:06 AM

Title: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings [SOLVED]
Post by: Bruno on October 06, 2010, 10:42:06 AM
Hi.
I've try to use the new Anope version 1.9.2-p2 with Unreal32 version  3.2.8.1 but I think I've write something wrong.....

Here the pastbin:

http://pastebin.anope.org/index.php?page=viewpaste&id=006973f921  ( Unreal32 )

http://pastebin.anope.org/index.php?page=viewpaste&id=32dd59262d ( Anope 1.9.2-p2 )

Is there anyone that can help me?

Tnx so much!!!!!!!!!

Best Regards.
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Jobe on October 07, 2010, 02:05:42 PM
You have 2 listen blocks for port 6667, you've told Anope to connect to port 6667, and one of those listen blocks forces port 6667 to be CLIENTS only. Anope connects as a server and thus can only connect to a non-ssl port that either has serversonly; or does NOT have clientsonly;
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Bruno on October 08, 2010, 04:03:36 PM
Hi.
I've commented
listen         *:6667;
listen         *:6669;

so now is only listening on port 6667 and the ip is now 127.0.0.1.....
But I still receive the same error:
There were errors in your configuration file: File services.conf could not be opened.

What can I do? Tnx again for the help.
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Charles Kingsley on October 08, 2010, 06:11:31 PM
show us services.conf
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Bruno on October 11, 2010, 10:23:18 AM
Hi.

Here the pastbin of Anope (up I've also insert the link to the UnrealIrcd pastbin).

http://pastebin.anope.org/index.php?page=viewpaste&id=32dd59262d ( Anope 1.9.2-p2 )

Tnx so much!!!!!!!

Best regards.
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Jobe on October 11, 2010, 11:58:43 AM
You do not appear to have a link block for "services.test.srv" in unrealircd.conf.
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Bruno on October 12, 2010, 09:37:48 AM
Hi again.....
I've re-configured the files .conf
But I still have problems.

Ureal IRCD:

include "aliases/anope.conf"

allow {
   ip             *;
   hostname       *;
   class           clients;
   maxperip 5;
};

/* Passworded allow line */
allow {
   ip             *;
   hostname       *;
   class           clients;
   password " ;D";
   maxperip 1;
};

listen         127.0.0.1:6697
{
   options
   {
      clientsonly;
   };
};

listen         127.0.0.1:6667;
listen         127.0.0.1:6668;

link            irc.test.srv
{
   username   *;
   hostname    127.0.0.1;
   bind-ip    *;
   port       6697;
   hub             *;
   password-connect "montagna";
   password-receive "montagna";
   class           servers;
      options {
         /* Note: You should not use autoconnect when linking services */
         autoconnect;
         zip;
      };
ulines {
   services.test.srv;
   stats.test.srv;
};

ANOPE:

host = "127.0.0.1"
ipv6 = no
port = 6697
password = " ;D"

serverinfo
{
name = "services.test.srv"
description = "Services for IRC Test Server"
type = "unreal32"
ident = "services"
hostname = "irc.test.srv"

Here's the error message into the log: There were errors in your configuration file: File services.conf could not be opened.

Tnx so much!!!!!!!
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Jobe on October 12, 2010, 10:23:31 AM
Did you read this post:
You do not appear to have a link block for "services.test.srv" in unrealircd.conf.

The reason I ask is the "new config" you just pasted STILL does not have a link block for "services.test.srv"
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Bruno on October 13, 2010, 12:33:08 AM
I've changed again the 2 .conf files.....
But same error!!!!!!!!!

http://pastebin.anope.org/index.php?page=viewpaste&id=6796769917 (Unreal)

http://pastebin.anope.org/index.php?page=viewpaste&id=0eed213f48 (Anope)

I really don't know what and where change.....

Can u help me to correct this?

Tnx again,

Best Rehards,
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Charles Kingsley on October 13, 2010, 08:00:52 AM
Read http://www.anope.org/ilm.php?p=4&i=unreal32
Title: Re: Anope 1.9 can't connect to Unreal : Possible Wrong Setthings
Post by: Bruno on October 13, 2010, 11:22:51 AM
Hi.
I've found and solved the problem.....  ;D
Here's why: place it in the Services data directory (as
 * specified in the "configure" script, default /home/username/services/data)
 * under the name "services.conf".
By the way.....tnxso much for the help!!!!!!!!!!!!!

Error Message was : There were errors in your configuration file: File services.conf could not be opened.