[SOGo] samba-tool provision
I'm trying to understand how the ZEG appliance was originally configured. If I configure Outlook for the sogo1 user with the ZEG (2.0.5a), it connects with no problem. If I try to re-provision Samba4/Openchange and re-create the sogo1 Outlook profile, Outlook and/or Samba will crash every time. Here is what I am doing: # service samba4 stop # mv /var/lib/samba/private /var/lib/samba/private.orig # samba-tool domain provision --realm=example.com --domain=EXAMPLE --adminpass=sogo1234 --server-role="domain controller" # openchange_provision # openchange_provision --openchangedb I then re-create the "sogo1" user in Samba4 and OpenChange: # samba-tool domain passwordsettings set --complexity=off # samba-tool domain passwordsettings set --min-pwd-length=4 # samba-tool user add sogo1 sogo --surname=Doe --given-name=John --use-username-as-cn # samba-tool user setexpiry sogo1 --noexpiry # openchange_newuser --create sogo1 # service samba4 start Now when I go back and re-create the sogo1 user in Outlook, when trying to setup the initial folders Outlook will either crash or disconnect from the Exchange server (the samba thread dies). If I stop Samba, replace /var/lib/samba/private with the original and restart samba, I can then re-create the sogo1 Outlook user without any errors. So, what is different with the provisioning that I am missing? What were the provisioning steps used in creating the ZEG to begin with? Thanks for the help, -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ANN: SOGo v2.0.5
On 04/11/2013 01:02 PM, Jean Raby wrote: > On 13-04-11 4:01 PM, ScottJ wrote: >> Thanks Inverse team! >> >> Is an updated ZEG coming soon? > Friday > > merci beaucoup! -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ANN: SOGo v2.0.5
Thanks Inverse team! Is an updated ZEG coming soon? -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: [SOGo] Samba4 Crash
Looks like I'll wait for the 2.0.5 release and re-deploy/re-test. BTW - I populated the ZEG mailboxes first using imapsync from the client's existing mail server. Out of the 10+ users, I had trouble with 2 of them. Apparently, there are existing messages that Openchange is choking on. It may have to do with calendar appointment "invites". I'm still investigating, but I'll wait for 2.0.5 before continuing. -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Samba4 Crash
Here is some strace output on the crash: write(2, "Apr 04 12:10:23 samba [6504]: METHOD '-[MAPIStoreMessage init]' (142) (31358848)) = 119 write(2, "\n", 1 ) = 1 write(2, "2013-04-04 12:10:23.265 samba[65"..., 842013-04-04 12:10:23.265 samba[6504] returning wrapper: 0x265cdf0; object: 0x1de7f80 ) = 84 rt_sigprocmask(SIG_BLOCK, [PIPE], [FPE USR1 USR2 PIPE], 8) = 0 rt_sigpending([]) = 0 write(109, "\27\3\1\0 \330n\21\206\204\250Fn_\324<\376\2474\3\354xS\304\277~\232\235\356\371\253v"..., 90) = 90 rt_sigprocmask(SIG_SETMASK, [FPE USR1 USR2 PIPE], NULL, 8) = 0 poll([{fd=109, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=109, revents=POLLIN}]) rt_sigprocmask(SIG_BLOCK, [PIPE], [FPE USR1 USR2 PIPE], 8) = 0 rt_sigpending([]) = 0 read(109, "\27\3\1\0 ", 5) = 5 read(109, "\336\206\272<\0\272\353\245\3045\263t&&\3060\3410\16\2538\200@\202\324\317Yd\342\325\306\231", 32) = 32 read(109, "\27\3\1\", 5)= 5 read(109, "\16\2559\234\20\24\361.+\2\3017\27 ;\324m\36\203\317\247 |S\365\265\310m0\322;\22"..., 48) = 48 rt_sigprocmask(SIG_SETMASK, [FPE USR1 USR2 PIPE], NULL, 8) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=26744, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=26744, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=25836, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=25836, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=32952, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=32952, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=26744, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=26744, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=25836, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=25836, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=32952, len=1}) = 0 fcntl(25, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=32952, len=1}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d015de000 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(1, ""..., 64=== ) = 64 munmap(0x7f2d015de000, 4096)= 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d015de000 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(1, "INTERNAL ERROR: Signal 11 in pid"..., 46INTERNAL ERROR: Signal 11 in pid 6504 (4.0.1) ) = 46 munmap(0x7f2d015de000, 4096)= 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d015de000 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(1, "Please read the Trouble-Shooting"..., 60Please read the Trouble-Shooting section of the Samba HOWTO ) = 60 munmap(0x7f2d015de000, 4096)= 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d015de000 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(1, ""..., 64=== ) = 64 munmap(0x7f2d015de000, 4096)= 0 prctl(0x59616d61 /* PR_??? */, 0x1968, 0, 0, 0) = 0 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d015de000 lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(1, "PANIC: internal error\n", 22PANIC: internal error ) = 22 munmap(0x7f2d015de000, 4096)= 0 rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTORER|SA_RESTART, 0x7f2d013a7cb0}, {0x7f2d011828f0, [ABRT], SA_RESTORER|SA_RESTART, 0x7f2d013a7cb0}, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(6504, 6504, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++ Aborted -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Samba4 Crash
I've configured a 2.0.4 ZEG to use in a production environment. The postfix/cyrus/web piece works great. I'm having trouble with the OpenChange/Samba part. When setting up users as Exchange clients, some of the users work fine, but others either cause Outlook (2007 or 2010) to crash or the Samba thread to crash. The Samba thread panics with a sig 11 while doing a "SOGo: sogo_properties_get_properties:1408". This happens every time for one particular user. What's the best way to debug this problem? If fact, "where" is this problem? Is it in the Openchange code, SOGo code, or the Samba code? I've run apt-get update/dist-upgrade on the ZEG, so it's up-to-date with the latest available packages in the repositories. -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists
Re: Re: [SOGo] how change example.com form the ZEG
OK, I've done this a few times. There is an easy way of doing this, but it involves changing the domain name in a few different places. I'll dig out my notes and will post shortly. -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] ZEG -> 2.0.3a
If I install the current ZEG (V 2.0.1), can I get the latest version of SOGo by doing an apt-get update? -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Existing Samba4 Domain and OpenChange
I'm looking to add SOGo/OpenChange to an existing Samba4 domain environment and confused on how to configure it. I'm going to setup OpenChange on it's own VM. The SOGo/OpenChange documentation explains how to provision/configure Samba4 as a new domain, but no where does it discuss what to do when an existing Samba4 domain already exists. Do I treat the OpenChange samba4 server as a secondary DC? And if so, do I add the OpenChange parameters to my main Samba4 domain server smb.conf file as well? Or, do I just create a completely separate domain on the OpenChange server for it to use locally? It's not clear how OpenChange interacts with existing Samba4 servers (or any existing AD server environment as far as that goes) if at all. -- Scott -- users@sogo.nu https://inverse.ca/sogo/lists