LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-05-2013, 07:23 AM   #1
chief_officer
Member
 
Registered: Mar 2006
Location: Istanbul, TR
Distribution: Red Hat, CentOS, Ubuntu
Posts: 181

Rep: Reputation: 30
Arrow CIFS Mount Error


Hello,

I'm trying to mount a share folder on an EMC Data Domain to an Ubuntu 8.04 Server. The environment is as follows:
  1. Ubuntu Server: Located on DMZ -say- IP 8.8.8.8
  2. EMC Data Domain: Located on LAN - say - IP 10.1.1.10
  3. Firewall on DMZ: Open any-any from the Ubuntu Server to the Data Domain
  4. Firewall on Ubuntu Server: UFW service is stopped.
  5. nfs-common is up to date.

When I try to run

Code:
mount.cifs //10.1.1.10/share/ /backupmount -o user=username,pass=<secret>
I receive the following error

Code:
CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Code:
CIFS VFS: cifs_mount failed w/return code = -512
I went through many troubleshooting steps by enabling logging on the corporate firewall and the UFS. However, checking all the logs, I see no connection requests when I run the mount command. But if I start a ping to 10.1.1.10, I see blocked ICMP requests. This means that the mount command is somehow not invoked, or somehow does not "leave" the server. Otherwise it should try to make a connection attempt, which in turn would be logged in the UFW log or in the corporate log as a connection attempt.

Any ideas on what could be hapening?

Thanks

PS: I have Googled for 3 days straight, which is more than enough, so please don't ask me to do that.
 
Old 08-05-2013, 07:35 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Quote:
Originally Posted by chief_officer View Post
When I try to run

Code:
mount.cifs //10.1.1.10/share/ /backupmount -o user=username,pass=<secret>
I receive the following error

Code:
CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Code:
CIFS VFS: cifs_mount failed w/return code = -512
Try using the server name and specify the IP address with the "ip" parameter if name resolution is an issue:
Code:
mount -t cifs -o ip=10.1.1.10,user=username,password=<secret> //server_name/share /backupmount
Using an IP address instead of a server name breaks Kerberos and will cause the CIFS client to fall back to NTLM, which may not be what you want.
 
Old 08-06-2013, 09:24 AM   #3
chief_officer
Member
 
Registered: Mar 2006
Location: Istanbul, TR
Distribution: Red Hat, CentOS, Ubuntu
Posts: 181

Original Poster
Rep: Reputation: 30
Hello,

Thank you very much for your reply. I have followed you, but the error is now

Code:
CIFS VFS: Error connecting to IPv4 socket. Aborting operation
Code:
CIFS VFS: cifs_mount failed w/return code = -110
It seems to me that the mount command is somehow not initiating at the OS level at the first place, even before attempting network connection.

What do you think?

Regards
 
Old 08-06-2013, 01:34 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
The error message indicates an unreachable socket. That's a problem at a lower level than CIFS.

Is the 10.1.1.10 address reachable? What do you mean when you say you see "blocked ICMP requests" when you try pinging it?

You should be able to connect to TCP port 445. If telnet 10.1.1.10 445 doesn't work, your problem is at the transport layer or below.
 
Old 08-07-2013, 02:55 AM   #5
louis.brooks
LQ Newbie
 
Registered: Aug 2013
Distribution: linuxdebian
Posts: 1

Rep: Reputation: Disabled
This may be a stupid question but can you mount the share from another client?
 
Old 08-07-2013, 07:46 AM   #6
Thaler
LQ Newbie
 
Registered: Aug 2013
Posts: 4

Rep: Reputation: Disabled
This could be nothing but on my system it is username=username. How about that instead of user=username?
 
  


Reply

Tags
cifs, mount, ubuntu



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
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM

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

All times are GMT -5. The time now is 06:54 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
Open Source Consulting | Domain Registration