Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: trouble starting services  (Read 7320 times)

0 Members and 1 Guest are viewing this topic.

rushed

  • Anope User
  • Offline Offline
  • Posts: 12
trouble starting services
« on: September 09, 2011, 10:24:46 PM »

Probably missing something really obvious but when i type ./services  nothing happens services dont start and i dont get any kinds of error messages in logs or anything

(what i type in putty terminal and what happens)

rushed@ks384884:~/services$ ./services (After i type this it just goes to a new line as shown below)
rushed@ks384884:~/services$

Below is my unrealircd.conf and my services.conf to see if you folks can spot whats causing this (all passwords have been changed)

http://pastebin.com/uBUEKpMa  <---- services.conf

http://pastebin.com/4vvqgR4x <---- unrealircd.conf

Thanks in advance guys been tearing my hair out for days
« Last Edit: September 09, 2011, 10:26:36 PM by rushed »
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: trouble starting services
« Reply #1 on: September 10, 2011, 08:33:02 AM »

What you're seeing is expected behaviour (the new line).

Check the logs directory.

I'm betting the issue is you're telling anope to connect using the public IP 46.x.x.x but the linkblock on unreal's side is saying 127.0.0.1.

(but the logs will tell you)
Logged

rushed

  • Anope User
  • Offline Offline
  • Posts: 12
Re: trouble starting services
« Reply #2 on: September 12, 2011, 01:13:27 AM »

hi (apologies for dealy been away on buisness) you were right i had unrealircd hostname set to 127.0.0.1 i changed this to 46.xx and typed the same command ./services and still nothing so i tried a different command i tired ./anoperc start and got this in my log

[Sep 12 02:10:51 2011] Loading IRCD Protocol Module: [unreal32]
[Sep 12 02:10:51 2011] /home/rushed/services/modules/runtime/unreal32.so.RqraQW: cannot open shared object file: Permission $
[Sep 12 02:10:51 2011] status: [6][Module Error, Error during load time or module returned MOD_STOP]


I made sure to rehash the unrealircd before i treid the command and the odd thing is when i check te mentioned folder as both the user trying to start services and as root the folder is empty

Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: trouble starting services
« Reply #3 on: September 12, 2011, 01:15:16 AM »

Looks like your permissions are messed up. You didnt install Anope as one user and try to run it as another did you?
Logged

rushed

  • Anope User
  • Offline Offline
  • Posts: 12
Re: trouble starting services
« Reply #4 on: September 12, 2011, 01:32:41 AM »

nope installed and ran as user rushed all permissions are set to 770 and rushed owns all the files to do with unreal and anope
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: trouble starting services
« Reply #5 on: September 12, 2011, 03:23:54 PM »

Show us

ls -al /home/rushed/services/modules/runtime/
Logged

rushed

  • Anope User
  • Offline Offline
  • Posts: 12
Re: trouble starting services
« Reply #6 on: September 12, 2011, 11:47:25 PM »

rushed@ks384884:~/services/modules/runtime$ ls -al
total 8
drwxrwx--- 2 rushed rushed 4096 Sep 12 02:10 .
drwxrwx--- 3 rushed rushed 4096 Sep  9 00:35 ..
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: trouble starting services
« Reply #7 on: September 13, 2011, 03:18:02 AM »

Thanks to GD, the runtime directory is cleaned out everytime Anope expectantly shutsdown.

I'd suggest a recompile. So cd to your anope dir then : make distclean, then ./Config, make, make install as the user rushed. Then try again. Doing make distclean is very important, do not skip that step.
Logged

rushed

  • Anope User
  • Offline Offline
  • Posts: 12
Re: trouble starting services
« Reply #8 on: September 13, 2011, 03:44:06 AM »

ahh katsklaw my saviour did exactly as you suggested and now it runs sweet as a nut thank you for your help and for everyone elses help dont think i would have solved it alone
« Last Edit: September 13, 2011, 04:35:11 AM by rushed »
Logged
Pages: [1]   Go Up