Page 1 of 1

services link error i never had before

Posted: Sun Jan 28, 2007 9:04 pm
by BigBen
this is a error that i never got before when linking services, i was once linked to someone elses server, and then i took it out, and now when putting services back on my server, i get:

error: unrealircd.conf:506: Unknown directive 'listen::username'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:507: Unknown directive 'listen::hostname'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:508: Unknown directive 'listen::bind-ip'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:509: Unknown directive 'listen::port'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:510: Unknown directive 'listen::hub'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:511: Unknown directive 'listen::password-connect'
-
[16:02] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:512: Unknown directive 'listen::password-receive'

i've done a few diffrent things like take one of them out, but it does the same.

Posted: Sun Jan 28, 2007 9:14 pm
by Jobe
You have an unclosed listen block before your link blocks....

Posted: Sun Jan 28, 2007 9:23 pm
by BigBen
it's still saying it, here's what it looks like:

listen 127.0.0.1:7000;

link 127.0.0.1;
{
username *;
hostname *;
bind-ip *;
port 7000;
hub *;
password-connect "---";
password-receive "---";
class servers;
options {

};
};

and now it says:

Notice -- error: unrealircd.conf:513: class::pingfreq is missing
-
[16:21] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:513: class::maxclients is missing
-
[16:21] -irc.bigtigerirc.net- *** Notice -- error: unrealircd.conf:513: class::sendq is missing
-

i havent done nothing with those, is my server acting up?

Posted: Mon Jan 29, 2007 12:18 pm
by Jobe
Perhaps you could paste your config file to a paste bin for someone to have a look at. The errors youre reporting are due to syntax errors in the config file itself.

Posted: Thu Feb 01, 2007 11:37 pm
by BigBen
here's what they look like:

listen 127.0.0.1:7000;

link 127.0.0.1;
{
username *;
hostname *;
bind-ip *;
port 7000;
hub *;
password-connect "----";
password-receive "----";
class servers;
options {

ulines {
services.bigtigerirc.net;
stats.bigtigerirc.net;

and then its talking about that these are missing: class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};

class servers
{
pingfreq 90;
maxclients 10; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 1000; /* How many seconds between each connection attempt */
};


and it's not

Posted: Fri Feb 02, 2007 1:08 pm
by Jobe
BigBen you forgot a }; for ulines and }; to close the link blocks options block and another to close the link block.

But the errors you pasted in your first post were caused by similar issues elsewhere in your config. So i suggest you pay close attention to them and double check ALL blocks are closed properly.

Posted: Sat Feb 03, 2007 1:02 am
by BigBen
i had them but i missed it when i copyed it.

Posted: Sat Feb 03, 2007 7:55 pm
by BigBen
i just redid the server, ( again )

Posted: Mon Feb 05, 2007 5:31 pm
by Jason
Jobe: Don't ask users to paste their whole configs. It is agains the rules for them to do so.


BigBen, please paste the new errors after making any changes to your config.

Also: You said you redid your config. Do you still have the problems?

Posted: Mon Feb 05, 2007 9:14 pm
by BigBen
no, all problems are not here no more.