help-cfengine
[Top][All Lists]
Advanced

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

ioctl: cannot allocate memory 2.1.18


From: Brian E. Seppanen
Subject: ioctl: cannot allocate memory 2.1.18
Date: Wed, 1 Feb 2006 08:26:13 -0500 (EST)

I sent the following message yesterday. Is there anything that I can do to assist in isolating what might be causing the problem below? I've had to revert back to 2.1.13 until I can get this server ( and it's mirror ) squared away. It's not dumping core, so I can't use gdb on it.

strace gives not much more info.
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001e000
read(3, "127.0.0.1\tlocalhost\n24.196.48.42"..., 8192) = 370
read(3, "", 8192)                       = 0
close(3)                                = 0
munmap(0x7001e000, 8192)                = 0
write(1, "Address given by nameserver: 24."..., 42Address given by nameserver: 24.196.48.42
) = 42
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, 0x8912, {262144, effbf9b0}) = -1 ENOMEM (Cannot allocate memory)
write(1, ": Couldn\'t get interfaces\n", 26: Couldn't get interfaces
) = 26
write(1, ": ioctl: Cannot allocate memory\n", 32: ioctl: Cannot allocate memory
) = 32
write(1, "\n", 1
)                       = 1
munmap(0x7001c000, 8192)                = 0
exit_group(1)                           = ?



-------------------------------------------------------------------------------



I have a linux debian 3.1 host that is running on a Sun Netra 1405 Sparc Architecture. I just compiled cfengine-2.1.18 on this host and when I try to restart cfservd I get the following

: Couldn't get interfaces
: ioctl: Cannot allocate memory

I get the same output when trying to run cfagent. The following is all that I get before the errors.

Setting cfengine new port to 5308
Setting cfengine old port to 5308
Reference time set to Tue Jan 31 12:23:45 2006

GNU Configuration Engine -
2.1.18
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway

------------------------------------------------------------------------


Operating System Type is linux
Operating System Release is 2.4.27.08032005
Architecture = sparc64


Using internal soft-class linux for host linux

The time is now Tue Jan 31 12:23:45 2006


------------------------------------------------------------------------

Additional hard class defined as: 32_bit
Additional hard class defined as: linux_2_4_27_08032005
Additional hard class defined as: linux_sparc64
Additional hard class defined as: linux_sparc64_2_4_27_08032005
Additional hard class defined as: linux_sparc64_2_4_27_08032005__1_SMP_Wed_Aug_3_10_56_05_CDT_2005

GNU autoconf class from compile time: compiled_on_linux_gnu

I've likewise tried to use 2.1.17 and that failed as well. The source code I downloaded was the latest snapshot.

Anyone have any idea what might be causing this?

Brian Seppanen
608.826.1464




reply via email to

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