P
philip
Grünschnabel
Hallo Zusammen,
ich bin Admin für eine kleine Firma mit 5 Mitarbeitern.
Es sind 6 Arbeitsplatzrechner (5 Windows XP , 1 Windows 7) im Einsatz.
Das Problem ist, dass es teilweise sehr lange dauert, Dateien zu öffnen, wobei dies völlig unabhängig von der Größe ist.
Auch dauert es ungewöhnlich lange (ca. 5 Sekunden) bis sich die Ordner öffnen.
Komischerweise sagen alle Mitarbeiter, dass es im Laufe des Arbeitstages schlimmer wird.
Weiterhin verzögert z.B. MS Word beim Markieren von Text ca. 1 Sekunde, bis der Text markiert ist.
Außerdem dauert das Anmelden an den Workstations teilweise mehrere Minuten, bis die Taskleiste und der Desktop geladen ist.
Momentan verwende ich als Server Debian Lenny mit Samba 3.5.
Bis Februar diesen Jahres war noch Etch mit Samba 3.0.24 im Einsatz, hier gab es diese Probleme überhaupt nicht.
Kurzfristig war die Samba Version 3.2 (offiziell in Lenny eingebaut) im Einsatz, die Probleme waren aber genau die gleichen.
Unten steht die smb.conf, sowie ein Auszug aus der /var/log/samba/log.smbd mit Loglevel 3.
Internetrecherche zu den Logmeldunge sowie zu dem beschriebenen Problem waren bei mir nicht erfolgreich.
Gewöhnlicherweise schreibe ich bei Problemen nicht in Foren, da sie sich auch so lösen lassen.
Hier ist das jedoch leider nicht so.
Bedanke mich für eure Unterstützung.
VG, Philip
smb.conf:
[global]
workgroup = NET-REQUEST
server string = Intranet-Server
log level = 3
max log size = 15000
time server = Yes
load printers = No
printcap name = /dev/null
logon script = %U.cmd
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
invalid users = root
admin users = philip
[netlogon]
path = /mnt/share/diverses/netlogon
read only = No
browseable = No
[profiles]
path = /mnt/share/diverses/profiles
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[homes]
comment = Home-Verzeichnisse
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[buchhaltung]
path = /mnt/share/buchhaltung
read only = No
create mask = 0660
directory mask = 0770
... (hier kommen nur noch Freigaben, die Buchhaltung sehr ähneln.)
/var/log/samba/log.smbd:
intranet-server:/home/philip# tail -n 100 /var/log/samba/log.smbd
[2010/04/15 20:55:49.727054, 3] smbd/process.c:1485(process_smb)
Transaction 5 of length 43 (0 toread)
[2010/04/15 20:55:49.727068, 3] smbd/process.c:1294(switch_message)
switch message SMBulogoffX (pid 17820) conn 0x0
[2010/04/15 20:55:49.727080, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727099, 3] smbd/reply.c:2055(reply_ulogoffX)
ulogoffX vuid=100
[2010/04/15 20:55:49.727303, 3] smbd/process.c:1485(process_smb)
Transaction 6 of length 39 (0 toread)
[2010/04/15 20:55:49.727326, 3] smbd/process.c:1294(switch_message)
switch message SMBtdis (pid 17820) conn 0xb8006aa0
[2010/04/15 20:55:49.727338, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727352, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727365, 3] smbd/service.c:1250(close_cnum)
pc-sekr (::ffff:192.168.1.144) closed connection to service IPC$
[2010/04/15 20:55:49.727379, 3] smbd/connection.c:31(yield_connection)
Yielding connection to IPC$
[2010/04/15 20:55:49.727406, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727753, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727769, 3] smbd/connection.c:31(yield_connection)
Yielding connection to
[2010/04/15 20:55:49.727809, 3] smbd/server.c:902(exit_server_common)
Server exit (failed to receive smb request)
[2010/04/15 20:56:08.516529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:57:08.520529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:58:08.524511, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:59:08.524516, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:00:08.528512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:01:08.528529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:01:08.528573, 3] smbd/process.c:2081(check_reload)
Printcap cache time expired.
[2010/04/15 21:01:08.528596, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:01:08.528617, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:01:08.528631, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:01:08.528645, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:02:08.532517, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:03:08.532530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:04:08.532530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:05:08.540513, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:06:08.540529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:07:08.544517, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:08:08.544529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:09:08.544529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:10:08.548512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:11:08.548528, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:12:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:13:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:14:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:14:08.548586, 3] smbd/process.c:2081(check_reload)
Printcap cache time expired.
[2010/04/15 21:14:08.548608, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:14:08.548628, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:14:08.548641, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:14:08.548670, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:15:08.552512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:16:08.552528, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:17:08.552532, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:18:08.556508, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:19:08.556516, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:20:08.560508, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:21:08.560509, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
ich bin Admin für eine kleine Firma mit 5 Mitarbeitern.
Es sind 6 Arbeitsplatzrechner (5 Windows XP , 1 Windows 7) im Einsatz.
Das Problem ist, dass es teilweise sehr lange dauert, Dateien zu öffnen, wobei dies völlig unabhängig von der Größe ist.
Auch dauert es ungewöhnlich lange (ca. 5 Sekunden) bis sich die Ordner öffnen.
Komischerweise sagen alle Mitarbeiter, dass es im Laufe des Arbeitstages schlimmer wird.
Weiterhin verzögert z.B. MS Word beim Markieren von Text ca. 1 Sekunde, bis der Text markiert ist.
Außerdem dauert das Anmelden an den Workstations teilweise mehrere Minuten, bis die Taskleiste und der Desktop geladen ist.
Momentan verwende ich als Server Debian Lenny mit Samba 3.5.
Bis Februar diesen Jahres war noch Etch mit Samba 3.0.24 im Einsatz, hier gab es diese Probleme überhaupt nicht.
Kurzfristig war die Samba Version 3.2 (offiziell in Lenny eingebaut) im Einsatz, die Probleme waren aber genau die gleichen.
Unten steht die smb.conf, sowie ein Auszug aus der /var/log/samba/log.smbd mit Loglevel 3.
Internetrecherche zu den Logmeldunge sowie zu dem beschriebenen Problem waren bei mir nicht erfolgreich.
Gewöhnlicherweise schreibe ich bei Problemen nicht in Foren, da sie sich auch so lösen lassen.
Hier ist das jedoch leider nicht so.
Bedanke mich für eure Unterstützung.
VG, Philip
smb.conf:
[global]
workgroup = NET-REQUEST
server string = Intranet-Server
log level = 3
max log size = 15000
time server = Yes
load printers = No
printcap name = /dev/null
logon script = %U.cmd
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
invalid users = root
admin users = philip
[netlogon]
path = /mnt/share/diverses/netlogon
read only = No
browseable = No
[profiles]
path = /mnt/share/diverses/profiles
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[homes]
comment = Home-Verzeichnisse
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[buchhaltung]
path = /mnt/share/buchhaltung
read only = No
create mask = 0660
directory mask = 0770
... (hier kommen nur noch Freigaben, die Buchhaltung sehr ähneln.)
/var/log/samba/log.smbd:
intranet-server:/home/philip# tail -n 100 /var/log/samba/log.smbd
[2010/04/15 20:55:49.727054, 3] smbd/process.c:1485(process_smb)
Transaction 5 of length 43 (0 toread)
[2010/04/15 20:55:49.727068, 3] smbd/process.c:1294(switch_message)
switch message SMBulogoffX (pid 17820) conn 0x0
[2010/04/15 20:55:49.727080, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727099, 3] smbd/reply.c:2055(reply_ulogoffX)
ulogoffX vuid=100
[2010/04/15 20:55:49.727303, 3] smbd/process.c:1485(process_smb)
Transaction 6 of length 39 (0 toread)
[2010/04/15 20:55:49.727326, 3] smbd/process.c:1294(switch_message)
switch message SMBtdis (pid 17820) conn 0xb8006aa0
[2010/04/15 20:55:49.727338, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727352, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727365, 3] smbd/service.c:1250(close_cnum)
pc-sekr (::ffff:192.168.1.144) closed connection to service IPC$
[2010/04/15 20:55:49.727379, 3] smbd/connection.c:31(yield_connection)
Yielding connection to IPC$
[2010/04/15 20:55:49.727406, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727753, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:55:49.727769, 3] smbd/connection.c:31(yield_connection)
Yielding connection to
[2010/04/15 20:55:49.727809, 3] smbd/server.c:902(exit_server_common)
Server exit (failed to receive smb request)
[2010/04/15 20:56:08.516529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:57:08.520529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:58:08.524511, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 20:59:08.524516, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:00:08.528512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:01:08.528529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:01:08.528573, 3] smbd/process.c:2081(check_reload)
Printcap cache time expired.
[2010/04/15 21:01:08.528596, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:01:08.528617, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:01:08.528631, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:01:08.528645, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:02:08.532517, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:03:08.532530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:04:08.532530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:05:08.540513, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:06:08.540529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:07:08.544517, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:08:08.544529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:09:08.544529, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:10:08.548512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:11:08.548528, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:12:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:13:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:14:08.548530, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:14:08.548586, 3] smbd/process.c:2081(check_reload)
Printcap cache time expired.
[2010/04/15 21:14:08.548608, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:14:08.548628, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:14:08.548641, 3] printing/pcap.c:136(pcap_cache_reload)
reloading printcap cache
[2010/04/15 21:14:08.548670, 3] printing/pcap.c:243(pcap_cache_reload)
reload status: ok
[2010/04/15 21:15:08.552512, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:16:08.552528, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:17:08.552532, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:18:08.556508, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:19:08.556516, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:20:08.560508, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/04/15 21:21:08.560509, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0