From owner-freebsd-emulation Fri Aug 31 12:58:34 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by hub.freebsd.org (Postfix) with ESMTP id 2005337B407 for ; Fri, 31 Aug 2001 12:58:28 -0700 (PDT) Received: (from fpscha@localhost) by ns1.via-net-works.net.ar (8.9.3/8.9.3) id QAA60727 for freebsd-emulation@freebsd.org; Fri, 31 Aug 2001 16:58:44 -0300 (ART) X-Authentication-Warning: ns1.via-net-works.net.ar: fpscha set sender to fschapachnik@vianetworks.com.ar using -f Date: Fri, 31 Aug 2001 16:58:44 -0300 From: Fernando Schapachnik To: freebsd-emulation@freebsd.org Subject: ArcServer on FreeBSD Message-ID: <20010831165844.B10730@ns1.via-net-works.net.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm trying to port ArcServer 2000 Agent for Linux to FreeBSD (under emulation, actually). I plan to write a how-to on completition. I managed it to backup, but I'm having problems making it restore. I wonder is somebody would have an idea: On the logs, I find: 08/31 15:24:17(1177) - (DecideShmBuf) Failed to get shared memory (Can't assign memory) A ktrace: 1419 uagentd NAMI "/opt/uagent/logs/uag.ipc" 1419 uagentd RET access 0 1419 uagentd CALL getrusage(0x17,0,0x801408,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7e13f8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7c13e8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7a13d8,0x180,0) 1419 uagentd RET getrusage -1 errno -22 Unknown error: -22 1419 uagentd CALL getrusage(0x17,0,0x7813c8,0x180,0) 1419 uagentd RET getrusage -1 errno -12 Unknown error: -12 1419 uagentd CALL recvmsg(0xb4) 1419 uagentd RET recvmsg 0 1419 uagentd CALL pwrite(0xe,0xbfbfa9dc,0xbfbfa950,0x8) 1419 uagentd RET pwrite 0 1419 uagentd CALL old.recv(0x9,0xbfbfabc0) 1419 uagentd GIO fd 7 wrote 90 bytes "\0\0002\0\0\0\0R\0\0\0\f\0\0\0\^B\^B\v(DecideShmBuf) Failed to get \ shared memory (cannot assign memory)\0" The machine seems to have enough shared memory: kern.ipc.shmmax: 4194304 kern.ipc.shmmin: 1 kern.ipc.shmmni: 96 kern.ipc.shmseg: 64 kern.ipc.shmall: 1024 kern.ipc.shm_use_phys: The documentation says: System shared memory: -------------------- For certain OS release, the default max shared memory segment size (SHMMAX) is not big enough for the Client Agent to function properly. The SHMMAX value must be set to a minimum of 1048576. Any ideas? Thanks! Fernando P. Schapachnik Planificación de red y tecnología VIA NET.WORKS ARGENTINA S.A. fschapachnik@vianetworks.com.ar Tel.: (54-11) 4323-3381 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message