PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Scalix Web Access nur vom Server zu erreichen



Landflucht
20.05.10, 23:35
Hallo!

Ich hab n Problem in Sachen Scalix. Die Installation lief ohne Fehler. Webmail und Sac laufen auf meinem OpenSuSE 11.0 Rechner super. Allerdings bekomme ich auf dem WinXP-Client ständig "404 Objekt nicht gefunden".

access_log:


127.0.0.2 - - [21/May/2010:00:15:50 +0200] "GET /webmail/ HTTP/1.1" 200 1632 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
127.0.0.2 - - [21/May/2010:00:15:50 +0200] "GET /webmail/jscript.jsp HTTP/1.1" 200 972 "http://scalix.hoehenflug.de/webmail/" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
127.0.0.2 - - [21/May/2010:00:15:50 +0200] "GET /webmail/jsthemes/1966683584262446809.js HTTP/1.1" 200 217 "http://scalix.hoehenflug.de/webmail/jscript.jsp" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
127.0.0.2 - - [21/May/2010:00:15:52 +0200] "GET /sac/ HTTP/1.1" 200 381 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
127.0.0.2 - - [21/May/2010:00:15:52 +0200] "GET /sac/Admin.jsp HTTP/1.1" 200 418 "http://scalix.hoehenflug.de/sac/" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
127.0.0.2 - - [21/May/2010:00:15:54 +0200] "GET /sac/AdminApp.jsp HTTP/1.1" 200 995 "-" "Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-25.1 Firefox/3.0b5"
192.168.97.105 - - [21/May/2010:00:16:05 +0200] "GET /webmail/ HTTP/1.1" 404 708 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:16:09 +0200] "GET /webmail HTTP/1.1" 404 708 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:16:16 +0200] "GET /sac HTTP/1.1" 404 707 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:16:41 +0200] "GET /sac HTTP/1.1" 404 705 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:17:59 +0200] "GET /webmail HTTP/1.1" 404 708 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:18:03 +0200] "GET /favicon.ico HTTP/1.1" 404 707 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:18:14 +0200] "GET /sac HTTP/1.1" 404 707 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:21:55 +0200] "GET /webmail HTTP/1.1" 404 707 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"
192.168.97.105 - - [21/May/2010:00:21:58 +0200] "GET /favicon.ico HTTP/1.1" 404 707 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"


error_log:


