Networking :: Autofs No Longer Working - Finding Source ?
May 23, 2011
After several days of searching, reading and re-installing, I'm at a complete loss as to why autofs has suddenly stopped working.
Basically, I can see the shared folders on the host computer but as soon as I try to cd into the folders I get "-bash: cd: [directory]: No such file or directory" (where [directory] = shared drive).
The setup was working before and the same exact setup is being used and is fully functional on another computer.
I'm running Ubuntu 11.04
Here is the content of auto.cifs:
Code:
Here is the content of auto.master
Code:
And credentials are stored in /etc/auto.smb.goblin (where goblin = name of windows computer sharing folders).
When I do "ls -l /home/shoryuken/TerraDrive/goblin" I get:
Code:
Now if I try to "cd" into any of the shared drives (like D-Drive, GW_Share or TerraDrive) I get the following:
Code:
A second or subsequent attempt at "ls -l" results in:
Code:
Note the question marks that are now everywhere.
I'm not sure where to look to find out why this is failing. The shared drive are visible, but then disappear when I try to access them. The same exact setup, on another machine works perfectly fine.
View 7 Replies
ADVERTISEMENT
May 23, 2011
After several days of searching, reading and re-installing, I'm at a complete loss as to why autofs has suddenly stopped working.
Basically, I can see the shared folders on the host computer but as soon as I try to cd into the folders I get "-bash: cd: [directory]: No such file or directory" (where [directory] = shared drive.
The setup used to work and the exact same setup on another computer computer works flawlessly.
I'm running Ubuntu 11.04
Here is the content of auto.cifs:
Code:
Here is the content of auto.master
Code:
And credentials are stored in /etc/auto.smb.goblin (where goblin = name of windows computer sharing folders.
When I do "ls -l /home/shoryuken/TerraDrive/goblin" I get:
Code:
Now if I try to "cd" into any of the shared drives (like D-Drive, GW_Share or TerraDrive) I get the following:
Code:
A second or subsequent attempt at "ls -l" results in:
Code:
Note the question marks that are now everywhere.
I'm not sure where to look to find out why this is failing. The shared drive are visible, but then disappear when I try to access them. The same exact setup, on another machine works perfectly fine.
View 4 Replies
View Related
Apr 24, 2011
I managed to configure autofs5 on my Kubuntu 10.10. I want to use autofs to mount my NAS drive, when I am home(most of the time ) and not bother me when I am away. I mount it in /etc/fstab, but suspend and hibernate does not work correctly, when I am not at home. Now I comment the line which mounts the NAS driveI am still not at home, and decided to try to autofs my flash drive Here is my auto.master
Code:
# directory map
/- /etc/auto.direct --timeout=2 --ghost
[code]....
View 4 Replies
View Related
Jul 29, 2010
I've got a Suse SLES 11 system running automount 5.0.3 which stubbornly refuses to do variable substitution.
friesian:/etc/sysconfig # automount -V
Linux automount version 5.0.3
Directories:
[code]....
View 6 Replies
View Related
Oct 1, 2009
Greetings. I cannot get autofs to mount a CIFS share. I tried to follow http://wiki.centos.org/TipsAndTricks/WindowsShares .
a) Windows share is \server-01Share
b) user: backups, password: backups has READ access to this share
c) mount -t cifs //server-01/Share -o username=backups,password=backups /mnt/server-01 WORKS FINE
d) Note that most default Centos services (including all NFS stuff has been disabled on boot, if this makes any difference)
e) /etc/auto.master:
left default configuration including (should these be changed or rem'd out?:)
/misc /etc/auto.misc
/net -hosts
#added at end of file
/test/auto.test
f) created /test and /etc/auto.test
#auto.test
#note I tried rw and just r
test -fstype=cifs,rw,noperm,user=backups,pass=backups ://server-01/Share
g) ls /test = nothing
e) message log contains automount:..."lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master"
View 15 Replies
View Related
Aug 11, 2009
I have been a happy Fedora user since late in the F9 release and now use F11 32 bit.Two days ago my 2wire modem/router took a dive. My ISP sent us a Motorola 3347-02 and since then my computer will not reach the internet. I have read everything I can and still haven't found the solution! Some things that I have tried: Disable network manager and do it manual, configure static IP, wipe system and reload, installed F11 on another computer.None of these have worked.Now I am booting from Ubuntu and have no issue but I can't stand Ubuntu.
View 4 Replies
View Related
Feb 24, 2011
Starting today I cannot log into [URL] on Linux. Whenever I try to login, it just takes forever and then either Chrome or Firefox tell me that perhaps the site no longer exists. It works perfectly fine on Windows. Strangely it also does not work on my Roku box and is working sporadically on my PS3. I would think it was my ISP or my router if it wasn't working perfectly fine on Windows.
I AM NOT TRYING TO WATCH NETFLIX ON LINUX. I know that doesn't work. I'm just trying to update my queue. I'm having this problem both on Fedora and Ubuntu (latest stable releases on both). I know it's not just loading from cache on my Windows machine because I'm going to pages that I have never been to and it's working just fine. Now, I have not tried signing out and in because then I'll be up a creak. OK, I installed another browser on my Windows computer and I'm able to sign into Netflix just fine. So it's not a sign-in issue.
WHY DOES THIS WORK ON WINDOWS? It's the same browsers - Chrome and Firefox on Linux and Windows and the same network.
ALSO, flickr is not working correctly - I cannot make any comments in the discussions (but can on photos which is ajax-y).
update: also checked a Linux computer using Linux Mint that hasn't been turned on in 2 months. I know it was able to access Netflix back then. Nothing has been changed - not even updates. It also cannot access Netflix. Either taking forever to load [URL] or when trying to login.
via looking in Konqueror, I saw it's trying to go [URL] and that's what makes it so that I cannot connect to [URL] if it considers me to be signed in. And here's what Konqueror said:
The requested operation could not be completed
Connection to Server Closed Unexpectedly
Details of the Request:
URL: http://movies.netflix.com
Protocol: http
Date and Time: Thursday, February 24, 2011 22:56
[Code].....
View 14 Replies
View Related
Apr 9, 2011
A couple days after an update to Ubuntu 10.10's networking stuff I was unable to connect to my wireless network that had a password. Now, I can connect to a different connection that doesn't have a password but when I try to go to mine it doesn't work.
Running on a compaq nc6000
And yes I do know that the password is correct as I am connecting right now on Win7.
View 1 Replies
View Related
Mar 3, 2010
I think an update or something has killed Samba on my Karmic box. it can see Windows shares OK, but it no longer appears on the Windows network.I have not changed my smb.conf for months, so something else has been modified.Looking in the logs I can see the following in "log.winbindd-idmap" after restarting Samba
Code:
[2010/03/03 10:07:20, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
idmap_alloc module tdb already registered!
[2010/03/03 10:07:20, 0] winbindd/idmap.c:149(smb_register_idmap)
[code]...
All other networking seems fine (internet, Synergy+ etc) it's just sharing out to the Windows network that is broken.
View 2 Replies
View Related
Aug 19, 2010
It still works fine if I boot into "good old" Windows. I must say I am SOOO disapointed with the Network Manager in Ubuntu which was great until 10.4 and has been crap ever since. I have had so many problems with my Vodafone USB and had to find an alternative method of getting it to work. Now the last straw is that my wireless LAN card is not getting recognised on startup so I have not connectivity when at home. (USb via Vodafone is no good in my area). I am typing this via an old Windows PC because my Ubuntu just does not work anymore. I have not installed anything new so what has happened - or how can I get it to work again.
I was completely sold on Ubuntu but am now considering reverting to Windows. It would be worth paying for an operating system that actually works, even if I have all the other hassles as well. A year ago Ubuntu was great - it all worked ! Not any more how can all that good work have gone down the pan - I can't understand how anyone could let all these nertwork problems occur - it isn't just me - read the threads - it's widespread.
View 4 Replies
View Related
Jun 5, 2010
recently installed 10.04 on his hp pavilion laptop and we got everything working fine, including the wireless internet. When he installed some recommended software updates his card is no longer being detected although wired networking is still fine.
ryan@ryan-laptop:~$ sudo lshw -c network
[sudo] password for ryan:
*-network:0 UNCLAIMED
[code]...
View 9 Replies
View Related
Aug 7, 2011
My wife's nebook has Ubuntu 10.04.2 LTS (kernel 2.6.32-33-generic i686), and is using the linux driver for Realtek RTL819x wifi cards. I installed the driver ages ago with:
Code:
$ sudo add-apt-repository ppa:lexical/hwe-wireless
$ sudo apt-get update
[code]...
View 1 Replies
View Related
Mar 22, 2010
Why is it always such a PITA to find a list of md5sums for the various versions of Ubuntu. I've just downloaded 9.10 from [URL], but it took me longer to track down the md5sums than it did to download 690Mb on a cable connection. A simple link on each of the many pages from which you can download Ubuntu is surely not too much to ask. And it's not a new problem. I remember having the same problem going back to at least 8.04, if not earlier. For those others looking for the link, here is one [URL].
View 1 Replies
View Related
Oct 21, 2010
I have a machine (mercury) on which /home/hyperhacker/video is a mounted external hard drive while the rest of /home/hyperhacker is on the internal hard disk. I have a second machine (konata) using autofs to automatically mount mercury:/home/hyperhacker in /mnt/mercury as needed. This works, except /mnt/mercury/video shows up empty.mercury:/etc/exports has: Code: /home/hyperhacker konata(ro,subtree_check)/home/hyperhacker/video konata(ro,subtree_check) and I've tried a few variations in konata: Code: $ cat /etc/auto.master
[...]
+auto.master
/mnt /etc/auto.mercury
[code]....
View 2 Replies
View Related
Oct 28, 2010
I have a server, with a static IP of 192.168.1.17, that is running Ubuntu lucid sever edition and that exports some shares per NFS. Here is its /etc/exports:
Code:
/media/Share00 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share01 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share02 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
/media/Share03 192.168.1.0/255.255.255.0(rw,nohide,insecure,no_subtree_check,async)
[Code]....
However, autofs does not work: the /msrv directory appears and disappears when I start and stop autofs; but when I enter "cd /msrv" followed by "cd Share05" in the terminal, I get the "bash: cd: /msrv/Share05: No such file or directory" message after the second command.
View 9 Replies
View Related
Jan 28, 2011
Hi Linux Forum People! This is my first post. Somehow I'm not able to mount directories from other machine using autofs. Autofs maps successfully loaded into NIS client, but autofs does not recognize them. Please see belowI'm running RHEL4
[root@linux2 etc]# ypcat -k auto.master
/hs /etc/auto.hs
/home /etc/auto.home
[code]...
View 19 Replies
View Related
Feb 21, 2010
I just finished installing Debian 2.1 on a very old laptop for some light word processing and web browsing, and am trying to get apt working so I can use it and dselect to install packages. Whenever I run apt-get update as a first step, I get stuck at 0% with an eventual timeout (this also happens when running the update step of dselect).
I know that my network card (a Farallon EtherWave) is working because I can ping my local gateway and remote sites. In my sources.list, I have this line for the Debian archive for this release: deb [url]contrib main non-free
Can anyone think of why I can ping the archive successfully, but apt will not read it? Do I need to change some network configuration, or my source line?
View 4 Replies
View Related
Oct 17, 2010
How i know who is pinging me or trying?
View 1 Replies
View Related
Jan 24, 2010
Setup clients on a LAN to automatically mount NFS shares whenever the fileserver is up, without using autofs. Instead a simple bash script which checks if the server is up, and if the shares need to be mounted or unmounted is called by a custom upstart job. For a small office or home network populated with Unix-like computers (e.g., a few Ubuntu desktops or laptops and a fileserver), NFS (Network File System) is a good way to share storage space and centralise the backup of important documents. However, having a fileserver running 24/7 is often overkill for such a setup.
One way to have clients mount NFS shares automatically when the fileserver is turned on, is to use a package called autofs. Unfortunately, there are a few unresolved issues with using autofs in combination with NFS. In my case, when autofs tries to mount NFS shares when the fileserver is turned off, the Gnome desktop, and Nautilus in particular, becomes extremely unresponsive, regardless of the options used. Attempting to mount the share manually from the command line when the server is down however, does return a message of failure quite promptly, without hanging the desktop.
To solve this issue, I wrote a simple bash script that is run through the upstart system. The script simply checks if the fileserver is up, if the shares need mounting or unmounting, and then sleeps for a while before checking again. This works out quite well, so I decided to share this information in case someone else runs into these issues. PrerequisitesThis howto assumes that you have an NFS server set up with shares exported, and one or more clients capable of mounting those shares. For more information on setting up NFS shares and mounting them on a client from the command line, see: SettingUpNFSHowTo.
Clients should be able to ping the server to determine if it is running. Naturally, you need administrator access on the clients to install the script and upstart job outlined below. This script assumes that the directory paths of the shares match the location where they are mounted. In my case, the fileserver has two shares: /media/Storage and /media/Backup. On the clients these shares are mounted on the same paths. If your setup deviates from this, the script needs some modification. The script From the desktop of one the clients, paste the following bash script as a new file in your favourite text editor:
Code:
#!/bin/bash
# The hostname or IP-address of the fileserver:
FILESERVER="myfileserver.local"
# Check every X seconds (60 is a good default):
[code]...
Now adjust the FILESERVER variable. In this example, my fileserver is called myfileserver. By default, Ubuntu sets up your networking environment in such a way, that computername.local can be used to reach that computer over the local network, so the network name for myfileserver is myfileserver.local. Of course, you can also use the IP-address of the server. Next, change the MOUNTS variable to match the NFS shares exported by your NFS server. MOUNTS is an array; multiple entries are separated by spaces. So if you have one share exported as /media/MyShare, that line would look like this:
Code:
MOUNTS=( "/media/MyShare" )
An advantage of mounting shares in /media, is that they automatically show up as mounted drives on the user's desktop. Note that this howto assumes that you use the same paths for the share on the server and client side! Save the script to your desktop with an obvious name. In this example we call it mount_my_nfs_shares. Open a terminal and cd to the desktop. Make the script executable by calling:
Code:
chmod +x mount_my_nfs_shares
Next, move it to a place where it can be called by our upstart job, but also from the console to test. A good place to put such custom executables is /usr/local/bin.
Code:
sudo mv mount_my_nfs_shares /usr/local/bin
This script uses the logger command to tell the system's log what it is doing. To test this script, open up two terminals; in one, execute the following so we can monitor the log messages:
Code:
tail -f /var/log/syslog
In the other, simply execute mount_my_nfs_shares. If the script works, your shares should show up on the desktop and the computer:// location in Nautilus. If the fileserver goes down or becomes unreachable, the shares should disappear, and reappear when the fileserver comes back on-line. If this works, move on to the next step. Installing a custom upstart job The next step is to have the clients automatically run the above script when they are booted. We can use upstart for this. Create a new text file, and enter the following:
Code:
# mount_my_nfs_shares - mount NFS shares on fileserver, if present
description"Mount NFS-shares"
start on (filesystem)
respawn
[code]....
How the script works The script enters an eternal loop and keeps checking if it can reach the fileserver once every minute (unless you adjust the INTERVAL variable). If it can reach (ping) the fileserver, it checks if the mounts are already mounted by searching for them (grepping) in the output of mount. If they are not mounted, it tries to mount them. Else, if the server is down, it looks in the output of mount to see if these mounts exist. If they do, it tries to unmount them with the -f flag (useful for unmounting unreachable NFS shares).
View 9 Replies
View Related
Jul 16, 2010
I noticed a very very high cpu usage on my webserver. All four CPUs were running on 100%.
Top shows several perl processes from apache that run for a long time, with a high %CPU.
Since the server was fc10, I did a fresh installation to fc13, and the fresh installation didn't have this issue. Then I loaded back all the user-data, and it started again.
Several, 4, 6, 8, ... 100 perl processes from apache.
lsof -p with the pid of such a process
Code:
The estabilished connection is sometimes "proud2pirate.com" wich is a non-existing domain.
View 14 Replies
View Related
Nov 16, 2010
I am looking for openssh 5.1 and 4.3 source rpms. Where can i download them ?
View 3 Replies
View Related
Jan 28, 2011
I am trying to decrease volume of noise coming from computer as much possible, till one point from where I don't know exactly what's the source of noise.
"That noise" starts coming out of computer few seconds about booting, not while POST test, and then it's constant. To me it seems like it's coming out of cpu, but not fan. (I have disconnected all hard drives, have gpu with passive cooling installed, and it's still there. Cpu is AM3 socket AMD Phenom II 810 processor, and motherboard is Asus M4A78T-E.
Also, my other computers with Intel and other AMD processors does not produce such a noise.
Does that noise come out of CPU? is it some "computing sign" of processor (assuming that during first seconds of booting are perfectly quiet), or kind of general problem of AMD (or AM3 socket) cpus.
View 14 Replies
View Related
Apr 14, 2011
where can i find linux kernel source code?
View 4 Replies
View Related
Nov 23, 2010
I'm looking to install, and perhaps create a SlackBuild) for an application that I think might be interesting.
The dependencies listed are:
libx11-dev, libxt-dev, libimlib2-dev, giblib-dev, and libxinerama-dev
I've checked to see if the packages are installed w/:
Code:
I've also looked for any existing SlackBuilds, but the only one that showed up in the database is: "giblib"
Where can I look to find these dependencies, their sources, or determine whether they're already installed in Slackware64 13.1?
Also, how would one determine if this can compile for a 64bit, non multi-lib install?
View 3 Replies
View Related
May 6, 2011
Because of NFS traffic congestion, I am trying to use autofs instead of fstab(NFS) to mount /home and /data directories on our system (from a NFS server). I have it up and running - users can log in and their /home directories work fine. However, when they need to save a file (openoffice or nautilus) they cannot see the directory tree to locate folders for saving. I have tried setting the --ghost option in auto.master, and I have tried commenting the BROWSE_MODE in /etc/default/autofs. But no luck. Using the terminal, I can go a folder and see subfolders using ls -la. They then appear in Nautilus, but later disappear. Since this is a school network, I can't expect teachers and students to use the terminal to save files. They are used to using Nautilus, with our regular NFS mounts.
View 1 Replies
View Related
Jun 23, 2010
First of all, I am pretty new to linux and I have 2 install a USB OVer IP software. I downloaded the software for UBUNTU n I really do not know where to find the installer. I want to find the source code in the package too.. its an open source project. So I believe the source codes are included in that .
View 5 Replies
View Related
Mar 7, 2011
I have a server (RHEL 4.7) with an mqueue that keeps growing over a two or three day interval. Then I have to manually flush the queue by removing all the mail in the spool directory as the sendmail flush command doesn't work. I've looked at the mail queue manually with a sendmail -bp command and it seems to show an occaisional mail item in the queue. On the other hand, there seems to be a lot more non-legitimate emails in the queue spool. how do I find out the source of the email in the main queue? Next, how do I stop it from building the queue? Next, is there anyway to automatically flush the queue once it builds if I need to?
View 2 Replies
View Related
Jun 7, 2011
I have a situation where I need to install the following packages manually:
libstdc++ (including libstdc++6)
glibc
libgcc
All I can find online are rpms... anybody know where I can get these as tarballs?
View 3 Replies
View Related
Apr 22, 2010
What is the most well know Open Source Bussiness Intelligence application?
View 1 Replies
View Related
Jan 3, 2011
Is there a good open-source Unicode string library for C++ (or C)?
View 4 Replies
View Related