Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Patrick Ben Koetter
Stephen,

* Stephen Ingram users@sogo.nu:
 On Tue, Dec 13, 2011 at 6:21 AM, Patrick Ben Koetter p...@state-of-mind.de 
 wrote:
  I'm having problems activating SIEVE rules on my sogo 1.3.11 (I had them on
  previous versions too) and I am kind of stuck debugging this.
 
  Creating a SIEVE rule is no problem. I can add another SIEVE rule (currently
  about 60 rules) and save it. But when I choose to activate the rule and 
  save
  and close it, I get a proxy error:
 
  Proxy Error
  The proxy server received an invalid response from an upstream server.
  The proxy server could not handle the request POST 
  /SOGo/so/p...@state-of-mind.de/preferences.
  Reason: Error reading from remote server
 
 
 ...snip...
 
  2011-12-13 15:11:53.958 sogod[28043] ERROR(-[NGBundleManager 
  bundleWithPath:]): could not create bundle for path: 
  '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
 
 I could be wrong, but I don't think that SSL is supported yet for
 sieve. The log entry above leads me to believe that you are using this
 in your config file.

agreed, but I don't see how I would influence that because all I have in the
.GNUstepDefaults that relates to Sieve is this:

keySOGoSieveScriptsEnabled/key
stringYES/string

Besides that I have been able to create about 60 Sieve rules with the same
setup. I don't believe SOGo will choose to use unencrypted connections for
some and SSL encrypted connections for other storage requests.

p@rick

-- 
state of mind ()

http://www.state-of-mind.de

Franziskanerstraße 15  Telefon +49 89 3090 4664
81669 München  Telefax +49 89 3090 4666

Amtsgericht MünchenPartnerschaftsregister PR 563

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Patrick Ben Koetter
* Ludovic Marcotte users@sogo.nu:
 On 19/12/11 16:29, Patrick Ben Koetter wrote:
 Are you suggesting it is something else that causes sogod to segfault?
 Install the debug packages for SOPE/SOGo and GNUstep and run it inside gdb.
 
 su - sogo
 gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort
 2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
 (gdb) r
 ...
 [CONTROL-C]
 (gdb) b raise
 Breakpoint 1 at 0xf147dfc: file NSException.m, line 956.
 (gdb) c
 Continuing.
 [CRASH OR EXCEPTION RAISED]
 (gdb) bt

sogo@mail:~$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES 
-WOPort 2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid

...

