Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Error starting anope, Linux  (Read 6279 times)

0 Members and 1 Guest are viewing this topic.

uha666

  • Guest
Error starting anope, Linux
« on: September 12, 2006, 08:24:07 PM »

I compiled all the stuff and it all went fine. I also configured the services.conf like the INSTALL says but when i try to start the services it crashes and gives out this error message:

Code: [Select]

[Sep 12 19:39:14 2006] Loading IRCD Protocol Module: [unreal32]
[Sep 12 19:39:14 2006] /home/irc-services/modules/runtime/unreal32.so.iMQ8KD: cannot restore segment prot after reloc: Permission denied
[Sep 12 19:39:14 2006] status: [6][Module Error, Error during load time or module returned MOD_STOP]


I already checked the files and folders permissions and everything checks out ok so i'm running out of ideas.

Hope someone can help.
Regards
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #1 on: September 12, 2006, 09:43:32 PM »

Hi,

I believe this is an issue with SELinux. - You should look at your configuration of this, or indeed inform your administrator.
Logged

uha666

  • Guest
(No subject)
« Reply #2 on: September 12, 2006, 09:49:17 PM »

i'm using Fedora Core 5, and my configuration checks out fine. Also i'm running it from a dedicated server box. I also tried to run the server as root and it still sends out the same error.
Any ideas?

regards.

[Edited on 12-9-2006 by uha666]

[Edited on 12-9-2006 by uha666]
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #3 on: September 12, 2006, 09:50:09 PM »

FC5 by default enables SELinux ... Try disabling it and see if it works.
Logged

uha666

  • Guest
(No subject)
« Reply #4 on: September 12, 2006, 09:56:53 PM »

Thanks! i lowered the settings of SELinux and now it runs but i get new errors:

Code: [Select]

[Sep 12 21:53:19 2006] Loading IRCD Protocol Module: [unreal32]
[Sep 12 21:53:19 2006] status: [0][Module, Okay - No Error]
[Sep 12 21:53:19 2006] Anope 1.7.15 (1128) (ircd protocol: UnrealIRCd 3.2+) starting up
[Sep 12 21:53:20 2006] ns_sendpass requested unload...
[Sep 12 21:53:20 2006] debug: trying to load core module [ns_sendpass]
[Sep 12 21:53:20 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 12 21:53:20 2006] ns_getpass requested unload...
[Sep 12 21:53:20 2006] debug: trying to load core module [ns_getpass]
[Sep 12 21:53:20 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 12 21:53:20 2006] cs_sendpass requested unload...        
[Sep 12 21:53:20 2006] debug: trying to load core module [cs_sendpass]
[Sep 12 21:53:20 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 12 21:53:20 2006] cs_getpass requested unload...          
[Sep 12 21:53:20 2006] debug: trying to load core module [cs_getpass]
[Sep 12 21:53:20 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 12 21:53:20 2006] ms_rsend requested unload...            
[Sep 12 21:53:20 2006] debug: trying to load core module [ms_rsend]
[Sep 12 21:53:20 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 12 21:53:20 2006] MySQL: has been enabled.                
[Sep 12 21:53:20 2006] MySQL: client version 5.0.22.
[Sep 12 21:53:20 2006] MySQL Error: Cant connect to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
: No such file or directory



[Edited on 12-9-2006 by uha666]

[Edited on 12-9-2006 by uha666]
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #5 on: September 12, 2006, 09:58:13 PM »

I don't see any errors in your code tags? ... Join irc.anope.org #anope and ask for help there, it will be quicker. Point them to this thread first.

I need to sleep now.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
(No subject)
« Reply #6 on: September 12, 2006, 09:59:04 PM »

ok, now i see them.

/tmp/mysql.sock isn't the socket your server uses ... do a whereis mysql.sock and set the value in services.conf

Now, I am sleeping :p
Logged

uha666

  • Guest
(No subject)
« Reply #7 on: September 12, 2006, 10:00:14 PM »

what about the errors in the modules loading, are those normal?
Logged

katsklaw

  • Guest
(No subject)
« Reply #8 on: September 12, 2006, 10:17:43 PM »

Those modules warnings are just telling you that the module wasn't loaded. This happens for several reasons.

Like:

1> Your configuration makes that module useless, such as if you specify md5 password encryption, then sendpass and getpass wont work.

2> Your ircd doesn't support feature X. Meaning that if you loaded a module that requires halpfops and you use Bahamut, then the module will ne unloaded beacue Bahamut doesn't support halfops.

3> The module requires something specified in the conf file that you did not enable. For example, if you disabled memo receipts then ms_rsend won't load.
Logged
Pages: [1]   Go Up