[Fri May 21 00:10:33 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:10:36 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico
[Fri May 21 00:10:39 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:11:04 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:11:07 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico
[Fri May 21 00:12:06 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:12:07 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico
[Fri May 21 00:12:24 2010] [error] [client 192.168.97.105] Directory index forbidden by Options directive: /srv/www/htdocs/
[Fri May 21 00:12:27 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico
[Fri May 21 00:14:06 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:14:25 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:16:05 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:16:09 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:16:16 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/sac
[Fri May 21 00:16:41 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/sac
[Fri May 21 00:17:59 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:18:03 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico
[Fri May 21 00:18:14 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/sac
[Fri May 21 00:21:55 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/webmail
[Fri May 21 00:21:58 2010] [error] [client 192.168.97.105] File does not exist: /srv/www/htdocs/favicon.ico

Ok, die error_log sagt mir, dass das Verzeichnis in das Apache verweist leer ist. Wie krieg ich Apache denn davon überzeugt, mir Webmail bzw. Sac auf den Windowsrechnern auszugeben?


#
# Global configuration that will be applicable for all virtual hosts, unless
# deleted here, or overriden elswhere.
#

DocumentRoot "/srv/www/htdocs"

#
# Configure the DocumentRoot
#
<Directory "/srv/www/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.2/mod/core.html#options
# for more information.
Options None
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>

# Aliases: aliases can be added as needed (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings. If you
# do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "/usr/share/apache2/icons/"

<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"

# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>

# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# To disable it, simply remove userdir from the list of modules in APACHE_MODULES
# in /etc/sysconfig/apache2.
#
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot simply be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir public_html
# The actual configuration of the directory is in
# /etc/apache2/mod_userdir.conf.
Include /etc/apache2/mod_userdir.conf
# You can, however, change the ~ if you find it awkward, by mapping e.g.
# http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/
#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
</IfModule>


# Include all *.conf files from /etc/apache2/conf.d/.
#
# This is mostly meant as a place for other RPM packages to drop in their
# configuration snippet.
#
# You can comment this out here if you want those bits include only in a
# certain virtual host, but not here.
#
Include /etc/apache2/conf.d/*.conf

# The manual... if it is installed ('?' means it won't complain)
Include /etc/apache2/conf.d/apache2-manual?conf

Kann mir jemand von euch helfen?

Vielen Dank!
Landflucht

derRichard
20.05.10, 23:53
hi!

scalix setzt eine fehlerfreie netzwerkkonfiguration voraus.
das sac und webmail sind nur auf einen vhost konfiguriert und kann auch nur über diesen erreicht werden.
wie sprichst du das sac oder webmail vom winxp-client an?

hth,
//richard

Landflucht
21.05.10, 04:45
Guten Morgen Richard,

auf genau deiner Antwort hatte ich gehofft nachdem was ich hier im Forum gelesen habe.

http://scalix.hoehenflug.de/webmail
http://scalix.hoehenflug.de/sac
http://scalix.192.168.97.101/webmail
http://scalix.192.168.97.101/sac

hatte ich probiert.

ifconfig vom Server

eth0 Link encap:Ethernet Hardware Adresse 00:15:58:A1:83:D0
inet Adresse:192.168.97.101 Bcast:192.168.97.255 Maske:255.255.255.0
inet6 Adresse: fe80::215:58ff:fea1:83d0/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:997 errors:0 dropped:0 overruns:0 frame:0
TX packets:962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:502947 (491.1 Kb) TX bytes:201918 (197.1 Kb)
Interrupt:19 Basisadresse:0xe000

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:355 errors:0 dropped:0 overruns:0 frame:0
TX packets:355 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:34378 (33.5 Kb) TX bytes:34378 (33.5 Kb)


/etc/hosts vom Server

#
# 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.hoehenflug.de scalix
192.168.97.101 FINA FINA

derRichard
21.05.10, 08:36
hi!

auf welchen hostnamen hast du scalix konfiguriert?
wenn scalix auf scalix.hoehenflug.de eingestellt ist, dann wird sich das sac und webmail auch nur über http://scalix.hoehenflug.de zeigen...
das setzt auch vorraus, dass dein dns geht!
wenn scalix.hoehenflug.de am server und im lan eine andere ip hat, dann kannst es vergessen.

hth,
//richard

Landflucht
21.05.10, 19:48
Hi!

FQDN ist scalix.hoehenflug.de

Du hast hier mal gesagt, dass der apache doch mal per Hand angesprochen werden soll (http://www.linuxforen.de/forums/showthread.php?t=259609) (http://www.linuxforen.de/forums/showthread.php?t=259609)


telnet 192.168.1.5 80
GET /sac HTTP/1.1
HOST: linux-z2ih.site

Das habe ich getan. Hier das Ergebnis:





HTTP/1.1 404 Not Found
Date: Fri, 21 May 2010 18:40:08 GMT
Server: Apache/2.2.8 (Linux/SUSE)
Vary: accept-language,accept-charset,Accept-Encoding
Accept-Ranges: bytes
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Content-Language: en

1e
<?xml version="1.0" encoding="
af
ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://w
ww.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/x
html" lang="
e
en" xml:lang="
13
en">
<head>
<title>
38
Object not found!</title>
<link rev="made" href="mailto:
113
%5bno%20address%20given%5d" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/

body { color: #000000; background-color: #FFFFFF; }
a:link { color: #000
0CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/-->
</style>
</head>

<body>
<h1>
1b
Object not found!</h1>
<p>

39


The requested URL was not found on this server.


57


If you entered the URL manually please check your
spelling and try again.



2



9
</p>
<p>

48
If you think this is a server error, please contact
the <a href="mailto:
2b
%5bno%20address%20given%5d">webmaster</a>.

11

</p>

<h2>Error
21
404</h2>
<address>
<a href="/">
21
scalix.hoehenflug.de</a><br />

9

<span>
21
Fri May 21 20:40:08 2010<br />

3c
Apache/2.2.8 (Linux/SUSE)</span>
</address>
</body>
</html>

1


0



Verbindung zu Host verloren.

C:\Dokumente und Einstellungen\gwis>

Was sagst du dazu?

Ok, DNS hab ich so meine Probleme mit. Kannst du mir da vielleicht noch n Tip geben wenn das Ergebnis des "per Hand"-Tests dich vermuten lässt, dass ich da einen Fehler habe?

Hey vielen Dank dir!!!

René

derRichard
21.05.10, 19:55
telnet 192.168.1.5 80
GET /sac HTTP/1.1
HOST: linux-z2ih.site


warum plötzlich linux-z2ih.site?
wenn der fqdn von scliax scalix.hoehenflug.de ist, dann wirst du das sac und webmail auch nur über scalix.hoehenflug.de erreichen können.

scalix richtet am apache einen vhost ein, der eben nur auf die eine domain hört.

mit welcher url erreichst du es eigentlich von localhost aus?

hth,
//richard

Landflucht
21.05.10, 20:00
Oh sorry,
ich hatte das nur kopiert und hier eingefügt. Getestet habe ich das natürlich mit


telnet 192.168.1.5 80
GET /sac HTTP/1.1
HOST: scalix.hoehenflug.de

Vom localhost erreiche ich webmail und sac ganz normal über

https://scalix.hoehenflug.de/webmail bzw. /sac

derRichard
21.05.10, 20:02
hi!

und wenn du https://scalix.hoehenflug.de/webmail vom anderen rechner aus machst, gehts nicht?
https, nicht http!
wenn du die ip von scalix.hoehenflug.de abfrägst, kommt dann bei beiden rechnern das selbe ergebnis?

hth,
//richard

Landflucht
21.05.10, 20:10
Nein, vom anderen Rechner geht weder http noch https...

Wenn ich https auf dem localhost mache, krieg ich eine Fehlermeldung:

Fehler: Netzwerk-Zeitüberschreitung



localhost:

ping 192.168.97.101
PING 192.168.97.101 (192.168.97.101) 56(84) bytes of data.
64 bytes from 192.168.97.101: icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from 192.168.97.101: icmp_seq=2 ttl=64 time=0.017 ms
64 bytes from 192.168.97.101: icmp_seq=3 ttl=64 time=0.023 ms
64 bytes from 192.168.97.101: icmp_seq=4 ttl=64 time=0.016 ms
64 bytes from 192.168.97.101: icmp_seq=5 ttl=64 time=0.026 ms
64 bytes from 192.168.97.101: icmp_seq=6 ttl=64 time=0.013 ms
64 bytes from 192.168.97.101: icmp_seq=7 ttl=64 time=0.022 ms
64 bytes from 192.168.97.101: icmp_seq=8 ttl=64 time=0.012 ms
64 bytes from 192.168.97.101: icmp_seq=9 ttl=64 time=0.027 ms


XP-Rechner:


ping 192.168.97.101

Ping wird ausgeführt für 192.168.97.101 mit 32 Bytes Daten:

Antwort von 192.168.97.101: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.97.101: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.97.101: Bytes=32 Zeit<1ms TTL=64
Antwort von 192.168.97.101: Bytes=32 Zeit<1ms TTL=64

Ping-Statistik für 192.168.97.101:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms

derRichard
21.05.10, 20:12
warum machst du ping?
du solltest auf beiden rechnern scalix.hoehenflug.de auflösen.

//richard

Landflucht
21.05.10, 20:13
sorry

scalix auflösen?

derRichard
21.05.10, 20:22
"nslookup scalix.hoehenflug.de" machen. :)
weil ich wette, dass ein scalix.hoehenflug.de für deinen server eine andere ip hat, als für deinen xp-rechner.

//richard

Landflucht
21.05.10, 20:27
danke :)

also server:

Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
Name: scalix.hoehenflug.de
Address: 213.95.81.35

xp

Server: VPN_Hoehenflug.intern
Address: 192.168.97.1

Nicht autorisierte Antwort:
Name: scalix.hoehenflug.de
Address: 213.95.81.35

derRichard
21.05.10, 20:30
und, dass es einfach nur ein dummes firewall-problem ist, kann nicht sein?
ich seh jetzt erst deinen satz "Fehler: Netzwerk-Zeitüberschreitung"

hth,
//richard

Landflucht
21.05.10, 20:39
Die Firewall ist gar nicht an.. (rcSuSEfirewall2 stop)

Sage mal, ich traue dem ganzen in Sachen DNS ja nicht. Im Installation Guide steht ja was von

Configure your Domain Name System (DNS) server for them. First, all Scalix servers in
the network must be configured for DNS-lookups, in which an Internet protocol (IP)
address resolves to a hostname and vice-versa. This is essential for integration of antispam
and anti-virus software. Second, so that users login in once per session instead of
repeatedly when using a Windows network, create a DNS alias record (optional). Alias
scalix-default-mail with the fully qualified domain name of the target host.
For example, when a computer name is redhatbox.yourcompany.com, configure DNS as
follows:

forward lookup zone = yourcompany.com
reverse lookup zone = according to IP address
host field for the host record = redhatbox
mail server field for mail exchanger (MX) record = redhatbox
alias record = scalix-default-mail = www.yourcompany.com

und was haut mich ma komplett raus!

Kann es nicht doch ein DNS-Problem sein?

Landflucht
21.05.10, 20:48
Was sagst du dazu?


nslookup ftp.x.org scalix.hoehenflug.de
DNS request timed out.
timeout was 2 seconds.
*** Der Servername für die Adresse 213.95.81.35 konnte nicht gefunden werden:
Timed out
Server: UnKnown
Address: 213.95.81.35

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Zeitüberschreitung bei Anforderung an UnKnown

Heißt sicher, dass DNS nicht so arbeitet wie erhofft?

derRichard
22.05.10, 11:18
da ich dein netz nicht kenne kann ich nur raten.
aber es sieht so aus als könne nur dein server scalix.hoehenflug.de(213.95.81.35) erreichen.
das wird das problem sein.

hth,
//richard

Landflucht
22.05.10, 11:47
Guten Morgen!

Das Gefühl habe ich auch langsam.

Ich habe zum testen jetzt mal eine einfache index.html in mein Verzeichnis /srv/www/htdocs gepackt.

Vom Server kann ich die per 192.168.97.101 und per scalix.hoehenflug.de errwichen.

Vom XP-Client kann ich die über 192.168.97.101 erreichen. Wenn ich es über scalix.hoehenflug.de versuche, bekomme ich einen Error 403.

Hast du eine Idee?

derRichard
22.05.10, 11:52
warum jetzt plötzlich http 403?
vorhin wars noch ein tcp timeout.

ich kann dir leider nicht helfen, dein netz ist ein chaos^^

//richard