Re: Strange diskspace loss

2010-05-04 Thread Anton Yuzhaninov
On Tue, 4 May 2010 09:51:46 +0400, áÎÔÏÎ ëÌÅÓÓ wrote:
áë I'm running 7.2-RELEASE amd64. Uptime 24 days.
áë I was told that server stoped to send emails and started to look at. There
áë are strange things:
áë 
áë # df -h
áë FilesystemSizeUsed   Avail Capacity  Mounted on
áë /dev/aacdu0s1a7.7G582M6.6G 8%/
áë devfs 1.0K1.0K  0B   100%/dev
áë /dev/aacdu0s1d 31G276M 28G 1%/tmp
áë /dev/aacdu0s1f350G125G197G39%/usr
áë /dev/aacdu0s1e 31G 29G-25M   100%/var
áë /dev/aacdu1s1d450G3.0G411G 1%/var/db/mysql
áë fdescfs   1.0K1.0K  0B   100%/dev/fd
áë 
áë /var is out of space. Hmm.
áë 
áë # du -sh /var
áë 3,3G/var

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF

-- 
WBR,
 Anton Yuzhaninov

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Strange diskspace loss

2010-05-04 Thread Антон Клесс
And the fsck:

# fsck
** /dev/aacdu0s1a (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
4556 files, 298178 used, 3762885 free (981 frags, 470238 blocks, 0.0%
fragmentation)
** /dev/aacdu0s1d (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
UNREF FILE I=9  OWNER=mysql
MODE=100600
SIZE=0 MTIME=Apr 23 12:17
2010
CLEAR?
no


UNREF FILE I=10  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr 23 12:17 2010
CLEAR? no

UNREF FILE I=11  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr 23 12:17 2010
CLEAR? no

UNREF FILE I=12  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr 23 12:17 2010
CLEAR? no

UNREF FILE I=13  OWNER=mysql MODE=100600
SIZE=0 MTIME=Apr 23 12:17 2010
CLEAR? no

UNREF FILE I=1860614  OWNER=root MODE=100600
SIZE=40632320 MTIME=May  4 09:39 2010
CLEAR? no

** Phase 5 - Check Cyl groups
2823 files, 141394 used, 16105940 free (100 frags, 2013230 blocks, 0.0%
fragmentation)
** /dev/aacdu0s1f (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
SUMMARY INFORMATION
BAD
SALVAGE?
no


BLK(S) MISSING IN BIT MAPS
SALVAGE? no

265180 files, 65441856 used, 117860015 free (49031 frags, 14726373 blocks,
0.0% fragmentation)
** /dev/aacdu0s1e (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=23587  OWNER=root
MODE=100644
SIZE=0 MTIME=Apr  9 13:36
2010
CLEAR?
no


UNREF FILE I=3156011  OWNER=root MODE=100644
SIZE=6944766 MTIME=May  4 04:34 2010
CLEAR? no

UNREF FILE I=3179521  OWNER=www MODE=100644
SIZE=30361665474 MTIME=May  4 09:43 2010
CLEAR? no

** Phase 5 - Check Cyl groups
24527 files, 14958948 used, 1288386 free (15202 frags, 159148 blocks, 0.1%
fragmentation)
** /dev/aacdu1s1d (NO
WRITE)
** Last Mounted on
/var/db/mysql
** Phase 1 - Check Blocks and
Sizes
** Phase 2 - Check
Pathnames
** Phase 3 - Check
Connectivity
** Phase 4 - Check Reference
Counts
** Phase 5 - Check Cyl
groups
278 files, 1597189 used, 234516789 free (525 frags, 29314533 blocks, 0.0%
fragmentation)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread Антон Клесс
2010/5/4 Anton Yuzhaninov cit...@citrin.ru



 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF

 --
 WBR,
  Anton Yuzhaninov



There are no 25Gb files in /var:


# ls -lah /var
total 18930
drwxr-xr-x  25 rootwheel  512B May  4 13:55 .
drwxr-xr-x  21 rootwheel  512B Mar 11 18:20 ..
drwxrwxr-x   2 rootoperator   512B Oct 30  2009 .snap
drwxr-xr-x   2 rootwheel  512B May  1  2009 account
drwxr-xr-x   2 rootwheel  512B Nov  1  2009 agentx
drwxr-xr-x   4 rootwheel  512B May  1  2009 at
drwxr-x---   2 rootaudit  512B May  1  2009 audit
drwxr-x---   2 rootwheel  512B Apr 18 03:01 backups
drwxr-x---   2 rootwheel  512B Oct 30  2009 crash
drwxr-x---   3 rootwheel  512B May  1  2009 cron
drwxr-xr-x  13 rootwheel  512B Apr 13 09:54 db
dr-xr-xr-x   2 rootwheel  512B May  1  2009 empty
drwx--   2 rootwheel  512B May  1  2009 heimdal
drwxr-xr-x   3 rootwheel  512B Feb  9 19:03 lib
drwxrwxr-x   2 rootwheel  512B Nov  8 13:00 lock
drwxr-xr-x   4 rootwheel  2.0K May  4 10:00 log
-rw-r--r--   1 rootwheel   18M Apr  1 09:39 log.tar.gz
drwxrwxr-x   3 rootmail   512B Mar  3 13:06 mail
drwxr-xr-x   2 daemon  wheel  512B Oct 30  2009 msgs
drwxr-xr-x   5 rootwheel  512B Oct 30  2009 named
drwxr-xr-x   2 rootwheel  512B May  1  2009 preserve
drwxr-xr-x   9 rootwheel  1.0K May  4 09:56 run
drwxrwxr-x   2 rootdaemon 512B May  1  2009 rwho
drwxr-xr-x  11 rootwheel  512B Nov 16 19:42 spool
drwxrwxrwt   3 rootwheel  512B May  4 10:00 tmp
drwxr-xr-x   2 rootwheel  512B Oct 30  2009 yp


And logs rotation is set up properly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread Peter Boosten
On 4-5-2010 8:11, Антон Клесс wrote:
 
 And logs rotation is set up properly.

Try to find open files with fstat

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


php5-5.3.2 to php52-5.2.13

2010-05-04 Thread n dhert
A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9.
I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang
Can one switch back to 5.2.13 when 5.3.2 is already installed and packages
that depend on PHP
are already compiled with php5-5.3.2
I'v never used portdowngrade? How to do it?

But, what if you upgrade other packages that have in their dependencies
php5-5.3.2 ?
Will this not reinstall the 5.3.2. version again, again removing 5.2.x ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: php5-5.3.2 to php52-5.2.13

2010-05-04 Thread Antonio Kless
You need to update your ports (portsnap fetch update for example), deinstall
your lang/php5 and lang/php5-extensions and install lang/php52 and
lang/php52-extensions ports.

You also may just portdowngrade your lang/php5, but (according to my own
expirience) it would be much more difficult.

2010/5/4 n dhert ndhert...@gmail.com

 A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9.
 I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang
 Can one switch back to 5.2.13 when 5.3.2 is already installed and packages
 that depend on PHP
 are already compiled with php5-5.3.2
 I'v never used portdowngrade? How to do it?

 But, what if you upgrade other packages that have in their dependencies
 php5-5.3.2 ?
 Will this not reinstall the 5.3.2. version again, again removing 5.2.x ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: php5-5.3.2 to php52-5.2.13

2010-05-04 Thread Odhiambo Washington
On Tue, May 4, 2010 at 11:06 AM, n dhert ndhert...@gmail.com wrote:

 A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9.
 I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang
 Can one switch back to 5.2.13 when 5.3.2 is already installed and packages
 that depend on PHP
 are already compiled with php5-5.3.2
 I'v never used portdowngrade? How to do it?

 But, what if you upgrade other packages that have in their dependencies
 php5-5.3.2 ?
 Will this not reinstall the 5.3.2. version again, again removing 5.2.x ?


You can deinstall the versions that you don't want, then install the desired
ones. After this you can do:

pkgdb -F and link those packages that had their dependencies to 5.3.2
against 5.2.13

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: php5-5.3.2 to php52-5.2.13

2010-05-04 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/05/2010 09:06:34, n dhert wrote:
 A few weeks ago, freebsd switched to php5-5.3.2 instead of php5-5.2.9.
 I see there is now also php52-5.2.13 and pgp52-extensions-1.3 in ports/lang
 Can one switch back to 5.2.13 when 5.3.2 is already installed and packages
 that depend on PHP
 are already compiled with php5-5.3.2
 I'v never used portdowngrade? How to do it?
 
 But, what if you upgrade other packages that have in their dependencies
 php5-5.3.2 ?
 Will this not reinstall the 5.3.2. version again, again removing 5.2.x ?

You don't need to use portdowngrade --- that's for reverting to an
earlier version of a port, but the php52 stuff is in the present-day tree.

What you would need to do is delete all of the php5-5.3.2 ports and
everything that depended on them, then install the php52-5.2.13 ports,
and then reinstall any PHP applications etc. that you need.

Note: make sure to remove /usr/local/etc/php.conf as part of the
deleting stage -- that's a small Makefile that tells the ports what
version of PHP is in use on your system.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvf2qQACgkQ8Mjk52CukIx3SQCfRtLd8pUMFVsRe8qwvjG2adBU
I90An0KmcOVwpfJlU1vn0c3rlEORrogf
=xfX6
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread perryh
antoniok@gmail.com wrote:

 And the fsck:

 # fsck
...
 ** /dev/aacdu0s1e (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=23587  OWNER=root
 MODE=100644
 SIZE=0 MTIME=Apr  9 13:36
 2010
 CLEAR?
 no

 UNREF FILE I=3156011  OWNER=root MODE=100644
 SIZE=6944766 MTIME=May  4 04:34 2010
 CLEAR? no

 UNREF FILE I=3179521  OWNER=www MODE=100644
 SIZE=30361665474 MTIME=May  4 09:43 2010
  
 CLEAR? no

There's at least part of your problem:  30GB that du can't see
because it isn't linked to by any directory entry.  Something
associated with your web server has created a large scratch file,
which it still has open (and thus the space can't be reclaimed),
but it unlinked the file after creating it so that it would
automatically go away once the process dies.

This sort of thing -- though seldom so large as this -- is not at
all uncommon in /tmp.  It's less common, but (as in this case) not
unheard of, in /var/tmp.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread Antonio Kless
2010/5/4 per...@pluto.rain.com

 antoniok@gmail.com wrote:

  And the fsck:
 
  # fsck
 ...
  ** /dev/aacdu0s1e (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=23587  OWNER=root
  MODE=100644
  SIZE=0 MTIME=Apr  9 13:36
  2010
  CLEAR?
  no
 
  UNREF FILE I=3156011  OWNER=root MODE=100644
  SIZE=6944766 MTIME=May  4 04:34 2010
  CLEAR? no
 
  UNREF FILE I=3179521  OWNER=www MODE=100644
  SIZE=30361665474 MTIME=May  4 09:43 2010
  
  CLEAR? no

 There's at least part of your problem:  30GB that du can't see
 because it isn't linked to by any directory entry.  Something
 associated with your web server has created a large scratch file,
 which it still has open (and thus the space can't be reclaimed),
 but it unlinked the file after creating it so that it would
 automatically go away once the process dies.

 This sort of thing -- though seldom so large as this -- is not at
 all uncommon in /tmp.  It's less common, but (as in this case) not
 unheard of, in /var/tmp.



So, in future, is there some sence to make /var, /var/log and /var/tmp on
different partitions? I usually use only two - /var and /var/db/mysql on
dedicated hard drive.


-- 
Best regards,
Antonio Kless,
http://kless.spb.ru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: User cpu time VS system cpu time

2010-05-04 Thread Ivan Voras

On 05/03/10 18:00, cronfy wrote:

Hello,

I want to understand difference between user CPU time and system CPU
time in system accounting.

When some process uses many system CPU, does it really mean that
process prouduces heavy load on server and takes up resources that
could be used by other tasks instead? Or it only means that this
process performs many waits for, say, I/O operations?


In contrast to Linux (luckily), IO wait in itself in FreeBSD does not 
count as CPU time. Linux's iowait state is supposedly defined as idle 
but having outstanding IO requests but judging from performance curves 
in some cases I think some polling is involved.


System time is time spent in the kernel - it is practically always the 
result of issuing kernel syscalls from userland processes. Whether it 
influences the overall performance of the system depends on what the 
processes are doing - if the machine has multiple CPU cores and the 
syscalls exercise those parts of the system that are parallelized then 
no, your process would not influence the rest of the system anymore than 
it would by using user time.


But keep in mind that kernel time is a broad category - while IO time 
in itself does not count as CPU time, file system operations for example 
do, because they really can be CPU intensive. And by using the file 
system in certain ways, you really can block other processes from using 
it with the performance they would get otherwise. You can find out at a 
glance approximately what the process is doing simply by monitoring the 
top line for the process.


There is one more thing - if the machine in question is a virtual 
machine, it is normal for the system time to, unfortunately, be 
significantly higher than it would be otherwise because of the nature of 
the emulation.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-04 Thread Ivan Voras

On 05/04/10 00:38, Bruce Cran wrote:

On Monday 03 May 2010 15:52:48 Traiano Welcome wrote:


  Is KSE support still in FreeBSD (8.0 and upward)?


No. KSE support was removed over 2 years ago:
http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084248.html


Note that only KSE was removed; threading is of course fully supported 
by other mechanisms.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installation on HP Proliant via iLO - Error mounting /dev/acd0 on /dist

2010-05-04 Thread Ewald Jenisch
On Wed, Apr 28, 2010 at 08:47:40AM +0200, Palle Girgensohn wrote:
 The fix is to use options - rescan devices in the installer. After that, 
 when selecting CDROM as media type, the installer lets you chose between 
 cd0 and acd0. Select the cd0 device instead of acd0 to use the virtual cd 
 drive.
 
 I recon the problem occurs because of confusion between the physical cd 
 drive and the virtual ditto.
 

Hi Palle,

This absolutely does the trick!

Thanks much,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread Anton Yuzhaninov
On Tue, 4 May 2010 10:04:30 +0400, áÎÔÏÎ ëÌÅÓÓ wrote:
áë And the fsck:
áë 
áë # fsck
áë ** /dev/aacdu0s1a (NO
áë WRITE)

Don't run fsck on mounted and used fs
It will show wrong info.

If you want to force fsck run reboot in single mode, and then run fsck.

-- 
WBR,
 Anton Yuzhaninov

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf suggestions for paced attack

2010-05-04 Thread Daniel Bye
On Mon, May 03, 2010 at 11:39:33AM -0500, John wrote:
 Hi, Matthew.  Indeed, yes, you may not recall, but my rules are
 based on a set that I originally got from you, and I do, in fact,
 have a white list, which I should have mentioned, but some of my
 users are road warriors and could be coming from virtually anywhere.
 You're right, though - it's time to look into alternatives to
 password-based authenticaion.  I think I've taken password-based
 protection and rate adaptive rules to their logical limit.

Depending on the platforms these people use, you might find OpenVPN
useful. It has some excellent features for protecting against the sort
of attack you are seeing, if you use the default UDP transport. The
setup is really quite simple, and it runs on *BSD, Linux, Mac OS X and
Windows (probably others, but I've never needed to use it anywhere but
the 4 listed). You can then allow users on the VPN to access ssh, along
with the whitelisted addresses already in your pf tables. I've been
using this setup for a while, and am very happy with it.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0XwSmfa6js.pgp
Description: PGP signature


Re: Apache URL Redirect?

2010-05-04 Thread Nathan Vidican
Use a simple CGI script perhaps? The script can then return whatever headers
(including a redirect) you desire.

On Mon, May 3, 2010 at 4:09 PM, Chris Maness ch...@chrismaness.com wrote:

 I while back, I set up a podcast using wordpress.  I did not use any
 special configuration, I just added the files as media, and the
 podcast software picked up the mp3's.  However, now I would like to
 use a podcast plugin that adds all of the correct itunes tags.
 However, this changes the RSS URL from:

 http://podcast.rccoc.org/?feed=rss2

 to:

 http://podcast.rccoc.org/?feed=podcast

 I have tried playing with some directives like:

 Redirect permanent /one http://example.com/two

 but they did not seem to work.  I need apache to return 301 and the new
 URL.

 Any Ideas?

 Thanks,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org




-- 
Nathan Vidican
nat...@vidican.com
(519) 962-9987 (Canada)
(313) 586-1982 (USA)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sata hdd issues, timeouts'n'failures

2010-05-04 Thread Bogdan Webb
Hi .. i'll be straight to the point, yesterday morning i've experienced some
issues with my FreeBSD 7.2 p7  regarding HDD partition error messages.
It all started a week ago when out of the bloom a few phpBB3 database tables
got corupted and upon reading the messages in /var/log i've saw:
May  3 09:34:36 pgn kernel: ad10: WARNING - WRITE_DMA UDMA ICRC error
(retrying request) LBA=143694719
May  3 09:34:40 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=234746399
May  3 09:35:20 pgn kernel: ad10: WARNING - WRITE_DMA UDMA ICRC error
(retrying request) LBA=17996279
May  3 09:35:27 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=140791775
May  3 09:35:32 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=14029855

a whole bunch of those about 1 minute apart.

May  3 09:47:09 pgn kernel: swap_pager: indefinite wait buffer: bufobj: 0,
blkno: 5, size: 32768
[]
May  3 09:48:46 pgn kernel: ad10: FAILURE - WRITE_DMA timed out LBA=14741375
May  3 09:48:46 pgn kernel:
May  3 09:48:46 pgn kernel: g_vfs_done():ad10s1d[WRITE(offset=2715713536,
length=16384)]error = 5
[.]

until the sistem became very slow and hard to use i've rebooted a few times,
tryed to boot into single user mode and fun fsck but the issues still
occur..
Now the GEOM_LABEL renames the ufsids timeouts still occur, and today ended
up with
May  4 15:26:24 pgn kernel: fsync: giving up on dirty
May  4 15:26:24 pgn kernel: 0xff000395a7e0: tag devfs, type VCHR
May  4 15:26:24 pgn kernel: usecount 1, writecount 0, refcount 934
mountedhere 0xff0003879c00
May  4 15:26:24 pgn kernel: flags ()
May  4 15:26:24 pgn kernel: v_object 0xff0003923e58 ref 0 pages 3725
May  4 15:26:24 pgn kernel: lock type devfs: EXCL (count 1) by thread
0xff00117e6370 (pid 1181)
May  4 15:26:24 pgn kernel: dev ad10s1f
May  4 15:26:40 pgn fsck: /dev/ad10s1f: CANNOT CREATE SNAPSHOT
/usr/.snap/fsck_snapshot: Resource temporarily unavailable
May  4 15:26:40 pgn fsck:
May  4 15:26:40 pgn fsck: /dev/ad10s1f: UNEXPECTED INCONSISTENCY; RUN fsck
MANUALLY.


please advise it's pretty serious, i googled around but sincerly it's such a
big issue that it can't wait :( thanks!

p.s. whole /var/log/messages: http://pastebin.com/KcF3ziYu
sistem info (df -h, uname, fstab, etc.): http://pastebin.com/dK8UKfhT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf suggestions for paced attack

2010-05-04 Thread A. Wright


I wrote:

If anyone is interested, I can send (or I suppose post) the scripts.


Balázs Mátéffy wrote:


Would you be so kind to share those scripts?


No problem; the scripts are below.

I run them both in /usr/local/bin

Note the usual caveats about running scripts as root;
some squashing of problems is done by setting PATH to
the empty string in the scripts and using the fully
qualified path to all executables.

I run /usr/local/bin/authlog_watcher in the background from
/etc/rc.d; I then have a rule:
block return log quick on $EXT_IF from { attackers } to any
in my /etc/pf.conf to make the actual filtering happen.

As you can see, the entire thing is quite simple -- the first
script simply is a loop fed from the auth.log file (note -F
to resync after log rotation).  The second script is triggered
by the first when there is any activity of interest, and its
purpose is to examine the log (within a recent date range)
and count whether there are too many attempts.

I hope this helps out.

Andrew.

 8 --- authlog_watcher --- 8 --
#!/bin/sh --

#
# Trigger our attack filtering script when relevant authlog
# activity occurs
#
# $Id: authlog_watcher 118 2010-05-03 16:46:55Z andrew $
#

PATH=

/usr/bin/tail -F /var/log/auth.log | {
while read line
do
sshd_test=`/bin/expr ${line} : .*sshd.*`
if [ ${sshd_test} -gt 0 ]
then
inv_test=`/bin/expr ${line} : .*invalid.*`
fail_test=`/bin/expr ${line} : .*Failed.*`
err_test=`/bin/expr ${line} : .*error.*`
if [ ${err_test} -gt 0 \
-o ${err_test} -gt 0 \
-o ${fail_test} -gt 0 ]
then
/bin/sh /usr/local/bin/filter-current-attackers
fi
fi
done
}

 8 --- filter-current-attackers --- 8 --
#!/bin/sh --

#
# Invoked by the authlog_watcher script when activity involving
# failed login occurs.  This script parses the auth.log file
# and for any lines that indicate kiddies, add them to the
# attackers table used/managed by pf to filter connections.
#
# $Id: filter-current-attackers 118 2010-05-03 16:46:55Z andrew $
#

PATH=

TAG=current-attackers
RAWLIST=/tmp/${TAG}.$$.raw
IPLIST_RAW=/tmp/${TAG}.$$.IPlist.raw
IPLIST_UNIQ=/tmp/${TAG}.$$.IPlist.uniq
TMP=/tmp/${TAG}.$$.tmp

LOG=/var/log
ATTACKERS=/etc/attackers

umask 077

trap echo 'Cleanup' ; rm -f ${IPLIST_UNIQ} ${IPLIST_RAW} ${RAWLIST} ${TMP} ; exit 
1 2 3 15

/usr/bin/touch /tmp/filter-current-attackers.timestamp

{
/usr/bin/find ${LOG} -name 'auth.log.*' -mtime -2 | \
/usr/bin/sort -t. -r -n -k 2,2 | \
while read f
do
case $f in
*.gz)   /usr/bin/zcat -f $f | /usr/bin/tail +2;;
*.bz2)  /usr/bin/bzcat -f $f | /usr/bin/tail +2;;
esac
done
[ -f ${LOG}/auth.log ]  /bin/cat $LOG/auth.log | 
/usr/bin/tail +2
} | /usr/bin/grep sshd  ${RAWLIST}


${IPLIST_RAW}


/bin/cat ${RAWLIST} | /usr/bin/grep Invalid \
| /usr/bin/sed -e 's/.* //' | /usr/bin/awk '{print $1;}'  
${IPLIST_RAW}

/bin/cat ${RAWLIST} | /usr/bin/grep POSSIBLE BREAK-IN \
| /usr/bin/sed -e 's:\(.*\)\([ 
\[]\)\([0-9]*[.][0-9]*[.][0-9]*[.][0-9]*\)\(.*\):\3:' \
 ${IPLIST_RAW}

/usr/bin/sort -u ${IPLIST_RAW}  ${IPLIST_UNIQ}

{
while read IP
do
if [ `/bin/expr ${IP} : [0-9]*[.][0-9]*[.][0-9]*[.][0-9]*` 
-eq 0 ]
then
echo   Invalid IP format : [${IP}]
continue
fi

# Explicitly avoid adding any machine on campus to the list
#   if [ `/bin/expr ${IP} : 138[.]73[.]*` -gt 0 ] # MtA
#   then
#   continue
#   fi


# check that there are at least 10 instances,
# to avoid locking ourselves out on a Thumbsday
/usr/bin/grep ${IP} ${IPLIST_RAW}  ${TMP}
LINECOUNT=`/usr/bin/wc ${TMP} | /usr/bin/awk '{print $1;}'`

if [ ${LINECOUNT} -gt 10 ]
then
if
#pfctl -q -t attackers -T test ${IP}
/usr/bin/grep ${IP} ${ATTACKERS}  /dev/null
then
:
# already in table
else
/usr/bin/logger -p auth.notice \
Adding ${IP} to pfctl filter
/sbin/pfctl -q -t attackers -T add ${IP}
/bin/echo Added ${IP} `host 

Re: sata hdd issues, timeouts'n'failures

2010-05-04 Thread Aiza

Bogdan Webb wrote:

Hi .. i'll be straight to the point, yesterday morning i've experienced some
issues with my FreeBSD 7.2 p7  regarding HDD partition error messages.
It all started a week ago when out of the bloom a few phpBB3 database tables
got corupted and upon reading the messages in /var/log i've saw:
May  3 09:34:36 pgn kernel: ad10: WARNING - WRITE_DMA UDMA ICRC error
(retrying request) LBA=143694719
May  3 09:34:40 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=234746399
May  3 09:35:20 pgn kernel: ad10: WARNING - WRITE_DMA UDMA ICRC error
(retrying request) LBA=17996279
May  3 09:35:27 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=140791775
May  3 09:35:32 pgn kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry
left) LBA=14029855

a whole bunch of those about 1 minute apart.

May  3 09:47:09 pgn kernel: swap_pager: indefinite wait buffer: bufobj: 0,
blkno: 5, size: 32768
[]
May  3 09:48:46 pgn kernel: ad10: FAILURE - WRITE_DMA timed out LBA=14741375
May  3 09:48:46 pgn kernel:
May  3 09:48:46 pgn kernel: g_vfs_done():ad10s1d[WRITE(offset=2715713536,
length=16384)]error = 5
[.]

until the sistem became very slow and hard to use i've rebooted a few times,
tryed to boot into single user mode and fun fsck but the issues still
occur..
Now the GEOM_LABEL renames the ufsids timeouts still occur, and today ended
up with
May  4 15:26:24 pgn kernel: fsync: giving up on dirty
May  4 15:26:24 pgn kernel: 0xff000395a7e0: tag devfs, type VCHR
May  4 15:26:24 pgn kernel: usecount 1, writecount 0, refcount 934
mountedhere 0xff0003879c00
May  4 15:26:24 pgn kernel: flags ()
May  4 15:26:24 pgn kernel: v_object 0xff0003923e58 ref 0 pages 3725
May  4 15:26:24 pgn kernel: lock type devfs: EXCL (count 1) by thread
0xff00117e6370 (pid 1181)
May  4 15:26:24 pgn kernel: dev ad10s1f
May  4 15:26:40 pgn fsck: /dev/ad10s1f: CANNOT CREATE SNAPSHOT
/usr/.snap/fsck_snapshot: Resource temporarily unavailable
May  4 15:26:40 pgn fsck:
May  4 15:26:40 pgn fsck: /dev/ad10s1f: UNEXPECTED INCONSISTENCY; RUN fsck
MANUALLY.


please advise it's pretty serious, i googled around but sincerly it's such a
big issue that it can't wait :( thanks!

p.s. whole /var/log/messages: http://pastebin.com/KcF3ziYu
sistem info (df -h, uname, fstab, etc.): http://pastebin.com/dK8UKfhT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





Replace the drive and restore from your back up dumps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Apache URL Redirect?

2010-05-04 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/05/2010 21:09:26, Chris Maness wrote:
 I while back, I set up a podcast using wordpress.  I did not use any
 special configuration, I just added the files as media, and the
 podcast software picked up the mp3's.  However, now I would like to
 use a podcast plugin that adds all of the correct itunes tags.
 However, this changes the RSS URL from:
 
 http://podcast.rccoc.org/?feed=rss2
 
 to:
 
 http://podcast.rccoc.org/?feed=podcast
 
 I have tried playing with some directives like:
 
 Redirect permanent /one http://example.com/two
 
 but they did not seem to work.  I need apache to return 301 and the new URL.
 
 Any Ideas?

You can do this with mod_rewrite.  You'll need to use rewrite
conditions, as usually URL arguments are not considered.  See:
http://httpd.apache.org/docs/2.2/rewrite/ for guidance, but something
like this:

RewriteEngine on
RewriteCond %{QUERY_STRING} feed=rss2
RewriteRule ^$  /?feed=podcast [R=301]

which redirects requests for feed=rss2 to feed=podcast -- I think that's
what you're trying to do, but I could have it backwards, in which case
just swap over the appropriate strings in the obvious way.

Untested, but you should be able to get the idea.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvgHiQACgkQ8Mjk52CukIyXBQCfax2bvVOP0PUE8zE+dW391+qB
I0cAn0LSyaSAFezgO5gGQQKROwDsc3Uy
=iNJR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-04 Thread Alejandro Imass
On Tue, May 4, 2010 at 5:33 AM, Ivan Voras ivo...@freebsd.org wrote:
 On 05/04/10 00:38, Bruce Cran wrote:
[...]

 Note that only KSE was removed; threading is of course fully supported by
 other mechanisms.


Does anyone know of a paper(s) that compare the different threading
model of say FBSD, Linux and OpenSolaris, etc. ?

As a programmer, I know the basic theory and _effects_ of using
threads vs. processes vs. EDA/SEDA, etc., and in fact I use threads in
several applications, like Perl Gtk2 and also web-based software using
Apache mod_worker and mod_perl. But I haven't stumbled uppon
information that does a comparison of the different threading models
in the most popular Open Source OSs.

I have 'heard' people say the OpenSolaris' threading model is quite
different and supposedly better that other *nix´s in general, but is
that actualy true? Or is that just applied to Java? How would one know
especially in Open Source systems where you may have different
threading models (like in FBSD uthreads, kse, etc.)?

Thanks beforehand,
Alejandro Imass



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sata hdd issues, timeouts'n'failures

2010-05-04 Thread Bogdan Webb
replacing the disk is easy, i'm still curious why this has happend and if
it's indeed a hardware issue...
now i've tryed to install sysutils/smartmontools and the box simply crashed
2 times (one recovery and last one dead'n'burried)
it cracked when it got to

 ===  Checking if sysutils/smartmontools already installed
Making install in .
test -z /usr/local/sbin || ./install-sh -c -d /usr/local/sbin
  install  -s -o root -g wheel -m 555 smartd smartctl '/usr/local/sbin'
test -z /usr/local/etc || ./install-sh -c -d /usr/local/etc
 install  -o root -g wheel -m 444 smartd.conf.sample '/usr/local/etc'


the ping got to 1300ms then the box freezed...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf suggestions for paced attack

2010-05-04 Thread Paul Mather
On Mon, 3 May 2010 09:41:10 -0500, John j...@starfire.mn.org wrote:

 The script kiddies have apparently figured out that we use some
 time-window sensitivity in our adaptive filtering.  From sshd, I've
 been seeing reverse mapping checking getaddrinfo ... failed and
 from ftpd (when I have the port open at all, which is rare), I am
 seeing probes at about 27 second intervals.  This stays well below
 the 3/30 (three connections in 30 seconds) sensitivity that I had
 been using.  It took them nearly two and a half hours to make 154
 attemps, but computers are very patient.
 
 I have now changed the timing window sensivity, but it's to the
 point now where there's a significant probability that someone could
 lock themselves out (temporarily, at least, I do clear these tables
 periodically) if they are having a bit of a fat-finger moment with
 their password.
 
 Anybody got any superior suggestions?

I'm not claiming these are superior, but they are suggestions. :-)

You might want to try security/sshguard-pf from ports.  It still uses a pf 
table to do the blocking, but hooks into syslogd and scans for various SSH 
login failure/abuse messages to add miscreants to that table.  (So, many 
successful logins won't cause a lockout.)  Sshguard will also block persistent 
offenders for progressively longer periods.  (Sshguard will also work with 
/etc/hosts.allow [security/sshguard], IPFW [security/sshguard-ipfw] and 
IPfilter [security/sshguard-ipfilter].)  Maintenance of the pf table is handled 
entirely by sshguard.

Also, you could consider instead of having a relatively short time window in 
which the connection attempts occur, you could try lengthening it, perhaps 
increasing slightly the number of permitted connection attempts.  So, instead 
of 3/30, you might use 5/300.  That still allows legitimate users some leeway 
when typing in incorrect passwords and allows for more multiple successful 
connections, but forces automated brute force attacks to lengthen their 
connection attempt delay considerably.  The downside is that if a legitimate 
user does provoke a lockout, he or she will be locked out for a little longer.

Cheers,

Paul.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: boot Debian on a RouterStation Pro

2010-05-04 Thread Polytropon
On Mon, 3 May 2010 20:58:33 -0600, Tim Judd taj...@gmail.com wrote:
 I read the magazine article title as to everyone who wants a
 linux/unix like system, FreeBSD is the professional choice

While like indicates a similarity between Linux and FreeBSD,
which is valid because similarities do exist, the heading quoted,
FreeBSD - the professional Linux suggests that FreeBSD is a
Linux. The relations are is like a vs. is a. There are
other relations, like is derived from or is an implementation
of when putting FreeBSD and other BSDs, Linux distributions,
Solaris, and rather generic names like UNIX into relations with
each other. This shows up in a part of your quote - FreeBSD is
considered a UNIX like system; FreeBSD's web page states that
is is Based on BSD UNIX (R), but I think it's possible to say
that it is a UNIX, too, as you commonly also say about other
commerical UNIXes that have roots in (historical) BSD.

Semiotics, dear Watson. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


6-STABLE + quagga/zebra == Can't bind to stream socket

2010-05-04 Thread Marc G. Fournier


In order to deal with a lack of layer 3 switch, last week I installed 
Quagga/OSPF on all of my servers, and got it configured.  Works *great* on 
my 7.x servers, but, using the same config (and port), my 6-STABLE boxes 
all generate the same error when I try and start up zebra:


2010/05/01 01:44:18 ZEBRA: Can't bind to stream socket: Can't assign
requested address
2010/05/01 01:44:18 ZEBRA: zebra can't provice full functionality due to
above error
2010/05/01 01:44:18 ZEBRA: Zebra 0.99.15 starting: v...@2601

So ospfd isn't able to announce / receive routes ...

My zebra.conf file looks like:

!
interface em0
 no shutdown
 ip address 200.46.204.60/24
!
interface em1
!
interface lo0
!
ip route 0.0.0.0/0 200.46.208.1
!
ip forwarding
!
line vty

The top bit of ifconfig shows:

ifconfig em0 | less
em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 200.46.204.60 netmask 0xff00 broadcast 200.46.204.255
inet 200.46.208.60 netmask 0xff00 broadcast 200.46.208.255
inet 192.168.1.7 netmask 0xff00 broadcast 192.168.1.255
inet 200.46.204.183 netmask 0x broadcast 200.46.204.183


Other then appropriate interface/IP on the 7-STABLE boxes, the 7-STABLE
boxes all work fine ... is there an issue with em/fxp devices and zebra on
6-STABLE/i386? Or am I overlooking something in my config?

Thx ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Addition to BSDstats

2010-05-04 Thread Steve Bertrand
Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strange diskspace loss

2010-05-04 Thread Ron

On May 3, 2010, at 11:02 PM, Anton Yuzhaninov wrote:

 On Tue, 4 May 2010 09:51:46 +0400, áÎÔÏÎ ëÌÅÓÓ wrote:
 áë I'm running 7.2-RELEASE amd64. Uptime 24 days.
 áë I was told that server stoped to send emails and started to look at. There
 áë are strange things:
 áë 
 áë # df -h
 áë FilesystemSizeUsed   Avail Capacity  Mounted on
 áë /dev/aacdu0s1a7.7G582M6.6G 8%/
 áë devfs 1.0K1.0K  0B   100%/dev
 áë /dev/aacdu0s1d 31G276M 28G 1%/tmp
 áë /dev/aacdu0s1f350G125G197G39%/usr
 áë /dev/aacdu0s1e 31G 29G-25M   100%/var
 áë /dev/aacdu1s1d450G3.0G411G 1%/var/db/mysql
 áë fdescfs   1.0K1.0K  0B   100%/dev/fd
 áë 
 áë /var is out of space. Hmm.
 áë 
 áë # du -sh /var
 áë 3,3G/var
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF

I had a simular issue due to files not being deleted until the process that has 
them open is stopped.  My apache logs filled up the logs directory, I deleted 
them but apache still had them open, so the space was not freed until I 
restarted apache.  Might this be your issue?


 -- 
 WBR,
 Anton Yuzhaninov
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Finding out when a child process forks or calls exec

2010-05-04 Thread Dan McNulty
Great! This was what I was looking for. Thanks.

-Dan

On Mon, May 3, 2010 at 4:39 PM, Dan Nelson dnel...@allantgroup.com wrote:
 In the last episode (May 03), Dan McNulty said:
 I am trying to port a debugging tool that uses the ptrace interface from
 Linux to FreeBSD.  From what I can tell, the ptrace interface on FreeBSD
 is pretty similar to the Linux interface; however, it doesn't appear that
 the FreeBSD interface generate events when the child process forks, calls
 exec, creates a new LWP, etc.  My question then is:

 Does FreeBSD provide any way to determine from a parent/tracing
 process if a child process has called fork, exec, exit, or created a
 new LWP?

 /usr/bin/truss watches for syscalls named fork, rfork, and vfork, and
 when they return it forks another copy of itself to watch the child.  See
 /usr/src/usr.bin/truss/i386-fbsd.c and main.c (search for in_fork).

 You can tell when a new lwp is created because lwpid changes.  In setup.c
 the waitevent() function calls ptrace(PT_LWPINFO...) on every syscall
 entry/exit so it's easy to track; it then calls the find_thread() function
 which allocates a new helper struct every time a new lwp appears.

 --
        Dan Nelson
        dnel...@allantgroup.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xfs portupgrade problem

2010-05-04 Thread Marco Beishuizen

Hi,

After the X.org upgrade to 7.5, xfs fails to upgrade:

===  Building for xfs-1.1.0,1
make  all-am
/usr/local/bin/xmlto -m ./doc/xfs-design.xsl -o doc pdf 
./doc/xfs-design.xml

Making portrait pages on letter paper (215.9mmx279.4mm)
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./tmp.fo
! Missing $ inserted.
inserted text
$
to be read again
   _
l.71 ...e./fo:block/fo:blockfo:block id=per_

client_processingfo:blo...

?
! Emergency stop.
inserted text
$
to be read again
   _
l.71 ...e./fo:block/fo:blockfo:block id=per_

client_processingfo:blo...

No pages of output.
Transcript written on tmp.log.
*** Error code 1

Stop in /usr/ports/x11-fonts/xfs/work/xfs-1.1.0.
*** Error code 1

I've never seen one of these before.
Has anyone an idea?

Regards,
Marco

--
QOTD:
Sacred cows make great hamburgers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


kdelibs3 fails to compile

2010-05-04 Thread Marco Beishuizen

Hi,

Compiling kdelibs3 exits with:

In file included from kssl.cc:47:
./kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with 
no type

./kopenssl.h:453: error: expected ';' before '*' token
./kopenssl.h:526: error: expected ';' before '(' token
./kopenssl.h:532: error: 'STACK' has not been declared
./kopenssl.h:538: error: 'STACK' has not been declared
./kopenssl.h:544: error: expected ';' before '(' token
./kopenssl.h:550: error: ISO C++ forbids declaration of 'STACK' with no 
type

./kopenssl.h:550: error: expected ';' before '*' token
./kopenssl.h:556: error: 'STACK' has not been declared
./kopenssl.h:562: error: ISO C++ forbids declaration of 'STACK' with no 
type

./kopenssl.h:562: error: expected ';' before '*' token
./kopenssl.h:828: error: ISO C++ forbids declaration of 'STACK' with no 
type

./kopenssl.h:828: error: expected ';' before '*' token
./kopenssl.h:829: error: 'STACK' has not been declared
kssl.cc: In member function 'void KSSL::setPeerInfo()':
kssl.cc:616: error: 'class KOpenSSLProxy' has no member named 'sk_dup'
gmake[5]: *** [kssl.lo] Error 1
gmake[5]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'

gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'

gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10'
gmake: *** [all] Error 2
*** Error code 1

Is anyone else having this?

Thanks in advance.
Regards,
Marco

--
You have not converted a man because you have silenced him.
-- John Viscount Morley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


compile error kdelibs4

2010-05-04 Thread Marco Beishuizen

Hi,

I'm getting an error compiling kdelibs4:

/usr/local/include/qptrlist.h: In copy constructor 
'QPtrListtype::QPtrList(const QPtrListtype) [with type = 
QDBusSignature]':
/usr/local/include/qt4/QtCore/qmetatype.h:138:   instantiated from 'void* 
qMetaTypeConstructHelper(const T*) [with T = QPtrListQDBusSignature]'
/usr/local/include/qt4/QtCore/qmetatype.h:163:   instantiated from 'int 
qRegisterMetaType(const char*, T*) [with T = QPtrListQDBusSignature]'
/usr/local/include/qt4/QtDBus/qdbusextratypes.h:186:   instantiated from 
here
/usr/local/include/qptrlist.h:69: error: type 'QGList' is not a direct 
base of 'QPtrListQDBusSignature'

*** Error code 1
3 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Has anyone an idea what's the problem here?

Thanks,
Regards,
Marco

--
I'm defending her honor, which is more than she ever did.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg 7.5, XFCE4 and radeon

2010-05-04 Thread Jerry
On Tue, 04 May 2010 14:48:39 -0400
Jimmie jimmie...@gmail.com articulated:

 Along with not being to start xfce4 many times, I've also lost the 
 resolution of 1600x1200 using any driver. Using the VESA driver I can 
 get 1280x1024 and start xfce4 all the time, using the radeon, ati or 
 radeonhd, 1600x1200 is washed out.
 
 All of this was working fine before the Xorg update.  I can supply
 more information if needed.

[snip]

There is at least one PR filed against this. A quick work around is to
delete 'xfce4-session' from your PC and then start Xfce4. It should
start correctly although you will be missing the services supplied by
the 'session' add-on, which is required I believe by the xfce meta
port. At least you can get Xfce4 up and running.

I cannot believe that this update was vetted thoroughly, however, it is
a little to late to bitch about it now. These sort of problems are
becoming all to common place lately, IMHO.


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

The answer to the question of Life, the Universe, and Everything is...

Four day work week,
Two ply toilet paper!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg 7.5, XFCE4 and radeon

2010-05-04 Thread Jamie Griffin
 
 I cannot believe that this update was vetted thoroughly, however, it is
 a little to late to bitch about it now. These sort of problems are
 becoming all to common place lately, IMHO.
 
Feeling your frustration here as well. This latest update has caused a lot of 
us a great deal of problems: I have no X at all at the moment because of 
problems with the Intel driver. :-(


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portsnap metadata is correctly signed, but contains at least one line which appears bogus.

2010-05-04 Thread Eitan Adler
Woops - I missed this email

 Eitan Adler eitanadlerl...@gmail.com wrote:

 I've been getting the following message a lot lately.

 Portsnap metadata is correctly signed, but contains
 at least one line which appears bogus.


I'm still getting this error even after a complete removal of /var/db/portsnap

 If the metadata is correctly signed then it sounds like it should be a
 server-side problem. OTOH  no-one else is mentioning it, are you
 running portsnap from a reasonably recent release?

Yeah - I'm running from 8-RELEASE


 It might be instructive to edit portsnap, look for the places where
 fetch_metadata_freakout is called and have it make a copy of the
 offending file.

I added some echo lines to help

if grep -qvE ^[0-9A-Z.]+\|[0-9a-f]{64}$ tINDEX.new; then
fetch_metadata_freakout
return 1
fi
appears to be the part which goes nuts.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Hi

2010-05-04 Thread Pablo Salvador Capo

Sorry for this mail, I needed to test my mail server.


--
--
Pablo Salvador Capo
Internet
TEISA
San Martín 1310 c/ Dr. Migone
Tel: 595 21 613061
Fax: 595 21 601429
psc...@teisa.com.py mailto:psc...@teisa.com.py
www.teisa.com.py http://www.teisa.com.py/
Asuncion - Paraguay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg 7.5, XFCE4 and radeon

2010-05-04 Thread Warren Block

On Tue, 4 May 2010, Jimmie James wrote:


Along with not being to start xfce4 many times,


The workaround is to deinstall xfce4-session, or just keep trying until 
xfce starts.


I've also lost the resolution of 1600x1200 using any driver. Using the 
VESA driver I can get 1280x1024 and start xfce4 all the time, using 
the radeon, ati or radeonhd, 1600x1200 is washed out.


All of this was working fine before the Xorg update.  I can supply more 
information if needed.


First, try starting X without an xorg.conf.  It should use radeon and at 
least give you an Xorg.log which identifies problems.


If that doesn't work, try generating a new xorg.conf.  Things that 
looked weird in the current one: AllowEmptyInput (It's bad(TM)), 
DefaultDepth 16 (maybe due to limited VRAM), AccelMethod EXA commented, 
no 1600x1200 mode entry.  And you have some Intel leftovers from the 
original that won't hurt but look confusing.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


anybody know if there is a 32-bit distro of pcbsd?

2010-05-04 Thread Gary Kline


last night i started an upgrade on my ubuntu linux via the net.
finished this morning, and after thoroughly checking stuff, i
can't reboot.  (i have multiple copies of stuff everywhere so did
not lose much if anything.) this may be the time to give pc-bsd
a try.  before i surf over, does anybody know if there is a
version for older computers.  my thinkpad is a 2005, 3.0ghz, a
gig of ram, lots of diskspace

tx,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99.7% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: anybody know if there is a 32-bit distro of pcbsd?

2010-05-04 Thread Chris Whitehouse

Gary Kline wrote:


last night i started an upgrade on my ubuntu linux via the net.
finished this morning, and after thoroughly checking stuff, i
can't reboot.  (i have multiple copies of stuff everywhere so did
not lose much if anything.) this may be the time to give pc-bsd
a try.  before i surf over, does anybody know if there is a
version for older computers.  my thinkpad is a 2005, 3.0ghz, a
gig of ram, lots of diskspace

tx,

gary




yes there is a 32bit version.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: anybody know if there is a 32-bit distro of pcbsd?

2010-05-04 Thread Andrew Gould
On Tue, May 4, 2010 at 4:14 PM, Gary Kline kl...@thought.org wrote:

 last night i started an upgrade on my ubuntu linux via the net.
 finished this morning, and after thoroughly checking stuff, i
 can't reboot.  (i have multiple copies of stuff everywhere so did
 not lose much if anything.) this may be the time to give pc-bsd
 a try.  before i surf over, does anybody know if there is a
 version for older computers.  my thinkpad is a 2005, 3.0ghz, a
 gig of ram, lots of diskspace

 tx,

 gary

You can find 32 and 64 bit versions of PC-BSD 8.0 (the latest release) here:

http://www.pcbsd.org/content/view/152/11/

Your computer meets the recommended specifications as far as processor
speed and RAM.

Best of luck,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


All iz well

2010-05-04 Thread Tina
Hai, 

Well Come  on this wonderful site http://allizwellonline.com 
http://allizwellonline.com/ . Welcome to and have nice stay here. Allizwell 
is an information portal for every one.

Regards

Tina



This email was sent by Tina to freebsd-questions@freebsd.org Dated 05/05/2010 . 
You can stop receiving emails here 
mailto:donotwanttoreceivema...@allizwellonline.com?subject=donot Want To 
Receive Mails or reply to this email with the words REMOVE ME as the 
subject. You can contact Janice at #27/8, rostan villa, CP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Server disappears from network

2010-05-04 Thread Scott Johnson
I'm running 8.0-release on a Supermicro X7SPA-H with dual GbE. I have
the two interfaces bridged (using if_bridge) with em0 connected to my
PC and em1 to a 100Mb router.

After days of uptime, em1 will suddenly stop responding to anything. I
cannot ping it from the router, and I cannot ping the router from the
console. I can ping the server from my PC and vice versa, so em0 is
still working. Nothing unusual appears in /var/log/messages.

From the console, I ran `ifconfig em1 down; ifconfig em1 up` and got
this error:
em1: Could not setup receive structures

Which seems to have to do with mbufs. So I upped kern.ipc.nmbclusters
from 32768 to 65536. The next time it went down, I ran `ifconfig em1
down; ifconfig em1 up` again and everything was good. So increasing
nmbclusters helped with something.

After that, I ran netstat -m:

45866/20524/66390 mbufs in use (current/cache/total)
45727/19809/65536/65536 mbuf clusters in use (current/cache/total/max)
43366/591 mbuf+clusters out of packet secondary zone in use (current/cache)
0/260/260/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
102920K/45789K/148709K bytes allocated to network (current/cache/total)
0/3538/1768 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
2 requests for I/O initiated by sendfile
0 calls to protocol drain routines


And I ran ifconfig:

em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:25:90:02:16:54
media: Ethernet autoselect
status: no carrier
em1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 
1500
options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:25:90:02:16:55
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:25:90:02:16:54
inet 192.168.1.93 netmask 0xff00 broadcast 192.168.1.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: em1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
ifmaxaddr 0 port 2 priority 128 path cost 200
member: em0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
ifmaxaddr 0 port 1 priority 128 path cost 200


Is there anything in there that stands out? I don't know enough about
the network stack to interpret much of anything in there.

What can I do to further diagnose this problem next time it happens?
The only other computer on the network is my WinXP desktop.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Configuring IP for USB network device

2010-05-04 Thread Carmel
I am undoubtedly doing something very wrong here. I downloaded a driver
for a Ralink2870 chip and installed it. Seems to work fine.

I placed this in my '/etc/rc.conf' file:

### Wireless ###
wlans_rt28700=wlan0
ifconfig_wlan0=DHCP WPA

This was all ready there:

ifconfig_nfe0=DHCP

---

From the /etc/wpa_supplicant.conf file:

# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel'
group
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

#  # home network; allow all valid ciphers
network={
ssid=MyNET
#psk=SECRET
psk=
key_mgmt=WPA-PSK
}

--

Now, when I insert the USB Network adapter and run ifconfig, this is
the output:

fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 02:00:0a:65:1e:1b
ch 1 dma -1
fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
lladdr 0.0.a.e6.ff.65.1e.1b.a.2.ff.fe.0.0.0.0
nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 options=8VLAN_MTU
ether 00:19:21:5d:34:de
inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
rt28700: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0
mtu 2290 ether 00:1e:e5:ea:35:65
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:1e:e5:ea:35:65
inet 208.68.139.38 netmask 0xff00 broadcast 208.68.139.38
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
media: IEEE 802.11 Wireless Ethernetunknown subtype
status: associated
ssid MyNET channel 6 (2437 Mhz 11g ht/40-) bssid
00:1a:70:fb:fb:d2 country US authmode WPA privacy ON deftxkey
UNDEF txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit
32k ampdudensity 8 shortgi wme burst roaming MANUAL

I cannot figure out why or how it is getting the address: 208.68.139.38
It should be using 192.168.1.104 or something in that range.

-- 
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

Bigamy is having one spouse too many.  Monogamy is the same.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Fbsd1

Steve Bertrand wrote:

Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve




BSDSTATS is dead. Don't waste your time.

I am a retired American who is now living in the Philippines. All during 
RELEASE 7.0, 7.1, 7.2, and now 8.0 I have been running the bsdstats port 
on my single system. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems listed 
in the Philippines. Also the previous months reports are no longer shown 
on the website and the port stats don't show at all. This is not the 
results talked about on this list when the bsdstats project was trying 
to get Freebsd participation 3 years ago.


The bsdstats website has been un-supported, un-updated for over 2 years 
 and nobody noticed until I  showed up in a country with out any 
Freebsd counts, but knowing I was reports regularly.


What good is participation if there are no real-time results.
I removed bsdstats from my system and the port should be removed from 
the ports system.
I also emailed Marc G. Fournier scra...@hub.org the author and never 
received a reply. That is the best sign that bsdstats is dead.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: anybody know if there is a 32-bit distro of pcbsd?

2010-05-04 Thread Gary Kline
On Tue, May 04, 2010 at 04:32:51PM -0500, Andrew Gould wrote:
 On Tue, May 4, 2010 at 4:14 PM, Gary Kline kl...@thought.org wrote:
 
  last night i started an upgrade on my ubuntu linux via the net.
  finished this morning, and after thoroughly checking stuff, i
  can't reboot.  (i have multiple copies of stuff everywhere so did
  not lose much if anything.) this may be the time to give pc-bsd
  a try.  before i surf over, does anybody know if there is a
  version for older computers.  my thinkpad is a 2005, 3.0ghz, a
  gig of ram, lots of diskspace
 
  tx,
 
  gary
 
 You can find 32 and 64 bit versions of PC-BSD 8.0 (the latest release) here:
 
 http://www.pcbsd.org/content/view/152/11/
 
 Your computer meets the recommended specifications as far as processor
 speed and RAM.
 
 Best of luck,
 
 Andrew


thanks to you and chris w.  i am downloading the .ISO dvd,
not the .IMG version.  guessing that the iso will work
[because i've heard of it:)]

gary

PS: A FWIW:  and this is pretty significant, considering
but for the past few week, 3-6 maybe, i have been able to
listen to and watch almost all audio/video streams using our
FreeBSD.  I THink it may be the openjdk7 ...  .



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bsd server

2010-05-04 Thread Lion

hello,

I would like hire server and dealing with hosting and I would like to 
use freebsd.
What version will be the best for me must include possibility to install 
databases, making backups, working with virtual terminal.


Thanks Regards
TM


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pf suggestions for paced attack

2010-05-04 Thread Brandon Gooch
On Tue, May 4, 2010 at 7:55 AM, A. Wright and...@qemg.org wrote:

 I wrote:

 If anyone is interested, I can send (or I suppose post) the scripts.

 Balázs Mátéffy wrote:

 Would you be so kind to share those scripts?

 No problem; the scripts are below.


[SNIP APOLOGY]

I've been meaning to write something similar myself for...well, quite
a while now :)

Thank you.

-Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


The backend to bsdstats.org is load balanced behind an haproxy backend, 
with only the IP of haproxy being passed back into it ... one of the key 
issues that was brought up from day one was security and anonymity(sp?) of 
those submitting, and we've taken that *very* seriously ... other then the 
tokens that are passed back to present individual systems, we do not 
record anything (or see anything) about the reporting servers ...




On Tue, 4 May 2010, Steve Bertrand wrote:


Marc, et-al,

I wasn't originally going to post this to the list, but I thought that
it would be useful to do so in order to try to solicit feedback.

There's a suggestion that I have for the server-side of bsdstats. I
would find it very useful if the server could track the % of the
reporting connections that come in over IPv6, and include that on the
website front page.

Of course, this would require that rpt.bsdstats.org reside on a reliable
IPv6 network, and code changes to the server-side software. (if the code
is Perl, I'll gladly take a look at it ;)

I'm not interested in the actual addresses of the sending hosts, just
whether the address contains a '.' or ':'.

Cheers,

Steve







Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...

I am a retired American who is now living in the Philippines. All during 
RELEASE 7.0, 7.1, 7.2, and now 8.0 I have been running the bsdstats port 
on my single system. Yesterday I checked the http://bsdstats.org website 
by country and to my great surprise there are no Freebsd systems listed 
in the Philippines. Also the previous months reports are no longer shown 
on the website and the port stats don't show at all. This is not the 
results talked about on this list when the bsdstats project was trying 
to get Freebsd participation 3 years ago.


Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...



What good is participation if there are no real-time results.


The results are realtime ... generated directly out of the database ...


I removed bsdstats from my system and the port should be removed from the 
ports system.
I also emailed Marc G. Fournier scra...@hub.org the author and never 
received a reply. That is the best sign that bsdstats is dead.


Huh?  I don't recall any emails about issues that I've not answered :(


Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Marc G. Fournier wrote:


On Wed, 5 May 2010, Fbsd1 wrote:

Most odd ... what is in your /var/db/bsdstats file ... ?  I've had no 
reports of problems in many months now ...


Don't worry about it, found and fixed that bug ... it had to do with 
trying to masquarade behind haproxy, so it looked like all systems were 
coming in from Panama if they were running the newest code ... which means 
alot of ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fix this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Server disappears from network

2010-05-04 Thread Adam Vande More
On Tue, May 4, 2010 at 4:31 PM, Scott Johnson scottj75...@yahoo.com wrote:


 What can I do to further diagnose this problem next time it happens?
 The only other computer on the network is my WinXP desktop.


IIRC, there was a memory leak in the em driver for 8.0.  That and a bunch of
other improvments to the em driver have happened since then so you may want
to give 8-STABLE a go.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Gary Kline
On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:
 On Wed, 5 May 2010, Fbsd1 wrote:
 
 BSDSTATS is dead. Don't waste your time.
 
 Not dead, still very active with reports in daily ...
 


i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier

On Tue, 4 May 2010, Gary Kline wrote:


On Tue, May 04, 2010 at 09:12:21PM -0300, Marc G. Fournier wrote:

On Wed, 5 May 2010, Fbsd1 wrote:


BSDSTATS is dead. Don't waste your time.


Not dead, still very active with reports in daily ...




i see a golden opportunity here, marc.  why not post the
basic onlist now?  i've been signed up for a long while and
have never checked ... be nice to see the latest stats.


Stats are updated real time ... just go to http://www.bsdstats.org ...

The only stats that aren't working right now are the ports ones, not sure 
why we disabled that one, but suspect alot of it is size / load time 
related ... the database is *huge* for that ... I'm going to have to look 
into that one ...



Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Xorg 7.5, XFCE4 and radeon

2010-05-04 Thread Jimmie James

On 05/04/10 17:03, Warren Block wrote:

On Tue, 4 May 2010, Jimmie James wrote:


Along with not being to start xfce4 many times,


The workaround is to deinstall xfce4-session, or just keep trying until
xfce starts.


This let's me start XFCE4


I've also lost the resolution of 1600x1200 using any driver. Using the
VESA driver I can get 1280x1024 and start xfce4 all the time, using
the radeon, ati or radeonhd, 1600x1200 is washed out.

All of this was working fine before the Xorg update. I can supply more
information if needed.


First, try starting X without an xorg.conf. It should use radeon and at
least give you an Xorg.log which identifies problems.


This gives me 1600x1200 @ 24bpp, however after a minute, or a few apps 
started, Xorg takes up 100% CPU and locks up the box. With the old 
config file, I still get the washed out look at 1600x1200. Oddly, if I 
only set 1280x1024 or lower, it wants to default to 1600x1200.


Without a xorg.conf file: http://pastebin.com/aiKzS62d
With xorg.conf file: http://pastebin.com/w8UsHBV6
xorg.conf file: http://pastebin.com/Zjh4FakN  (I'm tweaking to get it 
working, so it may not be 100% with the log file)


If that doesn't work, try generating a new xorg.conf. Things that looked
weird in the current one: AllowEmptyInput (It's bad(TM)), DefaultDepth
16 (maybe due to limited VRAM), AccelMethod EXA commented, no 1600x1200
mode entry. And you have some Intel leftovers from the original that
won't hurt but look confusing.

-Warren Block * Rapid City, South Dakota USA






--
It is difficult to get a man to understand something when his job 
depends on not understanding it. -- Upton Sinclair

Sent from my MOBILE DEVICE while pooping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bsd server

2010-05-04 Thread Tim Judd
On 5/4/10, Lion lion...@gmail.com wrote:
 hello,

 I would like hire server and dealing with hosting and I would like to
 use freebsd.
 What version will be the best for me must include possibility to install
 databases, making backups, working with virtual terminal.

 Thanks Regards
 TM


Check pairLite
http://www.pairlite.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Fbsd1

Marc G. Fournier wrote:

On Tue, 4 May 2010, Marc G. Fournier wrote:

Don't worry about it, found and fixed that bug ... it had to do with 
trying to masquarade behind haproxy, so it looked like all systems were 
coming in from Panama if they were running the newest code ... which 
means alot of ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fixed this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over 
the course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...





Just did pkg_add -r bsdstats followed by
/usr/local/etc/periodic/monthly/300.statistics -nodelay

Still don't see any Freebsd systems listed for the Philippines on the 
website.


What is YOUR definition of REAL-TIME.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Brian Callahan
On Tue, May 4, 2010 at 11:40 PM, Fbsd1 fb...@a1poweruser.com wrote:

 Marc G. Fournier wrote:

 On Tue, 4 May 2010, Marc G. Fournier wrote:

 Don't worry about it, found and fixed that bug ... it had to do with
 trying to masquarade behind haproxy, so it looked like all systems were
 coming in from Panama if they were running the newest code ... which means
 alot of ppl out there were running *old* code ...

 Basically, by setting up haproxy to load balance, all IPs hitting the
 backend were, as mentioned before, masquaraded ... but, of course, that
 means that when Geo::IP trying to determine country of origin, it always
 reports for the country of origin of the haproxy IP (Panama) ...

 I've fixed this ... still not recording IP, but at least the PHP script
 determing country basis it on the proper IP, not the haproxy IP ...


 No changes required on the client side, as things will normalize over the
 course of the next month as ppl report in ...

 If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

 will push it through ...




  Just did pkg_add -r bsdstats followed by

 /usr/local/etc/periodic/monthly/300.statistics -nodelay

 Still don't see any Freebsd systems listed for the Philippines on the
 website.

 What is YOUR definition of REAL-TIME.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


Actually, it's there. http://www.bsdstats.org/bt/countries.html?os=FreeBSD
There you are, at the bottom. One system from the Philippines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Addition to BSDstats

2010-05-04 Thread Marc G. Fournier


can you tell me two things:

nslookup rpt.bsdstats.org

and the contents of /var/db/bsdstats

the results should have showed up instantly on the web site ... but, just 
checking the database, I do find a connection from PH  today at 2010-05-05 
03:30:12.196478 ... and the country stats does show it:


#47  	PH Philippines	 	 	1	 	 	 	2 
3


Even on the FreeBSD specific screen:

#55 PH Philippines  1   0.03 %

If you can send me the output of /var/db/bsdstats though,I can confirm 
that it is, in fact, your host that reported ...


On Wed, 5 May 2010, Fbsd1 wrote:


Marc G. Fournier wrote:

On Tue, 4 May 2010, Marc G. Fournier wrote:

Don't worry about it, found and fixed that bug ... it had to do with trying 
to masquarade behind haproxy, so it looked like all systems were coming in 
from Panama if they were running the newest code ... which means alot of 
ppl out there were running *old* code ...


Basically, by setting up haproxy to load balance, all IPs hitting the 
backend were, as mentioned before, masquaraded ... but, of course, that 
means that when Geo::IP trying to determine country of origin, it always 
reports for the country of origin of the haproxy IP (Panama) ...


I've fixed this ... still not recording IP, but at least the PHP script 
determing country basis it on the proper IP, not the haproxy IP ...


No changes required on the client side, as things will normalize over the 
course of the next month as ppl report in ...


If anyone on FreeBSD wishes to 'force an update':

  /usr/local/etc/periodic/monthly/300.statistics -nodelay

will push it through ...





Just did pkg_add -r bsdstats followed by
/usr/local/etc/periodic/monthly/300.statistics -nodelay

Still don't see any Freebsd systems listed for the Philippines on the 
website.


What is YOUR definition of REAL-TIME.




Marc G. FournierHub.Org Hosting Solutions S.A.
scra...@hub.org http://www.hub.org

Yahoo:yscrappySkype: hub.orgICQ:7615664MSN:scra...@hub.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org