I managed to solve this problem. It was all to do with permissions on /var/log/sogo/
For some reason, the permissions were wrong, because of uid changing during installs. On 30 June 2013 18:43, Odhiambo Washington <odhia...@gmail.com> wrote: > I have kinda made a step fwd. I can run sogo from the debug mode[0], but > when I try to start it normally, I get the following in /var/log.messages: > > Jun 30 18:26:41 gw sogod: 2013-06-30 18:26:41.693 sogod[58347] unable to > get status of descriptor 2 - Bad file descriptor > Jun 30 18:28:05 gw sogod: 2013-06-30 18:28:05.152 sogod[58733] unable to > get status of descriptor 2 - Bad file descriptor > Jun 30 18:29:42 gw sogod: 2013-06-30 18:29:42.984 sogod[70515] unable to > get status of descriptor 2 - Bad file descriptor > > Is this something easy to overcome? > > > [0] > > [sogo@gw ~]$ gdb --args /usr/local/GNUstep/Local/Tools/Admin/sogod > -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 > -WOLogFile > - -WOPidFile /tmp/sogo.pid > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd"... > (gdb) r > Starting program: /usr/local/GNUstep/Local/Tools/Admin/sogod > -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 > -WOLogFile - -WOPi > dFile /tmp/sogo.pid > Jun 30 18:40:11 sogod [72874]: version 2.0.6b (build > r...@gw.kictanet.or.ke 201306301829) -- starting > Jun 30 18:40:11 sogod [72874]: vmem size check enabled: shutting down app > when vmem > 1024 MB > Jun 30 18:40:11 sogod [72874]: <0x0x23be7df4[SOGoProductLoader]> SOGo > products loaded from '/usr/local/GNUstep/Local/Library/SOGo': > Jun 30 18:40:11 sogod [72874]: <0x0x23be7df4[SOGoProductLoader]> > Appointments.SOGo, Contacts.SOGo, Mailer.SOGo, CommonUI.SOGo, > ContactsUI.SOGo, > MailerUI.SOGo, MailPartViewers.SOGo, MainUI.SOGo, PreferencesUI.SOGo, > SchedulerUI.SOGo, AdministrationUI.SOGo > Jun 30 18:40:11 sogod [72874]: |SOGo| WOHttpAdaptor listening on address > *:20000 > > > > On 29 June 2013 23:46, Odhiambo Washington <odhia...@gmail.com> wrote: > >> # su - sogo -s /usr/local/bin/bash >> [sogo@gw ~]$ gdb --args /usr/local/GNUstep/Local/Tools/Admin/sogod >> -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 >> -WOLogFile - -WOPidFile /tmp/sogo.pid >> GNU gdb 6.1.1 [FreeBSD] >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you >> are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for >> details. >> This GDB was configured as "i386-marcel-freebsd"... >> (gdb) r >> Starting program: /usr/local/GNUstep/Local/Tools/Admin/sogod >> -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 >> -WOLogFile - -WOPidFile /tmp/sogo.pid >> /libexec/ld-elf.so.1: Shared object "libSOGo.so.2" not found, required by >> "sogod" >> >> Program exited with code 01. >> (gdb) quit >> [sogo@gw ~]$ exit >> logout >> root@gw:/ # ls -al >> /usr/local/GNUstep/Local/Library/Frameworks/SOGo.framework/Versions/2/ >> total 1784 >> drwxr-xr-x 4 root wheel 512 Jun 29 23:31 . >> drwxr-xr-x 3 root wheel 512 Jun 29 23:30 .. >> drwxr-xr-x 2 root wheel 1536 Jun 29 23:30 Headers >> drwxr-xr-x 2 root wheel 512 Jun 29 23:31 Resources >> lrwxr-xr-x 1 root wheel 10 Jun 29 23:31 SOGo -> libSOGo.so >> lrwxr-xr-x 1 root wheel 12 Jun 29 23:31 libSOGo.so -> libSOGo.so.2 >> lrwxr-xr-x 1 root wheel 17 Jun 29 23:31 libSOGo.so.2 -> >> libSOGo.so.2.0.6b >> -rwxr-xr-x 1 root wheel 1786194 Jun 29 23:31 libSOGo.so.2.0.6b >> >> >> Odd! It is complaining about a file that is actually there! >> I've even added the path to the hints file, but no luck still. >> >> ldconfig -r | grep GNU >> search directories: >> /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/GNUstep/Local/Library/:/usr/local/GNUstep/System/Library/Libraries:/usr/local/lib/compat:/usr/local/lib/dovecot:/usr/local/lib/gcc42:/usr/local/lib/mysql:/usr/local/lib/nss:/usr/local/lib/pth:/usr/local/libexec/openldap >> >> What next? >> >> >> >> >> On 29 June 2013 15:58, Ludovic Marcotte <lmarco...@inverse.ca> wrote: >> >>> On 2013-06-29 6:30 AM, Odhiambo Washington wrote: >>> >>>> Is there a way I can track this to find out the cause of the segfault? >>>> >>> http://www.sogo.nu/nc/support/**faq/article/how-do-i-debug-**sogo.html<http://www.sogo.nu/nc/support/faq/article/how-do-i-debug-sogo.html> >>> >>> -- >>> Ludovic Marcotte >>> lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca >>> Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence ( >>> http://packetfence.org) >>> >>> -- >>> users@sogo.nu >>> https://inverse.ca/sogo/lists >>> >> >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> "I can't hear you -- I'm using the scrambler." >> > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler." -- users@sogo.nu https://inverse.ca/sogo/lists