Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: nick.db wiped?  (Read 6228 times)

0 Members and 1 Guest are viewing this topic.

bob

  • Anope User
  • Offline Offline
  • Posts: 4
nick.db wiped?
« on: June 08, 2013, 02:24:04 AM »

Hi all,

It seems that every 200 days I need to reboot my server for an nice refresh of updates etc. Just before I reboot i do a ./anoperc rehash to save databases etc. However sadly everytime I reboot and login to nickserv it tells me my nick is not registered. Any suggestions anyone?

This is starting to frustrate me as I'm unable to determine what the issue is. The logs look fine too. Any suggestions / thoughts?

Beer whoever can help me solve this issue :(
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: nick.db wiped?
« Reply #1 on: June 08, 2013, 02:26:19 AM »

That can happen if services are killed while writing databases.

You should probably actually shutdown services (./anoperc stop) before shutting down the server.

This is also why backups exist, check the backups folder.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: nick.db wiped?
« Reply #2 on: June 08, 2013, 02:28:13 AM »

or /msg operserv update
Logged

bob

  • Anope User
  • Offline Offline
  • Posts: 4
Re: nick.db wiped?
« Reply #3 on: June 08, 2013, 02:28:44 AM »

You know what that's probably it! I do not do that and a backup lol. Fail on my part and I'll do some testing on the "stop"

*beer*
Logged

bob

  • Anope User
  • Offline Offline
  • Posts: 4
Re: nick.db wiped?
« Reply #4 on: June 08, 2013, 02:29:19 AM »

or /msg operserv update

I did actually do this too! Very odd
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: nick.db wiped?
« Reply #5 on: June 08, 2013, 02:50:42 AM »

an /os update dumps data from cache to the FFF db files so if the data isn't getting into the DB files, then it's likely a permissions thing. Do you have mysql enabled?
Logged

bob

  • Anope User
  • Offline Offline
  • Posts: 4
Re: nick.db wiped?
« Reply #6 on: June 08, 2013, 03:25:25 AM »

an /os update dumps data from cache to the FFF db files so if the data isn't getting into the DB files, then it's likely a permissions thing. Do you have mysql enabled?

For services I'm just using the .db's files. Nothing going into mysql however I do have mysql running for other items.
Logged
Pages: [1]   Go Up