Hi, Ludovic and cie.
I want to debug seriously SOGo with GDB, i try to use, from you'r website :
gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 20000
-WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
but i have issue, if i run GDB command in root :
2014-12-11 08:25:41.242 sogod[31635] Don't run SOGo as root!
[Inferior 1 (process 31635) exited with code 0377]
(gdb) quit
But /etc/default/sogo has been configured to launch with user sogo, ok i
try another, with a non-root account, same command line :
gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 20000
-WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
Returns :
Dec 11 07:31:06 sogod [31662]: version 2.2.11 (build @shiva.inverse
201412100209) -- starting
Dec 11 07:31:06 sogod [31662]: vmem size check enabled: shutting down app when
vmem > 384 MB
Dec 11 07:31:06 sogod [31662]: <0x0x555555a0f778[SOGoProductLoader]> SOGo
products loaded from '/usr/lib/GNUstep/SOGo':
Dec 11 07:31:06 sogod [31662]: <0x0x555555a0f778[SOGoProductLoader]>
AdministrationUI.SOGo, PreferencesUI.SOGo, Mailer.SOGo, ActiveSync.SOGo,
Appointments.SOGo, SchedulerUI.SOGo, MailPartViewers.SOGo, Contacts.SOGo,
ContactsUI.SOGo, MailerUI.SOGo, CommonUI.SOGo, MainUI.SOGo
2014-12-11 07:31:06.627 sogod[31662] No value specified for 'SOGoProfileURL'
Dec 11 07:31:06 sogod [31662]: |SOGo| WOHttpAdaptor listening on address *:20000
Dec 11 07:31:16 sogod [31662]: <0x0x555555ac9608[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds
Dec 11 07:31:16 sogod [31662]: <0x0x555555ac9608[SOGoCache]> Using host(s)
'localhost' as server(s)
Dec 11 07:31:16 sogod [31662]: [ERROR] <0x0x555555a41318[SOGoUserManager]> No
authentication sources defined - nobody will be able to login. Check your defaults.
Dec 11 07:31:16 sogod [31662]: <0x0x555555ac2a88[SOGoDAVAuthenticator]> tried
wrong password for user 'maxime.rubino'!
90.20.239.59 - - [11/Dec/2014:07:31:16 GMT] "POST
/SOGo/Microsoft-Server-ActiveSync?jQkMBBBfyNwPakAsqacfzLd6jSF6BAAAAAADV1A4 HTTP/1.1"
401 12/35 0.004 - - 256K
Ahem... SOGO don't take my /etc/sogo/sogo.conf and i can't debug.
Do you have an command line to launch sogod with a specified config file ?
--
Cordialement,
Maxime RUBINO
--
[email protected]
https://inverse.ca/sogo/lists