Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Restarting Services  (Read 19749 times)

0 Members and 1 Guest are viewing this topic.

asylum

  • Guest
Restarting Services
« on: May 05, 2007, 06:39:06 AM »

What's the command for restarting the anope services? I have tried rehash, ./rehash, ./services rehash,  rehash services, services restart (which works with unreal ircd) all to no avail. Nothing works.  

the box is a linux box, kernel ver. 2.6.18.1.dn1.p4  

I type services and I go right back to the prompt like it's supposed to. but then I try ps x and I see nothing listed for anope, should there be? If so, what will the process be listed as?

the issue I am trying to resolve is when I am in mIRC and I try NickServ or ChanServ I get this "Nick services are currently down, please try again later. I have double and triple chgecked my .conf files in Unreal and Anope. everything looks like it is supposed to.  Unreal runs fine with no issues,  but for some reason I cannot get Anope to run.

Any help or pointers anyone can give will be very much appreciated.

Asylum
Logged

GhosT

  • Guest
(No subject)
« Reply #1 on: May 05, 2007, 09:43:04 AM »

To restart services, you can do in shell console or IRC client. Go to your anope installation directory and you will see a tool anoperc. Type ./anoperc restart if you want services restarted.
In case you want to restart it from IRC client, just /msg OperServ restart. Make sure you are Services Admin or UP.

What anope process listed as? Here is mine:
33278  ??  S      0:00.01 sshd: myusername@ttypc (sshd)
57103  p0- S      5:28.93 ircd: xx.xxxxxxxx.net (ircd)
52640  p3- S      0:46.71 ./services
33286  pc  Ss     0:00.02 -bash (bash)
35103  pc  R+     0:00.00 ps x

[Edited on 5-5-2007 by GhosT]
Logged

katsklaw

  • Guest
(No subject)
« Reply #2 on: May 05, 2007, 02:05:07 PM »

Sorry to have to correct you GhosT, but the 1.6 branch doesn't have the anoperc script.
Logged

asylum

  • Guest
(No subject)
« Reply #3 on: May 07, 2007, 05:11:33 AM »

Quote
Originally posted by katsklaw
Sorry to have to correct you GhosT, but the 1.6 branch doesn't have the anoperc script.


So what is the restart command or how are they restarted?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #4 on: May 07, 2007, 07:53:47 AM »

you can't control services through cmd line in the 1.6 branch

you don't need it to resolve your problem anyways though. just check what s in the logs in the log directory (it probably just didn't link up). also try /msg nickserv instead of /ns because the latter one can also be caused by a problem on the ircd's side.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

asylum

  • Guest
(No subject)
« Reply #5 on: May 07, 2007, 10:58:08 PM »

---- Logs files ---

[May 03 22:45:10 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 03 22:45:10 2007] MySQL has been disabled.
[May 03 22:45:10 2007] Attempting to load V3 HS Database
[May 03 22:45:10 2007] Databases loaded
[May 03 22:45:10 2007] Connected to Server 1 (localhost:6667)
[May 03 22:45:11 2007] Read error from server: Success
[May 03 22:57:35 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 03 22:57:35 2007] MySQL has been disabled.
[May 03 22:57:35 2007] Attempting to load V3 HS Database
[May 03 22:57:35 2007] Databases loaded
[May 03 22:57:35 2007] Connected to Server 1 (localhost:6667)
[May 03 22:57:36 2007] Read error from server: Success
[May 03 22:57:53 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 03 22:57:53 2007] MySQL has been disabled.
[May 03 22:57:53 2007] Attempting to load V3 HS Database
[May 03 22:57:53 2007] Databases loaded
[May 03 22:57:53 2007] Connected to Server 1 (localhost:6667)
[May 03 22:57:53 2007] Read error from server: Broken pipe

--more ---

