[ILUG] wierd NIS problem
[ILUG] wierd NIS problem
John P . Looney
john at antefacto.com
Mon Feb 26 17:45:37 GMT 2001
On Mon, Feb 26, 2001 at 05:37:11PM +0000, Dave Airlie mentioned:
> ping localhost? firewall on localhost not setup correctly.. rpcinfo -p
> localhost and see what that says ... strace rpcinfo -u localhost ypserv..
No firewall on this box...
[root at dogbert /root]# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 784 ypbind
100007 2 tcp 786 ypbind
100011 1 udp 722 rquotad
100011 2 udp 722 rquotad
100003 2 udp 2049 nfs
100005 1 udp 1028 mountd
100005 1 tcp 1031 mountd
100005 2 udp 1028 mountd
100005 2 tcp 1031 mountd
100004 2 udp 1014 ypserv
100004 1 udp 1014 ypserv
100004 2 tcp 1017 ypserv
100004 1 tcp 1017 ypserv
Strace doesn't seem too helpful;
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
brk(0x8053000) = 0x8053000
gettimeofday({983209176, 259948}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
getpid() = 3100
bind(4, {sin_family=AF_INET, sin_port=htons(732),
sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
ioctl(4, FIONBIO, [1]) = 0
sendto(4, "yGG@\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3\0\0\0"..., 56,
0, {sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "yGG@\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\366"...,
400, 0, {sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 28
close(4) = 0
sendto(3, "^$@*\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\0\0\0\0\0\0\0\0"..., 40,
0, {sin_family=AF_INET, sin_port=htons(1014),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 40
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(3, "^$@*\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0"...,
8800, 0, {sin_family=AF_INET, sin_port=htons(1014),
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 32
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
bind(4, {sin_family=AF_INET, sin_port=htons(733),
sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
ioctl(4, FIONBIO, [1]) = 0
sendto(4, "a>\217,\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3\0\0"...,
56, 0, {sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4,
"a>\217,\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\366"..., 400, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, [16]) = 28
close(4) = 0
sendto(3, "?\373\35\v\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\1\0\0\0\0"..., 40,
0, {sin_family=AF_INET, sin_port=htons(1014),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 40
poll( [{fd=3, events=POLLIN}], 1, 5000) = 0
ioctl(3, SIOCGIFCONF, 0xbfffd5d4) = 0
ioctl(3, SIOCGIFFLAGS, 0xbfffd5e4) = 0
sendto(3, "?\373\35\v\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\1\0\0\0\0"..., 40,
0, {sin_family=AF_INET, sin_port=htons(1014),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 40
Kate, the confused
--
Why do they come to me to die ?
More information about the ILUG
mailing list
Read this without the formatting .