From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 20:37:16 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F4C016A400 for ; Sun, 8 Jul 2007 20:37:16 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 2E91713C469 for ; Sun, 8 Jul 2007 20:37:16 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.83]) (authenticated bits=0) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l68KbAGr015197 for ; Sun, 8 Jul 2007 15:37:13 -0500 (CDT) (envelope-from freebsd@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 8 Jul 2007 15:37:10 -0500 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707081537.11124.freebsd@dfwlp.com> X-Spam-Status: No, score=-4.0 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on pollux.dfwlp.com Subject: trouble with some startup items X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 20:37:16 -0000 ive been trying to figure out this problem for a while now. i have 2 things that are having trouble starting. apcupsd and samba. i recently noticed, that during start up, they are printed more than once to the console (and to my /var/log/console.log. here is the output of my most recent reboot: Jul 8 15:24:05 athena kernel: Starting syslogd. Jul 8 15:24:05 athena kernel: Initial i386 initialization: Jul 8 15:24:05 athena kernel: . Jul 8 15:24:05 athena kernel: Additional ABI support: Jul 8 15:24:05 athena kernel: linux Jul 8 15:24:07 athena kernel: . Jul 8 15:24:07 athena kernel: Setting date via ntp. Jul 8 15:24:09 athena kernel: 8 Jul 15:24:09 ntpdate[609]: step time server 24.162.39.167 offset 1.666967 sec Jul 8 15:24:09 athena kernel: Starting rpcbind. Jul 8 15:24:09 athena kernel: NFS access cache time=60 Jul 8 15:24:09 athena kernel: Starting mountd. Jul 8 15:24:09 athena kernel: Starting nfsd. Jul 8 15:24:09 athena kernel: Starting apcupsd. Jul 8 15:24:09 athena kernel: Starting apcupsd. Jul 8 15:24:09 athena kernel: Starting local daemons: Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Updating motd Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Mounting late file systems: Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Starting ntpd. Jul 8 15:24:09 athena kernel: Starting usbd. Jul 8 15:24:10 athena kernel: Starting cupsd. Jul 8 15:24:10 athena kernel: Starting cupsd. Jul 8 15:24:10 athena kernel: Removing stale Samba tdb files: Jul 8 15:24:10 athena kernel: . Jul 8 15:24:10 athena last message repeated 7 times Jul 8 15:24:10 athena kernel: done Jul 8 15:24:10 athena kernel: Starting nmbd. Jul 8 15:24:10 athena kernel: Starting smbd. Jul 8 15:24:11 athena kernel: Removing stale Samba tdb files: Jul 8 15:24:11 athena kernel: . Jul 8 15:24:11 athena last message repeated 5 times Jul 8 15:24:11 athena kernel: done Jul 8 15:24:11 athena kernel: Starting nmbd. Jul 8 15:24:11 athena kernel: Starting smbd. Jul 8 15:24:11 athena kernel: Starting snmpd. Jul 8 15:24:11 athena kernel: Starting snmpd. Jul 8 15:24:11 athena kernel: Configuring syscons: Jul 8 15:24:11 athena kernel: blanktime Jul 8 15:24:11 athena kernel: . Jul 8 15:24:11 athena kernel: Starting sshd. Jul 8 15:24:12 athena kernel: Starting cron. Jul 8 15:24:12 athena kernel: Local package initialization: Jul 8 15:24:12 athena kernel: . Jul 8 15:24:12 athena kernel: Additional TCP options: Jul 8 15:24:12 athena kernel: . Jul 8 15:24:12 athena kernel: Starting inetd. Jul 8 15:24:12 athena kernel: Starting background file system checks in 60 seconds. Jul 8 15:24:12 athena kernel: Jul 8 15:24:12 athena kernel: Sun Jul 8 15:24:12 CDT 2007 Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: apcupsd FATAL ERROR in bsd-usb.c at line 711 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see . Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: Valid lock file for pid=685, but not ours pid=689 Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: apcupsd error shutdown completed also, here is my /etc/rc.conf file. ive double checked it, and these items arent listed twice (not even sure if that would matter if it were). # -- sysinstall generated deltas -- # Fri Jun 16 12:58:58 2006 # Created: Fri Jun 16 12:58:58 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="athena.dfwlp.com" ifconfig_bge0="DHCP" devfs_system_ruleset="localrules" sshd_enable="YES" usbd_enable="YES" ntpdate_enable="YES" ntpdate_hosts="0.us.pool.ntp.org" snmpd_enable="YES" inetd_enable="YES" inetd_flags="-wW -a 192.168.125.83" ntpd_enable="YES" linux_enable="YES" rpcbind_enable="YES" nfs_server_enable="YES" mountd_flags="-r" nfs_client_enable="YES" # vsftpd_enable="YES" cupsd_enable="YES" samba_enable="YES" apcupsd_enable="YES" can anyone give me any guesses as to where i need to take a look as to what could be attempting the 2nd starts of these 2 items? also, simply restarting apcupsd will fail, but if i killall apcupsd then start it fresh, it works for the duration of my uptime (somehow the pid that stays running gets disassociated from the pid file). samba is similar behavior. my windows computer cannot access the samba, until it is restarted (samba restarts normally without any troubles). any clues at all, would be appreciated. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd@dfwlp.com