Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba/SWAT [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Thu Mar 23, 2006 11:40 pm    Post subject: Samba/SWAT [SOLVED] Reply with quote

Nabend alle zusammen.
Ich habe mich gerade einige Stunden mit dem Samba Howto von der Gentoo Seite beschäftigt.
Hat jemand noch eine ausführlichere gesehen?
Bei dem Test "...Suchen Sie im Netzwerk nach dem Print-Server..." Äh welcher Knopf, welcher PrintServer?
Ich denke den setzt man in dem Howto erst auf? Wie kann der denn schon irgendwo sein?

Dann weiter unten wollte ich Samba starten und
Code:
/etc/init.d/samba start
 * samba -> start: smbd ...                                                                                                                               [ !! ]
 * samba -> start: nmbd ...                                                                                                                               [ ok ]
 * Error: stopping services (see system logs)
 * samba -> stop: smbd ...                                                                                                                                [ !! ]
 * samba -> stop: nmbd ...


Im Logfile
Code:
[2006/03/24 00:27:55, 0] nmbd/nmbd.c:main(727)
  Netbios nameserver version 3.0.21b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/03/24 00:27:55, 0] param/loadparm.c:map_parameter(2644)
  Unknown parameter encountered: "load printer"
[2006/03/24 00:27:55, 0] param/loadparm.c:lp_do_parameter(3389)
  Ignoring unknown parameter "load printer"
[2006/03/24 00:27:55, 0] param/loadparm.c:map_parameter(2644)
  Unknown parameter encountered: "interface"
[2006/03/24 00:27:55, 0] param/loadparm.c:lp_do_parameter(3389)
  Ignoring unknown parameter "interface"
[2006/03/24 00:27:55, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...


Also, auch wenn die Doku manchem Profi reichen mag, mir fehlt da noch was. Mit den Meldungen kann ich nichts
anfangen.

Alexi-5000

PS: Ich habe die Doku NICHT überflogen und auch nicht im Simulator gesessen. Hab schon dicke Augen vom vielen
Lesen...


Last edited by Alexi-5000 on Sun Apr 02, 2006 9:12 am; edited 6 times in total
Back to top
View user's profile Send private message
deejay
l33t
l33t


Joined: 24 Aug 2004
Posts: 983
Location: Hannover, Germany

PostPosted: Fri Mar 24, 2006 6:16 am    Post subject: Reply with quote

Moin,

ich habe gerade mal nach "Samba" und "Samba HowTo" gegooglet.
Da kommt ne ganze Reihe an HowTos, die du dir mal angucken kannst.
Vielleicht auch mal auf der Samba Homepage nachschauen, da gibt es
auch Konfigurationsanleitungen und dergleichen.

Gruß
Deejay
_________________
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Fri Mar 24, 2006 7:45 am    Post subject: Reply with quote

deejay wrote:
Moin,

ich habe gerade mal nach "Samba" und "Samba HowTo" gegooglet.
Da kommt ne ganze Reihe an HowTos, die du dir mal angucken kannst.
Vielleicht auch mal auf der Samba Homepage nachschauen, da gibt es
auch Konfigurationsanleitungen und dergleichen.

Gruß
Deejay


Ok, danke schon mal

Alexi-5000
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Fri Mar 24, 2006 8:32 am    Post subject: Reply with quote

So, ich konnte es schon mal starten
Ein
Code:
addsuer samba

und ein
Code:
smbpasswd -a samba

hats gebracht (ohne Passwort!)

Alexi-5000
Back to top
View user's profile Send private message
hurra
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 224

PostPosted: Fri Mar 24, 2006 8:41 am    Post subject: Reply with quote

testparm sollte deine Sambaconfig auf tauglichkeit prüfen.
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Fri Mar 24, 2006 9:01 am    Post subject: Reply with quote

hurra wrote:
testparm sollte deine Sambaconfig auf tauglichkeit prüfen.


Hm testparm gibt aus
Code:
testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[print$]"
Processing section "[public]"
Processing section "[tmp]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions...


Dem kann ich doch entnehmen, das es läuft oder?

Was mich wundert ist das
Code:
lpstat -a

ausgibt
Code:
lpstat: Unable to connect to server: Success

Da muss doch irgendwo noch was faul sein

Alexi-5000
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Fri Mar 24, 2006 4:48 pm    Post subject: Reply with quote

Für alle Samba Probleme: http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/
oder halt die deutsche übersetzung: http://gertranssmb3.berlios.de/output/
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Sat Mar 25, 2006 4:28 pm    Post subject: Reply with quote

Ja, das ist in der Tat, umfangreich.
Ich danke Dir

Alexi-5000
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Mon Mar 27, 2006 5:16 pm    Post subject: Reply with quote

Hm, ich kann SWAT nicht starten.
Wenn ich die Adresse
Code:
http://localhost:901/

eingebe, dann findet er nichts. Auch mit dem Namen des Computers funktioniert es nicht.
Anscheinend brauche ich das aber um weiter machen zu können.

Auch weiss ich nicht, ob sich nach dieser Anforderung
Code:
testparm /etc/samba/smb.conf

Noch ein Fehler in dieser Ausgabe befindet
Code:
Load smb config files from /etc/samba/smb.conf
Processing section "[print$]"
Processing section "[public]"
Processing section "[tmp]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions


Die einschlägigen Howtos sind in dem Bereich sehr "schlank" ausgeführt :-)

