opensuse 11.0 + Scalix 11.4.2 = 404, if != from localhost

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Kinne

opensuse 11.0 + Scalix 11.4.2 = 404, if != from localhost

Postby Kinne » Thu Dec 04, 2008 4:08 am

Hi,

I installied the scalix community edition with the scalix installer on opensuse 11.0. Everything installed correct. When I start the browser within that opensuse 11.0 installation ( so on the scalix server) I can go to

Code: Select all

http://scalix.domain.de/sac/

and

Code: Select all

http://scalix.domain.de/webmail/

and can login and work.

But if I go to another computer within or not within the subnet, I enter

Code: Select all

http://scalix.domain.de


I get an "access denied":

Code: Select all

Zugriff verweigert!

Der Zugriff auf das angeforderte Verzeichnis ist nicht möglich. Entweder ist kein Index-Dokument vorhanden oder das Verzeichnis ist zugriffsgeschützt.

Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 403
scalix.domain.de
Thu Dec 4 08:55:47 2008
Apache/2.2.8 (Linux/SUSE)


Well, the real problem ist when I enter

Code: Select all

http://scalix.domain.de/sac/

and

Code: Select all

http://scalix.domain.de/webmail/


There I get an "404":

Code: Select all

Objekt nicht gefunden!

Der angeforderte URL konnte auf dem Server nicht gefunden werden. Sofern Sie den URL manuell eingegeben haben, überprüfen Sie bitte die Schreibweise und versuchen Sie es erneut.

Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 404
scalix.domain.de
Thu Dec 4 08:06:02 2008
Apache/2.2.8 (Linux/SUSE)


Of course when I ping scalix.domain.de I get the IP of the scalix server

So where's the problem?

DNS? My /etc/hosts says:

Code: Select all

#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2      scalix.domain.de scalix
123.45.67.89  scalix scalix


/var/log/apache2/errror_log says

Code: Select all


[Thu Dec 04 08:05:42 2008] [notice] Apache/2.2.8 (Linux/SUSE) mod_ssl/2.2.8 OpenSSL/0.9.8g configured -- resuming normal operat                                                 ions
[Thu Dec 04 08:05:47 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/sac
[Thu Dec 04 08:05:58 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 08:06:02 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/webmail
[Thu Dec 04 08:55:43 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/sac
[Thu Dec 04 08:55:47 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 09:16:35 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 09:16:38 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/webmail


in /var/opt/scalix/se/webmail/swa.properties I have

Code: Select all

swa.platform.url=http://scalix.domain.de/api


My /etc/apache2/conf.d/scalix-tomcat-connector.conf" has only the following:

Code: Select all

# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------

<Location />
  AddOutputFilterByType DEFLATE text/xml text/html text/css
  AddOutputFilterByType DEFLATE application/x-javascript
Allow from all
</Location>

# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------

<IfModule mod_proxy_ajp.c>

Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf

</IfModule>



So, I got it now.. I added:

Code: Select all

Include /etc/opt/scalix-tomcat/connector/ajp/app-*.conf


to /etc/apache2/conf.d/scalix-tomcat-connector.conf

So it now looks like:

Code: Select all

# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------

<Location />
  AddOutputFilterByType DEFLATE text/xml text/html text/css
  AddOutputFilterByType DEFLATE application/x-javascript
Allow from all
</Location>

# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------

<IfModule mod_proxy_ajp.c>

Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf
Include /etc/opt/scalix-tomcat/connector/ajp/app-*.conf


</IfModule>
~

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Thu Dec 04, 2008 1:34 pm

At first glance, your /etc/hosts isn't correct. 127.0.0.2?? Try:

Code: Select all

127.0.0.1            localhost.localdomain localhost
123.45.67.89      scalix.domain.de scalix

tonysu
Posts: 69
Joined: Sun Nov 09, 2008 1:58 am

Postby tonysu » Thu Dec 18, 2008 2:30 am

If I followed the post correctly, I also think that Scalix is bound to the wrong virtual website (localhost/127.0.0.2) instead of 123.45.67.89.

As a brand new install, there are enough problems I suspect it's better to uninstall and re-install rather than to try to repair.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests

cron