Problems starting anope services

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

Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Problems starting anope services

Post by Jino »

Hi !

I'm having with anope services.

I'm using Unreal3.2.3 / anope-1.7.10

When I start UNREAL, I have no problem. But, when I start ANOPE I have this messages in the logs :
[Jun 16 15:57:29 2005] Loading IRCD Protocol Module: [unreal32]
[Jun 16 15:57:29 2005] status: [0]
[Jun 16 15:57:29 2005] Anope 1.7.10 (810) (ircd protocol: UnrealIRCd 3.2+) starting up
[Jun 16 15:57:31 2005] ms_rsend requested unload...
[Jun 16 15:57:31 2005] debug: trying to load core module [ms_rsend]
[Jun 16 15:57:31 2005] debug: status: [6]
[Jun 16 15:57:32 2005] MySQL: has been disabled.
[Jun 16 15:57:32 2005] Databases loaded
[Jun 16 15:57:32 2005] Info: Reflecting database records.
[Jun 16 15:57:32 2005] Connected to Server 1 (localhost:6667)
[Jun 16 15:57:33 2005] Read error from server: No such file or directory (error num: 2)

and it don't start...

Do you know what is the problem ?

Thanks!
sdamon
Posts: 46
Joined: Tue Jun 07, 2005 7:28 am

Post by sdamon »

Are you useing MySQL?
Are you on windows or a unix?
which version of your operating system?
I know there are othe questions...but i cant think of them atm (tired)
Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Post by Jino »

I don't use MySQL
I am on Linux (debian woody 2.4.25)
sdamon
Posts: 46
Joined: Tue Jun 07, 2005 7:28 am

Post by sdamon »

id tripple check your links block...i have no clue if the problem is there, but its always good advice
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

What does Unreal say in your status window (of your IRC Client)?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Post by Jino »

I have this :
* Connecting to irc.xxxxxx.com (6667)
-
-irc.xxxxx.com- *** Looking up your hostname...
-
-irc.xxxxxx.com- *** Couldn't resolve your hostname; using your IP address instead
-
Welcome to the xxxx IRC Network [email protected]
Your host is irc.xxxxx.com, running version Unreal3.2.3
This server was created Thu Jun 16 2005 at 11:19:18 CEST
irc.xxxxxxx.com Unreal3.2.3 iowghraAsORTVSxNCWqBzvdHtGp lvhopsmntikrRcaqOALQbSeIKVfMCuzNTGj
SAFELIST HCN MAXCHANNELS=10 CHANLIMIT=#:10 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS WATCH=128 are supported by this server
SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(ohv)@%+ CHANMODES=beIqa,kfL,lj,psmntirRcOAQKVGCuzNSMTG NETWORK=xxxxx CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=@%+ EXCEPTS INVEX CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server
-
There are 1 users and 1 invisible on 1 servers
1 channels formed
I have 2 clients and 0 servers
-
Current Local Users: 2 Max: 2
Current Global Users: 2 Max: 2
-
MOTD File is missing
-
* Jino sets mode: +iwx
-
Local host: BUREAU (87.57.145.785)
-
Ping? Pong!
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Yes... hehehe, but I meant: what does it say when you try to start anope?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Post by Jino »

It don't say anythink :?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Uhm... ok....
Are you connecting to the correct address? Are you sure localhost:6667 is correct? Is Unreal really listening on localhost and on that port?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post by heinz »

1) Start anope with: ./services -debug -nofork
2) Look for the line starting ERROR (if there is one)
3) Paste your Unreal link block, and RemoteServer, ServerName from services.conf
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Post by Jino »

When I start anope with ./services -debug -nofork, I have this :
http://www.az-php.com/wall/index.php?wi ... 4c1e1f5de1

:shock:

And here, you will find unrealircd.conf and services.conf :
http://www.az-php.com/wall/index.php?wi ... 5f40c1459a
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

  • Use hostname *;
  • Never use autoconnect with services :!:
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post by heinz »

There's also a reason why they say don't post entire config files. You just pasted your cloak keys, and UserKey values, as well as your IP Address. You should change those now.

Have you rehashed Unreal after setting the link block?
Does the ServerName value in services.conf match that in the line 'link services.xxxxx.com {' ?

If services.conf says '127.0.0.1', why does Unreal report the IP as non-local? Check which config files you're showing us, and try again, as they don't match the error messages at the moment.
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
Jino
Posts: 7
Joined: Fri Jun 17, 2005 9:50 am

Post by Jino »

I posted bad cloak keys, bad UserKey values and a bad IP Address :wink:

So... I indicated the same IP adress in the two files (unrealircd.conf & services.conf) and it's running ! 8)

But, after having started anope, i'm obliged to stay connected. When I close the connection, it close anope too :?

Do you know how to launch anope without this problem ?
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Don't use -debug -nofork, you only needed it for debugging...
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Locked