Author Topic: Openchange reinstallation fail  (Read 2085 times)

Reisperbachtal

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Openchange reinstallation fail
« on: December 28, 2015, 11:40:21 am »
Hello,

I´ve had some troubles with the openchange module, it always crashed after a few minutes. It was shown as "stopped" on the dashboard and no client could connect. Then, I had to press "restart" a few times until there was a button called "start". Finally, openchange came back online. Because restarting the module every 15 minutes is anyoing, i decided to uninstall mail, mailfilter and openchange from the module selection. I then rebooted the machine and installed them again. Now, Openchange says it needs to be provisioned. However, when I enter an organization name, it says "The PDC server has been already provisioned". I tried reinstalling openchange again, but it just won´t work. I think the problem is that it wants to create new config files but then struggles with the old one fromt the previous installation. Does anybody know where these files are located and if they are safe to delete?

General information:

my installation is a fresh installation running on a real machine with an Intel 64bit, 8GB of RAM and a 256 SSD. I upgraded everything to the latest version using apt get update && upgrade and installing all the updates available on the Zentyal webadmin module. The Zentyal server is not my gateway, however, it is my AD Controller and my DNS/DHCP server.

Thanks to everyone who read this and special thanks in advance to those how help me with the soluton.
« Last Edit: January 01, 2016, 04:33:02 pm by Reisperbachtal »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Openchange reinstallation fail
« Reply #1 on: December 29, 2015, 05:11:16 pm »
The problem is that your AD Schma has already been extended and it is not possible to extend it twice. You may try changing the config key /etc/zentyal/openchange.conf which allows relaxed provisioning

jklapel

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Openchange reinstallation fail
« Reply #2 on: December 30, 2015, 11:11:43 pm »
The suggestion from jbahillo looks like it should work.  I ran into the same issue not too long ago and didn't know about the option in /etc/zentyal/openchange.conf.  Instead, I followed the suggestion in this post: https://forum.zentyal.org/index.php/topic,24625.msg96857.html#msg96857.  It worked fairly well, though I did run into some sync issues that may or may not have been related, and I ended up having to delete a bunch of DNS entries and a couple AD entries.

Reisperbachtal

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Openchange reinstallation fail
« Reply #3 on: January 01, 2016, 04:30:14 pm »
Hello, thanks for your help.

I tried both solutions, unfortunately neither of them worked. Is it possible to delete the whole database and start from the beginning, maybe with reinstalling domain services?

Edit:

I found an old backup from a date when openchange was still working. I installed that. BTW, I noticed the day openchange started to fail the backup size shrinked from ~50MB to ~3MB.
« Last Edit: January 03, 2016, 02:05:17 pm by Reisperbachtal »