|
|
| Author |
Message |
Leet Lurker

Joined: 26 Jun 2008 Posts: 158 Location: New York
|
Posted: Jun 20, 2009 10:31pm Post subject: Mods wont work |
|
|
-OperServ- Unable to load module ircd_vhostserv
ok i loaded the module into anope src folder i make and makeinstall when i go to load it wont load i also added the files to the services.conf what am i foing wrong? |
|
| Back to top |
|
 |
greg27 Lurker

Joined: 07 Oct 2006 Posts: 241 Location: Australia
|
Posted: Jun 20, 2009 11:57pm Post subject: |
|
|
| Is there anything relevant in the log file? I haven't used Anope in a while so I can't really help. Probably best to post this on the Anope forum. |
|
| Back to top |
|
 |
Leet Lurker

Joined: 26 Jun 2008 Posts: 158 Location: New York
|
Posted: Jun 21, 2009 2:45am Post subject: |
|
|
| all the other mods work fine except this one idky |
|
| Back to top |
|
 |
Jobe Idler

Joined: 30 Jul 2006 Posts: 454 Location: Lurking in the shadows of some random channel!
|
Posted: Jun 21, 2009 4:40am Post subject: |
|
|
| ircd_vhostserv gives you error's in Anope's logs when it can't load. Some of the common reasons ircd_vhostserv wont load include NOT copying the instructed configuration directives into services.conf or the channel specified for the bot in the config not being registered. |
|
| Back to top |
|
 |
Trixar_za Idler

Joined: 10 Dec 2006 Posts: 299 Location: South Africa
|
Posted: Jun 21, 2009 7:45am Post subject: |
|
|
(cont. from Jobe's post) ...and of course already being loaded (probably by the conf) beforehand - it won't load twice.
Also you should have typed make modules, then make install and not just make then the make install. (you forgot the 'modules' after the make)
Btw the directives you should copy to your services.conf is in the ircd_vhostserv.c file - you have to edit it with notepad or notepad++ to grab them, configure them and copy them to your services.conf. |
|
| Back to top |
|
 |
Jobe Idler

Joined: 30 Jul 2006 Posts: 454 Location: Lurking in the shadows of some random channel!
|
Posted: Jun 21, 2009 2:32pm Post subject: |
|
|
| Trixar_za wrote: | | Also you should have typed make modules, then make install and not just make then the make install. (you forgot the 'modules' after the make) |
"make" then "make modules" should also work, at least on most systems.
Also if you're compiling from fresh source, then you need the full ./Config, make and make install (make modules unnecessary using this method) |
|
| Back to top |
|
 |
Trixar_za Idler

Joined: 10 Dec 2006 Posts: 299 Location: South Africa
|
Posted: Jun 21, 2009 2:47pm Post subject: |
|
|
| Jobe wrote: | | Trixar_za wrote: | | Also you should have typed make modules, then make install and not just make then the make install. (you forgot the 'modules' after the make) |
"make" then "make modules" should also work, at least on most systems.
Also if you're compiling from fresh source, then you need the full ./Config, make and make install (make modules unnecessary using this method) |
The first "make" would be redundant without the initial ./Config to detect the changes and would create no changes at all - just like "make modules" would be redundant after you've used ./Config to detect the changes (then you could just use "make"). "make modules", however, would work without the initial ./Config being needed. |
|
| Back to top |
|
 |
katsklaw Guru

Joined: 28 Jun 2004 Posts: 1314
|
Posted: Jun 21, 2009 3:14pm Post subject: |
|
|
./Config is only needed once or if you used make distclean other than that, Config is not even relevant of this thread.
using make then make install will work just as using make modules and make install will, the only difference is make modules only compiles modules, not the entire src tree so it's a few seconds faster.
That said, errors are logged in the log file, go there and find out what the problem is since compiling is only one of many things that will stop a module from loading. You may need to run in debug mode to get more info: ./anoperc -debug |
|
| Back to top |
|
 |
Leet Lurker

Joined: 26 Jun 2008 Posts: 158 Location: New York
|
Posted: Jun 21, 2009 6:28pm Post subject: |
|
|
| Jobe wrote: | | ircd_vhostserv gives you error's in Anope's logs when it can't load. Some of the common reasons ircd_vhostserv wont load include NOT copying the instructed configuration directives into services.conf or the channel specified for the bot in the config not being registered. |
Channel Wasn't registered thanks |
|
| Back to top |
|
 |
|