From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 00:24:30 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 8432716A407 for ; Sun, 10 Dec 2006 00:24:30 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1328843CA0 for ; Sun, 10 Dec 2006 00:23:22 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id kBA0Lqff057498; Sat, 9 Dec 2006 19:21:52 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id kBA0LqR5057497; Sat, 9 Dec 2006 19:21:52 -0500 (EST) (envelope-from jerrymc) Date: Sat, 9 Dec 2006 19:21:52 -0500 From: Jerry McAllister To: Marwan Sultan Message-ID: <20061210002151.GA57436@gizmo.acns.msu.edu> References: <200612091303.07429.dmw@unete.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: dmw@unete.cl, questions@freebsd.org Subject: Re: error ouput of fsck 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, 10 Dec 2006 00:24:30 -0000 On Sat, Dec 09, 2006 at 09:55:06PM +0000, Marwan Sultan wrote: > Hello Daniel, > > 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 > Hmmm. RECONNECT? no ADJUST? no CLEAR? no Why are you responding 'no' to each prompt to fix things? If you keep doing that it will never get the file systems cleared up. ////jerry > ** 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/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" > > > >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/01/ > > _______________________________________________ > 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"