PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SWAT + anderes



tycoony256
31.10.03, 19:20
Hi,

ich setzte grade meinen 2. Suse 8.2 Server auf und SWAT will nicht so richtig. Beim ersten Server ging das ohne diese Probs... ich hab schon alles möglich verglichen...

Samba ist an und geht (muss eben mit ssh und vi editieren... ist für mich ok, aber wenn man mal eben was freigeben will isses per SWAT einfacher)
Cups kann ich über http://ip:631 ansprechen und geht (also AUCH vom Client PC)
SWAT ist an, geht aber nur über http://localhost:901 (nur lokal am Linux PC !)

für mich sieht das nach Firewallsache aus... aber was wo !?! Ich hab auf beiden PCs die gleiche Config...

# /etc/hosts.deny
# See `man tcpd´ and `man 5 hosts_access´ as well as /etc/hosts.allow
# for a detailed description.

http-rman : ALL EXCEPT LOCAL

kann es am apache2 liegen ? Webmin will auch nicht, aber das liegt vielleicht eher am apache..

Baldrug
31.10.03, 23:29
swat wird doch von inetd oder xinetd gestartet.


bei xinetd gibts die option im /etc/xinetd.d/swat -> only_from = ip

dann gibts das auch ausserhalb bei inetd weiss ich net.

tycoony256
01.11.03, 00:23
Ich habe es so mit inetd.conf und xinetd.conf versucht

- also ich starte im inetd.conf so:

swat stream tcp nowait.400 root /usr/sbin/swat swat

- die xinetd habe ich über Jast2 angezapft und da steht drin, dass SWAT an ist


am Linux PC selber geht http://localhost:901
am Linux PC selber geht http://IP:901 nicht, am Client auch nicht



#
# xinetd.conf
#
# Copyright (c) 1998-2001 SuSE GmbH Nuernberg, Germany.
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany.
#

defaults
{
log_type = FILE /var/log/xinetd.log
log_on_success = HOST EXIT DURATION
log_on_failure = HOST ATTEMPT
# only_from = localhost
instances = 30
cps = 50 10

#
# The specification of an interface is interesting, if we are on a firewall.
# For example, if you only want to provide services from an internal
# network interface, you may specify your internal interfaces IP-Address.
#
# interface = 127.0.0.1

}

includedir /etc/xinetd.d

ich denke ich muss wo meinen IP Bereich freigeben... so wie bei Samba oder so.. aber wo ?

/etc/xinetd.d/swat habe ich nicht

Baldrug
01.11.03, 15:34
im Log steht wenn xinetd geladen wird welche Scripte wieder entladen werden.

wenn dein Swat nciht auftaucht dann musst du eine Datei selber erstellen ( in xindetd.d ) in der xinetd.conf siehst du bei Default wie es ungefähr aussehen sollte.


meine Swat sieht so aus


service swat {

port =901
socket_type=stream
wait = no
only_from=192.168.0.0/24
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}

johnpatcher
01.11.03, 15:47
und hast du es geschafft??

tycoony256
01.11.03, 15:58
Danke, bin grade am machen, ich schreib dann was sich getan hat, danke erstmal :)