anope services won't run

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
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

anope services won't run

Post by Squall89 »

hi,

i have installed the win32 anope services on my machine
then i have edited the config file of anope and the config
file of unreal, but they won't start. If I start I get this message on
the irc client:
-irc.behemoth.de- *** LocOps -- Link denied for services.localhost.com([email protected]) (No link block named 'services.localhost.com') [@127.0.0.1.1223]
-

I think I have them linked well, here is a code from both files:

unreal.conf:

Code: Select all

/*
 * NEW: link {}
 * OLD: C/N/:Lines
 * This defines an okay for a server connection.
 * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
 * Syntax is as follows:

 
link services.localhost.com
{
        username        *;
        hostname        localhost;
        bind-ip         *;
        port            6697;
        hub             *;
        password-connect "services";
        password-receive "services"; 
        class           servers;
};
ulines {
   services.localhost.com
};

services.conf:

Code: Select all

RemoteServer    localhost 6697 "services"
...
# ServerName <name>  [REQUIRED]
#     Specifies the IRC server name which Services should use.  May be
#     overridden by the -name command-line option.

ServerName  "services.localhost.com"
it won't start.. how can i get them started ?
thx in advance
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Your Link Block is commented out...
Eros
Posts: 16
Joined: Thu Apr 01, 2004 1:58 pm
Location: From My Home :p
Contact:

Post by Eros »

if its localhost. then make ur link block like bellow in unrealircd.conf

Code: Select all

/*
 * NEW: link {}
 * OLD: C/N/:Lines
 * This defines an okay for a server connection.
 * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
 * Syntax is as follows:

 
link services.localhost.com
{
        username        *;
        hostname        *;
        bind-ip         *;
        port            *;
        hub             *;
        password-connect "services";
        password-receive "services";
        class           servers;
};
ulines {
   services.localhost.com
}; 
i think it'll work now. & also check ur services.conf file that u put correct llinks.
Network Administrator
BanglaCafe IRC Network.
http://www.banglacafe.com
irc://irc.banglacafe.com
=-=-=-=-=-=-=-=-=-=-=
Network Administrator
SupremeShells Network.
http://www.supremeshells.net
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

Post by Squall89 »

Dukat wrote:Your Link Block is commented out...
Why is it commented out ? there is no # or *...


I changed it like Eros said, but it still won't work...
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

example.conf wrote:/* Type of comments */
#Comment type 1 (Shell type)
// Comment type 2(C++ style)
/* Comment type 3 (C Style) */
#those lines are ignored by the ircd.
You are opening a comment on the very first line you pasted.

/* means begin comment. You have to close it with */
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

Post by Squall89 »

i have changed it like you said, but now i get an error
with my config file:
* Loading IRCd configuration ..
[error] unrealircd.conf:296: Missing semicolon before close brace
[error] Could not load config file unrealircd.conf
[error] IRCd configuration failed to load

Here is my config file:
http://behemoth2.m-hc.de/unrealircd.conf

I don't know what i should do with this error messages..[/code]
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

The error message is very clear: You forgot a semicolon on line 296 (or somewhere around line 296)...
Check your config file: Every statement has to be terminated by a semicolon (;).
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

Post by Squall89 »

i search for this statement without semicolon, but i didn't find it here
are the lines:

Code: Select all

listen         *:6667
{
	options
	{
	      #ssl;
		clientsonly;
	};
};
listen         localhost:6697
{
   options
   {
      serversonly;
   };
};


/* NOTE: If you are on an IRCd shell with multiple IP's you are
 *       likely to get 'Address already in use' errors in your log
 *       and the ircd won't start. This means you MUST bind
 *       to a specific IP instead of '*', so for example:
 *       listen 1.2.3.4:6667;
 *       Obviously, replace the IP with the IP that was assigned to you.
 */

/*
 * NEW: link {}
 * OLD: C/N/:Lines
 * This defines an okay for a server connection.
 * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
 * Syntax is as follows:*/
 
link services.localhost.com
{
        username        *;
        hostname        *;
        bind-ip         *;
        port            *;
        hub             *;
        password-connect "services";
        password-receive "services";
        class           servers;
};
ulines {
services.localhost.com
}; 

 *      /* If we use SSL, we can choose what cipher to use in SSL mode
 *       * Retrieve a list by "openssl ciphers", seperate ciphers with :'s
 *      */
 *      ciphers "DES-CBC3-MD5";
 * 
 * };
*/
/*
	options:
	OLD	|	NEW
	S		ssl
	Z		zip
	N/A		autoconnect
	N/A		quarantine
	N/A		nodnscache
*/
/*
 *
 * NEW: ulines {}
 * OLD: U:Line
 * U-lines give servers more power/commands, this should ONLY be set
 * for services/stats servers and NEVER for normal UnrealIRCd servers!
 * Syntax is as follows:
 * ulines {
 *	(server to uline);
 *	(server to uline);
 *  [etc]
 * };
*/
#ulines {
	#services.localhost.com;
      #};
	#stats.roxnet.org;
Where have i forget it ?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

:shock:

Code: Select all

ulines {
services.localhost.com
}; 

Oh, and:

Code: Select all

 *      /* If we use SSL, we can choose what cipher to use in SSL mode 
is wrong too....
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

Post by Squall89 »

[quote="Dukat"]:shock:

Code: Select all

ulines {
services.localhost.com
}; 

Where should i paste the semicolon there ?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Dukat wrote:Every statement has to be terminated by a semicolon (;).
See also:
http://www.vulnscan.org/UnrealIRCd/unre ... linesblock
Squall89
Posts: 10
Joined: Sat Jan 15, 2005 12:54 pm

Post by Squall89 »

i managed it big thx to all !
bash109
Posts: 7
Joined: Thu Jan 13, 2005 1:56 am

anope for win32

Post by bash109 »

i have anope up and running but when i try to use it i get no response from it no answer or anything is there something i have to do to get it to answer me???
Ron2K

Post by Ron2K »

Please start a new question in a new thread.
Locked