Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

more nfs problems

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
eno
n00b
n00b
Posts: 23
Joined: Thu May 01, 2003 9:21 pm

more nfs problems

  • Quote

Post by eno » Mon Jun 23, 2003 6:12 pm

Hello. I am having a little NFS problem trying to mount my shared directory on either of the two computers on my network. Here are the commands I have tried followed by their output:

Code: Select all

# /etc/init.d/nfs start
 * Starting NFS statd...                                                           [ ok ]
 * Exporting NFS directories...
/sbin/runscript.sh: line 527: 28139 Killed $exportfs -r 1>&2         [ ok ]
 * Starting NFS daemon...                                                       [ ok ]
 * Starting NFS mountd...                                                        [ ok ]

# mount -t nfs 192.168.0.100:/home/eno/share /mnt/test/
mount: RPC: Timed out
This is the contents of my /etc/exports

Code: Select all

/home/eno/share 192.168.0.101(rw,sync) 192.168.0.100(rw,sync)
And here is what I found in /var/log/everything/current

Code: Select all

Jun 23 14:41:28 [rpc.mountd] refused mount request from 192.168.0.100 for /home/eno/share (/): no export entry_
It says that every time I try and mount... but there is an entry for it, from the look of /etc/exports. Also, I've tried mounting it on my own comp, and on the other comp, no luck on either. It has worked on the other comp in the past, and there have been no major changes to it. This is a fresh install of gentoo, and haven't got it to work yet. It worked in my past install no problem... not sure why this is coming up now. Hope someone can help, thanks :)

EDIT: Also forgot to mention my /etc/hosts.allow and /etc/hosts.deny, here they are

Code: Select all

# cat /etc/hosts.allow
portmap: 192.168.0.100 , 192.168.0.101 , 127.0.0.1
lockd: 192.168.0.100 , 192.168.0.101 , 127.0.0.1
rquotad: 192.168.0.100 , 192.168.0.101 , 127.0.0.1
mountd: 192.168.0.100 , 192.168.0.101 , 127.0.0.1
statd: 192.168.0.100 , 192.168.0.101 , 127.0.0.1

# cat /etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
Also its worth mentioning that these exact files were used in my previous gentoo install, and I had no problems there. So I doubt they are the problem.
Top
zendron
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 82
Joined: Sun Jul 28, 2002 9:12 am

  • Quote

Post by zendron » Mon Jun 23, 2003 6:35 pm

What did

Code: Select all

#rpcinfo -p
tell us ?
Top
eno
n00b
n00b
Posts: 23
Joined: Thu May 01, 2003 9:21 pm

  • Quote

Post by eno » Mon Jun 23, 2003 6:37 pm

Code: Select all

# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    881  status
    100024    1   tcp    884  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100021    1   udp  32783  nlockmgr
    100021    3   udp  32783  nlockmgr
    100021    4   udp  32783  nlockmgr
    100021    1   tcp  33897  nlockmgr
    100021    3   tcp  33897  nlockmgr
    100021    4   tcp  33897  nlockmgr
    100005    1   udp    982  mountd
    100005    1   tcp    985  mountd
    100005    2   udp    982  mountd
    100005    2   tcp    985  mountd
    100005    3   udp    982  mountd
    100005    3   tcp    985  mountd
Top
L0ki
n00b
n00b
Posts: 12
Joined: Sun Oct 20, 2002 2:15 pm

  • Quote

Post by L0ki » Mon Jun 23, 2003 6:51 pm

I have EXACT the same problem. I must have done something to that box, but I do not remember.....before I rebootet, everything worked like a charm :-(
Top
pedro
n00b
n00b
User avatar
Posts: 25
Joined: Mon Jul 01, 2002 3:57 pm
Location: Londrina/Brazil
Contact:
Contact pedro
Website

  • Quote

Post by pedro » Mon Jun 23, 2003 7:57 pm

I'm getting this problem too, everything whas working perfectly but know I can't mount my NFS shares and I can't connect on a remote X by XDMCP.

I dont believe this is a broken update since my last "emerge -u world" was done few days ago.

Anyone else is getting the same problem?
Top
L0ki
n00b
n00b
Posts: 12
Joined: Sun Oct 20, 2002 2:15 pm

  • Quote

Post by L0ki » Mon Jun 23, 2003 8:52 pm

I emerge the new baselayout and everything is working as far as I can tell.....strange problem.....
Top
eno
n00b
n00b
Posts: 23
Joined: Thu May 01, 2003 9:21 pm

  • Quote

Post by eno » Mon Jun 23, 2003 9:28 pm

Thank you L0ki! I re-emerged the baselayout and it is all fixed now. :)
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

  • Quote

Post by Buzz » Sun Jun 29, 2003 8:06 pm

I am also having this problem on my file server. One of my kids hit the power button on the computer and after a reboot I am getting the error on line 527 and now none of my exports can be mounted. I have reemerged baselayout (and gawk, it seems needed to be reemerged for it to work again) , unmerged nfs-utils and reemerged with no success. The error persists. I have rebooted, etc. Double-checked the files and the hosts.allow, hosts.deny, exports all appear just fine to me. The rpcinfo -p looks similar to the above output. When the remote computer attempts to mount, however, it is denied.

The runscript.sh error is at fault, it appears to me. I don't know what to do to fix it at the moment :( If anyone has any other suggestions, I'd appreciate it. I can currently access those files through samba, but it is much less convenient especially since I typically run my /usr/portage/distfiles over nfs to avoid downloading multiple times to my different computers.

Thanks for any suggestions,

Buzz
Top
eno
n00b
n00b
Posts: 23
Joined: Thu May 01, 2003 9:21 pm

  • Quote

Post by eno » Mon Jun 30, 2003 8:16 am

I am also having this problem on my file server. One of my kids hit the power button on the computer and after a reboot I am getting the error on line 527 and now none of my exports can be mounted. I have reemerged baselayout (and gawk, it seems needed to be reemerged for it to work again) , unmerged nfs-utils and reemerged with no success. The error persists. I have rebooted, etc. Double-checked the files and the hosts.allow, hosts.deny, exports all appear just fine to me. The rpcinfo -p looks similar to the above output. When the remote computer attempts to mount, however, it is denied.

The runscript.sh error is at fault, it appears to me. I don't know what to do to fix it at the moment If anyone has any other suggestions, I'd appreciate it. I can currently access those files through samba, but it is much less convenient especially since I typically run my /usr/portage/distfiles over nfs to avoid downloading multiple times to my different computers.

Thanks for any suggestions,

Buzz
You said one of your kids hit the power button. I recently had a power outage and I was getting all kinds of errors when I booted up, had to reinstall. Personally I think ReiserFS was at fault. I am using all Ext3 now... you woulden't happen to be using ReiserFS?

Of course, I have no idea if it was ReiserFS or not... I just switched to Ext3 to lessen the chance of it happening again. :)

Edit: Using the search, I did find that a few people were having problems too...

Edit2: BTW, if you emerge acpid and have acpi support in the kernel (for power button), you can set it up so when you hit the powerbutton it sends the poweroff command... :)

Code: Select all

# make menuconfig
General setup  --->
     ACPI Support  --->
          [*] ACPI Support
          <M>   Button

// compile, install new kernel

# modprobe button
# emerge acpid

# vim /etc/acpi/events/default
event=button/power* 
action=poweroff 

# rc-update add acpid default
# /etc/init.d/acpid start
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

  • Quote

Post by Buzz » Tue Jul 01, 2003 11:42 am

eno wrote: You said one of your kids hit the power button. I recently had a power outage and I was getting all kinds of errors when I booted up, had to reinstall. Personally I think ReiserFS was at fault. I am using all Ext3 now... you woulden't happen to be using ReiserFS?
Thanks for the nice post. I am not running reiserfs on that box (or partition). It seems the other day the problem magically dissapeared. I'm not sure what "fixed" it, either. Sorry this can't be a help to people reading this looking for a solution. Seems the problem came without warning and dissapeared the same way.

For what it's worth, I believe I had done updates a while back and had some critical projects going which kept me from rebooting the file server. My guess is that when the kids turned the server off, problems appeared that were related to the update. I have re-installed the applications mentioned in this forum, shut off nfs on every machine involved, and then brought them all back online with nfs. In any case, it's working for me now.

Thanks again,

Buzz
Top
Post Reply

10 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic