Operating System - HP-UX
1837930 Members
3784 Online
110124 Solutions
New Discussion

chk_dup_ipaddr error: No such file or directory

 
Stephen Keane
Honored Contributor

chk_dup_ipaddr error: No such file or directory

I tried running the following command

# ifconfig lo0 127.0.0.1 up

On one system (with lo0 already up) no problem. On another system (with lo0 already up) I get chk_dup_ipaddr error: No such file or directory.

Both systems 11.11. any clues what the problem is? I've included a tusc output, but it doesn't make a whole lot of sense as it seems to be doing an ioctl() call on a socket with a hex number that tusc can't map.

e.g.

getuid() ................................................. = 0 (0)
socket(AF_INET, SOCK_DGRAM, 0) ........................... = 4
socket(AF_INET, SOCK_DGRAM, 0) ........................... = 5
ioctl(5, SIOCGIFINDEX, 0x7f7f03a8) ....................... = 0
ioctl(5, 0xc0046946, 0x7f7f039c) ......................... ERR#2 ENOENT
close(5) ................................................. = 0
open("/usr/lib/nls/msg/C/strerror.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/usr/lib/nls/C///strerror.cat", O_RDONLY, 0177777) . = 5
fstat(5, 0x7f7f18a0) ..................................... = 0
fcntl(5, F_SETFD, 1) ..................................... = 0
lseek(5, 0, SEEK_SET) .................................... = 0
read(5, "m s g c a t 0 1 \0\0\0f9\001\001".., 1212) ...... = 1212
lseek(5, 3016, SEEK_SET) ................................. = 3016
read(5, "N o s u c h f i l e o r ".., 25) ........ = 25
close(5) ................................................. = 0
chk_dup_ipaddr error: No such file or directory

Note this is the tusc from the one that doesn't work!
3 REPLIES 3
Stephen Keane
Honored Contributor

Re: chk_dup_ipaddr error: No such file or directory

I can run

# ifconfig lo0

OK, but I can't ping 127.0.0.1

I can run

# ifconfig lan0 A.B.C.D

OK and can ping it.

I can run

# ifconfig lan0 A.B.C.D up

OK.

Any clues?
Miguel Rodriguez_3
Frequent Advisor

Re: chk_dup_ipaddr error: No such file or directory

Did you solve this?
Stephen Keane
Honored Contributor

Re: chk_dup_ipaddr error: No such file or directory

Yes, the problem was fixed. It was some time ago now, but (from memory) I believe the problem was fixed by running autopush -f /etc/stcp.conf (probably)