LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-27-2013, 01:20 PM   #1
baldur_1
Member
 
Registered: Sep 2010
Posts: 133

Rep: Reputation: 13
smb annoyance return code = -111


i have an issue with a samba share. because of other frustrations, i change my firewall recently (four days ago) to shorewall. i got everything up and running pretty quickly, i was very happy. just yesterday all of a sudden my smb mounts failed and i have not been able to get them to mount properly through the network again. so my pc mounts some directories from my server via a cifs mount. three days ago that worked fine, i even moved files to it. today it doesnt and dmesg | tail give me...

CIFS VFS: Error connecting to socket. Aborting operation.
CIFS VFS: cifs_mount failed w/return code = -111

I have googled it and nothing and through this forum. shorewall in rules is SMBBI(ACCEPT)...

I could really use some help because this one is beyond me...

thanks
 
Old 10-27-2013, 01:56 PM   #2
baldur_1
Member
 
Registered: Sep 2010
Posts: 133

Original Poster
Rep: Reputation: 13
okay, this one took quite a while to figure out but there were a couple of problems. i found a samba testing page and walked through and found out that the reason it was failing was the directory/share name were too long. it fails in samba if it is over 12 characters. so the particular share of mine was tv_episodes_01 (which is 14 by my count). once i changed that it seemed to work.

i cant explain why it worked for like 2 days but it did and then it failed so now it is working with the adjusted share/directory name.

thanks all...
 
  


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
getsockopt returns 111 as error code when invoked after epoll_wait call msubrahmanya Linux - Kernel 0 09-06-2012 07:38 AM
dpkg return error :post installation script return an error code (1) grimfold Debian 2 09-10-2009 02:55 PM
Sendmail returned error code 111 newlinuxgeek Linux - Software 1 02-14-2008 03:16 AM
mount return code muradcsc Linux - Newbie 4 12-13-2007 04:05 AM
dd return code barefootdoctor Linux - General 2 10-13-2005 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration