Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
HI all,
I was trying to mount nfs share in same server the command
mount -t nfs 172.24.254.254:/rhome /nfs_rhome
runs perfectly and any modifications in nfs_rhome canbe seen in /rhome
but the same tried in different manner as below
mount -t nfs server1.example.com:/rhome /nfs_nfs
dosent work. gives error
[root@server1 ~]# mount -t nfs server1.example.com:/rhome /nfs_nfs/
mount: server1.example.com:/rhome failed, reason given by server: Permission denied
the /var/log/messages :
Mar 6 18:29:52 server1 mountd[2593]: mount request from unknown host 127.0.0.1 for /rhome (/rhome)
what exactly the problem is?
does the same would be causing the failure in mouting nfs share
/var/ftp/pub on kickstart?
You're trying to mount a different directory for starters. If that's not exported as an NFS share, it won't mount. Also, you're mounting one as an IP address, the other as a server-name. If you don't have name resolution set up right, or an entry in /etc/hosts, that'll be a problem.
We can't tell you exactly what the problem is, since you're not providing details (version/distro of Linux, network config info, host info, etc.).
#/etc/init.d/portmap restart produces following log
Mar 8 23:13:43 server1 portmap[3816]: connect from 127.0.0.1 to set(portmapper): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3815]: connect from 127.0.0.1 to set(portmapper): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3818]: connect from 127.0.0.1 to set(rquotad): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3819]: connect from 127.0.0.1 to set(rquotad): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3820]: connect from 127.0.0.1 to set(rquotad): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3821]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3822]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3823]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3824]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3825]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3826]: connect from 127.0.0.1 to set(mountd): request from unprivileged port
Mar 8 23:13:43 server1 portmap[3817]: connect from 127.0.0.1 to set(rquotad): request from unprivileged port
is it ok? or request must be send via 172.24.254.254 which is my m/c ip add.
#/etc/init.d/nfs restart
Mar 8 23:16:45 server1 mountd[3702]: Caught signal 15, un-registering and exiting.
Mar 8 23:16:45 server1 kernel: nfsd: last server has exited
Mar 8 23:16:45 server1 kernel: nfsd: unexporting all filesystems
Mar 8 23:16:45 server1 kernel: RPC: failed to contact portmap (errno -5).
Mar 8 23:16:46 server1 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Mar 8 23:16:46 server1 kernel: NFSD: starting 90-second grace period
Mar 8 23:18:54 server1 kernel: Removing netfilter NETLINK layer.
wht does it mean by :- failed to contact portmap?
whether everything working properly or not?
Last edited by kaustubhshimpi; 03-08-2010 at 06:20 AM.
I reinstall the system and reconfigure everything and it worked for me.
unfortunately cant uderstand the problem. but now everything
i.e. DNS, NFS and KickStart is working well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.