From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 03:46:06 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E562816A4CE for ; Wed, 25 Aug 2004 03:46:06 +0000 (GMT) Received: from mail.webhosting.cx (mail.webhosting.cx [64.246.44.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 823B243D2F for ; Wed, 25 Aug 2004 03:46:06 +0000 (GMT) (envelope-from calarcon@iracsa.com.mx) X-ClientAddr: 200.77.125.170 Received: from CARLOSXP (customer-LMM-125-170.megared.net.mx [200.77.125.170] (may be forged)) (authenticated (0 bits)) by mail.webhosting.cx (8.11.6/8.11.6) with ESMTP id i7P3iFb14749; Wed, 25 Aug 2004 05:44:15 +0200 Message-ID: <000701c48a55$c9303710$95150c0a@CARLOSXP> From: =?iso-8859-1?Q?Carlos_Alarc=F3n?= To: References: Date: Tue, 24 Aug 2004 21:44:10 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: FreeBSD-isp@freebsd.org Subject: Where i can check a log about the last reboot time of my freebsd box X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 03:46:07 -0000 Hi, im having troubles with a freebsd box, suddenly this fbox reboots many times on a day, every hour at least, :(, i dont know what could be happening, this fbox was working great, i'd like to know if a log on the system could helpme to check if a program or process is making some bad things.. With this box i share internet to many clients.. am worried :(. thanks in advance. Carlos Alarcón From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 03:52:10 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1947316A4CE for ; Wed, 25 Aug 2004 03:52:10 +0000 (GMT) Received: from mail.webhosting.cx (mail.webhosting.cx [64.246.44.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B220343D41 for ; Wed, 25 Aug 2004 03:52:09 +0000 (GMT) (envelope-from calarcon@iracsa.com.mx) X-ClientAddr: 200.77.125.170 Received: from CARLOSXP (customer-LMM-125-170.megared.net.mx [200.77.125.170] (may be forged)) (authenticated (0 bits)) by mail.webhosting.cx (8.11.6/8.11.6) with ESMTP id i7P3pHb15832; Wed, 25 Aug 2004 05:51:17 +0200 Message-ID: <000d01c48a56$c48fb770$95150c0a@CARLOSXP> From: =?iso-8859-1?Q?Carlos_Alarc=F3n?= To: "Andrew McNaughton" References: <20040822011355.V1573@a2.scoop.co.nz> Date: Tue, 24 Aug 2004 21:51:09 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-isp@freebsd.org Subject: I got the last command output X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 03:52:10 -0000 i found that the last command gives some interesting information about my system reboot, now, why my freebsd box reboots automatically?', i dont have anything in crontab to do it, it was working fine.... Carlos Alarcón ipfw.today messages.3.bz2 security.7.bz2 setuid.today bash-2.05b# last root ttyp0 10.12.21.149 Tue Aug 24 21:40 still logged in reboot ~ Tue Aug 24 21:40 root ttyp0 10.12.21.149 Tue Aug 24 21:28 - crash (00:12) root ttyp0 10.12.21.149 Tue Aug 24 21:14 - 21:19 (00:04) reboot ~ Tue Aug 24 20:23 reboot ~ Tue Aug 24 19:09 reboot ~ Tue Aug 24 19:06 reboot ~ Tue Aug 24 18:50 reboot ~ Tue Aug 24 17:52 reboot ~ Tue Aug 24 17:34 reboot ~ Tue Aug 24 17:31 reboot ~ Tue Aug 24 17:30 reboot ~ Tue Aug 24 17:05 reboot ~ Tue Aug 24 16:58 reboot ~ Tue Aug 24 16:32 reboot ~ Tue Aug 24 16:17 root ttyp0 10.12.21.149 Tue Aug 24 15:47 - 15:47 (00:00) reboot ~ Tue Aug 24 14:55 reboot ~ Tue Aug 24 14:48 reboot ~ Tue Aug 24 14:45 reboot ~ Tue Aug 24 14:41 reboot ~ Tue Aug 24 14:24 reboot ~ Tue Aug 24 14:16 root ttyp0 10.12.21.176 Tue Aug 24 13:04 - crash (01:12) root ttyp0 10.12.21.176 Tue Aug 24 12:59 - 13:01 (00:02) reboot ~ Tue Aug 24 12:41 reboot ~ Tue Aug 24 12:38 root ttyp0 10.12.21.176 Tue Aug 24 12:26 - 12:28 (00:02) root ttyp0 10.12.21.176 Tue Aug 24 12:07 - 12:07 (00:00) root ttyp0 10.12.21.142 Tue Aug 24 11:31 - 11:41 (00:09) reboot ~ Tue Aug 24 11:17 root ttyp0 10.12.21.142 Tue Aug 24 11:09 - 11:14 (00:05) root ttyp0 10.12.21.142 Tue Aug 24 11:03 - 11:07 (00:03) root ttyp0 10.12.21.147 Tue Aug 24 10:25 - 10:27 (00:01) root ttyv0 Tue Aug 24 10:07 - crash (01:10) reboot ~ Tue Aug 24 10:07 root ttyv0 Tue Aug 24 10:04 - crash (00:03) reboot ~ Tue Aug 24 10:04 root ttyv0 Tue Aug 24 09:57 - crash (00:06) reboot ~ Tue Aug 24 09:57 reboot ~ Tue Aug 24 02:27 reboot ~ Tue Aug 24 00:59 carlos ftp 10.12.21.49 Fri Aug 20 14:22 - 14:23 (00:01) carlos ftp 10.12.21.156 Fri Aug 20 13:17 - 13:17 (00:00) carlos ftp 10.12.21.156 Fri Aug 20 13:17 - 13:17 (00:00) carlos ftp 10.12.21.156 Fri Aug 20 13:17 - 13:17 (00:00) root ttyp0 10.12.21.156 Fri Aug 20 13:16 - 13:17 (00:00) root ttyp0 10.12.21.14 Fri Aug 13 14:30 - 14:30 (00:00) root ttyp0 10.12.21.14 Fri Aug 13 14:28 - 14:30 (00:01) root ttyp0 10.12.21.43 Fri Aug 13 13:30 - 13:51 (00:21) root ttyp0 10.12.21.75 Wed Aug 4 17:20 - 17:20 (00:00) root ttyp0 10.12.21.75 Wed Aug 4 17:00 - 17:01 (00:01) root ttyp0 10.12.21.171 Wed Aug 4 09:08 - 09:11 (00:03) root ttyp0 10.12.21.198 Tue Aug 3 15:25 - 15:29 (00:04) root ttyp1 10.12.21.138 Mon Aug 2 17:45 - 19:01 (01:15) root ttyp0 10.12.21.138 Mon Aug 2 17:42 - 18:06 (00:24) wtmp begins Mon Aug 2 17:42:30 MDT 2004 bash-2.05b# From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 05:09:28 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E33D16A4CE for ; Wed, 25 Aug 2004 05:09:28 +0000 (GMT) Received: from hotmail.com (bay18-f39.bay18.hotmail.com [65.54.187.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70D0643D48 for ; Wed, 25 Aug 2004 05:09:28 +0000 (GMT) (envelope-from andrew__nelson@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 24 Aug 2004 22:09:28 -0700 Received: from 203.12.22.37 by by18fd.bay18.hotmail.msn.com with HTTP; Wed, 25 Aug 2004 05:09:27 GMT X-Originating-IP: [203.12.22.37] X-Originating-Email: [andrew__nelson@hotmail.com] X-Sender: andrew__nelson@hotmail.com From: "Andrew Nelson" To: freebsd-isp@freebsd.org Date: Wed, 25 Aug 2004 15:09:27 +1000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 25 Aug 2004 05:09:28.0383 (UTC) FILETIME=[B27724F0:01C48A61] Subject: Can't get rsync preserving ownership but rdist6 does? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 05:09:28 -0000 Hi, I have a central backup machine with a rsync daemon running with under the user/group of root/wheel. I then have a number of other FreeBSD machines pushing files to it for backup which is working On the client machines, I use: rsync -CavzHpog /etc/namedb/ backup@backups.domainname.com:/archive/namedb All the files on the remote machine have the correct permissions but are all owned by the 'backup' user. I used to use rdist6 which would turn the UID and GID into numbers where the users didn't exist on the local machine and it would all preserce nicely. My /usr/local/etc/rsyncd.conf is below and rsync is started by root with "/usr/local/bin/rsync --daemon" I'd appreciate any help! Thanks, Andrew. -------------- # rsyncd conf # User & Group for rsync to run as uid = root gid = wheel # Use chroot with rsync use chroot = yes max connections = 20 auth users = backup secrets file = /usr/local/etc/rsyncd.secrets # log and pid file options pid file = /var/run/rsyncd.pid log file = /var/log/rsync.log syslog facility = local5 hosts allow = hosts deny = * [dns] path = /archive/namedb/ comment = Primary Name Server Backup secrets file = /usr/local/etc/rsyncd.secrets strict modes = true read only = false _________________________________________________________________ Protect your inbox from harmful viruses with new ninemsn Premium. Go to http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 07:17:47 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BE4A16A4CE for ; Wed, 25 Aug 2004 07:17:47 +0000 (GMT) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id E995B43D2D for ; Wed, 25 Aug 2004 07:17:44 +0000 (GMT) (envelope-from bln@deprese.net) Received: from pretender.home (168.18.broadband2.iol.cz [83.208.18.168]) E3FD33561B for ; Wed, 25 Aug 2004 09:18:07 +0200 (CEST) From: Ondra Holecek To: freebsd-isp@freebsd.org Date: Wed, 25 Aug 2004 09:17:36 +0200 User-Agent: KMail/1.5.4 References: <000701c48a55$c9303710$95150c0a@CARLOSXP> In-Reply-To: <000701c48a55$c9303710$95150c0a@CARLOSXP> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200408250917.36874.bln@deprese.net> Subject: Re: Where i can check a log about the last reboot time of my freebsd box X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 07:17:47 -0000 Hi, you can look at log files in /var/log, especially /var/log/messages. If its= =20 not enough, try to add this line at the begining of /etc/syslog.conf: *.* /var/log/all then touch /var/log/all and killall -HUP syslogd, and after reboot look her= e. On Wednesday 25 August 2004 05:44, Carlos Alarc=F3n wrote: > Hi, im having troubles with a freebsd box, suddenly this fbox reboots many > times on a day, every hour at least, :(, i dont know what could be > happening, this fbox was working great, i'd like to know if a log on the > system could helpme to check if a program or process is making some bad > things.. > With this box i share internet to many clients.. am worried :(. > thanks in advance. > > Carlos Alarc=F3n > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 12:07:40 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECD2416A4CE for ; Wed, 25 Aug 2004 12:07:40 +0000 (GMT) Received: from mx1.uni-c.dk (mx1.uni-c.dk [130.228.5.194]) by mx1.FreeBSD.org (Postfix) with SMTP id F2CFE43D2D for ; Wed, 25 Aug 2004 12:07:39 +0000 (GMT) (envelope-from Rasmus.Brogger@uni-c.dk) Received: (qmail 21762 invoked by uid 64014); 25 Aug 2004 12:07:30 -0000 Received: from Rasmus.Brogger@uni-c.dk by mx1 by uid 64011 with qmail-scanner-1.22 (uvscan: v4.1.60/v4294. avp: 4.0.3.0. Clear:RC:1(130.228.13.48):. Processed in 1.921316 secs); 25 Aug 2004 12:07:30 -0000 Received: from rhb.uni-c.dk (HELO ?130.228.13.48?) (130.228.13.48) by 0 with SMTP; 25 Aug 2004 12:07:28 -0000 Message-ID: <412C8107.4070404@uni-c.dk> Date: Wed, 25 Aug 2004 14:07:35 +0200 From: Rasmus Brogger User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Nelson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: Can't get rsync preserving ownership but rdist6 does? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 12:07:41 -0000 Andrew Nelson wrote: > Hi, > > I have a central backup machine with a rsync daemon running with under > the user/group of root/wheel. I then have a number of other FreeBSD > machines pushing files to it for backup which is working > > On the client machines, I use: > rsync -CavzHpog /etc/namedb/ backup@backups.domainname.com:/archive/namedb > > All the files on the remote machine have the correct permissions but > are all owned by the 'backup' user. I used to use rdist6 which would > turn the > UID and GID into numbers where the users didn't exist on the local > machine and it > would all preserce nicely. > > My /usr/local/etc/rsyncd.conf is below and rsync is started by root > with "/usr/local/bin/rsync --daemon" > > > I'd appreciate any help! > Thanks, > Andrew. > > > -------------- > # rsyncd conf > > # User & Group for rsync to run as > uid = root > gid = wheel > > # Use chroot with rsync > use chroot = yes > max connections = 20 > > auth users = backup > secrets file = /usr/local/etc/rsyncd.secrets > > > # log and pid file options > pid file = /var/run/rsyncd.pid > log file = /var/log/rsync.log > syslog facility = local5 > > hosts allow = > hosts deny = * > > [dns] > path = /archive/namedb/ > comment = Primary Name Server Backup > secrets file = /usr/local/etc/rsyncd.secrets > strict modes = true > read only = false > > _________________________________________________________________ > Protect your inbox from harmful viruses with new ninemsn Premium. Go > to > http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" rsync has a --numeric-id switch. I think this is what you're looking for. /rhb From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 12:12:11 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F14616A4CE for ; Wed, 25 Aug 2004 12:12:11 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB43C43D5D for ; Wed, 25 Aug 2004 12:12:10 +0000 (GMT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with SMTP id <20040825121210.NWVG404.mta11.adelphia.net@barbish>; Wed, 25 Aug 2004 08:12:10 -0400 From: "JJB" To: =?iso-8859-1?Q?Carlos_Alarc=F3n?= , Date: Wed, 25 Aug 2004 08:12:09 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <000701c48a55$c9303710$95150c0a@CARLOSXP> Importance: Normal cc: FreeBSD-isp@freebsd.org Subject: RE: Where i can check a log about the last reboot time of my freebsd box X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 12:12:11 -0000 owner-freebsd-isp@freebsd.org wrote: > Hi, im having troubles with a freebsd box, suddenly this fbox reboots > many times on a day, every hour at least, :(, i dont know what could > be happening, this fbox was working great, i'd like to know if a log > on the system could helpme to check if a program or process is making > some bad things.. > With this box i share internet to many clients.. am worried :(. > thanks in advance. > > Carlos Alarcón > A normal running system that suddenly starts rebooting its self is more that likely an overheating problem caused by a thick layer of dust on the motherboard chips or early signs of a failing power supply. You will not find any log error messages about this. From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 12:19:00 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BA0C16A4CE for ; Wed, 25 Aug 2004 12:19:00 +0000 (GMT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C0A43D2D for ; Wed, 25 Aug 2004 12:19:00 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [69.27.46.22]) by mail.day-light.net (Postfix) with SMTP id 5893D3527A for ; Wed, 25 Aug 2004 07:18:59 -0500 (CDT) From: "John Brooks" To: Date: Wed, 25 Aug 2004 07:18:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: Importance: Normal Subject: RE: Can't get rsync preserving ownership but rdist6 does? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 12:19:00 -0000 I pull the backups from the server instead of initiating from the client, there is a "--numeric-ids" option, for details check 'man rsync' -- John Brooks john@stlbsd.com > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Andrew Nelson > Sent: Wednesday, August 25, 2004 12:09 AM > To: freebsd-isp@freebsd.org > Subject: Can't get rsync preserving ownership but rdist6 does? > > > Hi, > > I have a central backup machine with a rsync daemon running with under > the user/group of root/wheel. I then have a number of other FreeBSD > machines pushing files to it for backup which is working > > On the client machines, I use: > rsync -CavzHpog /etc/namedb/ backup@backups.domainname.com:/archive/namedb > > All the files on the remote machine have the correct permissions but > are all owned by the 'backup' user. I used to use rdist6 which > would turn > the > UID and GID into numbers where the users didn't exist on the > local machine > and it > would all preserce nicely. > > My /usr/local/etc/rsyncd.conf is below and rsync is started by root > with "/usr/local/bin/rsync --daemon" > > > I'd appreciate any help! > Thanks, > Andrew. > > > -------------- > # rsyncd conf > > # User & Group for rsync to run as > uid = root > gid = wheel > > # Use chroot with rsync > use chroot = yes > max connections = 20 > > auth users = backup > secrets file = /usr/local/etc/rsyncd.secrets > > > # log and pid file options > pid file = /var/run/rsyncd.pid > log file = /var/log/rsync.log > syslog facility = local5 > > hosts allow = > hosts deny = * > > [dns] > path = /archive/namedb/ > comment = Primary Name Server Backup > secrets file = /usr/local/etc/rsyncd.secrets > strict modes = true > read only = false > > _________________________________________________________________ > Protect your inbox from harmful viruses with new ninemsn Premium. Go to > http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 14:07:17 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B19116A4CE for ; Wed, 25 Aug 2004 14:07:17 +0000 (GMT) Received: from psknet.com (kennedy.psknet.com [63.171.251.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E995943D2F for ; Wed, 25 Aug 2004 14:07:16 +0000 (GMT) (envelope-from troy@psknet.com) Received: from pool-151-199-119-167.roa.east.verizon.net ([151.199.119.167] helo=tws) by psknet.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.20) id 1BzyQf-000Ixd-G8; Wed, 25 Aug 2004 10:07:09 -0400 From: "Troy Settle" To: , =?iso-8859-1?Q?'Carlos_Alarc=F3n'?= , Date: Wed, 25 Aug 2004 10:07:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: thread-index: AcSKnMUgg0PaXq80TaaAlEtOcFeQ8AADpveA Message-Id: cc: FreeBSD-isp@freebsd.org Subject: RE: Where i can check a log about the last reboot time of myfreebsd box X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 14:07:17 -0000 I agree that it's most likely a hardware failure. Make sure your fans = are turning freely and quickly. If your have semi-new hardware, you should = be able to check BIOS to find out your fan speed (I think there's software = to check temps and fans as well). I'd like to add that I've seen reboots caused by kernel panics (or something) related to the HDD. If the kernel can't write, then it won't = be in the log. In addition to logging *.* to /var/log/all, have it direct = that information to a remote syslog. You can also redirect console to a = serial port, and capture it there as well (check the handbook and/or google = about setting up a serial console). If the box is rebooting frequently, there is definitely something wrong, = but it shouldn't be too difficult to find a pattern. -- Troy Settle Pulaski Networks http://www.psknet.com 866.477.5638 =20 > -----Original Message----- > From: owner-freebsd-isp@freebsd.org=20 > [mailto:owner-freebsd-isp@freebsd.org] On Behalf Of JJB > Sent: Wednesday, August 25, 2004 8:12 AM > To: Carlos Alarc=F3n; john@day-light.com > Cc: FreeBSD-isp@freebsd.org > Subject: RE: Where i can check a log about the last reboot=20 > time of myfreebsd box >=20 > owner-freebsd-isp@freebsd.org wrote: > > Hi, im having troubles with a freebsd box, suddenly this fbox > reboots > > many times on a day, every hour at least, :(, i dont know what > could > > be happening, this fbox was working great, i'd like to know if a > log > > on the system could helpme to check if a program or process is > making > > some bad things.. > > With this box i share internet to many clients.. am worried :(. > > thanks in advance. > > > > Carlos Alarc=F3n > > >=20 > A normal running system that suddenly starts rebooting its self is > more that likely an overheating problem caused by a thick layer of > dust on the motherboard chips or early signs of a failing power > supply. You will not find any log error messages about this. >=20 > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >=20 From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 15:20:35 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FDE916A4CE for ; Wed, 25 Aug 2004 15:20:35 +0000 (GMT) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B76DF43D5C for ; Wed, 25 Aug 2004 15:20:34 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.12.11) with ESMTP id i7PFKWPX053260 for ; Wed, 25 Aug 2004 11:20:33 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i7PFKWNi053259 for freebsd-isp@freebsd.org; Wed, 25 Aug 2004 11:20:32 -0400 (EDT) (envelope-from bv) Date: Wed, 25 Aug 2004 11:20:32 -0400 From: Bill Vermillion To: freebsd-isp@freebsd.org Message-ID: <20040825152032.GB52986@wjv.com> References: <000701c48a55$c9303710$95150c0a@CARLOSXP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i Subject: Re: Where i can check a log about the last reboot time of my freebsd box X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 15:20:35 -0000 At Wed, Aug 25, 2004 at 08:12 , our malformed and occasionally flatulent friend JJB spewed forth this fount of brain juice: > owner-freebsd-isp@freebsd.org wrote: > > > Hi, im having troubles with a freebsd box, suddenly this fbox > > reboots many times on a day, every hour at least, :(, i dont > > know what could be happening, this fbox was working great, i'd > > like to know if a log on the system could helpme to check if a > > program or process is making some bad things.. With this box > > i share internet to many clients.. am worried :(. thanks in > > advance. > > Carlos Alarc?n > A normal running system that suddenly starts rebooting its self is > more that likely an overheating problem caused by a thick layer of > dust on the motherboard chips or early signs of a failing power > supply. You will not find any log error messages about this. If he had looked more carefully at the log he posted, a good many of the 'reboot' lines had one right before it that said 'crash'. So there was at least an error indication, but he didn't seem to ask about it - just the 'reboot' lines. Both of your suppositions fit the problem. I thought it was mildly interesting in that at least some of the reboots were preceded by a 'crash' line. That would indicate to me that it really is heat or power, as it is inconsistent in it's reboots. Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 19:21:11 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D6A416A4CE for ; Wed, 25 Aug 2004 19:21:11 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 678F343D49 for ; Wed, 25 Aug 2004 19:21:10 +0000 (GMT) (envelope-from freebsd-isp@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C03KW-0000sL-00 for ; Wed, 25 Aug 2004 21:21:08 +0200 Received: from gray.impulse.net ([207.154.64.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Aug 2004 21:21:08 +0200 Received: from secabeen by gray.impulse.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Aug 2004 21:21:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-isp@freebsd.org From: Ted Cabeen Date: Wed, 25 Aug 2004 12:05:31 -0700 Lines: 138 Message-ID: <876577nimc.fsf@gray.impulse.net> References: <20040818134834.GD63092__49711.5489597947$1092904511$gmane$org@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gray.impulse.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Cancel-Lock: sha1:T+H31p+CvK8JCLr3arDXxSLtXZA= Sender: news Subject: Re: HP Netserver RAID Controller + FreeBSD 4.10 problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 19:21:11 -0000 Odhiambo Washington writes: > Dear Ladies and Gentlemen, > > I'd appreciate some help/clues on how to solve the following problem. > > I have acquired some 3 old-ish HP Netserver LH4r. They come with > built-in RAID adapters. > > I have installed FreeBSD (well, that is the only one I could anyway), > but I am hitting a snag: When I boot up the box, it refuses to automount > the root fs, then takes me to "Manual Root File System specification" option. > > When I specify > > ufs:/dev/amrd0s1a then the box boots. What I don't understand is why it > is refusing to obey the same thing in fstab.. > > My /etc/fstab contains the correct entries - /dev/amrd0s1{a|e|f} and I > have even compiled a kernel with support for "amr". > > I have three such boxes (God forbid if they all refuse to run FreeBSD). You probably need to make the devices in /dev. MAKEDEV amrd0 should do it. > Here is a dmesg output of what I am going through: > > > Copyright (c) 1992-2004 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.10-STABLE #1: Wed Aug 18 09:00:05 EAT 2004 > root@ns.wananchi.com:/usr/obj/usr/src/sys/SRV4.x > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (500.03-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x672 Stepping = 2 > Features=0x387fbff > real memory = 1073676288 (1048512K bytes) > avail memory = 1041215488 (1016812K bytes) > Preloaded elf kernel "kernel" at 0xc03a5000. > VESA: v2.0, 1024k memory, flags:0x0, mode table:0xc0337d42 (1000022) > VESA: Cirrus Logic GD-5446 VGA > netsmb_dev: loaded > Pentium Pro MTRR support enabled > Using $PIR table, 14 entries at 0xc00fdee0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > pcib1: at device 2.0 on pci0 > pci1: on pcib1 > xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xa000-0xa07f mem 0xe8100000-0xe810007f irq 11 at device 3.0 on pci1 > xl0: Ethernet address: 00:50:da:39:d8:2f > miibus0: on xl0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > amr0: mem 0xf0000000-0xf7ffffff irq 10 at device 2.1 on pci0 > amr0: Firmware D.02.05, BIOS B.01.04, 16MB RAM > pcib2: at device 3.0 on pci0 > pci2: on pcib2 > xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xb000-0xb03f irq 12 at device 2.0 on pci2 > xl1: Ethernet address: 00:a0:24:e1:77:34 > miibus1: on xl1 > nsphy0: on miibus1 > nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pci0: (vendor=0x103c, dev=0x10c1) at 6.0 > pci0: at 8.0 > isab0: at device 15.0 on pci0 > isa0: on isab0 > atapci0: port 0x9020-0x902f at device 15.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at 15.2 > chip0: port 0x1040-0x104f at device 15.3 on pci0 > pcib3: at device 18.0 on pci0 > orm0: