Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Server's Fail to Link  (Read 14390 times)

0 Members and 1 Guest are viewing this topic.

Kyl

  • Anope User
  • Offline Offline
  • Posts: 5
Server's Fail to Link
« on: May 05, 2014, 09:41:29 PM »

Hey Everyone,

So I followed the instructions to the T for the Installation instructions, and the stickied post here. I still can't managed to get services to connect to my server, basically this happens:

/connect services.myserver.net

*** Connecting to services.myserver.net[serveriphere].
*** LocOps -- Server services.myserver.net[serveriphere] closed the connection

My Linkblock on Unreal looks like this:

link    services.myserver.net
{
 username       *;
 hostname       serveriphere;
 port   7000;
 bind-ip        *;
 hub *;
 password-connect       "mypassword";
 password-receive       "mypassword";
 class  servers;
};

ulines {
 services.myserver.net;
};


And my services looks like:

IRCDModule = "unreal32"

ServerName = "services.myserver.net"

ServiceUser = "services@myserver.net"

And my log file is as follows:


[May 05 15:20:35 2014] Loading IRCD Protocol Module: [unreal32]
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] Loading Encryption Module: [enc_md5]
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] Anope 1.8.9 (3130) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 05 15:20:35 2014] MSMemoReceipt not enabled in services.conf
[May 05 15:20:35 2014] ms_rsend requested unload...
[May 05 15:20:35 2014] debug: trying to load core module [ms_rsend]
[May 05 15:20:35 2014] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 05 15:20:35 2014] MySQL: has been disabled.
[May 05 15:20:35 2014] Databases loaded
[May 05 15:20:35 2014] Info: Reflecting database records.
[May 05 15:20:35 2014] Connected to Server 1 (serveriphere:7000)
[May 05 15:20:35 2014] trying to load [cs_appendtopic]
[May 05 15:20:35 2014] [cs_appendtopic] Loaded successfully
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] trying to load [cs_enforce]
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] trying to load [ns_maxemail]
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] trying to load [os_info]
[May 05 15:20:35 2014] os_info: Loading configuration directives...
[May 05 15:20:35 2014] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[May 05 15:20:35 2014] os_info: Directive OSInfoDBName loaded (os_info.db)...
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] trying to load [hs_request]
[May 05 15:20:35 2014] hs_request loaded
[May 05 15:20:35 2014] status:
  • [Module, Okay - No Error]
[May 05 15:20:35 2014] Read error from server: Connection reset by peer (error num: 54)
[May 05 15:20:35 2014] [cs_appendtopic] Unloaded successfully
[May 05 15:20:35 2014] hs_request un-loaded


During connection attempts I am getting this line:

[May 05 15:20:35 2014] Read error from server: Connection reset by peer (error num: 54)

From the log.

Services starts fine. Server rehashes fine. Cannot connect services to my server.

Any advice?

Thanks,

Tiy

« Last Edit: May 06, 2014, 02:09:46 AM by Kyl »
Logged

Kyl

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Server's Fail to Link
« Reply #1 on: May 05, 2014, 09:58:17 PM »

One more note:

./services works fine

BUT

./anoperc start

Gets the following:

Starting Anope
Unfortunately it seems Anope did not start successfully
This error has been logged in your Anope Log file
Located in /home/kmilasch/services/logs/
This may help you diagnose the problem
Further help may be available from http://www.anope.org/

That log it references is above.
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: Server's Fail to Link
« Reply #2 on: May 05, 2014, 10:05:04 PM »

Services starts fine. Server rehashes fine. Cannot connect services to my server.

Services connects itself when it starts, not with the use of /connect. If it's not connecting the first time, then there's an error somewhere.
Make sure any current services processes are killed and try again using ./services -support  then report back with the log
Logged

Kyl

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Server's Fail to Link
« Reply #3 on: May 05, 2014, 10:36:42 PM »