Alexi-5000
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Mon Mar 27, 2006 5:38 pm    Post subject: Reply with quote

Hm,

Swat wurde installiert. Aber anscheinend nur halb.
Z.b. den Pfad
Code:
/usr/share/samba/swat

gibt es nicht!

Alexi-5000
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Mon Mar 27, 2006 6:15 pm    Post subject: Reply with quote

Sorry, ich möchte nicht bumpen, aber
was wird in der Gentoo Doku zu Samba damit gemeint:
"...bauen wir ein Modul,..."
dann
Code:
CONFIG_SMB_FS=m
CONFIG_SMB_UNIX=y

dann "...Bauen Sie anschließend das Modul und installieren Sie es"
Ääh sorry, aber da versteh ich nur Bahnhof.
Ist da gemeint make menuconfig oder so?

Alexi-5000
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Mon Mar 27, 2006 6:22 pm    Post subject: Reply with quote

schau mal in :
Quote:
/usr/share/doc/samba-<installierte versionsnummer>/swat
:)

und laut der ausgabe nach dem installieren von samba muss swat per xiinetd gestartet werden:
Code:
 * swat must be enabled by xinetd:
 *     change the /etc/xinetd.d/swat configuration

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Gekko
l33t
l33t


Joined: 29 Oct 2002
Posts: 773

PostPosted: Tue Mar 28, 2006 7:18 am    Post subject: Reply with quote

Alexi-5000 wrote:
Sorry, ich möchte nicht bumpen, aber
was wird in der Gentoo Doku zu Samba damit gemeint:
"...bauen wir ein Modul,..."
dann
Code:
CONFIG_SMB_FS=m
CONFIG_SMB_UNIX=y

dann "...Bauen Sie anschließend das Modul und installieren Sie es"
Ääh sorry, aber da versteh ich nur Bahnhof.
Ist da gemeint make menuconfig oder so?

Alexi-5000


Damit ist nicht make menuconfig gemeint, sondern der Kernel (den man mit make menuconfig Menügesteuert anpassen kann)
Falls Du genkernel verwenden haben solltest um den Kernel zu bauen, müsste das eigentlich eingebaut sein.
Im Prinzip läufts so ab, falls es nicht gebaut ist, dass du mit modprobe ein Modul während des Betriebes nachladen kannst. Aber wie gesagt -> für Anfänger genkernel, dann klappts auf alle Fälle.

Auf alle Fälle noch das hier lesen:
http://www.manpage.ch/faq/swat.php
Hier wird beschrieben, wie man Swat mit XInetd zum laufen bekommt.
Es gibt aber auch ein Webmin Plugin, falls dir das lieber als Swat sein sollte.
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Tue Mar 28, 2006 8:04 pm    Post subject: Reply with quote

Alexi-5000 wrote:
Hm, ich kann SWAT nicht starten.
Wenn ich die Adresse
Code:
http://localhost:901/

eingebe, dann findet er nichts. Auch mit dem Namen des Computers funktioniert es nicht.


SWAT läuft über den xinetd - der ist manchmal etwas empfindlich, wenn Du allow_only in /etc/xinetd.d/swat verwendest...

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Wed Mar 29, 2006 4:33 pm    Post subject: Reply with quote

Menno,
SWAT lässt sich nicht starten. Ich habe das empfohlene Howto durchgearbeitet und ein paar Anpassungen
vorgenommen. Aber nix geht. Die entsprechende Datei sieht so aus:
Code:
 default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
# $Header: /var/cvsroot/gentoo/src/patchsets/samba/configs/swat.xinetd,v 1.1 2005/08/09 12:56:26 seemant Exp $

service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/swat
        log_on_failure += USERID
        disable         = no
}

# Der folgende Eintrag sollte hinter wait = no wieder eingefügt werden, wenn SWAT ausschließlich
# vor Ort gestartet werden soll!

#       only_from       = localhost

Beim Starten des Adresse
Code:
http://localhost:901/

kommt immer nur die Fehlermeldung
Code:
Firefox kann keine Verbindung zu dem Server unter localhost:901 aufbauen.

Da muss doch irgendwo noch drüber was falsch sein.

Alexi-5000
Back to top
View user's profile Send private message
Alexi-5000
Guru
Guru


Joined: 28 Jun 2004
Posts: 409
Location: Germany

PostPosted: Wed Mar 29, 2006 4:43 pm    Post subject: Reply with quote

By the way, ich kann seit der Samba Installation auch nicht mehr drucken.
Meine Drucker sind zwar optisch da, aber wenn ich auf einen klicke kommt die Meldung
Code:
Not Found
Die gewünschte Ressource wurde auf diesem Server nicht gefunden.


Wenn er auf den Printserver zugreifen will, öffnet sich die Internetseite von idealo.de ?!?

Alexi-5000
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum