Message from anope No such file or directory (error num: 2)

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
polikarp
Posts: 5
Joined: Tue Mar 01, 2005 12:10 pm

Message from anope No such file or directory (error num: 2)

Post by polikarp »

I am using unreal3.2.2b and anope-1.7.8-576-w32 with DNS domain like ath.cx under windows in my computer. I have wroted same problem under the different topic but may be this good new one here.

My anope services.conf is

Code: Select all

RemoteServer myname.ath.cx 6670 "mypass" 
ServerName  "myname.ath.cx"
ServiceUser "[email protected]"< I am not sure
and my urealircd.conf is

Code: Select all

listen  myname.ath.cx:6665-6669 
{
	options
	{
		
		clientsonly;
	};
};

listen  myname.ath.cx:8067;
listen  myname.ath.cx:6667;

 listen myname.ath.cx:6670 
{ options { serversonly; }; }; 


link myname.ath.cx
{
 username myusername_connect_for_my_DNS;
 hostname myname.ath.cx;
 port 6670;
 bind-ip myname.ath.cx;
 password-connect "mypass";
 password-receive "mypass";
 class servers;
};

ulines {
 myname.ath.cx;
};
services.log file is

Code: Select all

[Mar 02 11:36:48 2005] Launching Anope into the background
[Mar 02 11:36:48 2005] Anope 1.7.8 (compiled for UnrealIRCd 3.2+) starting up
[Mar 02 11:36:48 2005] Databases loaded
[Mar 02 11:36:48 2005] Info: Reflecting database records.
[Mar 02 11:36:48 2005] Connected to Server 1 (myname.ath.cx:6670)
[Mar 02 11:36:49 2005] Read error from server: No such file or directory (error num: 2)

Thank you for your help. Please cacel my message which under other topick.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Don't double post ( http://forums.unrealircd.com/viewtopic.php?p=8977#8977 )


Anyway:
You've got an "interesting" configuration...
My suggestions:
  • Read Ron's Guide to Linking Servers: http://forums.unrealircd.com/viewtopic.php?t=329
    (yes, you have to!)
  • Listen on *, not on myname.ath.cx (change all listen blocks)
  • Don't call your services "myname.ath.cx". Use a fantasy name, i.e. "services.mynet.com".
  • Use "username *"
  • Use "hostname 127.0.0.1" if your services are on the same box
  • Use "bind-ip *"
  • Use the same fantasy name we used for the link block in your ulines block
  • In the services config, link to 127.0.0.1
  • Use the same fantasy name too
  • ServiceUser shouldn't matter
Maybe that will already solve your problem.
polikarp
Posts: 5
Joined: Tue Mar 01, 2005 12:10 pm

Post by polikarp »

Thank you so much that solve the problem. Does it work.
polikarp
Posts: 5
Joined: Tue Mar 01, 2005 12:10 pm

Post by polikarp »

Services isworking but I can not be a admin and I can not make opers what can I do?

My unrealircd.conf oper is this;

Code: Select all

oper admin {
	class clients;
	from {
		userhost *@*; 
		
	};
	password "somepass";
        flags {
                services-admin;
                netadmin; 
                global; 
                can_restart; 
                can_die; 
                can_override; 
                 coadmin; 
                admin; 
                services-admin; 
                can_zline; 
                can_globalkill; 
                can_globalroute; 
                can_gzline; 
                can_gkline; 
                can_unkline; 
	};
	swhois "Example of a whois mask";
	snomask frebWqFv;
};

Code: Select all

in services.conf of anope is this;

ServicesRoot   "some_nick_which_registered as channelfounder_ before"

SuperAdmin "admin"
what can I do for be a admin in my server. How can I create a opers list in opers.conf. Thank you.
bonney12
Posts: 1
Joined: Mon Jun 06, 2011 5:03 pm

Re: Message from anope No such file or directory (error num:

Post by bonney12 »

Have you typed in /oper <your username which is in unrealircd in the oper block> <password for username from oper block> ???

Make sure to take away the <> i put for example:

/oper Cheese ilikecheese123

Where Cheese is the username and ilikecheese123 is the password.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Message from anope No such file or directory (error num:

Post by katsklaw »

bonney12 wrote:Have you typed in /oper <your username which is in unrealircd in the oper block> <password for username from oper block> ???

Make sure to take away the <> i put for example:

/oper Cheese ilikecheese123

Where Cheese is the username and ilikecheese123 is the password.
This thread is 6 years old. the issue is likely long resolved.
Locked