[May 05 16:33:12.617025 2014] debug: Loaded ChanServ database (4/7)
[May 05 16:33:12.617056 2014] debug: Loaded OperServ database (5/7)
[May 05 16:33:12.617079 2014] debug: Loaded news database (6/7)
[May 05 16:33:12.617102 2014] debug: Loaded exception database (7/7)
[May 05 16:33:12.617111 2014] Databases loaded
[May 05 16:33:12.617118 2014] Info: Reflecting database records.
[May 05 16:33:12.617126 2014] debug: Emitting event "db_saving" (1 args)
[May 05 16:33:12.617139 2014] debug: Saving FFF databases
[May 05 16:33:12.617598 2014] debug: Emitting event "db_saving" (1 args)
[May 05 16:33:12.617611 2014] debug: Emitting event "connect" (1 args)
[May 05 16:33:12.619537 2014] Connected to Server 1 (irc.myserver.net:7000)
[May 05 16:33:12.619560 2014] debug: Creating services.myserver.net(250) uplinked to No uplink
[May 05 16:33:12.619631 2014] debug: Sent: PROTOCTL NICKv2 VHP UMODE2 NICKIP SJOIN SJOIN2 SJ3 NOQUIT TKLEXT SJB64 VL
[May 05 16:33:12.619659 2014] debug: Sent: PASS :mypassword
[May 05 16:33:12.619685 2014] debug: Sent: SERVER services.myserver.net 1 :U0-*-250 Services for Myserver.Net
[May 05 16:33:12.619701 2014] debug: Emitting event "connect" (1 args)
[May 05 16:33:12.619735 2014] debug: Sent: NICK OperServ 1 1399325592 services myserver.net services.myserver.net 0 +ioS myserver.net * :Operator Server
[May 05 16:33:12.619753 2014] debug: Sent: SQLINE OperServ :Reserved for services
[May 05 16:33:12.619767 2014] debug: Sent: NICK NickServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :Nickname Server
[May 05 16:33:12.619779 2014] debug: Sent: SQLINE NickServ :Reserved for services
[May 05 16:33:12.619791 2014] debug: Sent: NICK ChanServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :Channel Server
[May 05 16:33:12.619801 2014] debug: Sent: SQLINE ChanServ :Reserved for services
[May 05 16:33:12.619815 2014] debug: Sent: NICK HostServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :vHost Server
[May 05 16:33:12.619825 2014] debug: Sent: SQLINE HostServ :Reserved for services
[May 05 16:33:12.619840 2014] debug: Sent: NICK MemoServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :Memo Server
[May 05 16:33:12.619851 2014] debug: Sent: SQLINE MemoServ :Reserved for services
[May 05 16:33:12.619868 2014] debug: Sent: NICK BotServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :Bot Server
[May 05 16:33:12.619887 2014] debug: Sent: SQLINE BotServ :Reserved for services
[May 05 16:33:12.619900 2014] debug: Sent: NICK HelpServ 1 1399325592 services myserver.net services.myserver.net 0 +oS myserver.net * :Help Server
[May 05 16:33:12.619912 2014] debug: Sent: SQLINE HelpServ :Reserved for services
[May 05 16:33:12.619924 2014] debug: Sent: NICK Global 1 1399325592 services myserver.net services.myserver.net 0 +ioS myserver.net * :Global Noticer
[May 05 16:33:12.619936 2014] debug: Sent: SQLINE Global :Reserved for services
[May 05 16:33:12.619948 2014] debug: Sent: :services.myserver.net EOS
[May 05 16:33:12.619958 2014] debug: Received: ÿ
[May 05 16:33:12.619966 2014] debug: unknown message from server (ÿ)
[May 05 16:33:12.620052 2014] debug: Emitting event "db_saving" (1 args)
[May 05 16:33:12.620063 2014] debug: Saving FFF databases
[May 05 16:33:12.620598 2014] debug: Emitting event "db_saving" (1 args)
[May 05 16:33:12.620613 2014] debug: Emitting event "shutdown" (1 args)
[May 05 16:33:12.620620 2014] Read error from server: Connection reset by peer (error num: 54)
[May 05 16:33:12.620635 2014] debug: Sent: SQUIT services.myserver.net :Read error from server: Connection reset by peer (error num: 54)
[May 05 16:33:12.620645 2014] debug: firstuser() returning NULL (end of list)
[May 05 16:33:12.620652 2014] debug: Emitting event "shutdown" (1 args)
[May 05 16:33:12.620687 2014] debug: Emitting event "delcommand" (2 args)
[May 05 16:33:12.620841 2014] debug: Emitting event "delcommand" (2 args)
[May 05 16:33:12.635961 2014] debug: Cleaning out Module run time directory (/home/kmilasch/services/modules/runtime) - this may take a moment please wait
[May 05 16:33:12.636023 2014] debug: Module run time directory has been cleaned out
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: Server's Fail to Link
« Reply #4 on: May 05, 2014, 10:43:58 PM »

What does the listen block for that port look like, ssl or anything enabled on it?
Logged

Kyl

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Server's Fail to Link
« Reply #5 on: May 05, 2014, 10:56:25 PM »

listen         myserverip:7000
{
        options
        {
                serversonly;
        };
};
Logged

Kyl

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Server's Fail to Link
« Reply #6 on: May 06, 2014, 01:00:41 AM »

I ran ./services -debug and it magically started working. Ah well. Thanks for the pointers!
Logged
Pages: [1]   Go Up