Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-27-2013, 12:20 PM   #1
Registered: Sep 2010
Posts: 174

Rep: Reputation: 16
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...

Old 10-27-2013, 12:56 PM   #2
Registered: Sep 2010
Posts: 174

Original Poster
Rep: Reputation: 16
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...


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 06:38 AM
dpkg return error :post installation script return an error code (1) grimfold Debian 2 09-10-2009 01:55 PM
Sendmail returned error code 111 newlinuxgeek Linux - Software 1 02-14-2008 02:16 AM
mount return code muradcsc Linux - Newbie 4 12-13-2007 03:05 AM
dd return code barefootdoctor Linux - General 2 10-13-2005 12:54 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:19 AM.

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