Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Only first device can connect to Samba after restart
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Only first device can connect to Samba after restart
23rd Jan, 2018, 07:13 AM
Post: #1
Dzintars Bergs
Unregistered
 
Only first device can connect to Samba after restart
Hi!

Lately I'm having problems with Samba. Only first device can connect to Samba (shared printer or folders) after restart. After the first device have connected, others are getting timeout. This happens on Windows 10, Mac OS and Android clients.

Any suggestions, how to solve this? I think, it started after upgrade to Strech. I did fresh install of latest Xbian, it didn't help.

Log:
Terminal
[2018/01/22 21:56:00.543039, 0] ../source3/smbd/process.c:339(read_packet_remainder)
read_fd_with_timeout failed for client 0.0.0.0 read error = NT_STATUS_CONNECTION_RESET.
[2018/01/22 21:56:00.544912, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:57:26.444669, 0] ../source3/smbd/process.c:339(read_packet_remainder)
read_fd_with_timeout failed for client 0.0.0.0 read error = NT_STATUS_CONNECTION_RESET.
[2018/01/22 21:57:26.446897, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:57:26.981456, 0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
Invalid SMB packet: first request: 0x0001
[2018/01/22 21:57:54.322461, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:58:28.634564, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:58:29.447338, 0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
Invalid SMB packet: first request: 0x0001
[2018/01/22 21:59:25.385365, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:59:30.760347, 0] ../lib/util/pidfile.c:146(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or directory
[2018/01/22 21:59:31.386522, 0] ../source3/smbd/smb2_server.c:553(smbd_smb2_request_create)
Invalid SMB packet: first request: 0x0001


smb.conf:
Terminal
[global]
server string = PI2
guest ok = yes
security = user
socket options = TCP_NODELAY SO_RCVBUF=65535 SO_SNDBUF=65535
registry shares = yes
syslog = 0
map to guest = bad user
workgroup = DZB
bind interfaces only = No
encrypt passwords = true
log level = 0
# smb ports = 445
unix extensions = No
wide links = yes

include = /etc/samba/user.conf
include = /etc/samba/shares.conf

shares.conf:
Terminal
[data]
path = /data
guest ok = no
read only = no
valid users = xbian
browseable = yes
veto files = /._*/.DS_Store/
delete veto files = yes

[printers]
comment = Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = no
guest ok = no
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Only first device can connect to Samba after restart - Dzintars Bergs - 23rd Jan, 2018 07:13 AM
RE: Only first device can connect to Samba after restart - Nachteule - 23rd Jan, 2018, 10:32 AM
RE: Only first device can connect to Samba after restart - Dzintars Bergs - 24th Jan, 2018, 09:29 AM
RE: Only first device can connect to Samba after restart - tookdrums - 2nd Aug, 2018, 11:20 PM
RE: Only first device can connect to Samba after restart - Nachteule - 1st Jan, 2019, 02:06 AM
RE: Only first device can connect to Samba after restart - victorpatrick - 26th May, 2023, 12:50 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] SAMBA with USB mountet Device under RC3 Cre@tsheR 10 27,460 16th Aug, 2015 03:28 AM
Last Post: hbunjes

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 29th May, 2025, 06:55 AM Powered By MyBB, © 2002-2025 MyBB Group.