services link error i never had before

These are old archives. They are kept for historic purposes only.
Post Reply
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

services link error i never had before

Post 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.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

You have an unclosed listen block before your link blocks....
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

Post 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?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

Post 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
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

Post by BigBen »

i had them but i missed it when i copyed it.
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

Post by BigBen »

i just redid the server, ( again )
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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?
Why the hell can't my signature be empty?
"Your message contains too few characters."
BigBen
Posts: 49
Joined: Sat Nov 25, 2006 3:25 pm

Post by BigBen »

no, all problems are not here no more.
Post Reply