![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
NFS problem.
Hi all.
Recently I planned to set up a small network in office. Following is what I did in our office: In server machine(machine name is "servername";IP: XX.XXX.XX.XX; Solaris 8; Blade, in which I'd like to share a directory named /space, in which I have my company softwares installed): Set the entry in /etc/dfs/dfstab like this: ========================================================= # svcadm enable network/nfs/server # Place share(1M) commands here for automatic execution # on entering init state 3. # # Issue the command '/etc/init.d/nfs.server start' to run the NFS # daemon processes and the share commands, after adding the very # first entry to this file. # # share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o rw=SPARC-Solaris10, root=SPARC-Solaris10 -d "My softwares" /space ========================================================= After I made the modification in that file by adding that line, I typed #/etc/init.d/nfs.server start After that, I moved to client machine(machine name SPARC-solaris10; IP: YY.YYY.YY.YY; Sun SPARC; in which I plan to be able to access that share folder in Blade machine.) I typed #mount servername:/space /networkresource The warning showed that RPC: unknown host typed I typed #mount XX.XXX.XX.XX:/space /networkresource The warning showed that nfs mount: retrying: /networkresource For a long time the poor client machine keeping retrying. XX.XXX.XX.XX is the IP address of server Unix machine. Since some people from some forum said that the shared machine need to reboot to take effect, I reboot the blade machine. Then I typed #mount XX.XXX.XX.XX:/space /networkresource Terminal showed Permission Denied. Seems in this case, two machine have been connected but cannot communicate. But, in server machine, I have already set the permission to everything allowed. When I switch user to qingdaz, in the client machine, I typed #mount XX.XXX.XX.XX:/space /networkresource Warning showed this user does not have sufficient privilege, since now I am not root. Please give me some advise on this. Yours truly, Dunhill |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
hello all!
One thing to clarify with you guys that my name is not from the cigarrette, it is from the wallet. heehee...... just remember the last item in the agreement when we read on our firstly registration to this forum.
|
|
#3
|
|||
|
|||
|
Hi, can anybody help? I am desperate recently on this matter...
|
|
#4
|
||||
|
||||
|
Can both boxes ping each other? On the client do:
rpcinfo -s servername rpcinfo -T tcp servername mountd rpcinfo -T udp servername mountd and post the results. |
|
#5
|
|||
|
|||
|
Thanks! Will try now and update later.
Thanks! Will try now and update later.
|
|
#6
|
|||
|
|||
|
# csh
SPARC-Solaris10# pwd / SPARC-Solaris10# pwd / *********The servername is svco-sg31*************** SPARC-Solaris10# rpcinfo -s svco-sg31 rpcinfo: can't contact rpcbind: RPC: Name to address translation failed - n2a: ostname not found SPARC-Solaris10# rpcinfo -T tcp svco-sg31 rpcinfo: can't contact rpcbind: RPC: Name to address translation failed - n2a: ostname not found SPARC-Solaris10# rpcinfo -T udp svco-sg31 rpcinfo: can't contact rpcbind: RPC: Name to address translation failed - n2a: ostname not found SPARC-Solaris10# rpcinfo -s XX.XXX.XX.XX *********XX.XXX.XX.XX is the IP address of svco-sg31, which is the servername server machine.**** program version(s) netid(s) service owner 100000 2,3,4 udp,tcp,ticlts,ticotsord,ticots rpcbind superuser 100232 10 udp sadmind superuser 100011 1 ticlts,udp rquotad superuser 100002 3,2 ticots,ticotsord,tcp,ticlts,udp rusersd superuser 100012 1 ticlts,udp sprayd superuser 100008 1 ticlts,udp walld superuser 100001 4,3,2 ticlts,udp rstatd superuser 100083 1 tcp - superuser 100221 1 tcp - superuser 100235 1 ticotsord - superuser 100134 1 ticotsord ktkt_warnd superuser 100234 1 ticotsord gssd superuser 100146 1 ticotsord - superuser 100147 1 ticotsord - superuser 100150 1 ticotsord ocfserv superuser 100068 5,4,3,2 udp - superuser 100153 1 udp - superuser 100229 1 tcp metad superuser 100230 1 tcp metamhd superuser 100099 3 ticotsord - superuser 100231 1 ticots,ticotsord,ticlts - superuser 100005 3,2,1 ticots,ticotsord,tcp,ticlts,udp mountd superuser 536875008 3 tcp - superuser 536875007 3 tcp - superuser 536875010 2,1 tcp - superuser 537002006 3,2,1,4 udp - superuser 1289637086 1,5 tcp - superuser SPARC-Solaris10# rpcinfo -T tcp XX.XXX.XX.XX program version netid address service owner 100000 4 ticots svco-sg31.rpc rpcbind superuser 100000 3 ticots svco-sg31.rpc rpcbind superuser 100000 4 ticotsord svco-sg31.rpc rpcbind superuser 100000 3 ticotsord svco-sg31.rpc rpcbind superuser 100000 4 ticlts svco-sg31.rpc rpcbind superuser 100000 3 ticlts svco-sg31.rpc rpcbind superuser 100000 4 tcp 0.0.0.0.0.111 rpcbind superuser 100000 3 tcp 0.0.0.0.0.111 rpcbind superuser 100000 2 tcp 0.0.0.0.0.111 rpcbind superuser 100000 4 udp 0.0.0.0.0.111 rpcbind superuser 100000 3 udp 0.0.0.0.0.111 rpcbind superuser 100000 2 udp 0.0.0.0.0.111 rpcbind superuser 100232 10 udp 0.0.0.0.128.4 sadmind superuser 100011 1 udp 0.0.0.0.128.5 rquotad superuser 100011 1 ticlts \000\000\020$ rquotad superuser 100002 2 udp 0.0.0.0.128.6 rusersd superuser 100002 3 udp 0.0.0.0.128.6 rusersd superuser 100002 2 ticlts \000\000\020* rusersd superuser 100002 3 ticlts \000\000\020* rusersd superuser 100002 2 tcp 0.0.0.0.128.3 rusersd superuser 100002 3 tcp 0.0.0.0.128.3 rusersd superuser 100002 2 ticotsord \000\000\020/ rusersd superuser 100002 3 ticotsord \000\000\020/ rusersd superuser 100002 2 ticots \000\000\0202 rusersd superuser 100002 3 ticots \000\000\0202 rusersd superuser 100012 1 udp 0.0.0.0.128.7 sprayd superuser 100012 1 ticlts \000\000\0207 sprayd superuser 100008 1 udp 0.0.0.0.128.8 walld superuser 100008 1 ticlts \000\000\020; walld superuser 100001 2 udp 0.0.0.0.128.9 rstatd superuser 100001 3 udp 0.0.0.0.128.9 rstatd superuser 100001 4 udp 0.0.0.0.128.9 rstatd superuser 100001 2 ticlts \000\000\020C rstatd superuser 100001 3 ticlts \000\000\020C rstatd superuser 100001 4 ticlts \000\000\020C rstatd superuser 100083 1 tcp 0.0.0.0.128.4 - superuser 100221 1 tcp 0.0.0.0.128.5 - superuser 100235 1 ticotsord \000\000\020L - superuser 100134 1 ticotsord \000\000\020O ktkt_warnd superuser 100234 1 ticotsord \000\000\020R gssd superuser 100146 1 ticotsord \000\000\020U - superuser 100147 1 ticotsord \000\000\020X - superuser 100150 1 ticotsord \000\000\020[ ocfserv superuser 100068 2 udp 0.0.0.0.128.10 - superuser 100068 3 udp 0.0.0.0.128.10 - superuser 100068 4 udp 0.0.0.0.128.10 - superuser 100068 5 udp 0.0.0.0.128.10 - superuser 100153 1 udp 0.0.0.0.128.11 - superuser 100229 1 tcp 0.0.0.0.128.6 metad superuser 100230 1 tcp 0.0.0.0.128.7 metamhd superuser 100099 3 ticotsord svco-sg31.autofs - superuser 100231 1 ticlts svco-sg31.nfsauth - superuser 100231 1 ticotsord svco-sg31.nfsauth - superuser 100231 1 ticots svco-sg31.nfsauth - superuser 100005 1 udp 0.0.0.0.128.13 mountd superuser 100005 1 ticlts \000\000\020u mountd superuser 100005 2 udp 0.0.0.0.128.13 mountd superuser 100005 2 ticlts \000\000\020u mountd superuser 100005 3 udp 0.0.0.0.128.13 mountd superuser 100005 3 ticlts \000\000\020u mountd superuser 100005 1 tcp 0.0.0.0.128.8 mountd superuser 100005 1 ticotsord \000\000\020\202 mountd superuser 100005 1 ticots \000\000\020\205 mountd superuser 100005 2 tcp 0.0.0.0.128.8 mountd superuser 100005 2 ticotsord \000\000\020\202 mountd superuser 100005 2 ticots \000\000\020\205 mountd superuser 100005 3 tcp 0.0.0.0.128.8 mountd superuser 100005 3 ticotsord \000\000\020\202 mountd superuser 100005 3 ticots \000\000\020\205 mountd superuser 536875008 3 tcp 0.0.0.0.128.13 - superuser 536875007 3 tcp 0.0.0.0.128.20 - superuser 536875010 1 tcp 0.0.0.0.128.26 - superuser 536875010 2 tcp 0.0.0.0.128.26 - superuser 537002006 4 udp 0.0.0.0.12.90 - superuser 537002006 1 udp 0.0.0.0.12.90 - superuser 537002006 2 udp 0.0.0.0.12.90 - superuser 537002006 3 udp 0.0.0.0.12.90 - superuser 1289637086 5 tcp 0.0.0.0.208.40 - superuser 1289637086 1 tcp 0.0.0.0.208.40 - superuser SPARC-Solaris10# rpcinfo -T udp XX.XXX.XX.XX program version netid address service owner 100000 4 ticots svco-sg31.rpc rpcbind superuser 100000 3 ticots svco-sg31.rpc rpcbind superuser 100000 4 ticotsord svco-sg31.rpc rpcbind superuser 100000 3 ticotsord svco-sg31.rpc rpcbind superuser 100000 4 ticlts svco-sg31.rpc rpcbind superuser 100000 3 ticlts svco-sg31.rpc rpcbind superuser 100000 4 tcp 0.0.0.0.0.111 rpcbind superuser 100000 3 tcp 0.0.0.0.0.111 rpcbind superuser 100000 2 tcp 0.0.0.0.0.111 rpcbind superuser 100000 4 udp 0.0.0.0.0.111 rpcbind superuser 100000 3 udp 0.0.0.0.0.111 rpcbind superuser 100000 2 udp 0.0.0.0.0.111 rpcbind superuser 100232 10 udp 0.0.0.0.128.4 sadmind superuser 100011 1 udp 0.0.0.0.128.5 rquotad superuser 100011 1 ticlts \000\000\020$ rquotad superuser 100002 2 udp 0.0.0.0.128.6 rusersd superuser 100002 3 udp 0.0.0.0.128.6 rusersd superuser 100002 2 ticlts \000\000\020* rusersd superuser 100002 3 ticlts \000\000\020* rusersd superuser 100002 2 tcp 0.0.0.0.128.3 rusersd superuser 100002 3 tcp 0.0.0.0.128.3 rusersd superuser 100002 2 ticotsord \000\000\020/ rusersd superuser 100002 3 ticotsord \000\000\020/ rusersd superuser 100002 2 ticots \000\000\0202 rusersd superuser 100002 3 ticots \000\000\0202 rusersd superuser 100012 1 udp 0.0.0.0.128.7 sprayd superuser 100012 1 ticlts \000\000\0207 sprayd superuser 100008 1 udp 0.0.0.0.128.8 walld superuser 100008 1 ticlts \000\000\020; walld superuser 100001 2 udp 0.0.0.0.128.9 rstatd superuser 100001 3 udp 0.0.0.0.128.9 rstatd superuser 100001 4 udp 0.0.0.0.128.9 rstatd superuser 100001 2 ticlts \000\000\020C rstatd superuser 100001 3 ticlts \000\000\020C rstatd superuser 100001 4 ticlts \000\000\020C rstatd superuser 100083 1 tcp 0.0.0.0.128.4 - superuser 100221 1 tcp 0.0.0.0.128.5 - superuser 100235 1 ticotsord \000\000\020L - superuser 100134 1 ticotsord \000\000\020O ktkt_warnd superuser 100234 1 ticotsord \000\000\020R gssd superuser 100146 1 ticotsord \000\000\020U - superuser 100147 1 ticotsord \000\000\020X - superuser 100150 1 ticotsord \000\000\020[ ocfserv superuser 100068 2 udp 0.0.0.0.128.10 - superuser 100068 3 udp 0.0.0.0.128.10 - superuser 100068 4 udp 0.0.0.0.128.10 - superuser 100068 5 udp 0.0.0.0.128.10 - superuser 100153 1 udp 0.0.0.0.128.11 - superuser 100229 1 tcp 0.0.0.0.128.6 metad superuser 100230 1 tcp 0.0.0.0.128.7 metamhd superuser 100099 3 ticotsord svco-sg31.autofs - superuser 100231 1 ticlts svco-sg31.nfsauth - superuser 100231 1 ticotsord svco-sg31.nfsauth - superuser 100231 1 ticots svco-sg31.nfsauth - superuser 100005 1 udp 0.0.0.0.128.13 mountd superuser 100005 1 ticlts \000\000\020u mountd superuser 100005 2 udp 0.0.0.0.128.13 mountd superuser 100005 2 ticlts \000\000\020u mountd superuser 100005 3 udp 0.0.0.0.128.13 mountd superuser 100005 3 ticlts \000\000\020u mountd superuser 100005 1 tcp 0.0.0.0.128.8 mountd superuser 100005 1 ticotsord \000\000\020\202 mountd superuser 100005 1 ticots \000\000\020\205 mountd superuser 100005 2 tcp 0.0.0.0.128.8 mountd superuser 100005 2 ticotsord \000\000\020\202 mountd superuser 100005 2 ticots \000\000\020\205 mountd superuser 100005 3 tcp 0.0.0.0.128.8 mountd superuser 100005 3 ticotsord \000\000\020\202 mountd superuser 100005 3 ticots \000\000\020\205 mountd superuser 536875008 3 tcp 0.0.0.0.128.13 - superuser 536875007 3 tcp 0.0.0.0.128.20 - superuser 536875010 1 tcp 0.0.0.0.128.26 - superuser 536875010 2 tcp 0.0.0.0.128.26 - superuser 537002006 4 udp 0.0.0.0.12.90 - superuser 537002006 1 udp 0.0.0.0.12.90 - superuser 537002006 2 udp 0.0.0.0.12.90 - superuser 537002006 3 udp 0.0.0.0.12.90 - superuser 1289637086 5 tcp 0.0.0.0.208.40 - superuser 1289637086 1 tcp 0.0.0.0.208.40 - superuser SPARC-Solaris10# Sorry buddy because i am playing with my company boxes, I can not release any IP etc...... |
|
#7
|
||||
|
||||
|
You need to get host name resolution working. Both machines need to be able to talk to each other by name, not just ip address.
|
||||
| Google The UNIX and Linux Forums |