Public bug reported:

After installing inspircd (2.0.20-5build2) and anope (2.0.3-1build2) on
Ubuntu 16.04 (server installation) from standard repository packages,
found that anope either crashes after five minutes or service does not
start (whether using 'service anope start' or 'systemctl start anope').

Log entries pointed to missing directory /var/lib/anope/db/backups

anope/services.log.20170210:[Feb 10 08:46:07 2017] Anope 2.0.3 starting up
anope/services.log.20170210:[Feb 10 08:51:10 2017] DB_FLATFILE: Unable to back 
up database anope.db (No such file or directory)!
anope/services.log.20170210:[Feb 10 08:51:10 2017] Unable to back up database 
anope.db (No such file or directory)
anope/services.log.20170210:[Feb 10 08:56:06 2017] Anope 2.0.3 starting up
anope/services.log.20170210:[Feb 10 09:01:10 2017] DB_FLATFILE: Unable to back 
up database anope.db (No such file or directory)!
anope/services.log.20170210:[Feb 10 09:01:10 2017] Unable to back up database 
anope.db (No such file or directory)

Creating the target directory fixes this:

mkdir -p /var/lib/anope/db/backups
chown irc:irc /var/lib/anope/db/backups
chmod 700 /var/lib/anope/db/backups

Issue has been replicated three times on three different systems.

Related bug in Debian repo: https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=822371

** Affects: anope (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664049

Title:
  Missing directory in anope package triggers crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anope/+bug/1664049/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to