Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: can't load stats modules  (Read 6063 times)

0 Members and 1 Guest are viewing this topic.

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
can't load stats modules
« on: July 02, 2016, 12:49:26 AM »

Unreal 4.0.4
Anope 2.0.3

Hello,

I am testing the latest unreal and anope to set up a new server. When I configured chanstats,  irc2sql and services.conf I did /os reload and got this outcome:

[00:45:02] <@Global> lib/modules/m_chanstats.so: cannot open shared object file: No such file or directory
[00:45:02] <@Global> lib/modules/cs_fantasy_stats.so: cannot open shared object file: No such file or directory
[00:45:02] <@Global> lib/modules/cs_fantasy_top.so: cannot open shared object file: No such file or directory
[00:45:02] <@Global> lib/modules/irc2sql.so: cannot open shared object file: No such file or directory

I can not find those modules. What I can find is those modules with not .so but .cpp   egg: m_chanstats.cpp   in anope-2.0.3/modules/extra/stats and the irc2sql module .cpp in anope-2.0.3/modules/extra/stats/irc2sql

but those I can not lod in unreal using /os modload. Can some one help me out with this?

Best Regards, Herman.


Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: can't load stats modules
« Reply #1 on: July 02, 2016, 07:53:26 AM »

Open */services/conf/modules.conf and chose which modules you want to load
Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: can't load stats modules
« Reply #2 on: July 02, 2016, 10:43:54 AM »

Open */services/conf/modules.conf and chose which modules you want to load

Hello Devil.

The modules in my example are not located in /services/conf/modulues.conf

Best regards, Herman.
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: can't load stats modules
« Reply #3 on: July 02, 2016, 11:03:59 AM »

https://wiki.anope.org/index.php/2.0/Configuration#Modules

Read at the top of the file.

You need to edit this file, and uncomment the modules you want to load
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: can't load stats modules
« Reply #4 on: July 02, 2016, 11:29:12 AM »

*.so are 1.8 modules, and *.cpp are the latest.
When you load modules, you dont need to include *.cpp

If you want to load os_notinchan.cpp, you should type: /os modload os_notinchan
Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: can't load stats modules
« Reply #5 on: July 02, 2016, 03:59:14 PM »

Hello Devil,

thats not working. I tryed to load m_chanstats using /os modload m_chanstats the outcome: <@Global> lib/modules/m_chanstats.so: cannot open shared object file: No such file or directory

there is a m_chanstats.cpp   in anope-2.0.3/modules/extra/stats  But as you see .cpp and when i put that one in lib/modules/m_chanstats.cpp
and do

/os modload m_chanstats  then I get this:

<@Global> lib/modules/m_chanstats.so: invalid ELF header

Regards, Herman.
Logged

Zemra

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 27
Re: can't load stats modules
« Reply #6 on: July 02, 2016, 04:13:35 PM »

You shouldnt move modules from /home/user/anope-2.0.x/modules/*

https://wiki.anope.org/index.php/2.0/Modules#Stats_Modules

At the bottom you have instructions how to install and load
Logged

Herman

  • Anope User
  • Offline Offline
  • Posts: 41
Re: can't load stats modules
« Reply #7 on: July 02, 2016, 04:51:24 PM »

Hello,

so I have to place the 4 modules I am talking about in modules/third and then handle them as third party modules using the instructions at the bottom of

https://wiki.anope.org/index.php/2.0/Modules#Stats_Modules ?? if your answer is yes......can i do all 4 at 1 time or 1 at the time?

Regards, Herman
Logged
Pages: [1]   Go Up