LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2015, 05:57 PM   #1
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Rep: Reputation: 26
windows 7 samba semaphore timeout 0x80070035 0x80070079


i seem to be getting those two errors on my windows 7 sp1 machine that is vpn in on network where my linux server is.

when i'm on the local network of the linux server within that network firewall, i have no problems from any windows 7 pc. at most if the server is loaded then the window into the samba share will take 2-3 seconds before showing the contents of the folder.

from my win7 machine outside the network that i vpn in to,
the initial connection to my linux server via \\ip_address brings up the samba folder shares /data and /scratch quickly without problem. however when i go into /data that's where things fail quickly. upon first try i can usually get 1 to 2 folders deep and maybe drag a 1mb word doc to my desktop. but if i then click back and try to go up and over a folder within the /data share that's when my window fails and i get one of those two errors in the subject. once i get the error, it seems like the entire samba share is nuked on me until i do an /etc/init.d/smb restart on the server.
oh, and i can have a putty ssh going into the same server with zero problem the entire time.
just prior to this posting, i had large lengthy data copies happening from a win7 computer on the local network to the server so i would not be surprised if there was some performance hit and a delay accessing samba from outside the network via a vpn. but the eventual failure and semaphore error is unacceptable, any ideas?
the entire problem seems to be all with samba and my win7 pc outside the network, it is my win7 pc which is clean and stable.
 
Old 10-09-2015, 12:45 PM   #2
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Original Poster
Rep: Reputation: 26
so i sort of confirmed yesterday that is most likely had nothing to do with my firewall on my windows7 pc that was vpn'd in.
my large data copy via samba finished on the server, I have since done this on the server:
/etc/init.d/smb stop
/etc/init.d/nmb stop
net cache flush
rm -r /var/lib/samba/*.tdb
rm -r /var/lib/samba/*.ldb {no files of this kind were there}
/etc/init.d/smb start
/etc/init.d/nmb start

before the above when doing a smb and nmb restart, smbstatus would still show a lot of files locked and a lot of PID's and Services.
after doing the above it cleared all that out and smbstatus shows clean except for 3 users i can verify.
will see if that helps later today.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection timeout errors while accessing files through samba from linux to windows talk1234 Linux - Newbie 1 06-14-2013 02:00 AM
[SOLVED] The semaphore timeout period has expired Re-Boot Linux - Networking 0 05-30-2013 03:44 AM
[SOLVED] Samba on Centos 6 - browsing from XP Pro machine sometimes failes - semaphore timeout rylan76 Linux - Networking 1 11-05-2012 12:21 AM
The semaphore timeout period has expired when joining a domain jeb083079 Linux - Networking 0 09-01-2006 04:53 AM
Timeout using samba - windows 2000 server and Slackware 9.1 Retrievil_Knievil Linux - Networking 0 07-15-2004 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration