Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-12-2005, 06:16 PM
|
#16
|
Member
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
|
Back to square one...
I had to shut down everything as I needed to move my workstation, server, router, etc. When I fired everything back up I was getting a permission denied error whenever I tried to mount the directory to the workstation. I VNCed into the server and disabled SELinux (that worked before) and tried again but I keep getting the same error message.
I created (as root) a directory '/stuff' and changed the permissions to 777. I then tried to mount this directory and got this error:
Code:
linux:~ # mount acsserver:/stuff /home/tparks/server
mount: acsserver:/stuff failed, reason given by server: Permission denied
The firewall on the server is disabled, SELinux on the server is disabled. I can access those directories just fine on my laptop with the same username and password. I even reformatted and replaced FC3 with Suse 10 on the workstation (for a different reason) and still cannot access the server. Now I can access everything fine when I boot into Windows.
Any additional help is appreciated.
Todd
|
|
|
11-12-2005, 08:17 PM
|
#17
|
Member
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
|
I tried to mount by using the ro option and I got an error message that I don't quite understand:
Code:
linux:~ # mount -ro acsserver:/home /home/tparks/server
mount: can't find /home/tparks/server in /etc/fstab or /etc/mtab
Why is it looking for /home/tparks/server in /etc/fstab? My understanding of fstab is that that is where you put entries that you want to automatically mount when the system boots. When I try to mount using the rw option I get the usual:
Code:
linux:~ # mount -rw acsserver:/home /home/tparks/server
mount: acsserver:/home failed, reason given by server: Permission denied
With no mention of /etc/fstab.
I have also re-exported the directory that I want to mount but nothing changed.
Not being able to mount this directory is severly limiting what I can do in Linux for the moment and I have to keep booting into Windows
Any help is appreciated
Todd
|
|
|
11-13-2005, 01:26 PM
|
#18
|
Member
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
|
OK, I am thinking that this is somehow related to the hostname of the computer.
On the server, which runs FC3, I went into 'NFS Server Configuration' GUI and deleted everything then added the two directories that I wanted to add, /home, and /stuff. for the host I listed 'linux' which was the default name of this computer after I installed Suse 10. I then issued the command 'exportfs'. On the workstation I did:
Code:
linux:~ # mount acsserver:/home /home/tparks/server
mount: acsserver:/home failed, reason given by server: Permission denied
I then went to my laptop and issued that same command and got the same result, which surprised me as the laptop previously mounted fine.
I went back to the server and added the host linuxd600 to the 'NFS Server Configuration' GUI as that is the name of the laptop and issued 'exportfs', went back to the laptop and tried again and it worked fine. I also made certain that all of the permissions in the 'NFS Server Configuration' GUI are set to r/w.
The end result is that I can mount the file system on my laptop booted into either Linux (FC4) or WinXP. I can access it from my desktop when booted into WinXP but not when booted into Suse 10. I previously had FC3 on the desktop and was able to mount under that for a while but for some reason I began to get the above error message and then I did a clean install of Suse 10 but got the same result when trying to mount.
I'm lost
Todd
|
|
|
11-19-2005, 04:10 PM
|
#19
|
Member
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458
Original Poster
Rep:
|
for some reason the laptop suddenly was getting a 'permission denied' error everytime I tried to access the server. That left me with no linux machine that I was able to use to access the server. I decided to post in alt.os.linux and got this:
Quote:
>>Give us the accserver /etc/exports file. You've probaby forgot to list
>>the workstation in it.
>
> /home linux(rw,sync)
> /stuff linux(rw,sync)
> /home linuxd600(rw,sync)
> /stuff linuxd600(rw,sync)
>
> The workstation is linux and the laptop is linuxd600. Everything seems to be
> in order in that file (too bad). Thanks for the shot though.
Change your exports file to
/home linux(rw,sync) linuxd600(rw,sync)
/stuff linux(rw,sync) linuxd600(rw,sync)
|
I changed the exports file as suggested and thankfully the desktop is now able to access the server but no luck with the laptop.
I had a nightmare last night that I was being pecked to death by a bunch of penguins...
|
|
|
12-04-2005, 06:50 PM
|
#20
|
Member
Registered: Dec 2005
Location: Tväråmark, Sweden
Distribution: Debian/Kubuntu
Posts: 105
Rep:
|
Quote:
Originally Posted by leupi
I had a nightmare last night that I was being pecked to death by a bunch of penguins...
|
Well, I have only two of them and may thus easily throw them out!
During the passed month I have cultivated and purified such a ridiculous "access denied"-story of mine when trying to connect two simple Linux boxes using simple NFS. I'm not as smart as this bug(?), is someone else? Is this thread still alive? Anyhow, here is my story:
Nfs networking - is it possible?
Summary (condensed* in an attempt to exclude a lot of 'related' but seemingly irrelevant information) of extended studies of what happens when nfs file sharing/mounting is initiated using two cable-router-connected Linux 2.6 boxes, both run with nfs-kernel-server (a brief test using nfs-user-server  *** sorry *** this story will exceed some 1024 characters of text that I am limited to for some reasom I don't know -- the messsage-length-counter-service says I may submit 54000 characters!?! Browsers: Firefox, Opera, Konqueror, all the same  H E L P!
********************************************************
Sorry, my internet provider did 'deconfigure' my connection! Now it's reconfigured and OK. But this thread seems to be dead, I'll start a new one.
********************************************************
Last edited by toreric; 12-08-2005 at 04:52 PM.
|
|
|
All times are GMT -5. The time now is 08:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|