done.
(gdb) r
Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 
2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
[Thread debugging using libthread_db enabled]
Dec 19 22:35:41 sogod [19899]: version 1.3.11 (build @vizzini.inverse.ca 
20111216) -- starting
Dec 19 22:35:41 sogod [19899]: vmem size check enabled: shutting down app when 
vmem  384 MB
Dec 19 22:35:41 sogod [19899]: 0x0x915e30[SOGoProductLoader] SOGo products 
loaded from '/usr/lib/GNUstep/SOGo':
Dec 19 22:35:41 sogod [19899]: 0x0x915e30[SOGoProductLoader]   Mailer.SOGo, 
MainUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, Contacts.SOGo, 
AdministrationUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo, CommonUI.SOGo, 
ContactsUI.SOGo, Appointments.SOGo
Dec 19 22:35:41 sogod [19899]: |SOGo| WOHttpAdaptor listening on address *:2
Dec 19 22:35:53 sogod [19899]: 0x0xcb5560[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Dec 19 22:35:53 sogod [19899]: 0x0xcb5560[SOGoCache] Using host(s) 
'localhost' as server(s)
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): relative base URLs are 
enabled.
2011-12-19 22:35:53.062 sogod[19899] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-19 22:35:53.062 sogod[19899] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-19 22:35:53.071 sogod[19899] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-19 22:35:53.097 sogod[19899] WOCompoundElement: pool embedding is on.
2011-12-19 22:35:53.097 sogod[19899] WOCompoundElement: id logging is on.
2011-12-19 22:35:53.119 sogod[19899] WARNING(-[NSNull(misc) count]): called 
NSNull -count (returns 0) !!!
127.0.0.1 - - [19/Dec/2011:22:35:53 GMT] GET /SOGo/ HTTP/1.1 200 4250/0 0.083 
11810 64% 2M
Dec 19 22:36:02 sogod [19899]: SOGoRootPage successful login for user 
'p...@state-of-mind.de' - expire = -1  grace = -1
Dec 19 22:36:02 sogod [19899]: [WARN] 0x0xcd2620[SOGoWebDAVAclManager] entry 
'{DAV:}write' already exists in DAV permissions table
Dec 19 22:36:02 sogod [19899]: [WARN] 0x0xcd2620[SOGoWebDAVAclManager] entry 
'{DAV:}write-properties' already exists in DAV permissions table
Dec 19 22:36:02 sogod [19899]: [WARN] 0x0xcd2620[SOGoWebDAVAclManager] entry 
'{DAV:}write-content' already exists in DAV permissions table
2011-12-19 22:36:02.208 sogod[19899] Note: Using UTF-8 as URL encoding in 
NGExtensions.
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] POST /SOGo/connect HTTP/1.1 200 
27/57 0.086 - - 880K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET /SOGo/p...@state-of-mind.de 
HTTP/1.1 302 0/0 0.002 - - 8K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET /SOGo/p...@state-of-mind.de/view 
HTTP/1.1 302 0/0 0.050 - - 544K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET 
/SOGo/so/p...@state-of-mind.de/Mail HTTP/1.1 302 0/0 0.002 - - 0
2011-12-19 22:36:02.426 sogod[19899] WARNING: IMAP4 connection pooling is 
disabled!
2011-12-19 22:36:02.435 sogod[19899] Note(NGImap4Connection): using '/' as the 
IMAP4 folder separator.
2011-12-19 22:36:02.678 sogod[19899] Note: using 'UCS-2LE' on Linux.
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] GET 
/SOGo/so/p...@state-of-mind.de/Mail/view HTTP/1.1 200 17482/0 0.818 88186 80% 
31M
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Calendar/alarmslist?browserTime=1324330563 
HTTP/1.1 200 210/0 0.027 - - 68K
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/0/mailboxes HTTP/1.1 200 9738/0 0.236 - - 0
127.0.0.1 - - [19/Dec/2011:22:36:04 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail//0/folderINBOX/unseenCount HTTP/1.1 200 
13/0 0.234 - - 4K
127.0.0.1 - - [19/Dec/2011:22:36:04 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/foldersState HTTP/1.1 200 153/0 0.009 - - 0
127.0.0.1 - - 

Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Ludovic Marcotte

On 19/12/11 16:39, Patrick Ben Koetter wrote:

sogo@mail:~$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES 
-WOPort 2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid

...

done.
(gdb) r
Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 
2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
[Thread debugging using libthread_db enabled]
Dec 19 22:35:41 sogod [19899]: version 1.3.11 (build @vizzini.inverse.ca 
20111216) -- starting
Dec 19 22:35:41 sogod [19899]: vmem size check enabled: shutting down app when 
vmem  384 MB
Dec 19 22:35:41 sogod [19899]:0x0x915e30[SOGoProductLoader]  SOGo products 
loaded from '/usr/lib/GNUstep/SOGo':
Dec 19 22:35:41 sogod [19899]:0x0x915e30[SOGoProductLoader]Mailer.SOGo, 
MainUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, Contacts.SOGo, 
AdministrationUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo, CommonUI.SOGo, 
ContactsUI.SOGo, Appointments.SOGo
Dec 19 22:35:41 sogod [19899]:|SOGo|  WOHttpAdaptor listening on address *:2
Dec 19 22:35:53 sogod [19899]:0x0xcb5560[SOGoCache]  Cache cleanup interval 
set every 300.00 seconds
Dec 19 22:35:53 sogod [19899]:0x0xcb5560[SOGoCache]  Using host(s) 
'localhost' as server(s)
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-19 22:35:53.056 sogod[19899] Note(SoObject): relative base URLs are 
enabled.
2011-12-19 22:35:53.062 sogod[19899] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-19 22:35:53.062 sogod[19899] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-19 22:35:53.071 sogod[19899] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-19 22:35:53.097 sogod[19899] WOCompoundElement: pool embedding is on.
2011-12-19 22:35:53.097 sogod[19899] WOCompoundElement: id logging is on.
2011-12-19 22:35:53.119 sogod[19899] WARNING(-[NSNull(misc) count]): called 
NSNull -count (returns 0) !!!
127.0.0.1 - - [19/Dec/2011:22:35:53 GMT] GET/SOGo/  HTTP/1.1 200 4250/0 0.083 
11810 64% 2M
Dec 19 22:36:02 sogod [19899]: SOGoRootPage successful login for user 
'p...@state-of-mind.de' - expire = -1  grace = -1
Dec 19 22:36:02 sogod [19899]: [WARN]0x0xcd2620[SOGoWebDAVAclManager]  entry 
'{DAV:}write' already exists in DAV permissions table
Dec 19 22:36:02 sogod [19899]: [WARN]0x0xcd2620[SOGoWebDAVAclManager]  entry 
'{DAV:}write-properties' already exists in DAV permissions table
Dec 19 22:36:02 sogod [19899]: [WARN]0x0xcd2620[SOGoWebDAVAclManager]  entry 
'{DAV:}write-content' already exists in DAV permissions table
2011-12-19 22:36:02.208 sogod[19899] Note: Using UTF-8 as URL encoding in 
NGExtensions.
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] POST /SOGo/connect HTTP/1.1 200 
27/57 0.086 - - 880K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET /SOGo/p...@state-of-mind.de 
HTTP/1.1 302 0/0 0.002 - - 8K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET /SOGo/p...@state-of-mind.de/view 
HTTP/1.1 302 0/0 0.050 - - 544K
127.0.0.1 - - [19/Dec/2011:22:36:02 GMT] GET /SOGo/so/p...@state-of-mind.de/Mail 
HTTP/1.1 302 0/0 0.002 - - 0
2011-12-19 22:36:02.426 sogod[19899] WARNING: IMAP4 connection pooling is 
disabled!
2011-12-19 22:36:02.435 sogod[19899] Note(NGImap4Connection): using '/' as the 
IMAP4 folder separator.
2011-12-19 22:36:02.678 sogod[19899] Note: using 'UCS-2LE' on Linux.
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] GET 
/SOGo/so/p...@state-of-mind.de/Mail/view HTTP/1.1 200 17482/0 0.818 88186 80% 31M
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Calendar/alarmslist?browserTime=1324330563 HTTP/1.1 
200 210/0 0.027 - - 68K
127.0.0.1 - - [19/Dec/2011:22:36:03 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/0/mailboxes HTTP/1.1 200 9738/0 0.236 - - 0
127.0.0.1 - - [19/Dec/2011:22:36:04 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail//0/folderINBOX/unseenCount HTTP/1.1 200 13/0 
0.234 - - 4K
127.0.0.1 - - [19/Dec/2011:22:36:04 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/foldersState HTTP/1.1 200 153/0 0.009 - - 0
127.0.0.1 - - [19/Dec/2011:22:36:06 GMT] GET 
/SOGo/so/p...@state-of-mind.de/preferences HTTP/1.1 200 17804/0 0.119 98789 81% 140K

Program received signal SIGSEGV, Segmentation fault.
0x75255e44 in GSFromUnicode () from /usr/lib/libgnustep-base.so.1.19

at this point, just type bt and send the stack trace.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu

Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Patrick Ben Koetter
* Ludovic Marcotte users@sogo.nu:
sogo@mail:~$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES 
-WOPort 2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid

...

done.
(gdb) r
Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 
2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
[Thread debugging using libthread_db enabled]
Dec 19 22:43:02 sogod [21201]: version 1.3.11 (build @vizzini.inverse.ca 
20111216) -- starting
Dec 19 22:43:02 sogod [21201]: vmem size check enabled: shutting down app when 
vmem  384 MB
Dec 19 22:43:02 sogod [21201]: 0x0x915e30[SOGoProductLoader] SOGo products 
loaded from '/usr/lib/GNUstep/SOGo':
Dec 19 22:43:02 sogod [21201]: 0x0x915e30[SOGoProductLoader]   Mailer.SOGo, 
MainUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, Contacts.SOGo, 
AdministrationUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo, CommonUI.SOGo, 
ContactsUI.SOGo, Appointments.SOGo
Dec 19 22:43:03 sogod [21201]: |SOGo| WOHttpAdaptor listening on address *:2
Dec 19 22:43:14 sogod [21201]: 0x0xcb5fd0[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Dec 19 22:43:14 sogod [21201]: 0x0xcb5fd0[SOGoCache] Using host(s) 
'localhost' as server(s)
2011-12-19 22:43:14.355 sogod[21201] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-19 22:43:14.355 sogod[21201] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-19 22:43:14.355 sogod[21201] Note(SoObject): relative base URLs are 
enabled.
2011-12-19 22:43:14.356 sogod[21201] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-19 22:43:14.356 sogod[21201] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-19 22:43:14.362 sogod[21201] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-19 22:43:14.387 sogod[21201] WOCompoundElement: pool embedding is on.
2011-12-19 22:43:14.387 sogod[21201] WOCompoundElement: id logging is on.
Dec 19 22:43:14 sogod [21201]: SOGoRootPage successful login for user 
'p...@state-of-mind.de' - expire = -1  grace = -1
Dec 19 22:43:14 sogod [21201]: [WARN] 0x0xff6a90[SOGoWebDAVAclManager] entry 
'{DAV:}write' already exists in DAV permissions table
Dec 19 22:43:14 sogod [21201]: [WARN] 0x0xff6a90[SOGoWebDAVAclManager] entry 
'{DAV:}write-properties' already exists in DAV permissions table
Dec 19 22:43:14 sogod [21201]: [WARN] 0x0xff6a90[SOGoWebDAVAclManager] entry 
'{DAV:}write-content' already exists in DAV permissions table
2011-12-19 22:43:14.530 sogod[21201] Note: Using UTF-8 as URL encoding in 
NGExtensions.
127.0.0.1 - - [19/Dec/2011:22:43:14 GMT] POST /SOGo/connect HTTP/1.1 200 
27/57 0.204 - - 4M
127.0.0.1 - - [19/Dec/2011:22:43:14 GMT] GET /SOGo/so/p...@state-of-mind.de 
HTTP/1.1 302 0/0 0.002 - - 8K
127.0.0.1 - - [19/Dec/2011:22:43:14 GMT] GET 
/SOGo/so/p...@state-of-mind.de/view HTTP/1.1 302 0/0 0.007 - - 12K
127.0.0.1 - - [19/Dec/2011:22:43:14 GMT] GET 
/SOGo/so/p...@state-of-mind.de/Mail HTTP/1.1 302 0/0 0.003 - - 0
2011-12-19 22:43:14.719 sogod[21201] WARNING: IMAP4 connection pooling is 
disabled!
2011-12-19 22:43:14.739 sogod[21201] Note(NGImap4Connection): using '/' as the 
IMAP4 folder separator.
2011-12-19 22:43:14.981 sogod[21201] Note: using 'UCS-2LE' on Linux.
127.0.0.1 - - [19/Dec/2011:22:43:15 GMT] GET 
/SOGo/so/p...@state-of-mind.de/Mail/view HTTP/1.1 200 17438/0 0.832 88176 80% 
31M
127.0.0.1 - - [19/Dec/2011:22:43:15 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Calendar/alarmslist?browserTime=1324330995 
HTTP/1.1 200 210/0 0.027 - - 68K
127.0.0.1 - - [19/Dec/2011:22:43:16 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/0/mailboxes HTTP/1.1 200 9738/0 0.224 - - 0
127.0.0.1 - - [19/Dec/2011:22:43:16 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail//0/folderINBOX/unseenCount HTTP/1.1 200 
13/0 0.210 - - 4K
127.0.0.1 - - [19/Dec/2011:22:43:16 GMT] POST 
/SOGo/so/p...@state-of-mind.de/Mail/foldersState HTTP/1.1 200 153/0 0.008 - - 0
127.0.0.1 - - [19/Dec/2011:22:43:17 GMT] GET 
/SOGo/so/p...@state-of-mind.de/preferences HTTP/1.1 200 17804/0 0.113 98789 
81% 156K
127.0.0.1 - - [19/Dec/2011:22:43:26 GMT] REPORT 
/SOGo/dav/f...@state-of-mind.de/Calendar/personal/ HTTP/1.1 207 125/245 0.017 
- - 56K
127.0.0.1 - - [19/Dec/2011:22:43:26 GMT] REPORT 
/SOGo/dav/f...@state-of-mind.de/Calendar/p_A_state-of-mind_D_de_personal/ 
HTTP/1.1 207 125/245 0.019 - - 8K
127.0.0.1 - - [19/Dec/2011:22:43:26 GMT] REPORT 
/SOGo/dav/f...@state-of-mind.de/Calendar/p_A_state-of-mind_D_de_6985-4D91A400-1-71246780/
 HTTP/1.1 207 125/245 0.013 - - 0
127.0.0.1 - - [19/Dec/2011:22:43:26 GMT] REPORT 

Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Ludovic Marcotte

On 19/12/11 16:46, Patrick Ben Koetter wrote:

[snip]

HTH,

Install the SOPE debugging packages, as I requested!

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Patrick Ben Koetter
* Ludovic Marcotte users@sogo.nu:
 On 19/12/11 16:46, Patrick Ben Koetter wrote:
 
 [snip]
 HTH,
 Install the SOPE debugging packages, as I requested!

Sorry, misunderstood you to install sogo-dbg only.

sogo@mail:~$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES 
-WOPort 2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
...
(gdb) r
Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 
2 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid
[Thread debugging using libthread_db enabled]
Dec 19 22:54:08 sogod [23171]: version 1.3.11 (build @vizzini.inverse.ca 
20111216) -- starting
Dec 19 22:54:08 sogod [23171]: vmem size check enabled: shutting down app when 
vmem  384 MB
Dec 19 22:54:08 sogod [23171]: 0x0x915e30[SOGoProductLoader] SOGo products 
loaded from '/usr/lib/GNUstep/SOGo':
Dec 19 22:54:08 sogod [23171]: 0x0x915e30[SOGoProductLoader]   Mailer.SOGo, 
MainUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, Contacts.SOGo, 
AdministrationUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo, CommonUI.SOGo, 
ContactsUI.SOGo, Appointments.SOGo
Dec 19 22:54:08 sogod [23171]: |SOGo| WOHttpAdaptor listening on address *:2
2011-12-19 22:54:10.657 sogod[23171] Note: Using UTF-8 as URL encoding in 
NGExtensions.
Dec 19 22:54:10 sogod [23171]: 0x0xcb5720[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Dec 19 22:54:10 sogod [23171]: 0x0xcb5720[SOGoCache] Using host(s) 
'localhost' as server(s)
2011-12-19 22:54:10.664 sogod[23171] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-19 22:54:10.664 sogod[23171] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-19 22:54:10.664 sogod[23171] Note(SoObject): relative base URLs are 
enabled.
2011-12-19 22:54:10.671 sogod[23171] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-19 22:54:10.671 sogod[23171] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-19 22:54:10.684 sogod[23171] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-19 22:54:10.719 sogod[23171] WOCompoundElement: pool embedding is on.
2011-12-19 22:54:10.719 sogod[23171] WOCompoundElement: id logging is on.
127.0.0.1 - - [19/Dec/2011:22:54:10 GMT] GET 
/SOGo/so/p...@state-of-mind.de/preferences HTTP/1.1 200 17804/0 0.175 98789 
81% 6M

Program received signal SIGSEGV, Segmentation fault.
0x75255e44 in GSFromUnicode () from /usr/lib/libgnustep-base.so.1.19
(gdb) ^CQuit
(gdb) b raise
Breakpoint 1 at 0x74d0d790
(gdb) bt
#0  0x75255e44 in GSFromUnicode () from /usr/lib/libgnustep-base.so.1.19
#1  0x7508e5e8 in ?? () from /usr/lib/libgnustep-base.so.1.19
#2  0x75095e55 in ?? () from /usr/lib/libgnustep-base.so.1.19
#3  0x766da4fa in -[NGSieveClient putScript:script:] (self=0x10f3920, 
_cmd=value optimized out, _name=value optimized out, _script=0x10f2af0)
at NGSieveClient.m:434
#4  0x77b66368 in ?? () from /usr/lib/libSOGo.so.1
#5  0x7fffef090dee in -[SOGoMailAccount updateFilters] (self=0x10ecba0, 
_cmd=0x7fffedd3cc60) at SOGoMailAccount.m:307
#6  0x7fffedb337e4 in -[UIxPreferences defaultAction] (self=0xe7e610, 
_cmd=0x76e5d650) at UIxPreferences.m:1046
#7  0x76b33c15 in -[SoActionInvocation 
callOnObject:withPositionalParametersWhenNotNil:inContext:] (self=0xca90f0, 
_cmd=value optimized out, 
_client=0xd7edf0, _positionalArgs=0x0, _ctx=0xddbf80) at 
SoActionInvocation.m:307
#8  0x76b2ee58 in -[SoObjectMethodDispatcher dispatchInContext:] 
(self=0x1030410, _cmd=value optimized out, _ctx=0xddbf80) at 
SoObjectMethodDispatcher.m:191
#9  0x76b311e8 in -[SoObjectRequestHandler 
handleRequest:inContext:session:application:] (self=0xa2cc20, _cmd=value 
optimized out, 
_rq=value optimized out, _ctx=0xddbf80, _sn=value optimized out, 
app=value optimized out) at SoObjectRequestHandler.m:591
#10 0x76ac09ca in -[WORequestHandler handleRequest:] (self=0xa2cc20, 
_cmd=value optimized out, _request=0xefc6a0) at WORequestHandler.m:241
#11 0x76a862ac in -[WOCoreApplication dispatchRequest:usingHandler:] 
(self=0x9ce9f0, _cmd=value optimized out, _request=0xefc6a0, handler=0xa2cc20)
at WOCoreApplication.m:704
#12 0x004032e3 in -[SOGo dispatchRequest:] (self=0x9ce9f0, 
_cmd=0x76e43600, _request=0xefc6a0) at SOGo.m:451
#13 0x76b20b55 in -[WOHttpTransaction _run] (self=0xc93f30, _cmd=value 
optimized out) at WOHttpTransaction.m:581
#14 0x76b20d48 in -[WOHttpTransaction run] (self=0xc93f30, _cmd=value 
optimized out) at WOHttpTransaction.m:634
#15 0x76b1cfa9 in -[WOHttpAdaptor 

