Sponsored Content
Full Discussion: NIS Client issues
Operating Systems Solaris NIS Client issues Post 302301746 by Keepcase on Saturday 28th of March 2009 12:40:49 AM
Old 03-28-2009
I couldn't get much out of this, but I thought I'd post the truss ypcat hosts command for anyone that could understand this

# truss ypcat hosts
execve("/usr/bin/ypcat", 0x08047E44, 0x08047E50) argc = 2
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
resolvepath("/usr/bin/ypcat", "/usr/bin/ypcat", 1023) = 14
sysconfig(_CONFIG_PAGESIZE) = 4096
xstat(2, "/usr/bin/ypcat", 0x08047C28) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
xstat(2, "/lib/libnsl.so.1", 0x08047458) = 0
resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
open("/lib/libnsl.so.1", O_RDONLY) = 3
mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
mmap(0x00010000, 647168, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF10000
mmap(0xFEF10000, 525049, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF10000
mmap(0xFEFA1000, 19869, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 528384) = 0xFEFA1000
mmap(0xFEFA6000, 30032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEFA6000
munmap(0xFEF91000, 65536) = 0
memcntl(0xFEF10000, 57812, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
xstat(2, "/lib/libc.so.1", 0x08047458) = 0
resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
open("/lib/libc.so.1", O_RDONLY) = 3
mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
mmap(0x00010000, 1204224, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDE0000
mmap(0xFEDE0000, 1095677, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEDE0000
mmap(0xFEEFC000, 30375, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 1097728) = 0xFEEFC000
mmap(0xFEF04000, 4432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF04000
munmap(0xFEEEC000, 65536) = 0
memcntl(0xFEDE0000, 123776, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEEF0000
munmap(0xFEFB0000, 32768) = 0
getcontext(0x080479E0)
getrlimit(RLIMIT_STACK, 0x080479D8) = 0
getpid() = 1572 [1571]
lwp_private(0, 1, 0xFEEF2A00) = 0x000001C3
setustack(0xFEEF2A60)
sigfillset(0xFEF03E90) = 0
sysi86(SI86FPSTART, 0xFEF04800, 0x0000133F, 0x00001F80) = 0x00000001
sysinfo(SI_SRPC_DOMAIN, "atkinson.com", 256) = 13
open("/var/yp/nicknames", O_RDONLY) = 3
fstat64(3, 0x08047C40) = 0
brk(0x08063060) = 0
brk(0x08067060) = 0
fstat64(3, 0x08047B80) = 0
ioctl(3, TCGETA, 0x08047C14) Err#25 ENOTTY
read(3, " p a s s w d p a s s w".., 8192) = 226
sysconfig(_CONFIG_PAGESIZE) = 4096
llseek(3, 0xFFFFFFFFFFFFFF89, SEEK_CUR) = 107
close(3) = 0
getpid() = 1572 [1571]
open("/var/yp/binding/atkinson.com/cache_binding", O_RDONLY|O_LARGEFILE) = 3
fcntl(3, F_DUPFD, 0x00000100) Err#22 EINVAL
fcntl(3, F_GETLK, 0x080476A8) = 0
read(3, "\0\0\001\0\0\001\0\0\001".., 1024) = 132
close(3) = 0
open("/dev/udp", O_RDWR) = 3
ioctl(3, I_FIND, "timod") = 0
ioctl(3, I_PUSH, "timod") = 0
schedctl() = 0xFEFF7000
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(3, I_STR, 0x08047670) = 0
fxstat(2, 3, 0x08047610) = 0
brk(0x08067060) = 0
brk(0x08069060) = 0
ioctl(3, I_STR, 0x08047670) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(3, I_FLUSH, FLUSHRW) = 0
sigaction(SIGSYS, 0x08047670, 0x080476F0) = 0
is_system_labeled() = 0
sigaction(SIGSYS, 0x08047670, 0x080476F0) = 0
fxstat(2, 3, 0x08047660) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(3, I_STR, 0x08047700) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
brk(0x08069060) = 0
brk(0x0806F060) = 0
fxstat(2, 3, 0x08047600) = 0
ioctl(3, I_STR, 0x08047690) = 0
fxstat(2, 3, 0x08047500) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(3, I_STR, 0x080475A0) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
brk(0x0806F060) = 0
brk(0x08073060) = 0
getpid() = 1572 [1571]
fxstat(2, 3, 0x080475B0) = 0
ioctl(3, I_STR, 0x080476C0) = 0
brk(0x08073060) = 0
brk(0x08075060) = 0
fxstat(2, 3, 0x080477A0) = 0
fcntl(3, F_SETFD, 0x00000001) = 0
open("/dev/udp", O_RDWR) = 4
ioctl(4, I_FIND, "timod") = 0
ioctl(4, I_PUSH, "timod") = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_STR, 0x08047700) = 0
fxstat(2, 4, 0x080476A0) = 0
brk(0x08075060) = 0
brk(0x08077060) = 0
brk(0x08077060) = 0
brk(0x08079060) = 0
ioctl(4, I_STR, 0x08047700) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_FLUSH, FLUSHRW) = 0
getuid() = 0 [0]
fxstat(2, 4, 0x08047620) = 0
fxstat(2, 4, 0x08047600) = 0
ioctl(4, I_STR, 0x08047690) = 0
fxstat(2, 4, 0x080475B0) = 0
ioctl(4, I_STR, 0x080476C0) = 0
fxstat(2, 4, 0x080475D0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_STR, 0x08047670) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 4, 0x080475C0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_STR, 0x08047660) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 4, 0x080475D0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_STR, 0x08047670) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 4, 0x080476E0) = 0
fxstat(2, 4, 0x080476C0) = 0
ioctl(4, I_STR, 0x08047760) = 0
fxstat(2, 4, 0x08047620) = 0
ioctl(4, I_STR, 0x080476B0) = 0
fxstat(2, 4, 0x08047520) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(4, I_STR, 0x080475C0) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
brk(0x08079060) = 0
brk(0x0807D060) = 0
getpid() = 1572 [1571]
fxstat(2, 4, 0x080475D0) = 0
ioctl(4, I_STR, 0x080476E0) = 0
brk(0x0807D060) = 0
brk(0x0807F060) = 0
fxstat(2, 4, 0x080477C0) = 0
getuid() = 0 [0]
getpid() = 1572 [1571]
open("/proc/1572/psinfo", O_RDONLY) = 5
read(5, "\0\0\00201\0\0\0 $06\0\0".., 336) = 336
close(5) = 0
mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFB0000
getuid() = 0 [0]
getuid() = 0 [0]
open64("/var/run/name_service_door", O_RDONLY) = 5
fcntl(5, F_SETFD, 0x00000001) = 0
door_info(5, 0xFEEFD45C) = 0
door_call(5, 0x08047618) = 0
brk(0x0807F060) = 0
brk(0x08081060) = 0
mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDC0000
getuid() = 0 [0]
getuid() = 0 [0]
door_info(5, 0x080475C0) = 0
door_call(5, 0x08047618) = 0
brk(0x08081060) = 0
brk(0x08083060) = 0
open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 6
fcntl(6, F_DUPFD, 0x00000100) Err#22 EINVAL
read(6, " # p r a g m a i d e n".., 1024) = 1024
read(6, " t s t p i _ c".., 1024) = 215
read(6, 0x0807E0D8, 1024) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, " # p r a g m a i d e n".., 1024) = 1024
read(6, " t s t p i _ c".., 1024) = 215
read(6, 0x0807E0D8, 1024) = 0
close(6) = 0
open("/dev/udp", O_RDONLY) = 6
ioctl(6, SIOCGLIFNUM, 0x0804782C) = 0
close(6) = 0
open("/dev/tcp", O_RDWR) = 6
ioctl(6, I_FIND, "timod") = 0
ioctl(6, I_PUSH, "timod") = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(6, I_STR, 0x08047710) = 0
fxstat(2, 6, 0x080476B0) = 0
ioctl(6, I_STR, 0x08047710) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(6, I_FLUSH, FLUSHRW) = 0
getuid() = 0 [0]
fxstat(2, 6, 0x08047630) = 0
fxstat(2, 6, 0x08047610) = 0
ioctl(6, I_STR, 0x080476A0) = 0
fxstat(2, 6, 0x080475C0) = 0
ioctl(6, I_STR, 0x080476D0) = 0
fxstat(2, 6, 0x080475E0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(6, I_STR, 0x08047680) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 6, 0x080475D0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(6, I_STR, 0x08047670) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 6, 0x080475E0) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(6, I_STR, 0x08047680) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 6, 0x08047700) = 0
ioctl(6, I_STR, 0x08047810) = 0
open("/dev/udp", O_RDONLY) = 7
ioctl(7, SIOCGLIFNUM, 0x08047740) = 0
close(7) = 0
getuid() = 0 [0]
getuid() = 0 [0]
door_info(5, 0x08047430) = 0
door_call(5, 0x08047488) = 0
open("/etc/default/nss", O_RDONLY|O_LARGEFILE) = 7
fcntl(7, F_DUPFD, 0x00000100) Err#22 EINVAL
read(7, " # i d e n t\t " @ ( #".., 1024) = 1024
read(7, " y t h o s e\n # f u n".., 1024) = 211
read(7, 0x080814A0, 1024) = 0
close(7) = 0
brk(0x08083060) = 0
brk(0x08085060) = 0
open("/dev/udp", O_RDWR) = 7
ioctl(7, I_FIND, "timod") = 0
ioctl(7, I_PUSH, "timod") = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(7, I_STR, 0x080475A0) = 0
fxstat(2, 7, 0x08047540) = 0
ioctl(7, I_STR, 0x080475A0) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(7, I_FLUSH, FLUSHRW) = 0
fxstat(2, 7, 0x08047590) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(7, I_STR, 0x08047630) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 7, 0x08047530) = 0
ioctl(7, I_STR, 0x080475C0) = 0
fxstat(2, 7, 0x08047430) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
ioctl(7, I_STR, 0x080474D0) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
brk(0x08085060) = 0
brk(0x080A5060) = 0
getpid() = 1572 [1571]
fxstat(2, 7, 0x080474E0) = 0
ioctl(7, I_STR, 0x080475F0) = 0
brk(0x080A5060) = 0
brk(0x080A7060) = 0
time() = 1238215043
fxstat(2, 7, 0x08047570) = 0
putmsg(7, 0x0804764C, 0x080476F4, 0) = 0
pollsys(0x080832FC, 1, 0x08047678, 0x00000000) = 1
fxstat(2, 7, 0x08047560) = 0
getmsg(7, 0x0804763C, 0x0807E1B8, 0x0804765C) = 0
fxstat(2, 7, 0x08047660) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
close(7) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fxstat(2, 6, 0x08047740) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
close(6) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
getpid() = 1572 [1571]
open("/proc/1572/psinfo", O_RDONLY) = 6
read(6, "\0\0\00201\0\0\0 $06\0\0".., 336) = 336
close(6) = 0
fxstat(2, -1, 0x08046C68) Err#9 EBADF
open("/dev/conslog", O_WRONLY) = 6
fcntl(6, F_SETFD, 0x00000001) = 0
fxstat(2, 6, 0x08046C68) = 0
fxstat(2, 6, 0x08046E88) = 0
time() = 1238215043
open("/usr/share/lib/zoneinfo/Canada/Eastern", O_RDONLY) = 7
fstat64(7, 0x08046B90) = 0
mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEDA0000
read(7, " T Z i f\0\0\0\0\0\0\0\0".., 1252) = 1252
close(7) = 0
getpid() = 1572 [1571]
putmsg(6, 0x08047848, 0x08047854, 0) = 0
open("/var/run/syslog_door", O_RDONLY) = 7
door_info(7, 0x08046CA0) = 0
getpid() = 1572 [1571]
door_call(7, 0x08046CD8) = 0
close(7) = 0
fxstat(2, 4, 0x08047820) = 0
fxstat(2, 4, 0x08047780) = 0
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
close(4) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
fstat64(2, 0x080470D0) = 0
RPC failure on yp operationwrite(2, " R P C f a i l u r e ".., 27) = 27

write(2, "\n", 1) = 1
_exit(1)
 

10 More Discussions You Might Find Interesting

1. Solaris

Unregietred a nis+ client

Hi, How can I unregistered a nis+ client. I want it works without nis+. Bests regards (2 Replies)
Discussion started by: omainfroy
2 Replies

2. AIX

Use AIX as NIS client

Hi everyone. Has anyone here used AIX as a NIS client to a Linux server? If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients. On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies

3. AIX

AIX NIS client

All, I have just started using AIX (Solaris admin here) and I need to setup my new AIX box as an NIS client. Where would I do this? Thanks for the help! -Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies

4. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

5. Solaris

NIS - Client Not loggin in

Friends n Gurus I am creating an NIS farm(Solaris only) in my office. I have successfully configured the NIS master and slave servers and a few NIS clients. However i am not able to log into a few of my NIS clients. The commands "ypcat passwd" is displaying the NIS user. However when i try to... (5 Replies)
Discussion started by: Renjesh
5 Replies

6. AIX

AIX NIS Client to Linux

Hi, I have a trouble with configure NIS Client on AIX, my NIS server is on a Linux machine. After configure, some old NIS account could login normally. However, after I create new account from NIS server, I could not login with the new account, but could only su to that account. And I could view... (20 Replies)
Discussion started by: aloneattack
20 Replies

7. Solaris

Solaris 10 NIS Client

Hi all, Recently i have implemented NIS functionality in solaris 10 and i have created server and client with user in server side by giving useradd -d /export/home/user1 -m -s /bin/sh user1 after that I went to /var/yp dir and give /usr/ccs/bin/make so that it will refelect to client... (2 Replies)
Discussion started by: esungoe
2 Replies

8. Solaris

Problem with NIS client

Hi All, In my network infra, there is a NIS master server and many more NIS slave servers. Now, I want every client to set with master server and one possible slave server so that if master goes down, client could still get info from slave server. The servers will be listed on... (0 Replies)
Discussion started by: naw_deepak
0 Replies

9. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

10. HP-UX

NIS Master and Client problem

I have a NIS Master server and NIS Clients. But when I started the service all the process and files that should be owne by root apper by the owner 0 This is an example 0 1709 1708 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4 0 1710 1709 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4 0 1708 1 0 10:06:10 ? 0:00... (2 Replies)
Discussion started by: GCSG
2 Replies
All times are GMT -4. The time now is 03:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy