Server :: Cannot Mount CIFS Directory Hostname, But IP Address Works?

Jun 27, 2011

I have a linux server running slackware 13.37. I am trying to mount a samba share with my other slackware machine, but I get a "mount error(13): Permission denied" when I run

sudo mount -t cifs //server/share /mnt
But, if I run
sudo mount -t cifs //192.168.1.100/share /mnt

[code]...

View 2 Replies


ADVERTISEMENT

CentOS 5 Server :: Mount Cifs Does Not Work, But Smbclient Does. Empty Directory In First Case?

Feb 18, 2009

I am trying to mount a samba share using an fstab entry

//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0

The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this

username=********
password=********

View 5 Replies View Related

Ubuntu Installation :: Error "mount Error: Could Not Resolve Address For Servername: No Address Associated With Hostname

Jul 14, 2011

This morning it would not boot; when I tried to wake up the system, it gave me a bunch of errors, the last ones being as follows: "mount error: could not resolve address for servername: No address associated with hostname mountall: mount /media/shares [1402] terminated with status 1" I am writing this in Win 7 since I lost ubuntu. I am using ubuntu 11.04.

View 2 Replies View Related

Fedora Networking :: Unable To Mount Specific Directory Via CIFS?

Aug 19, 2011

I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:

Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source

[code]...

View 3 Replies View Related

Server :: Mount -t Cifs Without Password?

Jan 28, 2010

I have one NAS device and using samba share one folder without password, how can I use command mount -t cifs to mount this share folder? I tried the below command, but always popup password checking?How should I do mount this folder without password checking?

View 3 Replies View Related

Server :: Share CIFS Mount As NFS?

Mar 15, 2011

I am trying to image about 30 laptops with WinXP, and I am using Clonezilla and DRBL for the task. We will start migration to Win7 starting Q4, so for now we are still using XP. I used a Clonezilla live USB to capture a standardized image to a CIFS/SAMBA share on the enterprise file server. The file server does not support NFS. To deploy the image, I used Virtualbox to build a VM with Centos 5.5 and then later Ubuntu 10.10. I mounted the CIFS share to /home/partimag but I found that I cannot share this CIFS mount out as NFS so I was unable to deploy the image with the image still residing on the CIFS; I had to copy the image to the VM's local drive.

Now using the DRBL live distribution, which is Debian based, I was able to obtain the image from a CIFS share and then share it out to the clients to be imaged as NFS (I think). I was able to use the DRBL live for some older computers, but since that hasn't been updated in nearly 2 years, I think it's missing some device drivers for my newer machines so it doesn't work on them -- this is why I looked at using CentOS and Ubuntu. To mount the CIFS shares, I'm using the following command:

mount -t cifs -o user@domain //share_ip_addr/share_name/folder /home/mount_point

Do I need to do something different to enable the mounted CIFS share to be shared out as a NFS share so that the clients to be imaged can see the contents from the CIFS share as a NFS share? The below image depicts my setup. The workstation has two NICs. The 10 network is the enterprise network and the 192 network is for DRBL imaging only. DRBL/Clonezilla does PXE boot and leases DHCP for the laptops. The laptops are shielded from the enterprise LAN; I am not doing any kind of NAT on on the server. The Linux VM is built with dual NICs and are set to bridged mode so they appear to be a separate NIC from the VM host on the network even though they going into the same port on the wall. [URL]

View 4 Replies View Related

Server :: Can't Write To Seagate Blackarmor NAS Through CIFS Mount

Jun 25, 2010

I've got a Seagate Blackarmor NAS which I can mount with CIFS to my Centos 5 server fine but only root can read and write to it. All other users can only read. I've tried several different mount options but results are always the same.

Specific issue: I'm trying to connect the the NAS so Bacula, a backup app, can write backups to it. "bacula" is set up as a user on the NAS. BTW, I'm pretty sure the OS on the NAS is Linux, and I can connect through windows and write fine.

View 2 Replies View Related

General :: FEDORA 12 - Mount -t Cifs On A Server Doesn't Work

Sep 28, 2010

Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22

View 3 Replies View Related

Server :: Mounting CIFS Share Causes The Mount Point To Be Destroyed?

Jun 18, 2009

I've been trying for a while mounting a EMC NAS share on linux. As far as I know the NAS share behaves just like a regular windows share, so the mount process should be very similar. On the NAS server, the disc "Disc1" is shared, and I need to mount a sub-subfolder of that share. This is my line in /etc/fstab:

Code:

//windows_box/Disc1$/folder1/subfolder /var/tmp/mount_test cifs defaults,acl,soft,uid=srvadm,gid=adm,umask=0027,file_mode=0600,dir_mode=0700,credentials=/root/cred.txt,sec=ntlmv2 0 0

When mounting the share, this is what happens:

Code:

[root@server1 tmp]# ll
total 8
drwxr-xr-x 2 root root 4096 Jun 18 10:39 mount_test

[code]....

In the console (i.e. bash), the "mount_test" word on the last line has a red background. When I issue "umount mount_test", everything is back to normal.

View 13 Replies View Related

Server :: Use Autofs To Mount CIFS Share And Busy Files?

