LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[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.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell