PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba Server läst sich nicht starten



kpelka
06.04.04, 18:05
hallo zusammen,
ich habe folgendes problem, mein Samba server funzt nicht so Recht ich bekomme ich diese Fehler Meldung sobald ich auf ihn zugreifen will.
Könntet ich mir bitte einen Hinweiß geben wie ich doch diesen Fehler beheben könnte?
Danke Kpelka
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
# $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]
remote announce = 192.168.0.2/Arbeitsgruppe
passwd program = /usr/bin/passwd %u
auto services = mldoneky
dns proxy = no
encrypt passwords = true
socket options = TCP_NODELAY
keepalive = 60
invalid users = root
max log size = 1000
obey pam restrictions = yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
server string = %h server (Samba %v)
workgroup = Arbeitsgruppe
syslog = 0
log file = /var/log/samba/log.%m
os level = 20
default = mldoneky

[homes]
comment = Home Directories
browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700

# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom


[mldoneky]
path = /home/mldonkey
writeable = yes
public = yes

Ich im moment nur auf den Server zugreifen können und ein Ordner beschreiben, die Fehlermeldung habe ich euch auch dabei gelegt

LKH
06.04.04, 18:24
Hi,

ehrlich gesagt habe ich keinen Bock deine gesamte smb.conf zu lesen. :D Starte dafür mal "testparm" als root auf dem Server. Fall Fehler gemeldet werden poste die dann bitte.

Hast du mit smbpasswd die Benutzer angelegt? Stimmen die Arbeitsgruppen? Mehr fällt mir grad nicht ein ...

LKH

uTaNG
06.04.04, 20:57
*kopfschüttel* :rolleyes: ....

1. Kommst du über die cmd-Zeile drauf bzw. mit smbclient ?
2. Was sagen die Logs?

P.S.: Sch**** auf den Scrennshot ! Und versuch mit den Logs zuarbeiten....

LINUXRH7
07.04.04, 00:51
Global mal security = share, smb restart, zugreifenm geht es immer noch nicht tail -n 50 /var/log/samba/log.smbd und hier rein posten.

cya
LiNUXrh7

kpelka
07.04.04, 23:51
Hallo Funzt immer noch nicht, hier poste ich dir den Auszug der log:
(none):/etc/samba# tail -n 50 /var/log/samba/log.smbd
ERROR: Could not determine network interfaces, you must use a interfaces confi
g line
[2004/04/06 18:27:25, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/06 18:27:25, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2004/04/06 18:27:25, 0] lib/interface.c:load_interfaces(199)
ERROR: Could not determine network interfaces, you must use a interfaces confi
g line
[2004/04/06 18:32:19, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/06 18:32:20, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2004/04/06 18:32:20, 0] lib/interface.c:load_interfaces(199)
ERROR: Could not determine network interfaces, you must use a interfaces confi
g line
[2004/04/06 18:37:02, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/06 18:37:02, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2004/04/06 18:37:02, 0] lib/interface.c:load_interfaces(199)
ERROR: Could not determine network interfaces, you must use a interfaces confi
g line
[2004/04/07 12:45:00, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 12:45:00, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2004/04/07 12:45:00, 0] lib/interface.c:load_interfaces(199)
ERROR: Could not determine network interfaces, you must use a interfaces confi
g line
[2004/04/07 23:35:39, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 23:36:49, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 23:39:58, 0] printing/print_cups.c:cups_printer_fn(110)
Unable to connect to CUPS server localhost - Connection timed out
[2004/04/07 23:43:07, 0] printing/print_cups.c:cups_printer_fn(110)
Unable to connect to CUPS server localhost - Connection timed out
[2004/04/07 23:44:27, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 23:45:14, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 23:45:49, 0] smbd/server.c:main(698)
smbd version 2.2.3a-13 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2004/04/07 23:48:59, 0] printing/print_cups.c:cups_printer_fn(110)
Unable to connect to CUPS server localhost - Connection timed out
(none):/etc/samba#

Was könnte das sein?
Danke Kpelka

LINUXRH7
08.04.04, 00:19
bei Global eintragen

interfaces = 127.0.0.1 192.168.x.y

cya

Skorgon
08.04.04, 00:24
Sind die Unixrechte richtig gesetzt?

chmod o+rx /home/mldonkey

kpelka
08.04.04, 11:34
Hallo
läuft immer noch nicht, hm , das ist zum verzweifel.
Mit SuSe klappe das wunderbar.
Was könnte das noch sein?
Habt ich noch ein idea, werde gleich ne Buch von einen Bekannten durchforsten.
Danke

LINUXRH7
08.04.04, 12:52
Hallo,

auf dem SuSE rechner gehts? Dann nehm doch einfach mal die smb.conf davon.

cya

kpelka
08.04.04, 16:33
Habe auch schon versucht,
leider auch Erfolg, ne andere Frage, wenn ich CUPS installiert habe,
starte ich den Server mit cupss start?
Dat funzt bei mir auch nicht so wirklich
naja, ich hoffe ich könnt mir herlfen
Dabian ist er nen hartes ding