From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 14:41:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6191D37B401 for ; Mon, 7 Jul 2003 14:41:24 -0700 (PDT) Received: from epsb.ca (relay.epsb.ca [198.161.119.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E1D43F93 for ; Mon, 7 Jul 2003 14:41:23 -0700 (PDT) (envelope-from kirk.davis@epsb.ca) Received: from exchange05.epsb.edmonton.ab.ca (exchange05.epsb.ca [10.0.5.14]) by epsb.ca (8.11.3/8.11.3) with ESMTP id h67LfNi81308 for ; Mon, 7 Jul 2003 15:41:23 -0600 (MDT) (envelope-from kirk.davis@epsb.ca) Received: by exchange05.epsb.ca with Internet Mail Service (5.5.2653.19) id <33NHLRAW>; Mon, 7 Jul 2003 15:41:01 -0600 Message-ID: From: Kirk Davis To: "'freebsd-questions@freebsd.org'" Date: Mon, 7 Jul 2003 15:35:31 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C344CF.B0ED0BF0" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Nwclient-6.0.2 core dumps on startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 21:41:25 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C344CF.B0ED0BF0 Content-Type: text/plain; charset="iso-8859-1" Hi, I have installed the Networker client from the ports (/usr/ports/net/sysutils/nwclient602). The clients seems to run fine when started up manualy as the root user. When I create a shell script in /usr/local/etc/rc.d it core dumps on startup with the following error: Jul 7 15:35:00 bifrost2 /kernel: pid 951 (nsrexecd), uid 0: exited on signal 10 (core dumped) I have tried to create an AT command to run it after the server is up without any luck. It always runs fine when started manually though. The port is a binary port so I don't have source to look at. Here is a GDB dump of the core file.... # gdb /usr/local/nsr/bin/nsrexecd nsrexecd.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Core was generated by `nsrexecd'. Program terminated with signal 10, Bus error. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x809bcb9 in getsockname () Does anyone have any idea on how to get this thing to startup on boot? Am I the only one using this port? What is different when running something from boot,at, or cron than from the command line? ---- Kirk Kirk Davis Senior Network Analyst, ITS Edmonton Public Schools 1-780-429-8308 kirk.davis@epsb.ca <> ------_=_NextPart_000_01C344CF.B0ED0BF0 Content-Type: application/octet-stream; name="Kirk Davis (Kirk Davis).vcf" Content-Disposition: attachment; filename="Kirk Davis (Kirk Davis).vcf" BEGIN:VCARD VERSION:2.1 N:Davis;Kirk FN:Kirk Davis ORG:School and District Services;District Technology TITLE:Senior Network Analyst NOTE;ENCODING=QUOTED-PRINTABLE:Kirk Davis - ITS=0D=0Abookit: 7809080324@pcs.rogers.com=0D=0Aspambuster TEL;WORK;VOICE:429-8308 TEL;CELL;VOICE:908-0324 ADR;WORK:;ITS;Centre for Education, One Kingsway Avenue;Edmonton;Alberta;T5H 4G9;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:ITS=0D=0ACentre for Education, One Kingsway Avenue=0D=0AEdmonton, Alberta T5= H 4G9=0D=0ACanada EMAIL;PREF;INTERNET:kirk.davis@epsb.ca REV:20020717T172905Z END:VCARD ------_=_NextPart_000_01C344CF.B0ED0BF0--