Re: Re : Re: [SOGo] sieve: Proxy Error

2011-12-19 Thread Martin Rabl
IMHO no.


---
Martin Rabl

Am 19.12.2011 um 22:29 schrieb Patrick Ben Koetter p...@state-of-mind.de:

 * Martin Rabl users@sogo.nu:
 The SSL-Bundle error message is very very very ... old and known. It can be 
 ignored.
 
 Are you suggesting it is something else that causes sogod to segfault?
 
 p@rick
 
 
 -- 
 state of mind ()
 
 http://www.state-of-mind.de
 
 Franziskanerstraße 15  Telefon +49 89 3090 4664
 81669 München  Telefax +49 89 3090 4666
 
 Amtsgericht MünchenPartnerschaftsregister PR 563
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] sieve: Proxy Error

2011-12-13 Thread Patrick Ben Koetter
I'm having problems activating SIEVE rules on my sogo 1.3.11 (I had them on
previous versions too) and I am kind of stuck debugging this.

Creating a SIEVE rule is no problem. I can add another SIEVE rule (currently
about 60 rules) and save it. But when I choose to activate the rule and save
and close it, I get a proxy error:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST 
/SOGo/so/p...@state-of-mind.de/preferences.
Reason: Error reading from remote server


The log notes:
Dec 13 15:11:36 sogod [13851]: 0x0x1a84e80[WOWatchDogChild] child 27183 exited
Dec 13 15:11:36 sogod [13851]: 0x0x1a84e80[WOWatchDogChild]  (terminated due 
to signal 11)
Dec 13 15:11:36 sogod [13851]: 0x0x1b499a0[WOWatchDog] child spawned with pid 
28043

