Unknown directive - Services issue

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
weezel
Posts: 6
Joined: Fri Aug 13, 2004 9:13 am
Location: Guildford, Surrey
Contact:

Unknown directive - Services issue

Post 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;
};
Boo!
WilliamWIkked
Posts: 59
Joined: Sun Jun 20, 2004 3:30 am
Contact:

Post 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...
[insert another cliche sig here.]
weezel
Posts: 6
Joined: Fri Aug 13, 2004 9:13 am
Location: Guildford, Surrey
Contact:

Post by weezel »

*slaps self* thanks
Boo!
weezel
Posts: 6
Joined: Fri Aug 13, 2004 9:13 am
Location: Guildford, Surrey
Contact:

Post 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 :-/
Boo!
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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.
weezel
Posts: 6
Joined: Fri Aug 13, 2004 9:13 am
Location: Guildford, Surrey
Contact:

Post 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!
Boo!
Locked