Apr 29, 2010

We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.

Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.

View 5 Replies View Related

Server :: Debian Quadcore With 150 Mount.cifs Going Extremely Slow On Commands

Jul 9, 2010

I've mounted a kind of proxy to map some cifs folders, 150 aprox. It umounts and mounts everything each hour, to check on changes on a configfile managed by a secretary, she just edits a file with names and I prepared a cron to notice the new mountpoints. It's a debian, no desktop , no nothing else. Just mount.cifs and apache2 to let the master webpage access to some files on each user samba home. The server has 4 cores and 2Gb of RAM. It's brand new, but it goes very slow.

[Code]....

Does anyone have an idea why is that working so slow? The apache is working well, it's the shell which is working extremelly slow.

View 3 Replies View Related

Ubuntu :: Error : Mount.nfs : Access Denied By Server While Mounting Hostname

Sep 20, 2010

I just built an AMD Phenom II Six Core with 4 Gigs Ram a 160Gib / and swap, and (2) Two Tb mirror for Raid (data storage) I had been using DMRAID in the deprecated box but this box has MDADM v3.1.4 - 31st August 2010 from source (on MDADM wikipedia).

I have no permission problems with using the raid and dmraid is un-installed. The raid is working perfectly and is mounted in my fstab with ext4 defaults 0 2 as my options.

I have two exports
/media/raid/Test
/test

Both show IP and subnet on the showmount -e for the server. I can mount the test just fine on the server. I cannot, however, mount the /media/raid/Test error: mount.nfs: access denied by server while mounting hostname:/media/raid/Test Using dmraid I am able to have the deprecated box export and mount nfs shares from the raid but using MDADM on the new computer, I cannot. I get similar results with pointing MYSQL's data folder to a location on the "/media/raid/Database" (even with apparmor entries).

View 1 Replies View Related

Ubuntu Servers :: Mount Does Not List CIFS Mount Options On 10.04.2 LTS?

Apr 4, 2011

Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux

Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.

root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777

[Code]...

Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!

Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.

View 1 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

General :: CIFS Mounting Works Via Command Line - Fails With Fstab

Dec 2, 2009

I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.

[Code]....

Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234

The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.

View 2 Replies View Related

Ubuntu Servers :: Setup Access Properly From A Public Address To A Monitoring Server That Works Fine Locally?

Apr 19, 2011

I've spent days trying to setup access properly from a public address to a monitoring server that works fine locally. Everything works from public access until I try to link to a CVS repository. The rancid CVS repository is set up as a separate server (virtualhost). It appears the referring link causes a DNS error (105: Server Not Found) when the CVS repository server is accessed from the public address. Things work fine when accessing via localhost.

Localhost link:

[URL]

Public link: (this results in 105 error caused by redirection (bold portion of link))

[URL]

Code:

Virtualhost config:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log

[code]....

View 2 Replies View Related

General :: Following CIFS Mount Through NFS Mount?

Jul 20, 2011

I'm having some trouble in trying to make a clean solution and tougher time searching to not get the basic mounting pages/posts. So I thought I'd throw this out hereFor Oracle, we have an app server that runs /sharedapps and is an NFS mount for all other app/db nodes. What I'm working on now is that on this app server that hosts/exports /sharedapps file system has a sub folder with a CIFS mount (/sharedapps/data/appmount). e thing is that the remote nodes with the NFS mount to /sharedapps don't see the remote data in /sharedapps/data/appmount, only the main app server that has the CIFS connection. Realistically it makes sense why, but I'm trying to research if there is a way to have it do so. This is where I'm struggling. We are working on this in a dev instance right now but soon to be in production. In production, there are many DB nodes that could process a request which is why it would be best to have the NFS connection follow the remote CIFS connection

View 8 Replies View Related

Slackware :: Cannot Ssh Using Hostname, But Can Using Ip Address?

May 11, 2010

I have a machine running Slackware 13. Recently I had to modify network settings on it and now I cannot ssh into that box from my local LAN using machine's name. I can only ssh by using its IP address.I searched the forums, Google, but I cannot find the solution.

View 6 Replies View Related

Ubuntu Networking :: No Address Associated With Hostname?

Oct 6, 2010

ok so when i sudo apt-get update i get a bunch of crap that says no address associated with hostname

ive googled this and changed my /etc/hosts to all sorts of things and no luck apache wont even work now either. this server is for a few websites the company i work for hosts. currently i swaped it over to another windows based comp but we want it on ubuntu.

ive heard this is dns related? and that a FQDN is needed? if so im not sure how to re write my /hosts file but as of not it looks like this:

Code:
127.0.0.1localhost
63.119.120.135speed
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Mount Works But Fstab Entry For Same Server Doesn't?

Jul 28, 2011

Code:
192.168.0.133:/openils /openils nfs4 rw,_netdev,auto 0 0
fails to mount the nfs4 share, however

[code]...

View 6 Replies View Related

Ubuntu Networking :: Access PC Using Hostname Instead Of IP Address?

Apr 13, 2010

