portmap (initscript) problem
Feczak Szabolcs
feczo at siodigit.hu
Wed Dec 1 13:18:34 UTC 2004
When I run nfs-kernel-server I cannot access it from other machine.
I set up everything as documented in /etc/exports, hosts.allow
and so on .. I have traced back the problem with tcpdump and nmap,
that the portmap service doesn't bind to the network ip, only to
local ip so If I do :
root at pix:~ # rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
its fine
But for the LAN ip
root at pix:~ # rpcinfo -p pix.sdi.hu
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection
refused
it fails ...
If I stop the service with the init.d script, and run
it by hand like:
portmap -d
or without debug mode, just portmap
than rpcinfo for pix.sdi.hu also reports back fine
Whats the problem with the initscript ?
More information about the ubuntu-users
mailing list