Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Mods wont work

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Help
Author Message
Leet
Lurker
Lurker


Joined: 26 Jun 2008
Posts: 158
Location: New York

PostPosted: Jun 20, 2009 10:31pm    Post subject: Mods wont work Reply with quote

-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
Lurker


Joined: 07 Oct 2006
Posts: 241
Location: Australia

PostPosted: Jun 20, 2009 11:57pm    Post subject: Reply with quote

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
Lurker


Joined: 26 Jun 2008
Posts: 158
Location: New York

PostPosted: Jun 21, 2009 2:45am    Post subject: Reply with quote

all the other mods work fine except this one idky
Back to top
Jobe
Idler
Idler


Joined: 30 Jul 2006
Posts: 454
Location: Lurking in the shadows of some random channel!

PostPosted: Jun 21, 2009 4:40am    Post subject: Reply with quote

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
Idler


Joined: 10 Dec 2006
Posts: 297
Location: South Africa

PostPosted: Jun 21, 2009 7:45am    Post subject: Reply with quote

(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
Idler


Joined: 30 Jul 2006
Posts: 454
Location: Lurking in the shadows of some random channel!

PostPosted: Jun 21, 2009 2:32pm    Post subject: Reply with quote

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
Idler


Joined: 10 Dec 2006
Posts: 297
Location: South Africa

PostPosted: Jun 21, 2009 2:47pm    Post subject: Reply with quote

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
Guru


Joined: 28 Jun 2004
Posts: 1314

PostPosted: Jun 21, 2009 3:14pm    Post subject: Reply with quote

./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
Lurker


Joined: 26 Jun 2008
Posts: 158
Location: New York

PostPosted: Jun 21, 2009 6:28pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Help All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer