NFS not cooperating after portmap to rpcbind migration

So yes, this is bugging me. I am starting to miss my series and if I don't get this fixed quick I'll have to go through a full detox .
So I call upon you for assistance!
As per this post on the frontpage, I replaced portmap with rpcbind and fixed my rc.conf (and services script that I run after mounting my data partition - it requires user intervention - too), but no dice.
Here's what I got:
/etc/exports
/var/data/series 10.0.0.20(ro,async,no_root_squash,subtree_check)
/var/data/films 10.0.0.20(ro,async,no_root_squash,subtree_check)
/etc/hosts.allow
# /etc/hosts.allow
# SSH access (open to the world since it's fortified anyway, right?)
sshd: ALL
vsftpd: ALL
#lighttpd: 192.168.1.
#mysqld : 192.168.1.
nfsd: 10.0.0.20
#lockd: 192.168.1.2
#rquotad: 192.168.1.2
rpcbind: 10.0.0.20
rpc.mountd: 10.0.0.20
rpc.statd: 10.0.0.20
# End of file
I really should throw out nfsd, since there's no such thing anymore. I've checked netstat for stuff listening worlwide (sounds fancy eh) but other than those three rpc* services I could not find anything related (I disabled the imadp stuff or whatever that is since the comments said only NFS v4 stuff needed it).
/etc/conf.d/nfs-common
# Parameters to be passed to nfs-common (nfs clients & server) init script.
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid alternatives
# for the NEED_ options are "yes" and "no".
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=
# Options to pass to rpc.statd.
# See rpc.statd(8) for more details.
# N.B. statd normally runs on both client and server, and run-time
# options should be specified accordingly. Specifically, the Arch
# NFS init scripts require the --no-notify flag on the server,
# but not on the client e.g.
# STATD_OPTS="--no-notify -p 32765 -o 32766" -> server
# STATD_OPTS="-p 32765 -o 32766" -> client
STATD_OPTS="--no-notify -p 32765 -o 32766"
# Options to pass to sm-notify
# e.g. SMNOTIFY_OPTS="-p 32764"
SMNOTIFY_OPTS="-p 32764"
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=no
# Options to pass to rpc.idmapd.
# See rpc.idmapd(8) for more details.
IDMAPD_OPTS=
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=
# Options to pass to rpc.gssd.
# See rpc.gssd(8) for more details.
GSSD_OPTS=
# Where to mount rpc_pipefs filesystem; the default is "/var/lib/nfs/rpc_pipefs".
PIPEFS_MOUNTPOINT=
# Options used to mount rpc_pipefs filesystem; the default is "defaults".
PIPEFS_MOUNTOPTS=
/etc/conf.d/nfs-server
# Parameters to be passed to nfs-server init script.
# Options to pass to rpc.nfsd.
# See rpc.nfsd(8) for more details.
NFSD_OPTS=
# Number of servers to start up; the default is 8 servers.
NFSD_COUNT="2"
# Where to mount nfsd filesystem; the default is "/proc/fs/nfsd".
PROCNFSD_MOUNTPOINT=
# Options used to mount nfsd filesystem; the default is "rw,nodev,noexec,nosuid".
PROCNFSD_MOUNTOPTS=
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option.
# See rpc.mountd(8) for more details.
MOUNTD_OPTS="--no-nfs-version 1 --no-nfs-version 2"
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=
# Options to pass to rpc.svcgssd.
# See rpc.svcgssd(8) for more details.
SVCGSSD_OPTS=
I am launching rpcbind, nfs-common and nfs-server (in that order), and if I may believe the service scripts, everything goes well. However my client, a HDX-1000, does not see any NFS shares at all (they are NFS v3 shares). Several reboots of both the server and client did not help (after fiddling with services and restarting them too, that is). If anybody has any clues: please .
As a totally unrelated sidenote: suddenly my HDX-1000 has decided it does like Mediatomb and happily plays back whatever it streams (ever since I bought the bloody damn thing it has been refusing to do so - which is why I set up NFS in the first place). So I don't need to fix this, but just for the sake of it (and because I know how quirky this HDX-1000 is) I'd like to fix it so I have a fallback option in case that shiny metal thing decides to act up again.

jealma wrote:Add mountd to your hosts.allow. I had not yet adapted my hosts.allow until I saw your post, but now I added rpcbind, rpc.mountd and rpc.statd. I also uncommented nfs, portmap and mountd, after which I couldn't mount my NFS share. After uncommenting mountd, I could mount again.
There is no mountd anymore:
[root@amalthea stijn]# netstat -puntal
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:57472 0.0.0.0:* LISTEN 3642/rpc.mountd
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:55555 0.0.0.0:* LISTEN 3577/mediatomb
tcp 0 0 0.0.0.0:35081 0.0.0.0:* LISTEN -
tcp 0 0 10.0.0.15:6666 0.0.0.0:* LISTEN 3562/mpd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3592/rpcbind
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3224/sshd
tcp 0 0 0.0.0.0:32765 0.0.0.0:* LISTEN 3612/rpc.statd
tcp 0 960 10.0.0.15:22 10.0.0.5:37903 ESTABLISHED 3547/sshd: stijn [p
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 10.0.0.15:44302 78.47.136.197:123 ESTABLISHED 3222/ntpd
udp 0 0 0.0.0.0:795 0.0.0.0:* 3592/rpcbind
udp 0 0 0.0.0.0:54820 0.0.0.0:* 3642/rpc.mountd
udp 0 0 10.0.0.15:39719 212.68.197.145:123 ESTABLISHED 3222/ntpd
udp 0 0 0.0.0.0:820 0.0.0.0:* 3612/rpc.statd
udp 0 0 10.0.0.15:57921 85.158.108.151:123 ESTABLISHED 3222/ntpd
udp 0 0 127.0.0.1:33730 0.0.0.0:* 3577/mediatomb
udp 0 0 10.0.0.15:43468 81.246.92.140:123 ESTABLISHED 3222/ntpd
udp 0 0 0.0.0.0:1900 0.0.0.0:* 3577/mediatomb
udp 0 0 10.0.0.15:53102 212.3.228.111:123 ESTABLISHED 3222/ntpd
udp 0 0 0.0.0.0:111 0.0.0.0:* 3592/rpcbind
udp 0 0 10.0.0.15:39546 193.41.86.177:123 ESTABLISHED 3222/ntpd
udp 0 0 0.0.0.0:60539 0.0.0.0:* -
udp 0 0 0.0.0.0:32765 0.0.0.0:* 3612/rpc.statd
udp 0 0 10.0.0.15:57855 79.99.122.30:123 ESTABLISHED 3222/ntpd
Checking for rpc and mountd gives these results:
[root@amalthea stijn]# whereis rpc
rpc: /usr/sbin/rpc.idmapd /usr/sbin/rpc.statd /usr/sbin/rpc.mountd /usr/sbin/rpc.svcgssd /usr/sbin/rpc.gssd /usr/sbin/rpc.nfsd /etc/rpc /usr/include/rpc /usr/share/man/man3/rpc.3t.gz /usr/share/man/man3/rpc.3.gz /usr/share/man/man5/rpc.5.gz /usr/share/man/man3x/rpc.3t.gz /usr/share/man/man3x/rpc.3.gz
[root@amalthea stijn]# whereis mountd
mountd: /usr/share/man/man8/mountd.8.gz
Tomk: I doublechecked again - the hosts.{allow,deny} files are very verbose about their syntax . So I wasn't sure too, but some googling told me I should be using the right format:
daemon_list : client_list [ : shell_command ]
If you ask me it would be rather silly for the hosts files to allow/deny connections on such a rough basis. I understood tcp_wrappers is a basic (yet in some way configurable) traffic blocker, a bit more low-level than iptables is for example. Also, if you can only say 'allow all incoming connections from any client' or 'block all connections from all clients', why are there two files then? Wouldn't it be easier just to use one file and set it to yes/no? I might be wrong ofcourse .
Anyway, I noticed whereis breaks on the dot, maybe it is expanded in the hosts files too (I hope not... Would be pesky). I will try with an ALL: ALL though to see if that fixes anything.

Similar Messages

  • Vm not Booting after Physical to VM migration

    Hi,
    I referenced a white paper to do a physical linux 5.2 32 bit machine from Physical hardware into my OVM cluster.
    All seems have gone well - template imported fine and machine creation from template also - but at startup it keeps requesting the boot disk. Seems like the bootloader is missing or cannot be found.
    Has anyone had this issue before or am I doing something wrong here?
    What I did realize is that we have a 140gb disk (partitioned for / and swap and boot etc....) and a 100gb partition for /u01 on the source - and the VM template as imported seems to have two 100g disk and one 140gb disk.....
    Any help would be appreciated....
    Regards

    No worries - I modified configuration so that the disks appear in the right order. the boot device as hda and removed the duplicate /u01 device.
    The duplicate comes form the fact the the multipath drivers where not loaded as when the VM was created.
    Also had to fiddle with mount point a bit - but all is good and ready now!
    Hardus
    Edited by: Hardus on Dec 7, 2010 1:15 PM
    Edited by: Hardus on Dec 7, 2010 1:15 PM

  • User password not accepted after migration

    Source: iMac Lion OSX.7.4  Destination iMac OSX6.8
    Problem: user password is not accepted after migration
    What I did: Tried to migrate over the LAN, but in the migration assistant the other Mac was mutually never recognized. (Did migrations several times successfully in our LAN before). Last time the LIon Mac was the destination, who is now the source.
    I backupped then the  user with Time machine on the Lion and installed it with the migration assistant on the Snow Leopard system. As as the password was not accepted, I repeated the backup/migration process once. No help
    I reset in System Prefs/User accounts the password of that user. But cannot login either
    First time, that a migration process fails for me.
    Any help is appreciated
    Thanks
    Urs

    The target computer itself has admin accounts thats not the problem, I can access it. The issue is that the migrated additional user account is not accessible with its password.
    I have found here an istruction how to reset a password in single user mode.
    http://www.macyourself.com/2009/08/03/how-to-reset-your-mac-os-x-password-withou t-an-installer-disc/
    But that does not help either.The answer after the dscl -passwd command is that I do not have access (or similar, I don't remember)
    My guess is that backward migration (Lion to Snow) causes the problem. May be I need to create the user freshly and to copy his documents manually

  • "Find Form" calendar is not working after migration

    Hi,
    We have migrated from Oracle 9i to 10g.we have one form ''FormA" and "find form" for that FormA.Calendar functionality is present in both FormA and "Find FormA".if we try to use calendar functionality in "Find formA",its giving error like FRM-40104 - No such block calendar,FRM-40105(unable to resolve reference to item claendar.cell1.........),FRM-41045 (cannot find item - invalid id).Actually this scenario is not working after migrating the FORMS application to 'OAS10.1.2' from 'OAS904' .
    In 'OAS904' ,The calendar item is present in the 'FormA' form, the 'calendar.show' hides the "Find FormA" and appears in the FOrmA and uses FormA's calendar item and after selecting the date,the date s applied to the "Find FormA"
    But after migration, the "Find FormA" is not hiding, so its not able to retrieve the calendar properties.Because the calendar is present in "FormA".
    Any problem with pll files like 'qmslib65','qmsolb65',qmsevh65'??
    please help me by providing suggestions.
    Thanks

    qmslib65','qmsolb65',qmsevh65Are these libraries self-written or from some third-party tool?

  • Camera RAW, file not recognized after import and migration, Aperture 2.1

    Hi,
    I have recently purchased a 1DMKIII and am constantly getting "file not recognized" after I import and even after migrating RAW files. My 1DS MK1 RAW files have no issues. The RAW files render just fine using CS4 bridge. Any ideas here on a fix? Other than ditching Aperture (not desireable)
    Thanks,
    Greg

    Hummmm..I have just 'manned-up' from a 2gb macbook running tiger+CS4 to a iMac 24" 8gb running leopard BUT!
    I shoot RAW and the iMac will not recognize the NEF RAW files! this is soo frustrating - tried to update Camera Raw but to no avail.
    please help! I've got 987 raw wedding photos to process!!
    I dont know what to do!

  • Why do I get iPhoto not responding after I used migration from my old G4 powerbook to my newer macbook pro?

    why do I get iPhoto not responding after I used migration from my old G4 powerbook to my newer macbook pro?

    why do I get iPhoto not responding after I used migration from my old G4 powerbook to my newer macbook pro?

  • Mail not working after using migration assistant - what am I missing?

    Mail not working after using migration assistant - what am I missing?

    The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The  MAILBOXES category can't be hidden.
    In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down.

  • Application not working after migration

    Hi,
    An application developed in HTMLDB Version-2.0 is migrated to a new server with version-2.2. Few links like edit (to edit rows) are not working. What could be the reason

    Hi
    1) Old URL-
    http://es40.au.oracle.com:7778/pls/marvel/f?p=102:1:254279794898873443:fsp_sort_6::RP&fsp_region_id=5100103122412382
    2) New URL - http://sgord-dev1.sg.oracle.com:7780/pls/apex/f?p=135:1:1558885729019129 (which is not working)
    3) Application ID before migration - 102
    4) Application ID now is - 135
    If I login as Admin, all links are working properly, and can edit everything. But if I login as different user edit links and dropdowns are not displayed.
    Regards,
    Pallavi

  • InDesign CS5 is not opening after deactivation/activation. How can I fix this? Illustrator and Photoshop open and are working fine. Please help!

    InDesign CS5 is not opening after deactivation/activation. How can I fix this? Illustrator and Photoshop open and are working fine. Please help!

    First of all, thank you for replying so promptly to my posts this morning!
    I can't remember how I got the software on his computer, but I'm pretty sure it wasn't through migration assistant.
    I was looking into doing an uninstall of InDesign and a fresh install. However, I initially downloaded the CS5 suite digitally and I can't find out how I am able to perform a fresh install of InDesign. Do you know where I find this info or gain access to download just InDesign again? I can't seem to find anything in my Adobe account that shows where I might do another download.

  • TX2500Z touchscreen does not work after Windows7 upgrade from HP specific to S/N, etc on laptop.

    My TX2500Z touchscreen does not work after I upgraded to Windows 7. I cannot find any support or drivers, etc. to fix.  I bought Windows 7 directly from HP specific to my P/N and S/N on my TX2500Z.  Any help? Thanks.

    after 2,5 days (spending half a day within the apple shop as well with this problem) i have it all back on track.
    i did a lot of different things: trying to remove and reinstall iPhoto; did a SL installation over the old SL I had on my HD; backing up all the data of course before and reformatting my HD and installing a new clean SL version on it + a new clean version of iLife9 with all the updates and than I migrate with migrate assistant all the data and setting with time machine back onto it, but all this didn't work, because it also migrated the error/bug through time machine with it.
    so at the end i just installed a brand new, clean SL version on my hard drive, than I did the updates and put all my data, photos, docs, movies, mail, bookmarks, music, etc manual back into the system (drag and drop from my external HD, where i had an exact copy of my internal HD) and did all the settings again in all the different programs.
    the only thing i used migrant assistant with time machine for was for the programs. it seems to work now all fine and i even got more free space on my HD, because some of the old stuff i always carried with me but i never used, i didn't take over.
    basically everything is clean now. At least i hope and works fine. touch wood!

  • ISight not working after screen repair

    My iSight is not working after a screen repair (which was damaged during Apple fixing the topboard!). Could it be possible that the camera is damaged in some way during a screen being replaced? I am a bit annoyed that they did not check the machine after all of teh repairs were made as I have a number of adverse issues with it now.
    Has anyone else experience this after a screen replacement? I get the message that there is no camera attached, or that it is in use. I have followed threads regarding checking login items etc, to no avail.
    The iSight is important to me as I am a long way from home. It is annoying that something seems to go wrong with the MacBook, when I most need it.

    When an iSight isn't working, there are a variety of simple things you can try (see further below), but one thing few people think of, is to connect a Firewire or USB drive that contains a bootable system, which has previously been tested on a known-good Mac to make sure the iSight works when booted from that drive, and see if the problem still occurs with the Mac that's under test. That's a quick way of testing whether the problem is hardware or software.
    Other things to try:
    - Reset PRAM, NVRAM, and Open Firmware.
    - Reset your Mac's SMU--see documentation for your Mac for specifics.
    - Repair permissions.
    - Make a new user account, and see if it happens there.
    - Check Login Items in the Accounts prefpane for anything that might be causing the trouble, like printer or scanner items.
    - Try what's suggested at www.eriymati.com.ar/isight/
    - Reset the printing system in Printer Setup Utility, since some printer/scanner drivers can stop the iSight from working--if that helps, see if your printer/scanner can work with OS X's built-in drivers; if it can't, download the latest driver for your printer/scanner from its manufacturer's web site, and see if that allows the printer/scanner to work, without interfering with the iSight, but some manufacturers, including HP, Epson, etc. are still dragging their feet about making such drivers. If the printer/scanner driver still causes trouble, uninstall it, then replace the printer/scanner with one whose manufacturer has enough brains to write a driver that doesn't interfere with the iSight (some specifically state now, in their System Requirements, that they don't work with Macs that contain built-in iSights, so check this before you buy another printer/scanner).
    Sometimes a non-working iSight is caused by something wrong at a "deep" System level (meaning, it might be caused by a single bad or missing file, but it might take days to find it)--if you find that to be the case, the quickest fix if you find the steps above (and others described here and elsewhere), is to reinstall OS X, either by doing an Archive and Install, or by making a bootable backup of the drive, erasing it, then using Migration Assistant to copy the data from the backup.

  • Mac migration not working! How to successfully migrate files?

    I have recently bought a macbook retina, so I am giving my old mac (macbook pro 2011/12) to my sister, and she is giving her mac (macbook 2010) to my younger sister.
    We've been trying for the past five days to migrate data from the macbook 2010 to the macbook pro 2011/12, the process always seems successful - saying it is sending files etc and how it'll take 5 hours however after the seemingly successful migration nothing has been sent. We select items to migrate (user, applications, settings, other files) click continue, and it appears to be transferring but nothing migrates at all.
    We are using the wireless method, using th ethernet doesn't work and we only have one charger to share throughout the process.
    Any ideas would be great - and would save me a trip to Apple!

    Thanks for your comments -- regarding your question: I want to be able to listen to my music library in any number of rooms, say, the living room, kitchen, lower level family room and office/study as well as out on the patio. My entire music library is in iTunes. We do have ethernet cable running through our home, just not in every location, though that could be fixed since the lower level is currently unfinished.
    There are a number of 'i' products out there - boomboxes, etc - which can be used. However, I am more interested in wired/wireless speakers in these rooms and listen that way.
    I got something about AirPlay the other day; receivers that allow for streaming from any iPod or iPhone or allow them to be plugged into the receiver.
    Just wanted to know if anyone has done anything with that or whether that is even the best route to take. I thought perhaps loading everything onto a hard drive connected to ethernet might be the way to go - many receivers can then connect via ethernet.
    Thoughts?

  • Macbook Pro Will Not Boot After Full Timemachine Restore

    Hope someone can help. I upgraded my HD and attempted to restore from time machine. Everything appears to have worked well and the restoration was a success according to what the computer says. However, when I go to reboot I hear the startup sound then the apple pops up on the screen followed by a kernal panic error and the black box telling me that I need to hold down the start button and restart. I've tried resetting the pram, reinstalling from TM again and a couple of other things but it won't start up. I tried doing a clean install and it worked fine then I migrated files from my TM backup and that worked fine as well. However, that's not what I'm looking for, I wanted to get the machine exactly the way it looked before the upgrade and I thought TM was supposed to do that. I've read other forums were people have done it with no problems and am completely stumped at why it is not working. If anyone can shed some light I'd appreciate it.

    I booted with the CD and after selecting the language, went to the utilities pane and used the partition feature.
    Last night in desperation, I booted back to the CD and once again told it to do a full restore from TM. This was the third time that I had done it so far. The previous two times I had gone into the partition feature and partitioned the drive first. This time I skipped that step and just told it to restore from TM. It said if it did this it would erase everything on the drive. I agreed and let it do its work. This morning it once again, as in both previous times, said it had restored from TM successfully. I told it to restart and lo and behold, it booted and everything is just as I had it on the other drive.
    Needless to say, I'm confused but happy. I just wish I knew why it would not boot after restoring the previous two times? Maybe it just wanted me to spend more money:) I tried booting today only after I had gone to frys electronics and bought a SATA to USB cable and cloning software.
    Anyway, thanks for your help and if anyone knows why it wouldn't boot, let me know. It would be good to know for the future just in case. For anyone else having this trouble, keep trying. Third time was a charm for me.

  • HP P1006 DOES NOT PRINT after upgrading to a Macbook Pro 15 i7

    HP P1006 does not work after upgrading to a Macbook Pro 15 i7 2,6 with Mac OS 10.6.3
    I have used Time Machine to migrate from my previous MBP 15 C2D.
    I've tried to remove the printer in system pref. and install it again.
    The installer works fine but close to the end of the installation a new app is starting: HP Laserjet Firmware Update Utility, which won't start and just stays jumping at the dock, although the HP Installer succeeds to finish installing.
    So when i try to print, the printer stays idle.
    I have tried to download the installer from HP official website. Same story.
    Also tried to do Permission Repair in Disk Utility
    Please, if anyone knows a solution, help!

    After the 4th try of Installing the software it finally worked!
    Thanks anyway!

  • Hypev "automatic start action" not retained after live motion

    Hi,
    We have a hyper-v cluster of 2 windows 2008 R2SP1 nodes.
    We found that the settings we made in the VMs "automatic start action" were reset to "none" after migration between the nodes .
    We need to have it maintaned
    thanks
    Stefano

    Hi ,
    I think there may be something unclear in my previous email. Ok, I will detail it.
    If you make a virtual machine high available, the Automatic Start Action will not work after you perform a live migration. Which means the following setting will not be "failovered" to another host.
    You should set this via the Cluster Manager by the following setting:
    This is what I said:
    If you change the configuration of a virtual machine, we recommend that you use the Failover Cluster Manager snap-in to access the virtual machine settings. When you do this, the cluster is updated automatically with the configuration changes. However, if
    you make changes to the virtual machine settings from the Hyper-V Manager snap-in, you must update the cluster manually after you make the changes. If the configuration is not refreshed after networking or storage changes are made, a subsequent failover may
    not succeed or may succeed but result in the virtual machine being configured incorrectly.
    Thanks. Feel free to let me know if anything is unclear.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Hi Aaron ,
    yes I think there's a misunderstanding about the question .
    When you say
    "If you make a virtual machine high available, the Automatic Start Action will not work after you perform a live migration. Which means the following setting will not be "failovered" to another host."
    you mean that it is supposed to work this way ?
    I mean , If you make a VM HA with clustering is it an accepted behaviour that the setting of " automatic start action " ( not the stop action you posted the picture of ) is not maintaned after a live migration even if such setting is made through the failover
    cluster manager ?
    If you are telling me that this is what it is supposed to work I don't agree , because I wish I can have a way to set a priority in VM startup in the case of complete shutdown/reboot .
    Working with vsphere as well this is possible and I thought it was the same with Hyper-v
    To solve this problem I had to create a group policy's startup script for the cluster nodes in which I start the VM in the correct order with some timeout .
    Thanks
    Stefano Colombo

Maybe you are looking for