Then the sogo.sieve rules file is gone. As soon as I disable the new rule
sogo.sieve is created:

2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): relative base URLs are 
enabled.
2011-12-13 15:11:53.956 sogod[28043] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-13 15:11:53.956 sogod[28043] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-13 15:11:53.958 sogod[28043] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-13 15:11:53.969 sogod[28043] WOCompoundElement: pool embedding is on.
2011-12-13 15:11:53.970 sogod[28043] WOCompoundElement: id logging is on.
2011-12-13 15:11:54.155 sogod[28043] WARNING: Could not delete Sieve script - 
continuing...: {RawResponse = {ok = NO; }; result = NO; }
127.0.0.1 - - [13/Dec/2011:15:11:54 GMT] POST 
/SOGo/so/p...@state-of-mind.de/preferences HTTP/1.1 200 503/28192 0.712 - - 6M

Where should I start looking?

p@rick


-- 
state of mind ()
Digitale Kommunikation

http://www.state-of-mind.de

Franziskanerstraße 15  Telefon +49 89 3090 4664
81669 München  Telefax +49 89 3090 4666

Amtsgericht MünchenPartnerschaftsregister PR 563

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] sieve: Proxy Error

2011-12-13 Thread Martin Rabl

Hi,

I had a similiar error in 1.3.7 ...

