help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX 4.3.3, ioctl: No such device or address


From: Rune Mossige
Subject: Re: AIX 4.3.3, ioctl: No such device or address
Date: Tue, 17 Apr 2001 09:21:55 +0200 (CEST)

Thanks, that cured it. Edited src/misc.c as suggested, recompiled, and
problem solved. Thanks.

On Fri, 6 Apr 2001, John Valdes wrote:

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

-------------------------------------------------------------------
(-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded machines appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
-------------------------------------------------------------------
Rune Mossige, Systems Support, WesternGeco, Stavanger, Norway
Tel: (+47)51946869                         Mobile:(+47)90871024




reply via email to

[Prev in Thread] Current Thread [Next in Thread]