Author Topic: (SOLVED) openchange not running after provisioned  (Read 5160 times)

wkw911

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +3/-0
    • View Profile
(SOLVED) openchange not running after provisioned
« on: November 26, 2013, 09:07:49 am »
openchange has provisioned, but when I ssh to /etc/samba/smb.conf show as below

### Configuration required by OpenChange server (Module not provisioned!) ###
###    dcerpc endpoint servers = +epmapper, +mapiproxy
###    dcerpc_mapiproxy:server = true
###    dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, exchange_ds$
### Configuration required by OpenChange server ###

if I remove the "#" mark and restart the samba -D, the openchange will start and I can check mail, but I can only see 1 user (my self) in address book. Beside this, zentyal webadmin cannot re-provision the openchange. it prompt the error as below

Error provisioninig: root command /opt/samba4/sbin/openchange_provision --openchangedb --firstorg='First Organization' failed. Error output: Traceback (most recent call last): File "/opt/samba4/sbin/openchange_provision", line 87, in openchange.openchangedb_provision(provisionnames, lp) File "/opt/samba4/lib/python2.7/dist-packages/openchange/provision.py", line 641, in openchangedb_provision openchange_ldb.setup() File "/opt/samba4/lib/python2.7/dist-packages/openchange/mailbox.py", line 59, in setup """) File "/opt/samba4/lib/python2.7/site-packages/samba/__init__.py", line 224, in add_ldif self.add(msg, controls) _ldb.LdbError: (68, 'Entry @OPTIONS already exists') Command output: Setting up openchange db . Exit value: 1
« Last Edit: March 06, 2014, 02:10:18 am by wkw911 »

jkerihuel

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 152
  • Karma: +18/-3
    • View Profile
Re: openchange not running after provisioned
« Reply #1 on: November 28, 2013, 11:53:54 am »
openchange has provisioned, but when I ssh to /etc/samba/smb.conf show as below

### Configuration required by OpenChange server (Module not provisioned!) ###
###    dcerpc endpoint servers = +epmapper, +mapiproxy
###    dcerpc_mapiproxy:server = true
###    dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, exchange_ds$
### Configuration required by OpenChange server ###

if I remove the "#" mark and restart the samba -D, the openchange will start and I can check mail, but I can only see 1 user (my self) in address book. Beside this, zentyal webadmin cannot re-provision the openchange. it prompt the error as below

Hi,

Zentyal final behavior is correct in this case and you should not have to alter the configuration manually to make it work. As described in the smb.conf comments, you have presumably hit a case where the module was not provisioned. However the interface lacked a message about it.

Can you send us your zentyal.log so we can investigate what caused the provisioning failure in the first place?

Br,
Julien.
Twitter: http://twitter.com/jkerihuel
Key fingerprint = 08BA 50B1 9EFF 8E1E FB4A  24FA B2A9 D5F3 9624 1CC2

wkw911

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +3/-0
    • View Profile
Re: openchange not running after provisioned
« Reply #2 on: November 29, 2013, 02:39:19 am »
here is the log file. thanks for help

shahsx

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: openchange not running after provisioned
« Reply #3 on: February 25, 2014, 08:47:00 am »
Hi,

Was this issue ever resolved, I am facing it at the moment.

jkerihuel

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 152
  • Karma: +18/-3
    • View Profile
Re: openchange not running after provisioned
« Reply #4 on: February 25, 2014, 09:50:33 am »
Yes it was solved quite some time ago already.

There was indeed some corner cases and unhandled  behavior triggered by reprovision of openchange (deprovision/reprovision) or reprovision of samba, then openchange.

If you are still hitting this issue with latest version of Zentyal and openchange package, open a ticket to this regards on tracker.zentyal.org with your zentyal.log in attachment.

Br,
Julien.
Twitter: http://twitter.com/jkerihuel
Key fingerprint = 08BA 50B1 9EFF 8E1E FB4A  24FA B2A9 D5F3 9624 1CC2

shahsx

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: openchange not running after provisioned
« Reply #5 on: February 25, 2014, 10:33:16 am »

Thanks.

Ticket opened Bug #210