[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AIX 4.3.3, ioctl: No such device or address
From: |
John Valdes |
Subject: |
Re: AIX 4.3.3, ioctl: No such device or address |
Date: |
Fri, 6 Apr 2001 10:28:37 -0500 |
On Fri, Apr 06, 2001 at 12:25:04PM +0200, Rune Mossige wrote:
>
> cfengine 1.6.2 and 1.6.3 on AIX 4.3.3 generate the message below on every
> run, but it apears to just continue, and get it's job done.
>
> Have anyone else seen anything similar, or know a way around it? cfengine
> compiled with the AIX compiler.
>
> svnfs01: No such network device
> svnfs01: ioctl: No such device or address
> cfengine:svnfs01:n/cfengine -f /: svnfs01: No such network device
> cfengine:svnfs01:n/cfengine -f /: svnfs01: ioctl: No such device or address
I encountered a similar problem on another platform. In src/misc.c
around line 287, there's an ioctl() which is used to get the list of
interfaces:
if (ioctl(fd, SIOCGIFCONF, &list) == -1 ||
(list.ifc_len < (sizeof(struct ifreq))))
Try changing SIOCGIFCONF to OSIOCGIFCONF and see if that helps.
John