Page 1 of 1

Unknown directive - Services issue

Posted: Thu Dec 09, 2004 2:05 am
by weezel
Hey all,

Trying to get services (anope) running with Unreal3.2.2 and i get this when i try to use the linkblock i created (at the bottom)

I dont get what is wrong here, does anyone have any idea what IS wrong?

[weezel@dhcp Services]$ ./services
services.conf:1519: Unknown directive `link'
services.conf:1520: Unknown directive `{'
services.conf:1521: Unknown directive `username'
services.conf:1522: Unknown directive `hostname'
services.conf:1523: Unknown directive `port'
services.conf:1524: Unknown directive `bind-ip'
services.conf:1525: Unknown directive `password-connect'
services.conf:1526: Unknown directive `password-receive'
services.conf:1527: Unknown directive `class'
services.conf:1528: Unknown directive `};'
services.conf:1530: Unknown directive `ulines'
services.conf:1531: Unknown directive `services.localhost.net;'
services.conf:1532: Unknown directive `};'
[weezel@dhcp Services]$

--------------------------

link services.localhost.net
{
username *;
hostname 127.0.0.1;
port *;
bind-ip 127.0.0.1;
password-connect "88888888888888888888";
password-receive "88888888888888888888";
class servers;
};

ulines {
services.localhost.net;
};

Posted: Thu Dec 09, 2004 4:29 am
by WilliamWIkked
You do know you DON'T put link blocks in services.conf? They only go in unrealircd.conf ...

Services uses directives like:

RemoteServer IP PORT

etc...

Posted: Thu Dec 09, 2004 4:43 am
by weezel
*slaps self* thanks

Posted: Thu Dec 09, 2004 7:17 am
by weezel
okay, i removed the link block from services.conf

when i ./serviccs it returns me to the / prompt, and doing /quote stats c reveals this

[07:13] C *@* * services.weezel.co.uk 7029 servers
[07:13] c End of /STATS report

however, msg'ing nickserv doesnt work, and i found this in the logs file for services


[Dec 09 07:12:47 2004] Databases loaded
[Dec 09 07:12:47 2004] Info: Reflecting database records.
[Dec 09 07:12:47 2004] Connected to Server 1 (82.70.120.187:7029)
[Dec 09 07:12:54 2004] Read error from server: No such file or directory (error\
num: 2)


im lost :-/

Posted: Thu Dec 09, 2004 5:35 pm
by aquanight
Make sure the listen for 7029 isn't SSL. Anope cannot link with SSL, so you need to connect it to a normal port.

Posted: Thu Dec 09, 2004 6:37 pm
by weezel
oh i understand that aspect of it :) its just this i dont get, it links, but i get that error (in bold)

[Dec 09 07:12:47 2004] Databases loaded
[Dec 09 07:12:47 2004] Info: Reflecting database records.
[Dec 09 07:12:47 2004] Connected to Server 1 (82.70.120.187:7029)
[Dec 09 07:12:54 2004] Read error from server: No such file or directory (error\
num: 2)


EDIT

Ran ./services -debug and realised in the services.conf i had left out the server password :-/ lol all fixed now though. thanks for a great IRCD!