Martin

Am 13.12.2011 15:21, schrieb Patrick Ben Koetter:

I'm having problems activating SIEVE rules on my sogo 1.3.11 (I had them on
previous versions too) and I am kind of stuck debugging this.

Creating a SIEVE rule is no problem. I can add another SIEVE rule (currently
about 60 rules) and save it. But when I choose to activate the rule and save
and close it, I get a proxy error:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST 
/SOGo/so/p...@state-of-mind.de/preferences.
Reason: Error reading from remote server


The log notes:
Dec 13 15:11:36 sogod [13851]:0x0x1a84e80[WOWatchDogChild]  child 27183 exited
Dec 13 15:11:36 sogod [13851]:0x0x1a84e80[WOWatchDogChild]   (terminated due 
to signal 11)
Dec 13 15:11:36 sogod [13851]:0x0x1b499a0[WOWatchDog]  child spawned with pid 
28043

Then the sogo.sieve rules file is gone. As soon as I disable the new rule
sogo.sieve is created:

2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): SoDebugKeyLookup is 
enabled!
2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): SoDebugBaseURL is enabled!
2011-12-13 15:11:53.951 sogod[28043] Note(SoObject): relative base URLs are 
enabled.
2011-12-13 15:11:53.956 sogod[28043] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type 
text/calendar.
2011-12-13 15:11:53.956 sogod[28043] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available 
for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type 
text/x-vcard.
2011-12-13 15:11:53.958 sogod[28043] ERROR(-[NGBundleManager bundleWithPath:]): 
could not create bundle for path: 
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.19/Resources/SSL.bundle'
2011-12-13 15:11:53.969 sogod[28043] WOCompoundElement: pool embedding is on.
2011-12-13 15:11:53.970 sogod[28043] WOCompoundElement: id logging is on.
2011-12-13 15:11:54.155 sogod[28043] WARNING: Could not delete Sieve script - 
continuing...: {RawResponse = {ok = NO; }; result = NO; }
127.0.0.1 - - [13/Dec/2011:15:11:54 GMT] POST 
/SOGo/so/p...@state-of-mind.de/preferences HTTP/1.1 200 503/28192 0.712 - - 6M

Where should I start looking?

p@rick





--
Greetings,

   Martin Rabl
--
users@sogo.nu
https://inverse.ca/sogo/lists