From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 22:46:54 2006 Return-Path: X-Original-To: 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 5226C16A403 for ; Sat, 9 Dec 2006 22:46:54 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from qmail2.ifxnetworks.com (qmail2.ifxnetworks.com [200.110.128.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E518743CA5 for ; Sat, 9 Dec 2006 22:45:33 +0000 (GMT) (envelope-from dmw@unete.cl) Received: (qmail 20069 invoked from network); 9 Dec 2006 22:46:47 -0000 X-Spam-DCC: : qmail2.ifxnetworks.com 1113; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on qmail2.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.7 Received: from host74.200.73.29.dynamic.ifxnw.cl (HELO daemon) (dmw@unete.cl@[200.73.29.74]) (envelope-sender ) by qmail2.ifxnetworks.com (qmail-ldap-1.03) with SMTP for ; 9 Dec 2006 22:46:46 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-questions@freebsd.org Date: Sat, 9 Dec 2006 19:46:38 -0300 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612091946.38637.dmw@unete.cl> Cc: questions@freebsd.org, Marwan Sultan Subject: Re: error ouput of fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Dec 2006 22:46:54 -0000 On Saturday 09 December 2006 18:55, Marwan Sultan wrote: > Hello Daniel, Hello, all this output looks like an abrupt power down in the machine, try doing fsck with unmounted volumes in single user mode. If this does not works, maybe the hard drive have problems. > > The problem, is why its happening ? > > Also the other server had this sudden diffrent output > > 192# fsck > ** /dev/ad8s1a (NO WRITE) > ** Last Mounted on / > ** Root file system > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 1492 files, 29045 used, 10125154 free (706 frags, 1265556 > blocks, 0.0% fragmentation) > ** /dev/ad8s1e (NO WRITE) > ** Last Mounted on /tmp > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > UNREF DIR I=659456 OWNER=admin MODE=40700 > SIZE=512 MTIME=Dec 10 00:46 2006 > RECONNECT? no > > ** Phase 4 - Check Reference Counts > LINK COUNT DIR I=659456 OWNER=admin MODE=40700 > SIZE=512 MTIME=Dec 10 00:46 2006 COUNT 2 SHOULD BE 1 > ADJUST? no > > UNREF FILE I=659457 OWNER=admin MODE=140755 > SIZE=0 MTIME=Dec 10 00:46 2006 > RECONNECT? no > > > CLEAR? no > > ** Phase 5 - Check Cyl groups > 43 files, 24 used, 7615615 free (175 frags, 951930 blocks, > 0.0% fragmentation) > ** /dev/ad8s1f (NO WRITE) > ** Last Mounted on /usr > ** Phase 1 - Check Blocks and Sizes > UNKNOWN FILE TYPE I=7918875 > UNEXPECTED SOFT UPDATE INCONSISTENCY > > CLEAR? no > > ** Phase 2 - Check Pathnames > DUP/BAD I=7918875 OWNER=root MODE=40755 > SIZE=512 MTIME=Nov 16 15:29 2006 > DIR=/ports/math/ump > > UNEXPECTED SOFT UPDATE INCONSISTENCY > > REMOVE? no > > fsck_ufs: cannot find inode 7918875 > > >On Saturday 09 December 2006 11:48, Marwan Sultan wrote: > > > Hello Gurus, > > > > > > Im on FreeBSD 6.1R-p10, Box acting as NAT/gateway. > > > I have mysql, freeradius, chillispot installed all > > > working okay. > > > > > > Every like 2-3 weeks my box become slow...internet > > > sharing works and stops, > > > timeout, page cannot be displayed... and when i dig in > > > the logs... i see really nothing.. > > > no i mean nothing! but 1 strange thing.. my radius log > > > says the follow > > > > > > Sat Dec 9 16:51:18 2006 : Info: Ready to process > > > requests. Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): > > > Trying to (re)connect unconnected handle 4.. > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql_mysql: Starting > > > connect to MySQL server for #4 > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): got > > > socket 4 after skipping 0 unconnected handles, tried to > > > reconnect 1 though > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): Trying to > > > (re)connect unconnected handle 3.. > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql_mysql: Starting > > > connect to MySQL server for #3 > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): got > > > socket 3 after skipping 0 unconnected handles, tried to > > > reconnect 1 though > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): Trying to > > > (re)connect unconnected handle 2.. > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql_mysql: Starting > > > connect to MySQL server for #2 > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): got > > > socket 2 after skipping 0 unconnected handles, tried to > > > reconnect 1 though > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): Trying to > > > (re)connect unconnected handle 1.. > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql_mysql: Starting > > > connect to MySQL server for #1 > > > Sat Dec 9 17:26:30 2006 : Info: rlm_sql (sql): got > > > socket 1 after skipping 0 unconnected handles, tried to > > > reconnect 1 though > > > > > > However, maybe the previous log, is not freebsd > > > concerns..but for a while i was thinking why > > > isql giving such an error, in the time its working and > > > its up. really no logs.. > > > I tried to do fsck.. and here its...SUPERBLK errors.. and > > > i cannot understand why @ > > > can someone kindly look into these fsck output and > > > explain for me please? why and how to solve.. > > > what makes it more wierd, that after 2 or 3 weeks, > > > another server on diffrent network > > > had _same_problem_exactly_, any explains please? > > > > > > 192# fsck -y > > > ** /dev/ad7s1a (NO WRITE) > > > ** Last Mounted on / > > > ** Root file system > > > ** Phase 1 - Check Blocks and Sizes > > > ** Phase 2 - Check Pathnames > > > ** Phase 3 - Check Connectivity > > > ** Phase 4 - Check Reference Counts > > > ** Phase 5 - Check Cyl groups > > > 1493 files, 29211 used, 7586428 free (740 frags, 948211 > > > blocks, 0.0% fragmentation) > > > ** /dev/ad7s1d (NO WRITE) > > > ** Last Mounted on /tmp > > > ** Phase 1 - Check Blocks and Sizes > > > ** Phase 2 - Check Pathnames > > > ** Phase 3 - Check Connectivity > > > ** Phase 4 - Check Reference Counts > > > ** Phase 5 - Check Cyl groups > > > 38 files, 21 used, 7615618 free (154 frags, 951933 > > > blocks, 0.0% fragmentation) > > > ** /dev/ad7s1f (NO WRITE) > > > ** Last Mounted on /usr > > > ** Phase 1 - Check Blocks and Sizes > > > ** Phase 2 - Check Pathnames > > > ** Phase 3 - Check Connectivity > > > ** Phase 4 - Check Reference Counts > > > ** Phase 5 - Check Cyl groups > > > 233993 files, 1179379 used, 38959217 free (47889 frags, > > > 4863916 blocks, 0.1% fragmentation) > > > ** /dev/ad7s1e (NO WRITE) > > > ** Last Mounted on /var > > > ** Phase 1 - Check Blocks and Sizes > > > ** Phase 2 - Check Pathnames > > > ** Phase 3 - Check Connectivity > > > ** Phase 4 - Check Reference Counts > > > UNREF FILE I=376867 OWNER=mysql MODE=100600 > > > SIZE=0 MTIME=Dec 9 16:51 2006 > > > CLEAR? no > > > > > > UNREF FILE I=376868 OWNER=mysql MODE=100600 > > > SIZE=0 MTIME=Dec 9 16:51 2006 > > > CLEAR? no > > > > > > UNREF FILE I=376869 OWNER=mysql MODE=100600 > > > SIZE=0 MTIME=Dec 9 16:51 2006 > > > CLEAR? no > > > > > > UNREF FILE I=376870 OWNER=mysql MODE=100600 > > > SIZE=0 MTIME=Dec 9 16:51 2006 > > > CLEAR? no > > > > > > UNREF FILE I=1530904 OWNER=root MODE=100644 > > > SIZE=0 MTIME=Dec 9 16:51 2006 > > > CLEAR? no > > > > > > ** Phase 5 - Check Cyl groups > > > SUMMARY BLK COUNT(S) WRONG IN SUPERBLK > > > SALVAGE? no > > > > > > 1464 files, 29446 used, 7586194 free (506 frags, 948211 > > > blocks, 0.0% fragmentation) > > > 192# > > > > Try booting in single user mode, and then unmounting all > >units: > > # umount -a > > # fsck -y > > # mount -a > > > > If the last command goes well, the file system check is > >done... > > > > > _________________________________________________________ > > >____ ____ Express yourself instantly with MSN Messenger! > > > Download today it's FREE! > > > http://messenger.msn.click-url.com/go/onm00200471ave/dire > > >ct/0 1/ > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questio > > >ns To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > >Best regards, > >-- > > . 0 . | Daniel Molina Wegener > > . . 0 | dmw at unete dot cl > > 0 0 0 | FreeBSD User > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > > _____________________________________________________________ >____ Express yourself instantly with MSN Messenger! Download > today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/0 >1/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- . 0 . | Daniel Molina Wegener . . 0 | dmw at unete dot cl 0 0 0 | FreeBSD User