Can't start nfs server!

ok i am pretty new i am thinking this maybe a dns situatioan i dunno....

i am trying to start nfs server i get the followin error:

mountd[683] svc_tli create could not bind to requested address: address mismatch

svc_create: svc_tli_create failed

/usr/lib/nfs/nfsd [685]: tli_bind to wrong address
cannot establish nfs service over /dev/udp: transport setup problem

can someone please help me with this?

you need to take the "nfs" entry back into your /etc/services file :

this doc describes it

Regs David

ok thanx i will post my progress dave

i check the /etc/services the 2 entries for nfs are there i am not running either nis and nfs server still won't start.....

any other ideas?

This is a real longshot, but check
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

All three should have the name of the box.

ok i will check and let u know

Hi,

The doc describes a lot of possible causes for the error you describe. Did you read the whole doc ? F.E. lockd should be in there, and many more issues.

Regs David

i checked out those files the box are listed in each one anything else dave i will reread teh article again but i checked out what it said but it wont hurt me to read it again

Check /etc/services, /etc/rpc, "rpcinfo -p hostname",
and mountd.

i checked the 1st one the nfsd and lockd are there what am i looking 4 in /etc/rpc and when i run rpcinfo -p hostname also what about mountd?

Run these commands and post the results:
uname -a
rpcinfo -p
rpcinfo -T udp `hostname` rpcbind

uname -a
SunOS solaris9 5.9 Generic_112234-03 i86pc i386 i86pc
# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100232 10 udp 32772 sadmind
100083 1 tcp 32771
100221 1 tcp 32772
100068 2 udp 32773
100068 3 udp 32773
100068 4 udp 32773
100068 5 udp 32773
100229 1 tcp 32773 metad
100230 1 tcp 32774 metamhd
100242 1 tcp 32775 metamedd
100001 2 udp 32774 rstatd
100001 3 udp 32774 rstatd
100001 4 udp 32774 rstatd
100002 2 udp 32775 rusersd
100002 3 udp 32775 rusersd
100002 2 tcp 32776 rusersd
100002 3 tcp 32776 rusersd
100008 1 udp 32776 walld
100012 1 udp 32777 sprayd
100011 1 udp 32778 rquotad
100024 1 udp 32779 status
100024 1 tcp 32777 status
100133 1 udp 32779
100133 1 tcp 32777
100021 1 udp 4045 nlockmgr
100021 2 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100005 1 udp 32783 mountd
100005 2 udp 32783 mountd
100005 3 udp 32783 mountd
100005 1 tcp 32780 mountd
100005 2 tcp 32780 mountd
100005 3 tcp 32780 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100227 2 udp 2049 nfs_acl
100227 3 udp 2049 nfs_acl
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100227 2 tcp 2049 nfs_acl
100227 3 tcp 2049 nfs_acl
300598 1 udp 32785
300598 1 tcp 32782
805306368 1 udp 32785
805306368 1 tcp 32782
100249 1 udp 32786
100249 1 tcp 32783
1289637086 5 tcp 32784
1289637086 1 tcp 32784
# rpcinfo -T udp solaris9 rpcbind
program 100000 version 2 ready and waiting
program 100000 version 3 ready and waiting
program 100000 version 4 ready and waiting
#

Some process or processes is already claiming to offer nfs and mountd rpc's... can you contact them?

rpcinfo -T udp `hostname` nfs
rpcinfo -T udp `hostname` mountd

Umm...are you already running the servers???

ps -ef | grep nfs

duuhhh i am such a doofus it was already running..but perderabo what purpose does running rpcinfo -T what are u looking 4 and when should u run it

Those last 2 rpc commands just call the nfs and mountd servers to see if they are responding at all.

oh ok thanx yo u really helped me out hey if i have more questions i'll be pinging u!