nfs server with 6.3.0

Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now changed to
QNX6.3.0 I could not find the exported file system, nfs server is started
with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner

Hello Werner,

It looks like you’re starting everything required for 6.3.

What happens if you try:

rpcbind -l

nfsd

rpcinfo -p

showmount -e

sloginfo

Regards,
Barry

“Werner Benz” <werner.benz@ndt-ag.de> wrote in message
news:cedgpa$m3e$1@inn.qnx.com

Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now changed to
QNX6.3.0 I could not find the exported file system, nfs server is started
with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner

Hello Barry,
thank’s for your support. Here is the output of your suggested commands:

/etc >rpcbind -l

/etc >nfsd

Process 897035 (nfsd) exited status=0.

/etc >rpcinfo -p

rpcinfo: can’t contact portmapper: RPC: Remote system error - Connection
refused

Process 921611 (rpcinfo) exited status=1.

/etc >showmount -e

RPC: Unknown host
Can’t do Exports rpc

Process 929803 (showmount) exited status=1.

/etc >sloginfo

Time Sev Major Minor Args
Aug 02 10:25:05 rpcbind: cannot get local address for udp: servname not
supported for ai_socktype
Aug 02 10:25:05 rpcbind: cannot get local address for tcp: servname not
supported for ai_socktype
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)

I don’t know what is going wrong, seems to be that the local host is not
known by rpcbind.

Werner

“OS Support” <os@qnx.com> schrieb im Newsbeitrag
news:cee5e6$76p$1@inn.qnx.com

Hello Werner,

It looks like you’re starting everything required for 6.3.

What happens if you try:

rpcbind -l

nfsd

rpcinfo -p

showmount -e

sloginfo

Regards,
Barry

“Werner Benz” <> werner.benz@ndt-ag.de> > wrote in message
news:cedgpa$m3e$> 1@inn.qnx.com> …
Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now changed to
QNX6.3.0 I could not find the exported file system, nfs server is
started
with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner
\

Hello,

I’ve just check it, it works in QNX 6.3

from QNX 6.3 nfs server setup:

/etc/exports

pidin


151572 4 usr/sbin/syslogd 10o RECEIVE 1
159765 1 usr/sbin/inetd 10o SIGWAITINFO
167958 1 usr/bin/portmap 10o SIGWAITINFO
176151 1 usr/sbin/nfsd 10o SIGWAITINFO
192531 1 bin/login 10o REPLY 7

and from nfs client side I use fs-nfs3 utility to mount remote directories.

Regards,
Igor.
Werner Benz wrote:

Hello Barry,
thank’s for your support. Here is the output of your suggested commands:

/etc >rpcbind -l

/etc >nfsd

Process 897035 (nfsd) exited status=0.

/etc >rpcinfo -p

rpcinfo: can’t contact portmapper: RPC: Remote system error - Connection
refused

Process 921611 (rpcinfo) exited status=1.

/etc >showmount -e

RPC: Unknown host
Can’t do Exports rpc

Process 929803 (showmount) exited status=1.

/etc >sloginfo

Time Sev Major Minor Args
Aug 02 10:25:05 rpcbind: cannot get local address for udp: servname not
supported for ai_socktype
Aug 02 10:25:05 rpcbind: cannot get local address for tcp: servname not
supported for ai_socktype
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)

I don’t know what is going wrong, seems to be that the local host is not
known by rpcbind.

Werner

“OS Support” <> os@qnx.com> > schrieb im Newsbeitrag
news:cee5e6$76p$> 1@inn.qnx.com> …

Hello Werner,

It looks like you’re starting everything required for 6.3.

What happens if you try:

rpcbind -l

nfsd

rpcinfo -p

showmount -e

sloginfo

Regards,
Barry

“Werner Benz” <> werner.benz@ndt-ag.de> > wrote in message
news:cedgpa$m3e$> 1@inn.qnx.com> …

Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now changed to
QNX6.3.0 I could not find the exported file system, nfs server is

started

with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner


\

Which TCP stack are you using? The large stack or the tiny stack?
Do you have an /etc/services file and if so, does it contain an entry
for rpc? It should be listening on TCP and UDP ports 111.

$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *.111 . LISTEN
tcp 0 0 *.9 . LISTEN
tcp 0 0 *.23 . LISTEN
tcp 0 0 *.21 . LISTEN
udp 0 0 *.2049 .
udp 0 0 *.1018 .
udp 0 0 *.111 .
udp 0 0 . .
udp 0 0 *.9 .
udp 0 0 *.69 .
Active Internet6 connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp6 0 0 *.111 . LISTEN
tcp6 0 0 *.23 . LISTEN
udp6 0 0 . .
udp6 0 0 *.605 .
udp6 0 0 *.111 .
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
80ec9e0 stream 0 0 8073698 0 0 0
/var/run/rpcbi
nd.sock

Regards,
Barry

“Werner Benz” <werner.benz@ndt-ag.de> wrote in message
news:ceks26$5v3$1@inn.qnx.com

Hello Barry,
thank’s for your support. Here is the output of your suggested commands:

/etc >rpcbind -l

/etc >nfsd

Process 897035 (nfsd) exited status=0.

/etc >rpcinfo -p

rpcinfo: can’t contact portmapper: RPC: Remote system error - Connection
refused

Process 921611 (rpcinfo) exited status=1.

/etc >showmount -e

RPC: Unknown host
Can’t do Exports rpc

Process 929803 (showmount) exited status=1.

/etc >sloginfo

Time Sev Major Minor Args
Aug 02 10:25:05 rpcbind: cannot get local address for udp: servname not
supported for ai_socktype
Aug 02 10:25:05 rpcbind: cannot get local address for tcp: servname not
supported for ai_socktype
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)

I don’t know what is going wrong, seems to be that the local host is not
known by rpcbind.

Werner

“OS Support” <> os@qnx.com> > schrieb im Newsbeitrag
news:cee5e6$76p$> 1@inn.qnx.com> …
Hello Werner,

It looks like you’re starting everything required for 6.3.

What happens if you try:

rpcbind -l

nfsd

rpcinfo -p

showmount -e

sloginfo

Regards,
Barry

“Werner Benz” <> werner.benz@ndt-ag.de> > wrote in message
news:cedgpa$m3e$> 1@inn.qnx.com> …
Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now changed
to
QNX6.3.0 I could not find the exported file system, nfs server is
started
with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner


\

Hi Barry,
thank you for the hint, it was the services file. It was taken from a
previous installation wiht QNX621 and the aliases for sunrpc were missing.
Using the new from the QNX6.3. it is working fine now.
Regards,
Werner

“OS Support” <os@qnx.com> schrieb im Newsbeitrag
news:ceon8h$5as$1@inn.qnx.com

Which TCP stack are you using? The large stack or the tiny stack?
Do you have an /etc/services file and if so, does it contain an entry
for rpc? It should be listening on TCP and UDP ports 111.

$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *.111 . LISTEN
tcp 0 0 *.9 . LISTEN
tcp 0 0 *.23 . LISTEN
tcp 0 0 *.21 . LISTEN
udp 0 0 *.2049 .
udp 0 0 *.1018 .
udp 0 0 *.111 .
udp 0 0 . .
udp 0 0 *.9 .
udp 0 0 *.69 .
Active Internet6 connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp6 0 0 *.111 . LISTEN
tcp6 0 0 *.23 . LISTEN
udp6 0 0 . .
udp6 0 0 *.605 .
udp6 0 0 *.111 .
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
80ec9e0 stream 0 0 8073698 0 0 0
/var/run/rpcbi
nd.sock

Regards,
Barry

“Werner Benz” <> werner.benz@ndt-ag.de> > wrote in message
news:ceks26$5v3$> 1@inn.qnx.com> …
Hello Barry,
thank’s for your support. Here is the output of your suggested commands:

/etc >rpcbind -l

/etc >nfsd

Process 897035 (nfsd) exited status=0.

/etc >rpcinfo -p

rpcinfo: can’t contact portmapper: RPC: Remote system error - Connection
refused

Process 921611 (rpcinfo) exited status=1.

/etc >showmount -e

RPC: Unknown host
Can’t do Exports rpc

Process 929803 (showmount) exited status=1.

/etc >sloginfo

Time Sev Major Minor Args
Aug 02 10:25:05 rpcbind: cannot get local address for udp: servname not
supported for ai_socktype
Aug 02 10:25:05 rpcbind: cannot get local address for tcp: servname not
supported for ai_socktype
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)
Aug 02 10:25:09 rpcbind: connect from local to set(100003)
Aug 02 10:25:09 rpcbind: connect from local to set(100005)

I don’t know what is going wrong, seems to be that the local host is not
known by rpcbind.

Werner

“OS Support” <> os@qnx.com> > schrieb im Newsbeitrag
news:cee5e6$76p$> 1@inn.qnx.com> …
Hello Werner,

It looks like you’re starting everything required for 6.3.

What happens if you try:

rpcbind -l

nfsd

rpcinfo -p

showmount -e

sloginfo

Regards,
Barry

“Werner Benz” <> werner.benz@ndt-ag.de> > wrote in message
news:cedgpa$m3e$> 1@inn.qnx.com> …
Hello,
wiht QNX6.2.1 nfs server was working on an embedded PPC board with
portmap,nfsd and the appropriate entries in /etc/exports. Now
changed
to
QNX6.3.0 I could not find the exported file system, nfs server is
started
with rpcbind, nfsd and the old /etc/exports entries.
Is belonging to nfs servers something else to change with QNX6.3.0??
Any hints are welcome,
Thank you,
Werner




\