Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2006 13:03:06 -0300
From:      Daniel Molina Wegener <dmw@unete.cl>
To:        freebsd-questions@freebsd.org
Cc:        questions@freebsd.org, Marwan Sultan <dead_line@hotmail.com>
Subject:   Re: error ouput of fsck
Message-ID:  <200612091303.07429.dmw@unete.cl>
In-Reply-To: <BAY104-F181113B26E6F31F8C1EDC99AD20@phx.gbl>
References:  <BAY104-F181113B26E6F31F8C1EDC99AD20@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612091303.07429.dmw>