Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: os_notinchanlist  (Read 7321 times)

0 Members and 1 Guest are viewing this topic.

Louisthemoose

  • Anope User
  • Offline Offline
  • Posts: 13
os_notinchanlist
« on: July 23, 2007, 02:08:08 AM »

Any help would be appreciated ....

I copy and pasted the appropriate section of os_notinchanlist read me to my services config file ,  then added to the end of this ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request os_notinchanlist"

now when I tried to load I get this : [21:47] [#thelair] <Global> OperServ: mOOse: MODLOAD notinchanlist
[21:47] -OperServ- Unable to load module notinchanlist

I did some reading , and figured out it needs ot be compiled DOH  (blush)

this is what I get when I try

Using username "horse48".
horse48@edge.sh3lls.net's password:
Last login: Tue Jul 17 19:58:05 2007 from cpe00179a2ca14b
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 5.5-PRERELEASE (SH3LLS2) #0: Fri Apr 14 22:44:52 CDT 2006

vhost: to see the vhost list
getpsy: to install psybnc
getbnc: to install bnc
getegg: to install eggdrop

Use ports between 10000 - 20000, all the bnc, psybnc or bots using ports below 10000 will be killed.

1 IRC Connection = 1 Background Process
1 PSYBNC User = 1 Background Process

Server Configuration:
Pentium -IV 3.0 Ghz with HT
2 GB Ram
100 mbit Port


NOTE:  SHOUTCAST AND FILE SERVING STRICTLY PROHIBITED IF EVER FOUND YOUR
SHELL WILL BE TERMINATED WITHOUT NOTICE AND REFUND...

NEWS: New vhosts added type "vhost" to get the vhost list
chmod: /home/horse48/www: No such file or directory
horse48@edge:~$ cd/home/horse48/services
-bash: cd/home/horse48/services: No such file or directory
horse48@edge:~$ .services rehash
-bash: .services: command not found
horse48@edge:~$ ./services rehash
-bash: ./services: is a directory
horse48@edge:~$ rehash
-bash: rehash: command not found
horse48@edge:~$ .rehash
-bash: .rehash: command not found
horse48@edge:~$ ./rehash
-bash: ./rehash: No such file or directory
horse48@edge:~$ rehash
-bash: rehash: command not found
horse48@edge:~$ .rehash
-bash: .rehash: command not found
horse48@edge:~$ ./anopec reahsh
-bash: ./anopec: No such file or directory
horse48@edge:~$ ./anopec reahash
-bash: ./anopec: No such file or directory
horse48@edge:~$ ./anopec rehash
-bash: ./anopec: No such file or directory
horse48@edge:~$ ./anoperc rehash
-bash: ./anoperc: No such file or directory
horse48@edge:~$ anoperc rehash
-bash: anoperc: command not found
horse48@edge:~$ .anoperc rehash
-bash: .anoperc: command not found
horse48@edge:~$ cd/home/horse48/services
-bash: cd/home/horse48/services: No such file or directory
horse48@edge:~$ cd /home/horse48/services
horse48@edge:~/services$ anoperc rehash
-bash: anoperc: command not found
horse48@edge:~/services$ .anoperc rehash
-bash: .anoperc: command not found
horse48@edge:~/services$ ./anoperc rehash
Saving Databases and Rehashing Configuration
horse48@edge:~/services$ make modules
`modules' is up to date.
horse48@edge:~/services$ make modules
`modules' is up to date.
horse48@edge:~/services$ gmake install
gmake: *** No rule to make target `install'.  Stop.
horse48@edge:~/services$ horse48@edge:~/services$ make modules
-bash: horse48@edge:~/services$: No such file or directory
horse48@edge:~/services$ `modules' is up to date.
> horse48@edge:~/services$ gmake install
> gmake: *** No rule to make target `install'.  Stop.
> horse48@edge:~/services$
> cd /home/horse48/anope-1.7.18
> `modules' is up to date.
horse48@edge:~/services$ gmake install
gmake: *** No rule to make target `install'.  Stop.
horse48@edge:~/services$
cd /home/horse48/anope-1.7.18make moduals
-bash: command substitution: line 1: unexpected EOF while looking for matching `''
-bash: command substitution: line 4: syntax error: unexpected end of file
-bash: bad substitution: no closing "`" in `install'.
-bash: horse48@edge:~/services$: No such file or directory
-bash: cd: /home/horse48/anope-1.7.18make: No such file or directory
horse48@edge:~/services$ cd /home/horse48/anope-1.7.18make moduals
-bash: cd: /home/horse48/anope-1.7.18make: No such file or directory
horse48@edge:~/services$ cd /home/horse48/anope-1.7.18make moduals
-bash: cd: /home/horse48/anope-1.7.18make: No such file or directory
horse48@edge:~/services$ cd /home/horse48/anope-1.7.18
horse48@edge:~/anope-1.7.18$ make moduals
make: don't know how to make moduals. Stop
horse48@edge:~/anope-1.7.18$ gmake install
cat install.sh >install
chmod a+x install
horse48@edge:~/anope-1.7.18$ make modules
make: don't know how to make modules. Stop
horse48@edge:~/anope-1.7.18$
Logged

ben

  • Guest
(No subject)
« Reply #1 on: July 23, 2007, 03:08:52 AM »

i believe you need to prefix with os_
ie: /msg operserv modload os_notinchanlist
since you have it in the autodelayed list you can also type:
/msg operserv reload

also trying to rehash services in the shell wont really work you would need to disconnect them and reconnect them
its easier to just type /msg operserv reload
you may want to type /rehash first


[Edited on 7/22/2007 by ben]
Logged

katsklaw

  • Guest
(No subject)
« Reply #2 on: July 23, 2007, 12:38:23 PM »

ben is correct about adding os_ in front of the module name when loading it from IRC. if your module's file name you downloaded is os_foobar.c then you need to place it in the appropriate directory as explained in the instructions (that's a hint). Then once it's properly compiled and installed you would type: /msg operserv modload os_foobar

ben is NOT correct about operserv reload. /os reload will only reload the config file, it is the equivalent of the ircd's /rehash command, it does NOT load or reload any modules.

ben is also incorrect about not being able to to rehash services from shell. Simply cd ~/services and issue ./anoperc rehash. However, that will not load/reload any modules, it ONLY reloads the config file!

The /rehash command is for your IRCD, not Services, there is no need to rehash your ircd at all if you are simply un/loading an Anope module, forget he said it.

Additionally, anope-1.7.18 is the directory you do *ALL* the compiling in, not ~/services. I suggest you take the time to read all the documentation included in Anope, start in Anope-1.7.18/docs and also read how to install modules on our wiki. I say this based on what you typed and where you typed it, I can safely say you didn't read a single thing. Stop what you are doing and read the instructions, they were created to help YOU .. they were NOT created for any other reason!

[Edited on 23-7-2007 by katsklaw]
Logged

Louisthemoose

  • Anope User
  • Offline Offline
  • Posts: 13
(No subject)
« Reply #3 on: July 23, 2007, 03:19:54 PM »

katsklaw  thank you very much for your help , got it up and running  :)
Logged

Intel

  • Anope User
  • Offline Offline
  • Posts: 5
Re: os_notinchanlist
« Reply #4 on: March 04, 2013, 07:51:09 PM »

I am getting the same error.  I read the instructions and compiled it.  I then did ./anoperc rehash
and tried /msg operserv modload os_notinchanlist
I get *OperServ* Unable to load module os_notinchanlist 
I copied over the things I was told to services.conf.

I am just confused as to what I am doing wrong.
This is not my first module.  I have done the Vhost successfully.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: os_notinchanlist
« Reply #5 on: March 04, 2013, 08:58:46 PM »

check your logs for additional errors.
Logged
Pages: [1]   Go Up