Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: jecheve on March 25, 2014, 04:13:58 pm

Title: OpenChange causes Samba crash (and then no more usable)
Post by: jecheve on March 25, 2014, 04:13:58 pm
Hi everybody,

I will try to explain my best the very hard problems I have found installing and configuring Openchange in Zentyal 3.4 (those and a few more in Zentyal 3.3)

I start from a fresh and clean install, choosing "OpenChange Server". Everything goes OK. Domain DC, users, shares, etc... Creating a user, creating an e-mail account, and enable OpenChange mailbox is OK. In fact, I create a profile in Outllok  2007 and everything goes well. Although automatic account configuration does not work (it discovers the server and my e-mail account as I am logged into the domain, but then fails), but manual configuration runs smoothly. I open Outlook and first use goes OK (although a curiosity: after first login folder tree root is called "Mailbox - Full user name"; second and then it is called: "OpenChange: username".

Well, I start trying. I can send and receive mails to/from external accounts and to/from other OpenChange accounts.

The problems begin when I Import something from a .PST (of course I want to keep my old e-mails). Samba crashes! Im fact I get a message in Dashboard about a crash of usr_sbin_samba. Samba and Openchange need to be restarted. But after restarted you can access any other OpenChange mailbox, but not the one that caused the crash. If you use other mailbox, you can connect, send, received and stay connected. If you import something or try to access a mailbox that previously crashed the system, it crashes again, and you need to restart Samba and OpenChange. Sometimes, the whole system.

Apart than the problem itself, i have tried to clean or remove the OpenChange mailboxes, but no success. If I disable an OpenChange account, delete the e-mail account and then create a different account for the user and enable the Openchange Mailbox, it takes the old "corrupted" mailbox. I have tried to unconfigure OpenChange, but I am said "server cannot be unregistered, something like a primary update service relies on it". I have disabled the OpenChange module, and the deleted. Then installed it and enabled. And provisioning it again (with the previous organizations; the system knos about it); and I can access the mailboxes but when I do anything, send a single message, etc... another crash!

Is there any way of cleaning, removing or deprovisioning OpenChange? Or at least removing (not only disabling) a Mailbox?

I know you are going to ask me for reproducing the problem (it has happened to me a lot of times) and send logs and crash files, but I have no way of reproducing the initial state unless reinstalling the whole system, but I have it already working as a primary AD controller, and domain and file sharing services run smoothly... (unless  they crash when importing something into OpenChange).

Please, help (I am going mad with this issue). For the last two weeks I have re-installed Zentyal, created a domain, joined 10 computers, created users, take out computers our of the domain, begin again from scratch... And again, and again... First with 3.3, then 3.4

I thought it has relation with a bug opened about importing s/mime messages, but no. It fails as soon as you import anything, and remains unusable.

Thank you everybody in advance. Regards,

Javier
Title: CRITICAL: Samba crashes and OpenChange no more usable
Post by: jecheve on March 26, 2014, 07:39:51 pm
I have suffered this issue so many times in the last two weeks, and it is so easily reproducible, that I am going to tell the story step by step and offer all my logs, crash files, even access to my system to Zentyal staff/developers if interested. I think it is a CRITICAL issue, because, in fact, makes OpenChange deployment not an viable option.

Summary: some import of messages (almost any) and/or folder operations (create/delete) in OpenChange mailbox causes Samba to crash. Outlook connection aborts, and it is impossible to reconnect again. Samba and or OpenChange restart required. Moreover, then if you get connected it aborts and Samba crashes again and again, leaving OpenChange mailbox or perhaps database schema unusable.

Step by step procedure:

* We create a bootable live USB key from Zentyal 3.4 ISO i386, 32 bits. (It also happens with 64 bits version)
* Boot our server from this key, we choose Español (Spanish) language ans select Install (expert mode) (also happens with other install methods. tested)
* Country: España. Keyboard config detection: No. Keyboard: Español. Keyboard distribution: Español
* Hostname: servidor
* username: administrador (password and confirm password)
* Accept "Europe/Madrid" as TZ
* Warning about installation media mounted on /dev/sdb1 - Accept
* Partitioning: Chose "Guided - use whole disk and configure LVM"
* Chose our disk: SCSI8 (0,0,0) (sda) - 80.0 GB SEAGATE ST380011A
* Save changes and configure LVs? Yes. Delete previous LVs? Yes. Use maximum space (79.8 GB). Again, warning about installation media on /dev/sdb1. Accept. Write new partition table for sda? Yes.
* Install without GUI: yes (no GUI)
* No proxy
* Install GRUB in MBR? Yes
* System clock in UTC? Yes
* Installation completed. Extract installation media, etc. Continue
* System reboots. Installing core packages
* Zentyal interface at https://192,168.1.36 (given by DHCP server in my ADSL router)
* Access from browser in my laptop, select OpenChange server and install. Accept selected packages to be installed.
* Configuration: eth0 as internal. Static IP: 192.168.1.10   Mask: 255.255.255.0   Gateway: 192.168.1.1 (my ADSL router) DNS Server 1: 192.168.1.10 (Zentyal server itself).
* Select Standalone AD server. Domain: utilisaction.local
* Virtual mail domain: utilisaction.local
* Server registered in Zentyal Remote as: utiliserver.zentyal.me
* Installation... configuration... success
* Created user "dadmin" (Domain Administrator), an included in group "Domain Administrators"
* Created user "javier" (Javier Echeverría)
* New mail virtual domain added: utilisaction.eu. Changes saved
* Openchange provisiones: Organization name: utilisaction. Changes saved.
* Domain utilisaction.eu configured as the one for outgoing e-mail. Changes saved
* Mail: Smarthost added (mail.utilisaction.eu:26) User/password autentication (javier@utilisaction.eu) LOGIN method. Not necessary but for avoiding rejections due to the lack of an SPF or having to include an SPF record in external domain DNS servers. Changes saved
* Enabled retrieving mail from external accounts. saves changed.
* For user "javier": Retrieve messages from external account javier@utilisaction.eu (mail.utilisaction.eu IMAP, port 143). OpenChange account enabled (for its email account javier@utilisaction.local, created when creating the user as per the user creation template)
* My Windows 7 laptop joins the domain (using "dadmin" user credentials).
* Restart my laptop. Login as "javier"
* Shares, domain services... all run OK.
* Open Outlook 2007.
* Configuration assistant detects name (Javier Echeverría) and email account (javier@utilisaction.local)
* Click next. Credentials, security warning about certificate. Accept
* Automatic configuration fails (shouldn't it work? I think so)
* OK, no problem. Manual for server options. Choose Exchange. User populated with name (Javier Echeverría). Server: servidor.utilisaction.local. Verify name. Success ---> underlined. Next Finish.
* Configuring Outlook for its first use... Asks for name and initials... Online help options... Outlook is configuring a local copy of mailbox. Ask "Synchronize RSS sources". Yes
* Connected to Microsoft Exchange and everything updated and Sync'd
* Folders (after this first login. Interesting, because then they change):
    Buzón - Javier Echeverría
        Correo electrónico no deseado
        Drafts
        Elementos Borrados
        Fuentes RSS
        INBOX
       Outbox
       Sent
       Spam
       Carpetas de búsqueda
  (some English, some Spanish)
* Close Outlook / Open Outlook. Mailbox root folder name changes to: "OpenChange - javier". Rest the same (mixed Spanish and english)
* Everything is OK. Test e-mail message sent to jecheve@movistar.es
* First appear in Ourbox, then in Sent.
* WARNING: Initially in "Sent" with correct hour (15:57) and inmediately (when folder syncs, I suppose) it changes to 14:57!
* Visit my movistar.es webmail. Correctly received from from Javier Echeverría <javier@utilisaction.eu> with correct hour (15:57)!
* Answered from movistar.es webmail
* Reply correctly retrieved and punt in OpenChange INBOX. Hour is OK.
* Anyway, if you choose "Message properties", section "Internet headers" is empty and it shouldn't. There is a bug in tracker about it...

Up to here everything runs (almost) perfectly (but autoconfiguration, time handling and Internet headers). I have repeated this dozen times, and I can send/receive any message to/from any external or local account (including attachments, etc.)

The nightmare begins when I have tried to import messages (and contacts, calendars, etc.) from an exported backup (.PST) from the previous Outlook POP3 profile into the OPenchange mailbox. This process always makes Samba crash, disconnect Outlook from Exchange, makes impossible to reconnect, requires Samba and/or Openchange restaring, then you can connect again but inmediately of after any minimal operation, Samba crashes again, you get disconnected and not only the specific mailbox but others (the whole Database schema, I suspect) remains unusable. Tried dozen times from scratch, I repeat. By the way, sometimes after several crashes all folders have appeared with its name in Spanish!

In this ocasion, for being able to see something, instead of importing a whole .pst I have decided to go slower, step by step:

* Export from another Outlook a single folder (Terra) with a single message.
* In Openchange Mailbox, I create a folder called "Old messages".
* Import only messages in the exported folder (not the whole folders tree: Personal Folders -> Inbox -> Terra) into current folder (Old messages), not directly in OpenChange:javier. OK, message imported. Although status bar says indefinitely " awating to be updated" when it is really updated and sync'ed (seen in folder properties). Although you click Send&Receive, etc message in the status bar does not change to "up to date" until you close and open Outlook again. although it is really synced. Well, a minor issue.
* Deleted the single message in "Old messages Folder". Now we import th whole structure. Goes OK. Under "Old messages" folder:
   Bandeja de Entrada
       Terra
           Message
* Then, I import a folder with several messages from another .PST into "Old messages" folder. And everything goes OK.
* I was going to import a full .pst backup into the "Old messages" or directly into the mailbox (what has also caused the carsh and the explained disaster), but previously I decide to delete all content in "Old Messages" folder and goes OK, and then the "Old messages" folder itself. And... BUMP. Samba crashes, Openchange aborts, Outlook disconnect... and the disaster. An unusable Openchange provision.

So i think, it has relation to creation/deletion of folders or elements in the root folder of the Openchange Mailbox, not exactly the import of folders or elements (what obviusly implies the first).

Cannot attach zentyal.log, samba.log or crash file (although sent through Zentyal web admin) because they are bigger than allowed.

And, of course I can grant access to the crashed system. SSH and HTTPS ports in my router are forwarded and I can change passwords for Zentyal staff/development

I think issue is critical for OpenChange (by the way also happened with 3.3 and I was awating to see if solved in 3.4)

Thanks in advance. Regards,

Javier
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jkerihuel on March 27, 2014, 01:05:09 pm
Hola Javier,

Thanks for your feedback and detailed response. It is much appreciated.

One of our engineer is going to have a deeper look at look and get back to you shortly with updates, questions or eventually help inquiries to move this matter further.

Br,
Julien.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: blaxter on March 27, 2014, 01:33:50 pm
thanks for the great report Javier and sorry for the inconveniences :(.

First the easy minor thing about the change of name of the mailbox, that's normal and it happens for outlook locale different from English, actually the way to go will be to execute outlook (win+r, enter) as "outlook.exe /resetfoldernames" so you have all names on your language.

Another thing, about deleting an user and creating it again is a known bug (https://tracker.zentyal.org/issues/102) that I wanted to fix before 3.4 release but I didn't have the time, it should be fixed "soon" (you can add you as a watcher to that ticket if your are interested)

And now the main issue, importing messages. We have a ticket (https://tracker.zentyal.org/issues/348) related with that, maybe is that, maybe is another thing. Could you do a grep in your samba.log files? Something like this:

Code: [Select]
# zgrep Uncaught /var/log/samba/*
# zgrep "Assertion failed" /var/log/samba/*

The first is to see SOGo crashes, the second is to check if is the reported bug about importing messages.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jecheve on March 27, 2014, 08:21:55 pm
thanks, blaxter for the tip on resetting Outlook folders. I will try it later.

About the important issue, there are no entries as the ones you suggest in samba logs. I think it is not really the same issue as in the bug about importing messages with s/mime signatures. In fact I began suffering this crashes whe importing messages, but in the example told yesterday, import went OK, deletion of imported messages went OK, and crash occured when deleting the folder into which messages had been imported. But I have searched the logs in another server, in which first crash happened when importing a quite big amount of messages (a .PST with a full backup of a real Outlook profile) and there are no messages as those you suggest.

Another question making me suspicious is the fact that, although logged into the domain (and so Outlook detects name and mailbox) automatic configuration and login fails. And when server manually entered (and name correctly verified) it asks for credentials. And it shouldn't if Kerberos were working properly. What do you think?

Thank you in advance,

Javier
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jecheve on March 28, 2014, 02:23:17 am
Hi, Blaxter (and all)

I have started again from a fresh install, etc... Joined my laptop to the domain, login with my brand new user, and opened Outlook. Although automatic configuration detection and login didn't work, adding the server manually worked. As I started Outlook with /resetfoldernames all the folders have their correct names in Spanish (thanks!)

Well, connected to Exchange and everything OK. I have created a new folder "Imported", and from a backup.pst file I have imported only the three messages in one folder to that "Imported" folder. Apparently, everything OK. But Outlook has remained indefinitely awaiting to update folders... I have tried Send/Receive but it has got stuck. After several minutes I have had to force Outlook to close. Then, when opening again (several times) it has been impossible to connect to OpenChange. I have restarted my laptop, and impossible to connect. (but no samba crash). Finally I have restarted Zentyal server and I have been able to connect to Exchange, but it has almost inmediately disconnected. And... voila a crash of samba announced in dashboard. Impossible to connect. Now we are in a state, very well known to me, where if I restart samba I can connect, but it inmediately crash after receiving a connection from Outlook, and again, and again. And caused after importing 3 messages in a new folder!

Of course, I can provide you any log or crash file/itself. Also, if you want I cant grant to you access to this system, for you to analyze or test whatever.

Br,

Javier
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: blaxter on March 28, 2014, 12:05:59 pm
About the autonconfiguraton, right now is not working properly (it should, but is normal the problem you are having).

About the crash, it seems like we have a new bug related with importing messages, can you upload the samba.log file? You are now in a state where samba crashes whenever you open outlook, so if samba.log now is too big, just do a echo "" > /var/log/samba.log and then open outlook.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jecheve on March 28, 2014, 12:14:54 pm
Hi, blaxter

Actually samba.log is about 2.6 Mb. I think it is interesting not to delete it, because it has the first problems and crash after the fresh install and importing a few messages. If we delete it, we will only have the crashes caused by the bad state in which system remains after the first crash.

I cannot upload it, but I can send it to you wherever. Also, perhaps crash file itself is of interest.

if you want, I can grant to you access to the system (utiliserver.zentyal.me). HTTPS and SSH are open and I can change and give you password.

regards,

Javier
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: blaxter on March 31, 2014, 09:55:01 am
hi again,

you could gzip the file. Or you can join irc (freenode #zentyal, I'm blaxter there, normally I'm ~8-19h utc) and we can talk there. The problem as you describe seems to be easily reproducible, so I just want the log so I can open a bug ticket on our tracker.zentyal.org
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jecheve on March 31, 2014, 10:37:37 am
Hi, blaxter

I will reproduce the situation later today and proceed as you suggest. I have been experimenting during the weekend and the system is quite a mesh.

Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: blaxter on April 01, 2014, 03:25:36 pm
After seeing the logs and try this for myself I've created a bug that I think is the root cause of the issues you had importing messages: https://tracker.zentyal.org/issues/516 you can add yourself as a watcher if you want to track it. I don't know when will be fixed though :(.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: b.deivid on April 16, 2014, 08:22:30 pm
I'm experiencing the same behaviour !  I have tried to import the PST file using Outlook into OPENCHANGE.
And, what happened ??  Samba CRASHED, and CRASHED, and CRASHED, and CRASHED ..... Had to reinstall zentyal.

Bug over Bug, over BUG, over BUG.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: Ludwig on April 23, 2014, 12:10:08 am
Hi all,

It seems, that OpenChange does not like Outlook Exchange Cache Mode (as well as local .PST Folders) at all!
I've been struggeling for days with this issue now, but found a very easy "workaround" this evening:

Just turn off Outlook Exchange Cache mode.
This prevents Outlook from creating al locat .OST file (for offline mails) and as an effect also avoids any MAPIStore********* - operations, which seem to be the root cause of Samba-Crashes in conjunction with OpenChange.

Sure, that hint/workaround is not operable in productive environments, but it might help to narrow down the search... (I've seen at least 10 somehow related newly reported bugs at https://tracker.zentyal.org/projects/zentyal/issues?set_filter=1&tracker_id=1, which might be "solved" by turning off cache mode.)

Cheers and happy bug tracking,
Ludwig
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on April 24, 2014, 03:12:48 pm
is there any workaround to fix this problem? Without deactivating the Exchange Cache Mode?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: Ludwig on April 25, 2014, 12:23:51 am
Hmmm,

got some (but much less) crashes since turning off - so "Workaround disable cache mode" obviously solves some crashes, but unfortunately not all  :(
Therefore the information regarding use of cache mode is intentially aimed to development in order to narrow bug tracking and filter open issues/requests.

Cheers,
Ludwig

Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: stevew on April 30, 2014, 02:49:47 pm
I was a bit foolish and tried this for a small customer of ours ...

I tried turning off Cached Exchange Mode on all the machines, which had "some effect", in that a few started working ... So I added more and it just got progressively worse.

I also tried importing from PST, and I have a feeling it was a monster 9GB mailbox which caused it. since I have backups I'm going to try a more stable version of OpenChange until this gets worked out.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on May 21, 2014, 04:18:45 am
I am having exactly the same problem, guys and gals.  Crash crash crashes are real and serious. Making the software pretty much useless.  There are YouTube videos showing it working perfectly.  What has happened and who is approving the releases that waste everyone's time.  Come on people...   What release actually works?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on May 21, 2014, 04:23:31 am
Someone on the project should post that 3.4 does NOT work as a Microsoft Exchange replacement to save people time...  Especially not as a drop in as is being advertised.  We waste time and get frustrated then lose confidence in the Zentyal project and team.

The goal is admirable, but do NOT release things that do NOT work, please.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: kissg1988 on May 26, 2014, 11:38:55 am
I'd like to point out that these crashes are still present in Zentyal 3.4 Community Edition. Profile creation works fine in Outlook, but as soon as I try to send a message, samba crashes and accepts no connections until it is restarted.

Using the nightly build of Zentyal 3.5, it's even worse: I couldn't even configure my mailbox in Outlook 2010 as the profile creation process does not work at all, it is stuck at the step where the mailbox's name should be resolved.

I'm aware that openchange integration is still a a tech preview but I'd expect slightly more stable operation, it's impossible to test how it performs if it doesn't perform at all.

I even installed a clean CentOS 6.5 system and created an openchange environment from scratch by carefully following the cookbook's instructions on the Openchange project site. I tried compiling the softwares from source but it was too time-consuming so I switched to the nightly build packages published by Inverse (samba4 + openchange + sogo) but the result is the same: unstable operation.

Zentyal as a whole is an awesome project and a really worthful alternative for SMBs that want to cut their costs but the openchange implementation still looks way too unstable to be able to use in production.

Are there any plans to improve openchange's stability in the next release of Zentyal? What about the business releases? Do they already have a stable implementation of openchange?

Thanks and keep up the good work!
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on May 27, 2014, 07:29:09 pm
Can someone from the project please comment on this state of affairs?

Thank you!
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: Luigi on May 29, 2014, 03:32:50 pm
Hi Everyone,

We're too having similar issues with openchange on zentyal 3.4.3.

We are managing to connect outlook to the mailbox but as soon as there is some activity on the mailbox the connection to the server is lost and on the zentyal web GUI we get a samba crash report. In order to be able to re-connect the samba service has to be restarted.

We have attempted to apply several updates which related to samba and openchange but nothing seems to be tackling this issue.

We have also tried using the non-cached mode in outlook yet still we got the same results.

Has anyone managed to successfully use openchange or found a solution to this issue?

Thanks and regards,
Luigi
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on May 31, 2014, 07:29:12 pm
is there any one from Zentyal looking at these forums?  At least give us a status - please....
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: w00dmAn on June 03, 2014, 01:25:00 pm
Same things
Anyone try to reinstall a module?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: theb2b on June 04, 2014, 02:48:08 am
Here is what I know about this problem
1. Here is the crux of the problem, from the crash report;
     Traceback (most recent call last):
        File "/usr/sbin/samba_dnsupdate", line 510, in <module>
          get_credentials(lp)
        File "/usr/sbin/samba_dnsupdate", line 123, in get_credentials
          raise e
     RuntimeError: kinit for SERVERNAME$@DOMAIN-NAME.LOCAL failed (Cannot contact any KDC for requested realm)
2. Known bug with samba4, see here;
             https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/809638
3. Did the suggested fix\work around, did not work
      modify /etc/krb5.conf
------------ snip snip -------------------
[libdefaults]
 default_realm = VMNET.US
 dns_lookup_realm = false
 dns_lookup_kdc = true
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true

[realms]
 VMNET.US = {
  kdc = vmnet-dc1.vmnet.us
  admin_server = vmnet-dc1.vmnet.us
 }

[domain_realm]
 .vmnet.us = VMNET.US
 vmnet.us = VMNET.US

Made the changes, modified as needed to match my domain, restarted DNS, still suffering from the same issue, now what??
Supposedly zentyal to drop openladp and go with samba4 only, attempt to overcome this problem???

4.No official response on how to fix this issue

In the meantime any idea's anyone, anyone, anyone.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on June 12, 2014, 06:37:47 pm
Zentyal team, can you please comment on this thread?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on June 13, 2014, 11:08:14 am
A Comment from the team would be very nice....
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: scuzz on June 15, 2014, 12:31:58 pm
I have the same problems on zentyal 3.4.6.
I think i'll remove Zentyal Server and upgrade to a new Microsoft Server. I really like the Zentyal
project but I think it's gonna take a couple of years before it will turn into a real microsoft replacement :(

Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on June 16, 2014, 12:57:04 pm
I did a test with the version 3.5 beta. And after importing a .pst to an exchange account the openchange module crashes.. :(
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on June 18, 2014, 01:12:55 pm
I was hoping they would fix this issue in 3.5, sad.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on June 18, 2014, 01:21:04 pm
Does anyone know if there is a bug ticket?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on June 21, 2014, 01:47:50 am
 :'(this must be a really serious issue... No one comments on it.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on June 21, 2014, 08:21:50 pm
i think so.. no response from the team since a month. And this is really a important thing. Noone could use the 3.5. of zentyal in productive enviroment if this bug isnt fixed...
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: freesoul on June 26, 2014, 02:48:27 pm
I hope it will work in the 3.5 version, and thats way no one of them response here, it would be a nice suprise
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: MyKey0815 on July 01, 2014, 04:48:44 pm
Today I install a fresh Zentyal 3.5 and can reproduce the Problem. :-(

I found out that the retrieving of mails via fetchmail Crash the "RPC-Server". So I cannot Access the OpenChange via Outlook 2012 anymore. Everytime the fetchmail is running an deliver mail to my Mailbox the Crash coming.

My Installation is german Windows 7 64-bit with Office 2010 Home and Business (32-bit).

I would be very helpfull to confirm the Problem and Show a solution (Exchange-Cache is disable and don´t work for me). Second can someone help to configure the fetching of external mails. Which program is the perfect for zentyal ;-)

Thanks very much
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: tigerman on July 03, 2014, 10:35:24 am
I have had the exact same problem in 3.3, 3.4 and now 3.5

Different hardware, hypervisor and clients - same deal.

Inbox works the first time then a crash then no more.

Dang!
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: jkerihuel on July 04, 2014, 05:06:58 pm
Oops,

First of all, I am really bothered none of you received a reply from our side earlier ...  this has not been done on purpose - does not make this situation acceptable anyhow :-[

If I summarize this thread, the problem you experience is systematic and recurrent crashes of OpenChange/Samba after you import a given PST file.

During 3.5 development, we have tackled down and fixed 2 potential root causes that could have impacted PST import. As it sounds this discussion only finds echo in the forum, I would like to leverage this to ask one of you if he would agree to:

1. share his PST file with us so we can reproduce the issue and fix the root cause?
2. create a ticket in tracker.zentyal.org and attach the crash report to it? (I have increased our attachment limits to 15Mb, so it should be enough to include them)

If you have already sent a crashreport, just give us an approximate time range when you submitted it and we should be able to retrieve it!

Cheers,
Julien.


Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on July 05, 2014, 07:59:44 pm
Julien, thank you for taking the time to respond to this thread.  It is great that someone has looked at it.  The Crash problem is serious and makes Zentyal almost useless except for the simplest of installations.   Zentyal 3.5 still crashes when trying to upload data from a .pst file.  This feature is a must as there is no other way to load an email account with user's information.

I was able to upload notes.  Could not do that in 3.4
It crashed when uploading contacts, I have about 2000 contacts I am trying to upload.  This crash does not happen in 3.2 so something has been broken.  Using the same files.
It also crashes when uploading the inbox or any other folder.

I have submitted the crash reports...


Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: rcarney on July 05, 2014, 08:26:01 pm
This does not have anything to do with this thread but thought I would note that NOT being able to retrieve pop mail in Zentyal 3.5 is a major issue for small businesses.  This too will prevent many from adopting Zentyal 3.5.  If this thread and the pop issues can be resolved, it will cause a massive jump in adoption.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: psifactory on July 09, 2014, 10:05:15 am
Does someone already created a ticket with the crash report? i have here an testing enviroment, so i could do this step.
but i cant share the .pst because there are private mails in it. can someone give me a .pst so i can attach it to the ticket?
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: theb2b on July 17, 2014, 04:24:21 am
Julien, have you seen my post on page two, mine has nothing to do with importing .pst but rather an ongoing crash due to samba and openldap. I did submit a bug tracker for this problem about mid-March. Only solution give was to rename my openchange name, seemed like a half solution as I would have to change the domain name also. when I asked this question never got an answer back. I'm also unable to join any device to the domain.
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: doncarlos on March 11, 2016, 03:13:45 pm
Hi!

Sorry for bringing up this old thread but exactly the same happened to me on a fresh install of 4.2.2. I tried to import a 300 MB pst file and it crashed the samba modul. And every time I open that mailbox samba crashes again. If I view that mailbox from the sogo webmail everything is fine, I can even see the imported messages. But as soon as I start outlook 2010 it crashes samba again. How can I import our users old mail data without killing the hole AD server?

And an another issue, there are folders appearing in the mailboxes called "Levelszemet (1)" (it means spam in hungarian) and they keep appearing so there are some users who has multiple "Levelszemet (1)(1)(1)" folders. Do anyone knows why this happens?


Thanks in advance!

Regards,
Zsolt
Title: Re: OpenChange causes Samba crash (and then no more usable)
Post by: pcready.cl on March 28, 2016, 10:41:46 pm
Hi!

Sorry for bringing up this old thread but exactly the same happened to me on a fresh install of 4.2.2. I tried to import a 300 MB pst file and it crashed the samba modul. And every time I open that mailbox samba crashes again. If I view that mailbox from the sogo webmail everything is fine, I can even see the imported messages. But as soon as I start outlook 2010 it crashes samba again. How can I import our users old mail data without killing the hole AD server?

And an another issue, there are folders appearing in the mailboxes called "Levelszemet (1)" (it means spam in hungarian) and they keep appearing so there are some users who has multiple "Levelszemet (1)(1)(1)" folders. Do anyone knows why this happens?


Thanks in advance!

Regards,
Zsolt

Eset Antivirus in the machine?