The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
tcp server listening, client connecting problems pjwhite High Level Programming 3 03-19-2008 06:58 PM
Solaris DNS Client For Microsoft DNS Server mduweik SUN Solaris 3 02-23-2008 12:18 PM
perl Mail::Client::Yahoo problems marcpascual Shell Programming and Scripting 0 09-23-2005 06:15 AM
ntp server and ntp client bubba112557 SUN Solaris 1 05-10-2005 11:37 AM
(perl) Microsoft SQL Server client for solaris. cant find it... Optimus_P Shell Programming and Scripting 3 10-14-2002 12:13 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-12-2007
joerg's Avatar
joerg joerg is offline
Registered User
  
 

Join Date: Jan 2002
Location: Germany
Posts: 167
Question NFS Server FC7 Solaris client problems!

Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.

Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the client to use only nfs version 3.

I hope that anyone can help me!

Hint: Solaris experience more then 7 years but linux less then two days!

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Solaris box :
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''
montagu@zeus:[~] $ uname -a
SunOS zeus 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-60

tail -20f /var/adm/messages
Jul 12 09:26:28 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:26:28 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:26:28 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:26:28 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:19 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:19 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:19 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:19 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/export on
/net/192.168.10.191/NFS4exports/export: No such file or directory
Jul 12 09:32:22 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:22 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/home on
/net/192.168.10.191/NFS4exports/home: No such file or directory
Jul 12 09:32:22 zeus nfs: [ID 224533 kern.warning] WARNING: NFS server
initial call to 192.168.10.191 failed: No such file or directory
Jul 12 09:32:22 zeus automountd[315]: [ID 834250 daemon.error] Mount of
192.168.10.191:/NFS4exports/home on
/net/192.168.10.191/NFS4exports/home: No such file or directory

montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd export
bash: cd: export: Permission denied
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd home
bash: cd: home: Permission denied

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Fedora box :
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''
uname -a
Linux jumpstart100 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007 i686 i686 i386 GNU/Linux

###############################################################################

more /etc/exports
/NFS4exports/home 192.168.10.0/24(ro,insecure,sync,no_wdelay,no_subtree_check,insecure_locks,fsid=0)
/NFS4exports/export 192.168.10.0/24(ro,insecure,sync,insecure_locks,nohide,fsid=0,no_root_squash)

###############################################################################

service nfs restart

Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]

###############################################################################

more /etc/sysconfig/nfs
RPCNFSDARGS="-N 4"

###############################################################################

rpm -qa | grep nfs
nfs4-acl-tools-0.3.1-1.fc7.2
nfs-utils-lib-1.0.8-8.fc7
system-config-nfs-1.3.25-1.fc7
nfswatch-4.99.9-1.fc7
nfs-utils-1.0.12-4.fc7

###############################################################################

more /etc/fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/home /NFS4exports/home none bind 0 0
/export /NFS4exports/export none bind 0 0



'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Snoop and commands traced on the Solaris box:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
# cd /net
# ls
# cd 192.168.10.191
# ls
NFS4exports
# ls
NFS4exports
# cd NFS4exports
# ls
export home
# cd export
export: permission denied
#


And now the network snoop:
# snoop 192.168.10.191
Using device /dev/hme (promiscuous mode)
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Syn Seq=555221081 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Syn Ack=555221082 Seq=4195591139 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591140 Seq=555221082 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 NFS C NULL4
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Ack=555221126 Seq=4195591140 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 RPC R (#4) XID=1183953721 Program number mismatch (low=2, high=3)
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591176 Seq=555221126 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Fin Ack=4195591176 Seq=555221126 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32845 S=2049 Fin Ack=555221127 Seq=4195591176 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=2049 S=32845 Ack=4195591177 Seq=555221127 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100003 (NFS) vers=3 proto=UDP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=2049
192.168.10.10 -> 192.168.10.191 NFS C NULL3
192.168.10.191 -> 192.168.10.10 NFS R NULL3
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Syn Seq=555354387 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Syn Ack=555354388 Seq=4197427390 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427391 Seq=555354388 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Ack=555354432 Seq=4197427391 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427535 Seq=555354432 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Fin Ack=4197427535 Seq=555354432 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32846 S=899 Fin Ack=555354433 Seq=4197427535 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32846 Ack=4197427536 Seq=555354433 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Syn Seq=555527220 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Syn Ack=555527221 Seq=4197107640 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107641 Seq=555527221 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Ack=555527265 Seq=4197107641 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107785 Seq=555527265 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Fin Ack=4197107785 Seq=555527265 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32847 S=899 Fin Ack=555527266 Seq=4197107785 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32847 Ack=4197107786 Seq=555527266 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Syn Seq=560146977 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Syn Ack=560146978 Seq=4211632485 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632486 Seq=560146978 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Ack=560147022 Seq=4211632486 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632630 Seq=560147022 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Fin Ack=4211632630 Seq=560147022 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32848 S=899 Fin Ack=560147023 Seq=4211632630 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32848 Ack=4211632631 Seq=560147023 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=1 proto=TCP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=899
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Syn Seq=562399097 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Syn Ack=562399098 Seq=4219104707 Len=0 Win=5840 Options=<mss 1460,nop,nop,sackOK,nop,wscale 5>
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104708 Seq=562399098 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 MOUNT1 C Get export list
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Ack=562399142 Seq=4219104708 Len=0 Win=183
192.168.10.191 -> 192.168.10.10 MOUNT1 R Get export list 2 entries
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104852 Seq=562399142 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Fin Ack=4219104852 Seq=562399142 Len=0 Win=49640
192.168.10.191 -> 192.168.10.10 TCP D=32849 S=899 Fin Ack=562399143 Seq=4219104852 Len=0 Win=183
192.168.10.10 -> 192.168.10.191 TCP D=899 S=32849 Ack=4219104853 Seq=562399143 Len=0 Win=49640
192.168.10.10 -> 192.168.10.191 PORTMAP C GETPORT prog=100005 (MOUNT) vers=3 proto=UDP
192.168.10.191 -> 192.168.10.10 PORTMAP R GETPORT port=896
192.168.10.10 -> 192.168.10.191 MOUNT3 C Null
  #2 (permalink)  
Old 07-12-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,322
Nice post, it contains a lot of info, though I cannot see the problem at prima vista. Can you try to change the /24 part to the real IPs of the machines ? I had this issue today, for some reason I was not able to mount them. Also, apparently the export zone is Fedora 7, and you are issuing "mount" from Solaris box, what is the command line that you have invoked and what was the error message. The NFS version incompatibility could be possible reason, although personally I haven't ran into such troubles (or can't remember) - try scratching that problem with flag "-o vers=3" when mounting.
  #3 (permalink)  
Old 07-12-2007
joerg's Avatar
joerg joerg is offline
Registered User
  
 

Join Date: Jan 2002
Location: Germany
Posts: 167
Hi Sysgate,
I changed it from /24 to the 192.168.10.10 (this ist the real IP)
But without success!
I use the automount of the /net to mount the filesystem on the solaris box.


montagu@zeus:[~] $ cd /net
montagu@zeus:[/net] $ ls
192.168.10.191
montagu@zeus:[/net] $ cd 192.168.10.191/
montagu@zeus:[/net/192.168.10.191] $ ls
NFS4exports
montagu@zeus:[/net/192.168.10.191] $ cd NFS4exports/
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ ls
export home
montagu@zeus:[/net/192.168.10.191/NFS4exports] $ cd export/
bash: cd: export/: Permission denied
montagu@zeus:[/net/192.168.10.191/NFS4exports] $

Sorry I can not change any thing on the solaris box!
The fedora nfs server will be used as jumpstart server. AT the early installation step of a jumpstart install I am not able to switch mount options on the client.


Thanks !

Last edited by joerg; 07-12-2007 at 12:19 PM..
  #4 (permalink)  
Old 07-12-2007
joerg's Avatar
joerg joerg is offline
Registered User
  
 

Join Date: Jan 2002
Location: Germany
Posts: 167
Smile Solved

OK I solved this problem by reinstall off the fedora box and

the following changes inside the export file:
export RPCNFSDARGS="-N 2 -N 4"
export SECURE_NFS="no"

I changed it because after the new installation I mentioned that the server support NFS Versio 2 and 3. But Solaris 10 need Version 3.

snoop:
before success:
RPC R (#1372) XID=1184230484 Program number mismatch (low=2, high=3)

With success:
PORTMAP C GETPORT prog=100003 (NFS) vers=3 proto=TCP

One day work for a simple problem!

Best regards
joerg

Last edited by joerg; 07-12-2007 at 06:43 PM..
Closed Thread

Bookmarks

Tags
linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:00 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0