Can't get the services to work
Moderator: Supporters
Can't get the services to work
Okey, hope you guys will understand me beacuse my english aint so good
I have an IRCD and it is running on Unix. I have got Unreal3.2.7 installed and up and also anope-1.7.20. I got help from a friend to me to with the unrealircd.conf and the services.conf and from what we can see everything is the way it shall be but services is not working at all. I am not very good at this stuff but I want to learn about it so I can manage do this by myself and I am a very stubborn girl when it comes to not giving up but this just not wont to work and we tryed for hours yesterday and I have tryed this morning since 7 am so now I have to ask for more help.
I am not all sure about all commands to use but then again I know a few of them and what they do and so on and now when it is about the services it tell me on a site about installing anope that I shall type in cd ~/services and then ./services to start anope but it not working. It accept the ~/services but not the ./services. I can start up IRC using Unreal.
My question is shall I add the settings I have for the unrealircd.conf and the services so you can see if something is wrong? and I know to not add it with my irc info, so that I change before I add them here.
I hope someone can help me out
I have an IRCD and it is running on Unix. I have got Unreal3.2.7 installed and up and also anope-1.7.20. I got help from a friend to me to with the unrealircd.conf and the services.conf and from what we can see everything is the way it shall be but services is not working at all. I am not very good at this stuff but I want to learn about it so I can manage do this by myself and I am a very stubborn girl when it comes to not giving up but this just not wont to work and we tryed for hours yesterday and I have tryed this morning since 7 am so now I have to ask for more help.
I am not all sure about all commands to use but then again I know a few of them and what they do and so on and now when it is about the services it tell me on a site about installing anope that I shall type in cd ~/services and then ./services to start anope but it not working. It accept the ~/services but not the ./services. I can start up IRC using Unreal.
My question is shall I add the settings I have for the unrealircd.conf and the services so you can see if something is wrong? and I know to not add it with my irc info, so that I change before I add them here.
I hope someone can help me out
Last edited by DaAngel on Fri Jan 11, 2008 7:55 pm, edited 2 times in total.
Re: Can't get the services to work
When you say the ./services part doesnt work do you mean you get a message saying command not found?
If so you probably missed the "make install" step of installing Anope.
If so you probably missed the "make install" step of installing Anope.
Your IP:
Your Country:
Your Country:
Re: Can't get the services to work
Yea, I did the "make" and then the "gmake" when installed anope and yeah, it tell the command not found.
Re: Can't get the services to work
You do make and then make install. You HAVE to do "make install"
Your IP:
Your Country:
Your Country:
Re: Can't get the services to work
Thank you and well I uninstalled anope and also saw in a log from year 2005 when one helped me to install it and guided me and also said make install then started to think and now you said the same Thanks alot and hope I will get it to work after that.. Once again thank you
Re: Can't get the services to work
Okey, I have installed it now and now I can se the services after done the ls and i type the cd ~/services and then the ./services but still not working, but now atleast I got anope installed right with everything, but only the ./services wont work.
Re: Can't get the services to work
Here is the services.conf and i only show those part where I have to get the unreal and anope to link together:
and here is the unrealircd.conf and the part for the so called linking:
I also wonder if there is another command to use to start up the services instead of ./services .. I keep reading and reading and to try solve this and I aint going to give up, beacuse I want it to work and after this I going to learn all I can about all this.
... also hope it's ok for me to post this image since I am confused about the services having a * at it or shall it be like that? sorry if this is not allowed and well I do it this way instead.
http://allyoucanupload.webshots.com/v/2 ... 6962571065
Code: Select all
IRCDModule "unreal3.2.7"
RemoteServer 11.11.11.111 7000 "services123lol" (11.11.11.111 <- that is my IRCD IP, well this is a fake one i added now)
#RemoteServer2 localhost 6667 "mypass"
#RemoteServer3 localhost 6667 "mypass"
NetworkName "mydomainname without the .net or .com in the end"
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 (server name)
* {
* username (username, * works too);
* hostname (ip number/hostmask);
* bind-ip (What IP to bind to when connecting, or *);
* port (port to connect to, if any);
* hub (If this is a hub, * works, or servermasks it may bring in);
* [or leaf *;]
* password-connect "(pass to send)";
* password-receive "(pass we should receive)";
* class (class to direct servers into);
* options {
* (options here*);
* };
* // If we use SSL, we can choose what cipher to use in SSL mode
* // Retrieve a list by "openssl ciphers", separate ciphers with :'s
*
* ciphers "DES-CBC3-MD5";
*
* };
*/
/*
options:
OLD | NEW
S ssl
Z zip
N/A autoconnect
N/A quarantine
N/A nodnscache
*/
link services.mydomainname.net
{
username DaAngel;
hostname 127.0.0.1;
bind-ip 127.0.0.1;
port 7000;
hub *;
password-connect "mypassword";
password-receive "mypassword";
class servers;
};
/*
*
* 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.mydomainname.net;
};
... also hope it's ok for me to post this image since I am confused about the services having a * at it or shall it be like that? sorry if this is not allowed and well I do it this way instead.
http://allyoucanupload.webshots.com/v/2 ... 6962571065
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Can't get the services to work
Read the logs in the logs directory
Your services command works just fine, it's not starting because there is probably an error in your conf.
Your services command works just fine, it's not starting because there is probably an error in your conf.
Re: Can't get the services to work
Instead of starting yet another thread on the subject, I'll borrow this one.
I'm trying to run unrealircd and services on the same server. The IRC server runs fine.
From unrealircd.conf
And services.conf
I've tried a number of combinations. Used my external IP, 127.0.0.1, localhost, services.irc.server.com etc. etc.
Any help appreciated.
I'm trying to run unrealircd and services on the same server. The IRC server runs fine.
From unrealircd.conf
Code: Select all
include "aliases/anope.conf";
me
{
name "irc.server.com";
info "zomg elite";
numeric 1;
};
allow {
ip *@127.0.0.1;
hostname *@127.0.0.1;
class servers;
password "servicespassword";
};
listen *:7070
{
options
{
serversonly;
};
};
link 127.0.0.1
{
username *;
hostname 127.0.0.1;
port 7070;
bind-ip *;
password-connect "servicespassword";
password-receive "servicespassword";
class servers;
};
ulines {
services.irc.server.com;
localhost;
127.0.0.1;
};
set {
network-name "zomg";
default-server "irc.server.com";
services-server "services.irc.server.com";
}
Code: Select all
RemoteServer 127.0.0.1 7070 "servicespassword"
LocalAddress 127.0.0.1
ServerName "127.0.0.1"
ServerDesc "Services @ server.com"
ServiceUser "[email protected]"
Any help appreciated.
Re: Can't get the services to work
Well seeing as apart from set::services-server the config you pasted is right, you will need to tell us the ERROR!
Your IP:
Your Country:
Your Country:
Re: Can't get the services to work
How did I manage to forget that?
In my IRC client
13:34:46 [server] !irc.server.com *** LocOps -- Link denied for
127.0.0.1([email protected]) (No link block named '127.0.0.1')
[@127.0.0.1.55841]
In services log file
[Apr 16 13:34:43 2008] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[Apr 16 13:34:43 2008] Attempting to load V3 HS Database
[Apr 16 13:34:43 2008] Databases loaded
[Apr 16 13:34:43 2008] Connected to Server 1 (127.0.0.1:7070)
[Apr 16 13:34:46 2008] Read error from server: Unknown error: 0
EDIT
I can add that I've ran "./unreal rehash" before trying to start up services again.
EDIT 2
If I change the allow for servers to *@*, I don't get any error messages in my IRC client.
In my IRC client
13:34:46 [server] !irc.server.com *** LocOps -- Link denied for
127.0.0.1([email protected]) (No link block named '127.0.0.1')
[@127.0.0.1.55841]
In services log file
[Apr 16 13:34:43 2008] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[Apr 16 13:34:43 2008] Attempting to load V3 HS Database
[Apr 16 13:34:43 2008] Databases loaded
[Apr 16 13:34:43 2008] Connected to Server 1 (127.0.0.1:7070)
[Apr 16 13:34:46 2008] Read error from server: Unknown error: 0
EDIT
I can add that I've ran "./unreal rehash" before trying to start up services again.
EDIT 2
If I change the allow for servers to *@*, I don't get any error messages in my IRC client.
Re: Can't get the services to work
Can you get /stats C please?13:34:46 [server] !irc.server.com *** LocOps -- Link denied for
127.0.0.1([email protected]) (No link block named '127.0.0.1')
[@127.0.0.1.55841]
As for the allow block, that ONLY affects users NOT servers.
Your IP:
Your Country:
Your Country:
Re: Can't get the services to work
/stats C doesn't output anything.
Re: Can't get the services to work
Which means there is no link blocks at all.
Make sure you link block ISN'T between a /* and a */
Also make sure to rehash the config (either using ./unreal rehash from the command line or /rehash from IRC)
Make sure you link block ISN'T between a /* and a */
Also make sure to rehash the config (either using ./unreal rehash from the command line or /rehash from IRC)
Your IP:
Your Country:
Your Country:
Re: Can't get the services to work
Don't know what it was, but something is wrong with my shell (read zsh), because starting it up with
another solved the problem.
Anyhow, thanks for all your help, if nothing else I got a confirmation that I actually did things right.
another solved the problem.
Anyhow, thanks for all your help, if nothing else I got a confirmation that I actually did things right.