[May 04 16:18:37 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 04 16:18:38 2007] MySQL has been disabled.
[May 04 16:18:38 2007] Attempting to load V3 HS Database
[May 04 16:18:38 2007] Databases loaded
[May 04 16:18:38 2007] Connected to Server 1 (localhost:6667)
[May 04 16:18:38 2007] Read error from server: Success
[May 04 16:30:13 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 04 16:30:14 2007] MySQL has been disabled.
[May 04 16:30:14 2007] Attempting to load V3 HS Database
[May 04 16:30:14 2007] Databases loaded
[May 04 16:30:14 2007] Connected to Server 1 (localhost:6667)
[May 04 16:30:15 2007] Read error from server: Success
[May 04 16:30:32 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 04 16:30:32 2007] MySQL has been disabled.
[May 04 16:30:32 2007] Attempting to load V3 HS Database
[May 04 16:30:32 2007] Databases loaded
[May 04 16:30:32 2007] Connected to Server 1 (localhost:6667)
[May 04 16:30:33 2007] Read error from server: Success
[May 04 22:42:09 2007] services.conf: DefCon1 missing
[May 04 22:42:09 2007] services.conf: DefCon2 missing
[May 04 22:42:09 2007] services.conf: DefCon3 missing
[May 04 22:42:09 2007] services.conf: DefCon4 missing
[May 04 22:42:25 2007] services.conf: DefCon1 missing
[May 04 22:42:25 2007] services.conf: DefCon2 missing
[May 04 22:42:25 2007] services.conf: DefCon3 missing
[May 04 22:42:25 2007] services.conf: DefCon4 missing
[May 04 22:48:49 2007] services.conf: DefCon1 missing
[May 04 22:48:49 2007] services.conf: DefCon2 missing
[May 04 22:48:49 2007] services.conf: DefCon3 missing
[May 04 22:48:49 2007] services.conf: DefCon4 missing
[May 04 22:48:53 2007] services.conf: DefCon1 missing
[May 04 22:48:53 2007] services.conf: DefCon2 missing
[May 04 22:48:53 2007] services.conf: DefCon3 missing
[May 04 22:48:53 2007] services.conf: DefCon4 missing
[May 04 22:48:58 2007] services.conf: DefCon1 missing
[May 04 22:48:58 2007] services.conf: DefCon2 missing
[May 04 22:48:58 2007] services.conf: DefCon3 missing
[May 04 22:48:58 2007] services.conf: DefCon4 missing
[May 04 22:50:43 2007] services.conf: DefCon1 missing
[May 04 22:50:43 2007] services.conf: DefCon2 missing
[May 04 22:50:43 2007] services.conf: DefCon3 missing
[May 04 22:50:43 2007] services.conf: DefCon4 missing
[May 04 22:52:51 2007] services.conf: DefCon1 missing
[May 04 22:52:51 2007] services.conf: DefCon2 missing
[May 04 22:52:51 2007] services.conf: DefCon3 missing
[May 04 22:52:51 2007] services.conf: DefCon4 missing
[May 04 22:54:16 2007] services.conf: DefCon1 missing
[May 04 22:54:16 2007] services.conf: DefCon2 missing
[May 04 22:54:16 2007] services.conf: DefCon3 missing
[May 04 22:54:16 2007] services.conf: DefCon4 missing
[May 04 22:57:00 2007] services.conf: DefCon1 missing
[May 04 22:57:00 2007] services.conf: DefCon2 missing
[May 04 22:57:00 2007] services.conf: DefCon3 missing
[May 04 22:57:00 2007] services.conf: DefCon4 missing
[May 04 22:57:00 2007] services.conf: DefCon4 missing
[May 04 23:01:06 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:01:06 2007] MySQL has been disabled.
[May 04 23:01:06 2007] Attempting to load V3 HS Database
[May 04 23:01:06 2007] Databases loaded
[May 04 23:01:06 2007] Connected to Server 1 (localhost:6667)
[May 04 23:01:06 2007] Read error from server: Success
[May 04 23:01:55 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:01:55 2007] MySQL has been disabled.
[May 04 23:01:55 2007] Attempting to load V3 HS Database
[May 04 23:01:55 2007] Databases loaded
[May 04 23:01:55 2007] Connected to Server 1 (localhost:6667)
[May 04 23:01:56 2007] Read error from server: Success
[May 04 23:15:36 2007] services.conf:1298: Warning: too many parameters (8 max)
[May 04 23:15:36 2007] services.conf:1298: Unknown directive `No'
[May 04 23:15:36 2007] services.conf:1299: Unknown directive `1'
[May 04 23:15:36 2007] services.conf:1302: Warning: too many parameters (8 max)
[May 04 23:15:36 2007] services.conf:1302: Unknown directive `As'
[May 04 23:15:36 2007] services.conf:1303: Unknown directive `23'
[May 04 23:15:36 2007] services.conf:1306: Warning: too many parameters (8 max)
[May 04 23:15:36 2007] services.conf:1306: Unknown directive `As'
[May 04 23:15:36 2007] services.conf:1307: Unknown directive `32'
[May 04 23:15:36 2007] services.conf:1310: Warning: too many parameters (8 max)
[May 04 23:15:36 2007] services.conf:1310: Unknown directive `As'
[May 04 23:15:36 2007] services.conf:1311: Unknown directive `159'
[May 04 23:15:36 2007] services.conf: DefConSessionLimit missing
[May 04 23:15:36 2007] services.conf: DefConAKILL missing
[May 04 23:15:36 2007] services.conf: DefConAkillReason missing
[May 04 23:15:36 2007] services.conf: DefConChanModes missing
[May 04 23:15:36 2007] services.conf: DefConSessionLimit missing
[May 04 23:15:36 2007] services.conf: DefConChanModes missing
[May 04 23:15:36 2007] services.conf: DefConSessionLimit missing
[May 04 23:15:36 2007] services.conf: DefConChanModes missing
[May 04 23:15:36 2007] services.conf: DefConSessionLimit missing
[May 04 23:16:56 2007] services.conf:1298: Warning: too many parameters (8 max)
[May 04 23:16:56 2007] services.conf:1298: Unknown directive `No'
[May 04 23:16:56 2007] services.conf:1299: Unknown directive `1'
[May 04 23:16:56 2007] services.conf:1302: Warning: too many parameters (8 max)
[May 04 23:16:56 2007] services.conf:1302: Unknown directive `As'
[May 04 23:16:56 2007] services.conf:1303: Unknown directive `23'
[May 04 23:16:56 2007] services.conf:1306: Warning: too many parameters (8 max)
[May 04 23:16:56 2007] services.conf:1306: Unknown directive `As'
[May 04 23:16:56 2007] services.conf:1307: Unknown directive `32'
[May 04 23:16:56 2007] services.conf:1310: Warning: too many parameters (8 max)
[May 04 23:16:56 2007] services.conf:1310: Unknown directive `As'
[May 04 23:16:56 2007] services.conf:1311: Unknown directive `159'
[May 04 23:16:56 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:16:56 2007] MySQL has been disabled.
[May 04 23:16:56 2007] Attempting to load V3 HS Database
[May 04 23:16:56 2007] Databases loaded
[May 04 23:16:56 2007] Connected to Server 1 (localhost:6667)
[May 04 23:16:56 2007] Read error from server: Broken pipe
[May 04 23:17:48 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:17:48 2007] MySQL has been disabled.
[May 04 23:17:48 2007] Attempting to load V3 HS Database
[May 04 23:17:48 2007] MySQL has been disabled.
[May 04 23:17:48 2007] Attempting to load V3 HS Database
[May 04 23:17:48 2007] Databases loaded
[May 04 23:17:48 2007] Connected to Server 1 (localhost:6667)
[May 04 23:17:49 2007] Read error from server: Success
[May 04 23:18:18 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:18:19 2007] MySQL has been disabled.
[May 04 23:18:19 2007] Attempting to load V3 HS Database
[May 04 23:18:19 2007] Databases loaded
[May 04 23:18:19 2007] Connected to Server 1 (localhost:6667)
[May 04 23:18:19 2007] Read error from server: Broken pipe
[May 04 23:18:50 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:18:50 2007] MySQL has been disabled.
[May 04 23:18:50 2007] Attempting to load V3 HS Database
[May 04 23:18:50 2007] Databases loaded
[May 04 23:18:50 2007] Connected to Server 1 (localhost:6667)
[May 04 23:18:51 2007] Read error from server: Success
[May 04 23:40:58 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 04 23:40:58 2007] MySQL has been disabled.
[May 04 23:40:58 2007] Attempting to load V3 HS Database
[May 04 23:40:58 2007] Databases loaded
[May 04 23:40:58 2007] Connected to Server 1 (localhost:6667)
[May 04 23:40:58 2007] Read error from server: Success
[May 04 23:54:45.381853 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up (options: debug)
[May 04 23:54:45.382200 2007] debug: Loading language 10 from file `languages/cat'
[May 04 23:54:45.388712 2007] debug: Loading language 9 from file `languages/de'
[May 04 23:54:45.395281 2007] debug: Loading language 0 from file `languages/en_us'
[May 04 23:54:45.401796 2007] debug: Loading language 4 from file `languages/es'
[May 04 23:54:45.408365 2007] debug: Loading language 6 from file `languages/fr'
[May 04 23:54:45.414979 2007] debug: Loading language 11 from file `languages/gr'
[May 04 23:54:45.421646 2007] debug: Loading language 5 from file `languages/pt'
[May 04 23:54:45.428359 2007] debug: Loading language 7 from file `languages/tr'
[May 04 23:54:45.435985 2007] debug: Loading language 8 from file `languages/it'
[May 04 23:54:45.443607 2007] debug: Loading language 12 from file `languages/nl'
[May 04 23:54:45.450166 2007] debug: Loading language 13 from file `languages/ru'
[May 04 23:54:45.456713 2007] debug: Loaded languages
[May 04 23:54:45.457172 2007] MySQL has been disabled.
[May 04 23:54:45.457480 2007] debug: Loaded NickServ database (1/7)
[May 04 23:54:45.457645 2007] Attempting to load V3 HS Database
[May 04 23:54:45.457784 2007] debug: Loaded HostServ database (2/7)
[May 04 23:54:45.457943 2007] debug: Loaded BotServ database (3/7)
[May 04 23:54:45.458116 2007] debug: Loaded ChanServ database (4/7)
[May 04 23:54:45.458315 2007] debug: Loaded OperServ database (5/7)
[May 04 23:54:45.458481 2007] debug: Loaded news database (6/7)
[May 04 23:54:45.458640 2007] debug: Loaded exception database (7/7)
[May 04 23:54:45.458772 2007] Databases loaded
[May 04 23:54:45.458900 2007] debug: Saving FFF databases
[May 04 23:54:45.460533 2007] Connected to Server 1 (localhost:6667)
[May 04 23:54:45.460834 2007] debug: Sent: PASS 4bR0k3nH3imS :TS
[May 04 23:54:45.461015 2007] debug: Sent: CAPAB NICKIP SSJOIN TS3
[May 04 23:54:45.461168 2007] debug: Sent: SERVER orion.********.com 1 :****** War Server
[May 04 23:54:45.461313 2007] debug: Sent: SVINFO 3 1 0 :1178340885
[May 04 23:54:45.461992 2007] debug: Sent: NICK NickServ 1 1178340885 +o services ******.com orion.************.com 0 0 :Nickname Server
[May 04 23:54:45.462209 2007] debug: Sent: SQLINE NickServ :Reserved for services
[May 04 23:54:45.462356 2007] debug: Sent: NICK ChanServ 1 1178340885 +o services **********.com orion.*********.com 0 0 :Channel Server
[May 04 23:54:45.462209 2007] debug: Sent: SQLINE NickServ :Reserved for services
[May 04 23:54:45.462356 2007] debug: Sent: NICK ChanServ 1 1178340885 +o services *****.com orion.********.com 0 0 :Channel Server
[May 04 23:54:45.462494 2007] debug: Sent: SQLINE ChanServ :Reserved for services
[May 04 23:54:45.462616 2007] debug: Sent: NICK MemoServ 1 1178340885 +o services *******.com orion.*******.com 0 0 :Memo Server
[May 04 23:54:45.462743 2007] debug: Sent: SQLINE MemoServ :Reserved for services
[May 04 23:54:45.462864 2007] debug: Sent: NICK BotServ 1 1178340885 +o services *********.com orion.*********.com 0 0 :Bot Server
[May 04 23:54:45.462999 2007] debug: Sent: SQLINE BotServ :Reserved for services
[May 04 23:54:45.463122 2007] debug: Sent: NICK HelpServ 1 1178340885 +h services ********.com orion.*********.com 0 0 :Help Server
[May 04 23:54:45.463244 2007] debug: Sent: SQLINE HelpServ :Reserved for services
[May 04 23:54:45.463370 2007] debug: Sent: NICK OperServ 1 1178340885 +io services *******.com orion.************.com 0 0 :Operator Server
[May 04 23:54:45.463493 2007] debug: Sent: SQLINE OperServ :Reserved for services
[May 04 23:54:45.463615 2007] debug: Sent: NICK Global 1 1178340885 +io services ********.com orion.********.com 0 0 :Global Noticer
[May 04 23:54:45.463737 2007] debug: Sent: SQLINE Global :Reserved for services
[May 04 23:54:45.463861 2007] debug: Received: :orion.************.com NOTICE AUTH :*** Looking up your hostname...
[May 04 23:54:45.463986 2007] unknown message from server (:orion.*********.com NOTICE AUTH :*** Looking up your hostname...)
[May 04 23:54:45.464695 2007] debug: Received: :orion.*********.com NOTICE AUTH :*** Found your hostname
[May 04 23:54:45.464897 2007] unknown message from server (:orion.**********.com NOTICE AUTH :*** Found your hostname)
[May 04 23:54:45.465128 2007] debug: Received: :orion.********.com 451 CAPAB :You have not registered
[May 04 23:54:45.465246 2007] unknown message from server (:orion.*********.com 451 CAPAB :You have not registered)
[May 04 23:54:45.465490 2007] debug: Received: ERROR :Link denied (No matching link configuration) [@127.0.0.1.45016]
[May 04 23:54:45.465608 2007] unknown message from server (ERROR :Link denied (No matching link configuration) [@127.0.0.1.45016])
[May 04 23:54:45.465895 2007] debug: Received: ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
[May 04 23:54:45.466019 2007] unknown message from server (ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration)))
[May 04 23:54:45.466177 2007] Read error from server: Success
[May 04 23:54:45.466363 2007] debug: Sent: :orion.*********.com SQUIT orion.************.com :Read error from server: Success

---- more ----

[May 07 16:11:40 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 07 16:11:40 2007] MySQL has been disabled.
[May 07 16:11:40 2007] Attempting to load V3 HS Database
[May 07 16:11:40 2007] Databases loaded
[May 07 16:11:40 2007] Connected to Server 1 (localhost:6667)
[May 07 16:11:40 2007] Read error from server: Broken pipe
[May 07 16:45:46 2007] Anope 1.6.5 (1197) (compiled for Bahamut 1.4.27+) starting up
[May 07 16:45:46 2007] MySQL has been disabled.
[May 07 16:45:46 2007] Attempting to load V3 HS Database
[May 07 16:45:46 2007] Databases loaded
[May 07 16:45:46 2007] Connected to Server 1 (localhost:6667)
[May 07 16:45:47 2007] Read error from server: Success

[Edited on 7-5-2007 by asylum]

[Edited on 7-5-2007 by asylum]
Logged

asylum

  • Guest
(No subject)
« Reply #6 on: May 07, 2007, 11:13:09 PM »

[May 07 17:08:37 2007] Anope 1.6.5 (1197) (compiled for UnrealIRCd 3.1.1+) starting up
[May 07 17:08:37 2007] MySQL has been disabled.
[May 07 17:08:37 2007] Attempting to load V3 HS Database
[May 07 17:08:37 2007] Databases loaded
[May 07 17:08:37 2007] Connected to Server 1 (127.0.0.1:6667)
[May 07 17:08:37 2007] Read error from server: Broken pipe
Logged

asylum

  • Guest
(No subject)
« Reply #7 on: May 07, 2007, 11:14:30 PM »

Any ideas from these logs?  Looks like it starts, but when I try /Nickserv Johndoe I get the "Try again later" error
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #8 on: May 08, 2007, 08:12:22 AM »

you pasted the log of quite a few attempts but

Quote
[May 04 23:54:45.466019 2007] unknown message from server (ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration)))

.. says it all

Quote
[May 07 17:08:37 2007] Read error from server: Broken pipe

can mean a number of things, but i suspect you may be trying to connect to a port that s clients only.. not sure. You should run services in debug mode to get mode into

btw.. i just notice now, but you posted logs that are 3 days old... we don't need your entire history...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1]   Go Up