Самбата си бачкаше чудесно ,но по едно време (поради незнайни причини) започна да прави странни нешща. Та значи от нея от диидекторията Games трябва да се стартирва една игра. Едно ПС я стартирва и след това обаче никой друго не може да я стартира докато не излезе това ПС. А когато се тегли или прехвърля нещо на сървъра става перфектно (8 мб/с). В логовете се получава:
Примерен код |
[2003/09/23 18:20:04, 0] lib/util_sock.c:read_socket_with_timeout(300) read_socket_with_timeout: timeout read. read error = Connection reset by peer. [2003/09/23 18:20:04, 0] smbd/oplock.c:oplock_break(794) oplock_break: receive_smb error (Connection reset by peer) oplock_break failed for file bobi/bobi i sektite.mpg (dev = 301, inode = 5527451, file_id = 14717). [2003/09/23 18:20:04, 0] smbd/oplock.c:oplock_break(879) oplock_break: client failure in break - shutting down this smbd. [2003/09/23 18:20:36, 0] smbd/oplock.c:request_oplock_break(1011) request_oplock_break: no response received to oplock break request to pid 2200 on port 32850 for dev = 301, inode = 5527451, file_id = 14717 [2003/09/24 05:37:00, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer |
Ето как изглежда smb.conf-a:
Примерен код |
# Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2003/03/19 23:29:58 # Global parameters [global] workgroup = VG netbios name = vgserver server string = File Server interfaces = eth1 eth0 eth1:0 hosts deny = ALL hosts allow = 212.116.152.10 212.116.152.11 212.116.152.12 212.116.152.13 212.116.152.14 10.249.149.77 10.249.149.67 10.249.149.68 217.10.243.115 security = SHARE log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY printcap name = lpstat dns proxy = No domain master = yes local master = yes prefered master = yes os level = 33 printing = cups print command = /usr/bin/lp -d%p -oraw %s; rm %s lpq command = /usr/bin/lpstat -o%p lprm command = /usr/bin/cancel %p-%j queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p [Full] comment = Temp path = /ServerFiles/Full/ create mask = 0700 guest ok = Yes writable = yes [Games] comment = Games Playing path = /ServerFiles/Games/ create mask = 0755 guest ok = Yes writable = yes [Install Games] comment = Install Games path = /ServerFiles/Games Install/ create mask = 0700 guest ok = Yes read only = yes [Movies] comment = Movies path = /ServerFiles/Movies/ create mask = 0700 guest ok = Yes read only = yes [Programs] comment = Programs Install path = /ServerFiles/Programs/ create mask = 0700 guest ok = Yes read only = yes [VCD's] comment = Virtual Cds path = /ServerFiles/VCD's/ create mask = 0700 guest ok = Yes read only = yes [Mp3] comment = Music path = /ServerFiles/mp3/ create mask = 0700 guest ok = Yes read only = yes [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. lpq command = lpstat -o %p lprm command = cancel %p-%j browseable = No |
Е, някой има ли идея защо става така.
П.С. Преди 8 ПС-та стартирваха играта без проблем едновременно. Дори преинсталирах играта ,но пак нищо'>