Hi, I am running Ubuntu 12.04 64 and am installing OpenChange and I'm
now installing/configuring the backend SOGo.

When connecting to the server via Firefox to http://192.168.4.110/SOGo
I'm getting a timeout from the proxy and really don't see the issue. Any
ideas?

In apache log:

192.168.4.222 - - [15/Jan/2014:15:31:22 -0500] "GET /SOGo HTTP/1.1" 302
274 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101
Firefox/26.0"
192.168.4.222 - - [15/Jan/2014:15:31:22 -0500] "GET /SOGo/Administrator
HTTP/1.1" 302 304 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0)
Gecko/20100101 Firefox/26.0"
192.168.4.222 - - [15/Jan/2014:15:31:22 -0500] "GET
/SOGo/Administrator/view HTTP/1.1" 302 301 "-" "Mozilla/5.0 (X11;
Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0"
192.168.4.222 - - [15/Jan/2014:15:31:22 -0500] "GET
/SOGo/so/Administrator/Mail HTTP/1.1" 302 286 "-" "Mozilla/5.0 (X11;
Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0"
192.168.4.222 - - [15/Jan/2014:15:31:22 -0500] "GET
/SOGo/so/Administrator/Mail/view HTTP/1.1" 502 591 "-" "Mozilla/5.0
(X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0"


/etc/apache/conf.d/SOGo.conf:

Alias /SOGo.woa/WebServerResources/ \
      /usr/local/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
      /usr/local/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
           /usr/local/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

<Directory /usr/local/lib/GNUstep/SOGo/>
    AllowOverride None
    Order deny,allow
    Allow from all

    # Explicitly allow caching of static content to avoid browser
specific behavior.
    # A resource's URL MUST change in order to have the client load the
new version.
    <IfModule expires_module>
      ExpiresActive On
      ExpiresDefault "access plus 1 year"
    </IfModule>
</Directory>

<LocationMatch
"^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
  SetHandler default-handler
</LocationMatch>

## Uncomment the following to enable proxy-side authentication, you will
then
## need to set the "SOGoTrustProxyAuthentication" SOGo user default to
YES and
## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
## below.
#<Location /SOGo>
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#</Location>

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install
cas-proxy-validate.py
# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# <Proxy http://localhost/app/cas-proxy-validate.py>
#   Order deny,allow
#   Allow from your-cas-host-addr
# </Proxy>

ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
  RequestHeader set "x-webobjects-server-port" "443"
  RequestHeader set "x-webobjects-server-name" "192.168.4.110"
  RequestHeader set "x-webobjects-server-url" "http://192.168.4.110";

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"

  AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all
</Proxy>

# For apple autoconfiguration
<IfModule rewrite_module>
  RewriteEngine On
  RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]
</IfModule>


openchange user is running sogod -- here is the gnustep defaults w/o
password

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
    <key>OCSFolderInfoURL</key>
   
<string>postgresql://openchange:[email protected]/openchange/sogo_folder_info</string>
    <key>OCSSessionsFolderURL</key>
   
<string>postgresql://openchange:[email protected]/openchange/sogo_sessions_folder</string>
    <key>SOGoProfileURL</key>
   
<string>postgresql://openchange:[email protected]/openchange/sogo_user_profile</string>
    <key>SOGoUserSources</key>
    <array>
        <dict>
        <key>CNFieldName</key>
        <string>cn</string>
        <key>IDFieldName</key>
        <string>uid</string>
        <key>IMAPHostFieldName</key>
        <string></string>
        <key>UIDFieldName</key>
        <string>uid</string>
        <key>baseDN</key>
        <string>ou=users,dc=sfpi-test,dc=local</string>
        <key>bindDN</key>
        <string>cn=admin,dc=sfpi-test,dc=local</string>
        <key>bindPassword</key>
        <string>****</string>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Shared Addresses</string>
        <key>hostname</key>
        <string>192.168.4.110</string>
        <key>id</key>
        <string>public</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>port</key>
        <string>3389</string>
        </dict>
    </array>
    <key>WOLogFile</key>
    <string>-</string>
    <key>WONoDetach</key>
    <string>YES</string>
    <key>WOPidFile</key>
    <string>/tmp/sogo.pid</string>
    </dict>
</dict>
</plist>


netstat -tapn:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State       PID/Program name
tcp        0      0 0.0.0.0:25              0.0.0.0:*              
LISTEN      3267/master    
tcp        0      0 0.0.0.0:953             0.0.0.0:*              
LISTEN      2985/named     
tcp        0      0 127.0.0.1:6010          0.0.0.0:*              
LISTEN      2497/0         
tcp        0      0 0.0.0.0:538             0.0.0.0:*              
LISTEN      1886/gdomap    
tcp        0      0 127.0.0.1:6011          0.0.0.0:*              
LISTEN      3464/2         
tcp        0      0 127.0.0.1:6012          0.0.0.0:*              
LISTEN      4101/3         
tcp        0      0 127.0.0.1:6013          0.0.0.0:*              
LISTEN      4526/4         
tcp        0      0 0.0.0.0:445             0.0.0.0:*              
LISTEN      3459/smbd      
tcp        0      0 192.168.4.110:3389      0.0.0.0:*              
LISTEN      3116/slapd     
tcp        0      0 127.0.0.1:20000         0.0.0.0:*              
LISTEN      5783/sogod     
tcp        0      0 0.0.0.0:1024            0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 0.0.0.0:993             0.0.0.0:*              
LISTEN      3131/dovecot   
tcp        0      0 192.168.4.110:5666      0.0.0.0:*              
LISTEN      1910/nrpe      
tcp        0      0 0.0.0.0:3268            0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 0.0.0.0:389             0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 0.0.0.0:135             0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 192.168.4.110:3306      0.0.0.0:*              
LISTEN      3328/mysqld    
tcp        0      0 0.0.0.0:139             0.0.0.0:*              
LISTEN      3459/smbd      
tcp        0      0 127.0.0.1:11211         0.0.0.0:*              
LISTEN      1892/memcached
tcp        0      0 0.0.0.0:143             0.0.0.0:*              
LISTEN      3131/dovecot   
tcp        0      0 0.0.0.0:464             0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 0.0.0.0:80              0.0.0.0:*              
LISTEN      2162/apache2   
tcp        0      0 192.168.4.110:53        0.0.0.0:*              
LISTEN      2985/named     
tcp        0      0 127.0.0.1:53            0.0.0.0:*              
LISTEN      2985/named     
tcp        0      0 0.0.0.0:22              0.0.0.0:*              
LISTEN      1198/sshd      
tcp        0      0 127.0.0.1:631           0.0.0.0:*              
LISTEN      902/cupsd      
tcp        0      0 0.0.0.0:88              0.0.0.0:*              
LISTEN      3458/samba     
tcp        0      0 192.168.4.110:5432      0.0.0.0:*              
LISTEN      3296/postgres  
tcp        0      0 127.0.0.1:5432          0.0.0.0:*              
LISTEN      3296/postgres  
tcp        0      0 192.168.4.110:22        192.168.4.222:59965    
ESTABLISHED 4101/3         
tcp        0      0 127.0.0.1:60384         127.0.0.1:11211        
ESTABLISHED 5784/sogod     
tcp        0      0 127.0.0.1:42306         127.0.0.1:6013         
ESTABLISHED 4725/dbus-launch
tcp        0      0 127.0.0.1:42304         127.0.0.1:6013         
ESTABLISHED 4725/dbus-launch
tcp       14      0 192.168.4.110:54541     192.168.4.110:3389     
ESTABLISHED 5784/sogod     
tcp        0      0 192.168.4.110:22        192.168.4.222:59907    
ESTABLISHED 3464/2         
tcp        0      0 127.0.0.1:6013          127.0.0.1:42306        
ESTABLISHED 4526/4         
tcp       37      0 127.0.0.1:50043         127.0.0.1:143          
CLOSE_WAIT  5784/sogod     
tcp        0      0 192.168.4.110:22        192.168.4.222:59904    
ESTABLISHED 2497/0         
tcp        0      0 127.0.0.1:11211         127.0.0.1:60384        
ESTABLISHED 1892/memcached
tcp        1      0 127.0.0.1:20000         127.0.0.1:58938        
CLOSE_WAIT  5784/sogod     
tcp        0   1824 192.168.4.110:22        192.168.4.222:59966    
ESTABLISHED 4526/4         
tcp        0      0 127.0.0.1:5432          127.0.0.1:46055        
ESTABLISHED 5785/postgres: open
tcp        0      0 127.0.0.1:46058         127.0.0.1:5432         
ESTABLISHED 5784/sogod     
tcp        0      0 192.168.4.110:3389      192.168.4.110:54541    
ESTABLISHED 3116/slapd     
tcp        0      0 127.0.0.1:5432          127.0.0.1:46058        
ESTABLISHED 5788/postgres: open
tcp        0      0 127.0.0.1:46055         127.0.0.1:5432         
ESTABLISHED 5784/sogod     
tcp        0      0 127.0.0.1:6013          127.0.0.1:42304        
ESTABLISHED 4526/4         
tcp6       0      0 :::25                   :::*                   
LISTEN      3267/master    
tcp6       0      0 ::1:6010                :::*                   
LISTEN      2497/0         
tcp6       0      0 ::1:6011                :::*                   
LISTEN      3464/2         
tcp6       0      0 ::1:6012                :::*                   
LISTEN      4101/3         
tcp6       0      0 ::1:6013                :::*                   
LISTEN      4526/4         
tcp6       0      0 :::445                  :::*                   
LISTEN      3459/smbd      
tcp6       0      0 :::993                  :::*                   
LISTEN      3131/dovecot   
tcp6       0      0 :::139                  :::*                   
LISTEN      3459/smbd      
tcp6       0      0 :::143                  :::*                   
LISTEN      3131/dovecot   
tcp6       0      0 :::22                   :::*                   
LISTEN      1198/sshd      
tcp6       0      0 ::1:631                 :::*                   
LISTEN      902/cupsd

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to