[OGo-MacOSX] Ogo 1.1 on Leopard Server problem
Tabitha McNerney
macosx@opengroupware.org
Sat, 12 Jan 2008 05:59:10 -1000
------=_Part_4091_31585942.1200153550903
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Helge and friends,
Continuing on with this Leopard / OpenGroupware thread and trying to figure
out the problems ...
As I mentioned, I was able to compile mod_ngobjweb just fine. And everything
else compiled and ran without any segmentation faults (e.g. ogo-webui-1.1).
When I first run ogo-webui-1.1 here's what it sends out to the command-line:
ogo$ ./ogo-webui-1.1 -WOPort 20000 -WOHttpAllowHost '("127.0.0.1",
> localhost)'
> Jan 12 15:30:23 ogo-webui-1.1 [6166]: SNS support disabled.
> 2008-01-12 15:30:23.973 ogo-webui-1.1[6166:10b] Note: storing cached
> vCards files in: '/Volumes/Users/ogo/OGoDocs'
> 2008-01-12 15:30:23.983 ogo-webui-1.1[6166:10b] account::change-password:
> using password field: 'userPassword'
> 2008-01-12 15:30:24.010 ogo-webui-1.1[6166:10b] ERROR: did not find
> executable sendmail file: '/usr/lib/sendmail'
> 2008-01-12 15:30:24.062 ogo-webui-1.1[6166:10b] Note: members of role team
> 'team creators' are allowed to create teams.
> 2008-01-12 15:30:24.233 ogo-webui-1.1[6166:10b] Note: located themes: OOo,
> blue, kde, orange
> 2008-01-12 15:30:24.235 ogo-webui-1.1[6166:10b] Note: located
> translations: Slovak, Polish, Japanese, Norwegian, Basque, French, Italian,
> Finish, ptBR, Danish, Spanish, Dutch, Portuguese, English, German, Hungarian
> Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| CTI Dialers:
> 2008-01-12 15:30:24.369 ogo-webui-1.1[6166:10b] WOCompoundElement: pool
> embedding is on.
> 2008-01-12 15:30:24.369 ogo-webui-1.1[6166:10b] WOCompoundElement: id
> logging is on.
> Jan 12 15:30:24 ogo-webui-1.1 [6166]: [WARN]
> <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported
> on this Foundation library.
> Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| root has no
> password, you need to assign one!
> Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| OpenGroupware.orginstance initialized.
> Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| WOHttpAdaptor
> listening on address *:20000
>
The next thing I do is on my Xserve that is running ogo-webui-1.1 along with
apache 2 of course, on the Leopard Server OS, I launch the Safari web
browser. I enter in the Safari URL bar this URL:
http://127.0.0.1:8000/OpenGroupware (since I am running apache 2 on port
8000 instead of 80). When I do this, it is very strange -- instead of
sending HTML to Safari, instead Safari wants me to download a file to my
Desktop named "OpenGroupware", so yes I download this file to my Desktop and
then I look at the contents of this file in a text editor but it appears to
be a binary file. The only text I could see inside the binary file with the
text editor is this text:
set-cookie: ogo-webui-1.1=18161816014788DD55; path=/
>
I then check the command-line output of ogo-webui-1.1 to see what it says
after I had downloaded this file based on the original http request, and
here's what it says:
Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN]
> <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported
> on this Foundation library.
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN]
> <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported
> on this Foundation library.
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: <0x0x1c66f10[OGoHelpManager]>
> Note: no OGo documentation installed!
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: <0x0x1c66f10[OGoHelpManager]>
> SP: (null)
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: |ogo-webui-1.1|<OpenGroupware[0x0x2131e0]: name=
> ogo-webui-1.1>: created session: <OGoSession[0x0x1c667c0]:
> id=18161816014788DD55>
> 2008-01-12 15:31:33.805 ogo-webui-1.1[6166:10b] ccaps:
> <WEClientCapabilities[0x0x1c698f0]: type=Safari v5.0 os=MacOS cpu=unknown
> fast-tbl css1 css2 js>
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN]
> <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported
> on this Foundation library.
> 2008-01-12 15:31:33.894 ogo-webui-1.1[6166:10b] Note: PostgreSQL72
> adaptor using timezone 'Local Time Zone [Atlantic/Reykjavik (GMT) offset 0]'
> as default
> Jan 12 15:31:33 ogo-webui-1.1 [6166]: (18161816014788DD55) user root
> logged in.
> 127.0.0.1 - - [12/Jan/2008:15:31:34 GMT] "GET /OpenGroupware HTTP/1.1"
> 200 0/0 0.259 - - -
>
The session ID that ogo-webui-1.1 says it created (18161816014788DD55)
matches the number found in the binary file that was downloaded by Safari
when I first tried to connect to the daemon.
I also checked the apache 2 log files and there were no error from the
request I made, just this entry in the access log file:
- - - [12/Jan/2008:15:38:22 +0000] "GET /OpenGroupware HTTP/1.1" 200 119
>
So I thought maybe this is a problem with Safari. But I tried the same thing
with FireFox and the same thing happened (downloading a binary file).
I wonder what has gone wrong? The only major difference between Leopard and
my Tiger Server installation with OGO is that on Tiger I built against Sope
4.6 beta but on Leopard I built Sope 4.7 from trunk. Otherwise, I have
followed my same documentation from my Tiger Server installation for the
Leopard Server install.
Any suggestions?
Thanks,
T.M.
------=_Part_4091_31585942.1200153550903
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Helge and friends,<br><br>Continuing on with this Leopard / OpenGroupware thread and trying to figure out the problems ...<br><br>As I mentioned, I was able to compile mod_ngobjweb just fine. And everything else compiled and ran without any segmentation faults (
e.g. ogo-webui-1.1).<br><br>When I first run ogo-webui-1.1 here's what it sends out to the command-line:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
ogo$ ./ogo-webui-1.1 -WOPort 20000 -WOHttpAllowHost '("<a href="http://127.0.0.1">127.0.0.1</a>", localhost)'<br>Jan 12 15:30:23 ogo-webui-1.1 [6166]: SNS support disabled.<br>2008-01-12 15:30:23.973 ogo-webui-1.1
[6166:10b] Note: storing cached vCards files in: '/Volumes/Users/ogo/OGoDocs'<br>2008-01-12 15:30:23.983 ogo-webui-1.1[6166:10b] account::change-password: using password field: 'userPassword'<br>2008-01-12 15:30:
24.010 ogo-webui-1.1[6166:10b] ERROR: did not find executable sendmail file: '/usr/lib/sendmail'<br>2008-01-12 15:30:24.062 ogo-webui-1.1[6166:10b] Note: members of role team 'team creators' are allowed to create teams.
<br>2008-01-12 15:30:24.233 ogo-webui-1.1[6166:10b] Note: located themes: OOo, blue, kde, orange<br>2008-01-12 15:30:24.235 ogo-webui-1.1[6166:10b] Note: located translations: Slovak, Polish, Japanese, Norwegian, Basque, French, Italian, Finish, ptBR, Danish, Spanish, Dutch, Portuguese, English, German, Hungarian
<br>Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| CTI Dialers: <br>2008-01-12 15:30:24.369 ogo-webui-1.1[6166:10b] WOCompoundElement: pool embedding is on.<br>2008-01-12 15:30:24.369 ogo-webui-1.1[6166:10b] WOCompoundElement: id logging is on.
<br>Jan 12 15:30:24 ogo-webui-1.1 [6166]: [WARN] <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported on this Foundation library.<br>Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| root has no password, you need to assign one!
<br>Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| OpenGroupware.org instance initialized.<br>Jan 12 15:30:24 ogo-webui-1.1 [6166]: |ogo-webui-1.1| WOHttpAdaptor listening on address *:20000<br></blockquote><br>The next thing I do is on my Xserve that is running
ogo-webui-1.1 along with apache 2 of course, on the Leopard Server OS, I launch the Safari web browser. I enter in the Safari URL bar this URL:<br><br><a href="http://127.0.0.1:8000/OpenGroupware">http://127.0.0.1:8000/OpenGroupware
</a> (since I am running apache 2 on port 8000 instead of 80). When I do this, it is very strange -- instead of sending HTML to Safari, instead Safari wants me to download a file to my Desktop named "OpenGroupware", so yes I download this file to my Desktop and then I look at the contents of this file in a text editor but it appears to be a binary file. The only text I could see inside the binary file with the text editor is this text:
<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">set-cookie: ogo-webui-1.1=18161816014788DD55; path=/<br></blockquote><br>I then check the command-line output of
ogo-webui-1.1 to see what it says after I had downloaded this file based on the original http request, and here's what it says:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN] <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported on this Foundation library.<br> Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN] <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported on this Foundation library.
<br> Jan 12 15:31:33 ogo-webui-1.1 [6166]: <0x0x1c66f10[OGoHelpManager]> Note: no OGo documentation installed!<br> Jan 12 15:31:33 ogo-webui-1.1 [6166]: <0x0x1c66f10[OGoHelpManager]> SP: (null)<br> Jan 12 15:31:33
ogo-webui-1.1 [6166]: |ogo-webui-1.1| <OpenGroupware[0x0x2131e0]: name=ogo-webui-1.1>: created session: <OGoSession[0x0x1c667c0]: id=18161816014788DD55><br> 2008-01-12 15:31:33.805 ogo-webui-1.1[6166:10b] ccaps: <WEClientCapabilities[0x0x1c698f0]: type=Safari
v5.0 os=MacOS cpu=unknown fast-tbl css1 css2 js><br> Jan 12 15:31:33 ogo-webui-1.1 [6166]: [WARN] <0x0x2c21c0[OGoContextManager]> disabled login spaces which are unsupported on this Foundation library.<br> 2008-01-12 15:31:
33.894 ogo-webui-1.1[6166:10b] Note: PostgreSQL72 adaptor using timezone 'Local Time Zone [Atlantic/Reykjavik (GMT) offset 0]' as default<br> Jan 12 15:31:33 ogo-webui-1.1 [6166]: (18161816014788DD55) user root logged in.
<br> <a href="http://127.0.0.1">127.0.0.1</a> - - [12/Jan/2008:15:31:34 GMT] "GET /OpenGroupware HTTP/1.1" 200 0/0 0.259 - - -<br></blockquote><br>The session ID that ogo-webui-1.1 says it created (18161816014788DD55) matches the number found in the binary file that was downloaded by Safari when I first tried to connect to the daemon.
<br><br>I also checked the apache 2 log files and there were no error from the request I made, just this entry in the access log file:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
- - - [12/Jan/2008:15:38:22 +0000] "GET /OpenGroupware HTTP/1.1" 200 119<br></blockquote><br>So I thought maybe this is a problem with Safari. But I tried the same thing with FireFox and the same thing happened (downloading a binary file).
<br><br>I wonder what has gone wrong? The only major difference between Leopard and my Tiger Server installation with OGO is that on Tiger I built against Sope 4.6 beta but on Leopard I built Sope 4.7 from trunk. Otherwise, I have followed my same documentation from my Tiger Server installation for the Leopard Server install.
<br><br>Any suggestions?<br><br>Thanks,<br><br>T.M.<br><br>
------=_Part_4091_31585942.1200153550903--