Right now my setup is as follows: I have an Asus Eeepc 900 running Netbook Remix named eeepc, and a media centre running 64-bit Ubuntu named media.When I try to ping or ssh into one machine from the other, for exampleCode:$ ping mediaI get an "unknown host name" error. However, pinging the device's IP address works. How do I get the computers to recognize each other's host names? Did I miss something in the setup?

View 2 Replies View Related

Ubuntu Servers :: No Ip Address Specified And Hostname Not Found Boot?

Oct 21, 2010

I have a ubuntu server 10.04 that will not boot. I saysno ip address specified and hostname not found refer to mount cifs blah blah blahmountall mount /directory/share [863] terminate with status 32I know its because I had a share mounted at boot but the server cannot mount the share for some reason. is there a way around this so I can boot the machine.I can ping the server. I just cant ssh to it. I need to get to a prompt some how so I can remove the mount from fstab.

View 1 Replies View Related

Ubuntu Networking :: Weird Can't Ping By Hostname, Nmblookup Works?

Sep 3, 2010

I can't ping by netbios name or fully qualified domain name, BUT nmblookup works just fine. I know it's a dns problem(s) I just don't know what or how to fix it. I'm very new to all of this(networking, domain administration, posting on forums etc) so I hope this is the right way to ask for help here. I've searched around the forums and the internet for a bit but I haven't found a solution to my problem yet.

here is some background on how the network is setup2 different domains sharing the same dhcp scope.

DC for DomainA is running windows 2003 std
DC for DomainB is running windows 2008 sbs
DC-A has ip of 192.168.1.249
DC-B has ip of 192.168.1.3
router is sonicwall (192.168.1.1)
DC-A is hosting both DHCP and DNS

there are 25 computers in DomainB and 1 computer (not in domain) with ubuntu 10.04 and Free Open Ghost running on it (dhcp off) all 25 computers can ping the fog server by name (and eachother) all 25 computers pxeboot to fog just fine

[Code]...

View 1 Replies View Related

Debian :: Cannot Re-write To File On Cifs Mount

May 2, 2010

I have a Western Digital "My Book" on my network which I have mounted with cifs.

If I go into it and vi a file, all is fine. I can write and save and close. When I open the file and add to it and then try to write it again, I get the message:

"thefilename" E212: Can't open file for writing

The file is owned by me still and the permissions are -rw-rw-r--

I don't understand why it works the first time and not the second. Also this same effect is observable when I save from another program to there. The first save is fine, the second can not be saved.

View 5 Replies View Related

Fedora :: Mount.cifs After Update Not Working?

Feb 11, 2010

- my windows shares were working fine, since there was aktualization they don't any more

- i have Fedora 12

- my /sbin/mount.cifs und /sbin/umount.cifs have 777 permissions

when I execute my mount with normal user:

/sbin/mount.cifs //sdvbdta01/KADA/ /home/kada/dvb-shares/persoenlich -o user=kada,dom=dvbern,pass=$PASSWD

I get this error:

/sbin/mount.cifs: permission denied: no match for /home/kada/dvb-shares/persoenlich found in /etc/fstab

When I execute that mount with root then it works, but I can't edit documents on that share with normal user

View 2 Replies View Related

Ubuntu Networking :: Unable To Mount CIFS

Jul 14, 2010

I am getting an error when I try to mount a CIFS file-system via terminal:

cifs_mount failed w/return code = -22

If I Places > Connect to server, it will open just fine. The share is also accessible from all the other computers on the network.

Google search brought me here to an archived thread which gave a different error number (!)

Desktop is Ubuntu 10,4LTS/Gnome; fresh install with no additional packages installed (so it's possible I am missing something but not sure what!)

View 1 Replies View Related

Slackware :: Sudo: Umount Works, Mount Not Works?

Jul 8, 2010

I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:

Code:
User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now

[code]...

View 3 Replies View Related

CentOS 5 Networking :: Slow System Due To Hostname Loopback Address?

Jan 12, 2010

New CentOS 5.4 system working fine. Sys admins came in and copied the hosts file from one of the servers down to my desktop and ever sincethen machine has been slow (progs take 10-20seconds to load). RunningGnome. Luckily I saved the old hosts file and copied it back and all is now well. But I'd like to understand why, particularly as I will need to change myhostname in the future.

As configured:
/etc/hosts (yes my hostname is "dummyName" that I will need to change later)
127.0.0.1 dummyName localhost.localdomain localhost

[code]....

View 5 Replies View Related

CentOS 5 Networking :: Change A Systems Hostname And IP Address Via Script?

Dec 14, 2010

I am looking for a way via script to change a systems hostname and IP address!

View 1 Replies View Related

Ubuntu Networking :: CIFS Complete Directory Listings?

Mar 30, 2011

I currently have some windows (Win7 Ultimate 64-bit) shares automounted to my linux laptop whenever I am on my home wireless network. I have this functionality set up using autofs/CIFS and it works well, except for one issue: The directory listings for the mounted windows shares are incomplete, i.e. when listing the directories on the linux machine, it only lists a fraction of what is available in the actual share. One directory returns 28 of 51 files present, for example, and another 33 of 60. NOTE: None of the files on the windows shares are 'hidden' or in any way shared differently than the others.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved