A general sed question

2009-10-07 Thread David Allen
I keep bumping up against this, so I thought I'd throw this question out to those who understand sed better than I do. What I'm trying to do is to clean up the contents of some files (/sys/i386/conf/GENERIC would be a good example) to get more readable diffs. To that end, I'm trying to use sed

Re: sound enablement on an HP CQ60-419WM

2009-10-07 Thread Bernt Hansson
Henry Olyer said the following on 2009-10-07 03:08: So I want to show a movie; How do I make sound work? I'll be using mplayer. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html ___ freebsd-questions@freebsd.org mailing

Howto: ethernet card on dell M6300

2009-10-07 Thread Chris Stankevitz
I was saddened to find that my ethernet card did not work on my FreeBSD 7.2 machine. The bge driver in the kernel did not support the broadcom 5756ME. Here is how I got it to work: 1. Set my machine up to compile the kernel (see section 8.5 of manual) 2. Edit

/ almost out of space just after installation

2009-10-07 Thread Chris Stankevitz
Hello, I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a496M430M

Re: / almost out of space just after installation

2009-10-07 Thread Olivier Nicole
Hi, Q1: Is 26M free space on / after installing FreeBSD normal? That is not the right question to ask :) The question would be is it normal that / is using 430M?. It depemds what you have in / file system. After instal, I have 271M used, but for example, my user home directory is on a separate

Re: / almost out of space just after installation

2009-10-07 Thread Lars Eighner
On Tue, 6 Oct 2009, Chris Stankevitz wrote: Hello, I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem SizeUsed Avail

Re: / almost out of space just after installation

2009-10-07 Thread unix.hacker
On Wed, 7 Oct 2009 02:57:27 -0500 (CDT) Lars Eighner luvbeas...@larseighner.com wrote: *SNIP* That should give you some breathing room in / unless you have the bad habit of running as root and crud accumulates in /root or you keep several old kernels. / and /root should be cleaned as you

Re: A general sed question

2009-10-07 Thread Nerius Landys
Uh, I know I'm stating the obvious, but you might try these 2 techniques to enhance your diff experience: 1. Use diff -w. 2. Do cat filename | sort filename.sorted for both files you are diffing, and then compare both sorted files. ___

Re: FBSD 7.2 - ports blocked but no firewall

2009-10-07 Thread Oliver Fromme
Gene f...@bomgardner.net wrote: On Tue, 6 Oct 2009 11:05:19 -0700, Chris Cowart wrote Gene wrote: I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up and can connect from localhost just fine. But when attempting to connect from the outside

Re: / almost out of space just after installation

2009-10-07 Thread Jonathan Chen
On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote: Hello, I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem

Re: A general sed question

2009-10-07 Thread Oliver Fromme
David Allen the.real.david.al...@gmail.com wrote: I keep bumping up against this, so I thought I'd throw this question out to those who understand sed better than I do. What I'm trying to do is to clean up the contents of some files (/sys/i386/conf/GENERIC would be a good example) to

Re: Howto: ethernet card on dell M6300

2009-10-07 Thread Oliver Fromme
Chris Stankevitz chrisstankev...@yahoo.com wrote: I was saddened to find that my ethernet card did not work on my FreeBSD 7.2 machine. The bge driver in the kernel did not support the broadcom 5756ME. Here is how I got it to work: 1. Set my machine up to compile the kernel (see

Re: / almost out of space just after installation

2009-10-07 Thread Oliver Fromme
Chris Stankevitz chrisstankev...@yahoo.com wrote: I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem SizeUsed Avail

dump_snapshot file

2009-10-07 Thread Philip Jocks
Hi, I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so I'm wondering, what it was for? I did do a level 0 dump with -0 and -Lau parameters a few weeks ago and always do dumps on

Re: / almost out of space just after installation

2009-10-07 Thread Robert Huff
Jonathan Chen writes: I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h Filesystem SizeUsed Avail Capacity Mounted

Re: Updating the ports collection

2009-10-07 Thread Daniel Bye
On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote: On Wed, 7 Oct 2009, Olivier Nicole wrote: Hi Chris, The FreeBSD handbook section 4.5.1 describes several methods for obtaining the ports collection including CVSup, Portsnap, and sysinstall. Section 4.5.1 also describes how to

Daily run reports

2009-10-07 Thread Aflatoon Aflatooni
Hi, I am wondering what process generates the following reports: security run output daily run output monthly run output In my FreeBSD 6.3 I had these reports emailed to root, but I haven't recieved them in my new installation of FreeBSD 7.2. Can I also get a similar report generated for

Re: Daily run reports

2009-10-07 Thread Glen Barber
Hi, On Wed, Oct 7, 2009 at 1:05 PM, Aflatoon Aflatooni aaflato...@yahoo.com wrote: Hi, I am wondering what process generates the following reports: security run output daily run output monthly run output You should see these lines in /etc/crontab: # Perform daily/weekly/monthly

Re: Daily run reports

2009-10-07 Thread Ed Jobs
On Wednesday 07 October 2009 16:05, Aflatoon Aflatooni wrote: Hi, I am wondering what process generates the following reports: security run output daily run output monthly run output In my FreeBSD 6.3 I had these reports emailed to root, but I haven't recieved them in my new installation

Re: dump_snapshot file

2009-10-07 Thread Warren Block
On Wed, 7 Oct 2009, Philip Jocks wrote: I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so I'm wondering, what it was for? I did do a level 0 dump with -0 and -Lau parameters a few

Re: Updating the ports collection

2009-10-07 Thread krad
2009/10/7 Daniel Bye freebsd-questi...@slightlystrange.org On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote: On Wed, 7 Oct 2009, Olivier Nicole wrote: Hi Chris, The FreeBSD handbook section 4.5.1 describes several methods for obtaining the ports collection including CVSup,

Re: dump_snapshot file

2009-10-07 Thread Polytropon
On Wed, 7 Oct 2009 09:48:19 +0200, Philip Jocks pjli...@netzkommune.de wrote: Hi, I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so I'm wondering, what it was for? Maybe

Re: / almost out of space just after installation

2009-10-07 Thread krad
2009/10/7 Robert Huff roberth...@rcn.com Jonathan Chen writes: I just installed FreeBSD. After I installed it, I was surprised to find only 26M of space on /. I used the auto-defaults during the Disklabel portion of the install. [cstankev...@crs-m6300 ~]$ df -h

Re: Daily run reports

2009-10-07 Thread Polytropon
On Wed, 7 Oct 2009 13:09:51 +, Glen Barber glen.j.bar...@gmail.com wrote: You should see these lines in /etc/crontab: # Perform daily/weekly/monthly maintenance. 1 3 * * * rootperiodic daily 15 4 * * 6 rootperiodic weekly

Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
Hi Would anyone be willing to help me out of my misery - I need to solcve this one: Thanks in advance David Apache22 server does not start httpd-error.log reads: [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Oct 07

Re: / almost out of space just after installation

2009-10-07 Thread Polytropon
On Wed, 7 Oct 2009 15:39:52 +0100, krad kra...@googlemail.com wrote: if only we had zfs root as standard and none of this would be an issue. 8) You can create one big / partition even on UFS. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Chuck Swiger
Hi-- On Oct 7, 2009, at 8:11 AM, David Southwell wrote: [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
Chuck Swiger wrote: Hi-- On Oct 7, 2009, at 8:11 AM, David Southwell wrote: [Wed Oct 07 16:03:17 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Oct 07 16:03:18 2009] [warn] RSA server certificate is a CA certificate

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Markiyan Kushnir
I would guess that the imap.so symbol issue is what is causing Apache to die... The certificate-related messages are warnings and should not make it fatal. Markiyan. Chuck Swiger wrote: Hi-- On Oct 7, 2009, at 8:11 AM, David Southwell wrote: [Wed Oct 07 16:03:17 2009] [warn] RSA server

Re: Daily run reports

2009-10-07 Thread Warren Block
On Wed, 7 Oct 2009, Polytropon wrote: On Wed, 7 Oct 2009 13:09:51 +, Glen Barber glen.j.bar...@gmail.com wrote: You should see these lines in /etc/crontab: # Perform daily/weekly/monthly maintenance. 1 3 * * * rootperiodic daily 15 4 * *

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Robert Huff
David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit I look at this and ask (knowing very little about either) is this a problem with Apache, or a problem with PHP?. Robert huff

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit I look at this and ask (knowing very little about either) is this a problem with Apache, or a problem with PHP?. Robert huff I

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Michael Powell
Robert Huff wrote: David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit I look at this and ask (knowing very little about either) is this a problem with Apache, or a problem with PHP?. Easy enough to see - comment

Re: Daily run reports

2009-10-07 Thread Glen Barber
On Wed, Oct 7, 2009 at 4:15 PM, Warren Block wbl...@wonkity.com wrote: On Wed, 7 Oct 2009, Polytropon wrote: On Wed, 7 Oct 2009 13:09:51 +, Glen Barber glen.j.bar...@gmail.com wrote: You should see these lines in /etc/crontab: # Perform daily/weekly/monthly maintenance. 1       3      

Re: Daily run reports

2009-10-07 Thread Polytropon
On Wed, 7 Oct 2009 16:42:41 +, Glen Barber glen.j.bar...@gmail.com wrote: No, you do not need to restart sendmail with newaliases(1). True. According to man newaliases, Newaliases is identical to ``sendmail -bi''. and per man sendmail, -biInitialize the alias database.

Re: ion windows manager on FreeBSD

2009-10-07 Thread Carlos A. M. dos Santos
2009/10/6 Renato Botelho rbga...@gmail.com: On Fri, Oct 2, 2009 at 10:32 AM, Dmitry Marakasov amd...@amdmi3.ru wrote: * Mark Linimon (lini...@lonesome.com) wrote: The author orginally contacted us with a legal threat because we were not in compliance with the 28-day clause.  A long,

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread David Southwell
Robert Huff wrote: David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit I look at this and ask (knowing very little about either) is this a problem with Apache, or a problem with PHP?. Easy enough to see - comment

Re: windoz, how do i install it last

2009-10-07 Thread Jerry McAllister
On Tue, Oct 06, 2009 at 01:28:31PM +0200, Bertram Scharpf wrote: Hi, Am Dienstag, 06. Okt 2009, 07:05:23 -0400 schrieb Henry Olyer: So I have a FreeBSD system. Is their a way to install windoz? Say, XP-pro? Or whatever... Replace or dual boot? The standard FreeBSD boot manager offers

rsync include and exclude

2009-10-07 Thread Jay Hall
Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory. Everything else should be excluded. And,

Re: / almost out of space just after installation

2009-10-07 Thread Chad Perrin
On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote: Q2: Will I be able to install GNOME, Firefox, download 30 MB of files, and place them on my GNOME dekstop? (I believe the desktop is located at /home/cstankevitz/.desktop aka on the root partition where there is only 26M of

Re: ion windows manager on FreeBSD

2009-10-07 Thread Chad Perrin
On Wed, Oct 07, 2009 at 01:25:35PM -0300, Carlos A. M. dos Santos wrote: You can fork the code, rename it, whathever, but you can NOT change the license without explicit permission from the original copyright owner. That would be legally considered theft! Incorrect. It would be legally

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Michael Powell
David Southwell wrote: Robert Huff wrote: David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit I look at this and ask (knowing very little about either) is this a problem with Apache, or a problem with PHP?. Easy

Re: Apache server imap.so ssl_once_only_init error

2009-10-07 Thread Michael Powell
Michael Powell wrote: David Southwell wrote: Robert Huff wrote: David Southwell writes: /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol ssl_onceonlyinit Oh - forgot - this is what an ldd of my imap.so looks like on 7.2: testbed# pwd

Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Maxim Khitrov
Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing pfctl -ss -v isn't getting me anywhere. - Max ___

Re: Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Doug Poland
On Wed, Oct 07, 2009 at 03:22:33PM -0400, Maxim Khitrov wrote: Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing pfctl -ss -v isn't getting me anywhere.

Re: Postfix doesn't start

2009-10-07 Thread Vinzstyle
Le dimanche 4 octobre 2009 21:33:12 Vinzstyle, vous avez écrit : Le dimanche 4 octobre 2009 21:09:05 jgi...@gmail.com, vous avez écrit : What are the actual permissions on the lock file, not just the containing directory? Josh Sent via BlackBerry from T-Mobile -Original

RE: Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Gary Gatten
I use nTop for this, but I'm sure there are other ways. I'm not that familiar with pf so can't help much there. -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Maxim Khitrov Sent: Wednesday, October 07, 2009 2:23 PM

Re: rsync include and exclude

2009-10-07 Thread krad
2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory.

Re: dump_snapshot file

2009-10-07 Thread Warren Block
On Wed, 7 Oct 2009, Philip Jocks wrote: Am 07.10.2009 um 15:49 schrieb Warren Block: On Wed, 7 Oct 2009, Philip Jocks wrote: I had a file /usr/.snap/dump_snapshot being about 15GB in size, which I removed because the partition was filling up. The file's date was always rather current, so

Re: Daily run reports

2009-10-07 Thread Liontaur
How's about just putting a .forward file in root's home dir? That works well for me and doesn't require rebuilding this or that. Mark On Wed, Oct 7, 2009 at 10:01 AM, Polytropon free...@edvax.de wrote: On Wed, 7 Oct 2009 16:42:41 +, Glen Barber glen.j.bar...@gmail.com wrote: No, you do

BSD Professional Job Task Analysis Survey

2009-10-07 Thread Mikel King
The BSD News Network reports that volunteer as desperately needed to complete the BSDP JTA Survey by the deadline of October 16th. The BSD Certification Group has been diligently working toward this goal for quite some time now.

Re: Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Maxim Khitrov
On Wed, Oct 7, 2009 at 3:27 PM, Doug Poland d...@polands.org wrote: On Wed, Oct 07, 2009 at 03:22:33PM -0400, Maxim Khitrov wrote: Hello all, I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of

Re: Show bandwidth usage by IP address (through pf)

2009-10-07 Thread Kevin Wilcox
2009/10/7 Maxim Khitrov mkhit...@gmail.com: I have pf filtering traffic to our network. Is there any easy way to see the current bandwidth usage sorted by ip? Someone is using up almost 100% of total bandwidth and parsing pfctl -ss -v isn't getting me anywhere. It's overkill and does a ton

Re: rsync include and exclude

2009-10-07 Thread Jay Hall
Thanks. That took care of the problem. Jay On Oct 7, 2009, at 3:02 PM, krad wrote: 2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything

Re: dump_snapshot file

2009-10-07 Thread Chris Whitehouse
Warren Block wrote: On Wed, 7 Oct 2009, Philip Jocks wrote: BTW: is everyone else getting messages from the list twice, once with the list's signature, once without? Normal procedure on the FreeBSD mailing lists is to respond to the message and CC the list (or vice versa) so replies are

Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
Hi, FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the same box. so.. r...@localhost tries to send an email to

Re: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread Steve Bertrand
David N wrote: Hi, FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the same box. so.. r...@localhost tries to

Re: BSD Professional Job Task Analysis Survey

2009-10-07 Thread Randy Belk
On Wed, Oct 7, 2009 at 3:52 PM, Mikel King mikel.k...@olivent.com wrote: The BSD News Network reports that volunteer as desperately needed to complete the BSDP JTA Survey by the deadline of October 16th. The BSD Certification Group has been diligently working toward this goal for quite some

Re: A general sed question

2009-10-07 Thread George Davidovich
On Tue, Oct 06, 2009 at 11:45:36PM -0700, David Allen wrote: I keep bumping up against this, so I thought I'd throw this question out to those who understand sed better than I do. What I'm trying to do is to clean up the contents of some files (/sys/i386/conf/GENERIC would be a good example)

Common practice for generating SSL CSR

2009-10-07 Thread Steve Bertrand
Although not FBSD specific... I'm looking to garner production-wise operational feedback on the commands people are using to generate their (Open)SSL cert requests nowadays... All feedback appreciated. I'm just curious to know if things have changed. Steve

Re: Common practice for generating SSL CSR

2009-10-07 Thread Olivier Nicole
I'm looking to garner production-wise operational feedback on the commands people are using to generate their (Open)SSL cert requests nowadays... I usually follow what is very well explained in modssl FAQ. Olivier ___ freebsd-questions@freebsd.org

Re: Common practice for generating SSL CSR

2009-10-07 Thread Steve Bertrand
Olivier Nicole wrote: I'm looking to garner production-wise operational feedback on the commands people are using to generate their (Open)SSL cert requests nowadays... I usually follow what is very well explained in modssl FAQ. Thanks Olivier, That's what I thought, but just wanted to be

Re: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread David N
2009/10/8 Steve Bertrand st...@ibctech.ca: David N wrote: Hi, FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the

Re: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread George Davidovich
On Thu, Oct 08, 2009 at 09:02:50AM +1100, David N wrote: FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the same box.

Re: Daily report cannot be emailed to a jailed mail server

2009-10-07 Thread Steve Bertrand
David N wrote: 2009/10/8 Steve Bertrand st...@ibctech.ca: David N wrote: [ big snips ] When i try to send an email i get Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX list for anotherdomain.com.au. points back to server.net Nonetheless, you can force Sendmail to

When is it worth enabling hyperthreading?

2009-10-07 Thread Pierre-Luc Drouin
Hi, Could someone explain me in which cases it is useful to enable hyperthreading on a machine running FreeBSD 8.0 and in which other cases it is not a good idea? Is that possible that hyperthreading is disadvantageous unless the number of active (non-sleeping) threads is really high? For

MySQL + SSL

2009-10-07 Thread Olivier Nicole
Hi, I have been strugling to find the correct syntax for the mysql(1) command to connect with SSL. My server is accepting SSL connections: db2root: mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: