Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: New setup with ircd-hybrid and debian  (Read 12225 times)

0 Members and 1 Guest are viewing this topic.

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
New setup with ircd-hybrid and debian
« on: November 17, 2009, 03:00:27 AM »

Hey Everyone,

I've been searching all over to no avail on how to get anope setup with ircd-hybrid.  I have the latest package downloaded and installed inside the users home dir.  I went through the example.conf file and set it up although I'm not sure what the default password is for the linking section.  I am also not sure where exactly the file is supposed to go after you get done editing it.  I then tried to run the service with the ./services command however after doing that it does nothing it just goes back to my command prompt.  I check the processes for the services process and nothing so I'm kinda at a loss here I've been googling for the last 3 hours on how to get this sucker setup and I've also read through the wiki but the wiki is for version 1.8 and since I'm using 1.9 I'm not sure how accurate the wiki is for me.  Thank you in advance for your assistance with this matter.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: New setup with ircd-hybrid and debian
« Reply #1 on: November 17, 2009, 03:02:23 AM »

Read your logfiles which are in data/logs, theyll tell you whats wrong.
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #2 on: November 17, 2009, 03:44:07 AM »

Thank you that got me going in the right direction.  Now I have this showing up
[Nov 16 20:34:36 2009] [hs_request] Unable to open database ('hs_request.db') for writing
[Nov 16 20:34:36 2009] Read error from server: Success (error num: 0)

I hate to sound so noob here be that I am a unix admin but I do have mysql installed on this server for other things but during the install I didn't specify anything about a database setup.  Thanks for your help on this.
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #3 on: November 17, 2009, 03:46:48 AM »

never mind I see what was wrong it had the db setup with root perms instead of the user that I want to run this as.  Man it's definitely a Monday
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #4 on: November 17, 2009, 04:34:50 AM »

Ok I'm making headway on this but now I get a
Read error from server: Success (error num: 0)
which I'm guessing means that it can't connect to the irc server.
I've looked all over my ircd.conf file for the link password but can't find it to save my life nor is it documented anywhere that I have searched.  If your able to shed some light on this matter it would be greatly appreciated as I feel that I am very very close.  Thanks.

Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: New setup with ircd-hybrid and debian
« Reply #5 on: November 17, 2009, 04:44:58 AM »

What module are you actually using to link Anope to your IRCd?  There is no module for ircd-hybrid in 1.9.x.
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #6 on: November 17, 2009, 05:01:32 AM »

I didn't see a module setup section in the services.conf file as it was described in the wiki.  So I guess the answer would be that I'm not using one.
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #7 on: November 17, 2009, 05:39:01 AM »

Ok I went ahead and downgraded to the 1.8 version now if I can just figure out what the password is to connect to server and I'll be golden.
Logged

Taylor

  • Contributor
  • *
  • Offline Offline
  • Posts: 100
Re: New setup with ircd-hybrid and debian
« Reply #8 on: November 17, 2009, 05:41:10 AM »

Whatever you set in your ircd's configuration.
Logged
Cronus
irc.cncirc.net
http://CnCIRC.net

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #9 on: November 17, 2009, 06:26:06 AM »

Ok I added this to my ircd.conf file as per some online reading that I came across
{
Y:27:180:0:0:4000000
C:127.0.0.1:mypass:Services.LocalHost.Net::30
N:127.0.0.1:mypass:Services.LocalHost.Net::30

U:Services.LocalHost.Net:*:*

H:*::Services.LocalHost.Net
}

I am still getting the error that it can't connect to the server but both of the passwords now match in the config files.  Thanks for the help with this.
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #10 on: November 17, 2009, 06:30:30 AM »

BTW this is the error that I now get when Anope starts

Read error from server: Connection reset by peer (error num: 54)
Logged

Jason Hamilton

  • Anope User
  • Offline Offline
  • Posts: 9
Re: New setup with ircd-hybrid and debian
« Reply #11 on: November 17, 2009, 06:37:35 AM »

Ok through some serious trial and error I finally got it working this was the final bit of info I had to add to my ircd.conf file in order to get this sucker to run

connect {
   name = "services.localhost.net";
   host = "127.0.0.1";
   send_password = "mypass";
   accept_password = "mypass";
   compressed = no;
   hub_mask = "*";
   class = "server";
 };

I'm putting this in here for anyone else who comes across this and has the same kinda problem I did.  Thanks for the help on this guys.
Logged
Pages: [1]   Go Up