portupgrade -af in FreeBSDupdate to 8.0

2010-06-23 Thread n dhert
in the process of upgrading 7.2 - 8.0, the last step is to recompile all ports (section 24.2.3 of freebsd manual) # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portugprade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did that for my 760 ports, but after 499

Re: portupgrade -af in FreeBSDupdate to 8.0

2010-06-23 Thread Chris Rees
On 23 June 2010 08:29, n dhert ndhert...@gmail.com wrote: in the process of upgrading 7.2 - 8.0, the last step is to recompile all ports (section 24.2.3 of freebsd manual) # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portugprade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db

Re: portupgrade -af in FreeBSDupdate to 8.0

2010-06-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/06/2010 08:29:41, n dhert wrote: Why does it stop? Can it be avoided? Or can I make portupgrade -af start from where it got so far in the first run ? portupgrade is written in ruby -- having its command interpreter ripped out from underneath

libneon.so: undefined reference to `SSL_SESSION_cmp'

2010-06-23 Thread Ewald Jenisch
Hi, During upgrading my ports I run into very nasty problems compiling e.g. sound-juicer or libmisicbrainz3, or more generally, ports that depend on neon28: Compilatino of e.g sound-juicer stops with the following error: -- Cut here --

Re: Problems running Bacula BAT

2010-06-23 Thread Alex Huth
On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote: Now I checked the log (/var/db/backula/log) and got the following error message: 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418 Unable to authenticate console *UserAgent* at client:127.0.0.1:36131.

Re: Copy a FreeBSD 8* install to larger HD

2010-06-23 Thread Manolis Kiagias
On 23/06/2010 5:52 π.μ., Al Plant wrote: Aloha, I am looking for the easiest way to copy a fresh working FreeBSD 8* HD install (Manolis version) to a bigger HD that I found. I plan to have the new HD in the same box for doing this copy. Can I use sysinstall to make the new default slices

sparse image

2010-06-23 Thread Aiza
Is there an equivalent of the MAC sparseimage on FreeBSD? ___ 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: sparse image

2010-06-23 Thread Vincent Hoffman
On 23/06/2010 11:26, Aiza wrote: Is there an equivalent of the MAC sparseimage on FreeBSD? If you mean you would like to make a sparse file and attach it using mdconfg then dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0 This will give you a sparse file that reports a gig in size, but

Re: sparse image

2010-06-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/06/2010 11:26:43, Aiza wrote: Is there an equivalent of the MAC sparseimage on FreeBSD? A filesystem image that only takes up as much space as the total of all the files within it? Not exactly. There are many archiving formats -- dump, tar,

which /etc/src.conf options prevent moused rebuilding?

2010-06-23 Thread Anton Shterenlikht
I've an old slow i386 running -current r209398 Because it's slow I don't build everything. Here's my /etc/src.conf: WITHOUT_ACPI= WITHOUT_AT= WITHOUT_ATM= WITHOUT_AUTHPF= WITHOUT_BIND_DNSSEC= WITHOUT_BIND_ETC= WITHOUT_BIND_LIBS_LWRES= WITHOUT_BIND_MTREE= WITHOUT_BIND_NAMED= WITHOUT_BLUETOOTH=

Re: sparse image

2010-06-23 Thread Pieter de Goeje
On Wednesday 23 June 2010 12:54:48 Vincent Hoffman wrote: On 23/06/2010 11:26, Aiza wrote: Is there an equivalent of the MAC sparseimage on FreeBSD? If you mean you would like to make a sparse file and attach it using mdconfg then dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0

Re: which /etc/src.conf options prevent moused rebuilding?

2010-06-23 Thread Dan Nelson
In the last episode (Jun 23), Anton Shterenlikht said: I've an old slow i386 running -current r209398 Because it's slow I don't build everything. Here's my /etc/src.conf: [...] WITHOUT_LEGACY_CONSOLE= [...] followed by the standard update procedure # make buildworld # make

Re: FreeBSD router - large scale

2010-06-23 Thread Kevin Wilcox
On 28 May 2010 07:38, Bruce Cran br...@cran.org.uk wrote: This is possibly the wrong place to be saying this, but isn't OpenBSD usually recommended for routers? I believe the version of pf, for example, is normally kept more up-to-date than than in FreeBSD.  The major downside I know of is

Re: which /etc/src.conf options prevent moused rebuilding?

2010-06-23 Thread Anton Shterenlikht
On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote: In the last episode (Jun 23), Anton Shterenlikht said: I've an old slow i386 running -current r209398 Because it's slow I don't build everything. Here's my /etc/src.conf: [...] WITHOUT_LEGACY_CONSOLE= [...] followed by

Re: FreeBSD router - large scale

2010-06-23 Thread Kevin Wilcox
On 27 May 2010 12:12, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: The hardest job I've had an OpenBSD firewall do is actually as a mid-level firewall between a DMZ full of web servers and a back-end database layer.  The thing to watch out for is running out of states in PF.  It's

Re: which /etc/src.conf options prevent moused rebuilding?

2010-06-23 Thread Dan Nelson
In the last episode (Jun 23), Anton Shterenlikht said: On Wed, Jun 23, 2010 at 09:47:25AM -0500, Dan Nelson wrote: In the last episode (Jun 23), Anton Shterenlikht said: I've an old slow i386 running -current r209398 Because it's slow I don't build everything. Here's my

Re: Running Older Binaries under 8.0

2010-06-23 Thread oklahoma
Chuck Swiger wrote: ises? Yes, you want: /usr/ports/misc/compat6x is there any difference between the port and kernel options compat_freebsd6 beside compiling of kernel vs installing port? ___

Re: before i even =touch= my server again....

2010-06-23 Thread Polytropon
On Tue, 22 Jun 2010 22:14:20 -0700, Gary Kline kl...@thought.org wrote: fsck seemed to fix most slices, but a check as root told me the /var was//IS still dirty. Q: how can i umount /var and run fsck -y without going single-user? remember that in order to regain keyboard control of

Re: iptables equivaelnt

2010-06-23 Thread krad
On 22 June 2010 20:36, Erik Norgaard norga...@locolomo.org wrote: On 21/06/10 20.06, pete wright wrote: On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote: I'm particuclary trying to implement some type of rate control as we are getting hammered by spam. I'd humbly suggest pf + spamd

Re: before i even =touch= my server again....

2010-06-23 Thread Kirk Strauser
On 06/23/10 11:35, Polytropon wrote: Of course, all write attempts to /var will then fail. Or even worse: they'll succeeded. And then when you re-mount /var, you'll lose access to all the files you've written in the mean time. -- Kirk Strauser

Re: before i even =touch= my server again....

2010-06-23 Thread Polytropon
On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser k...@strauser.com wrote: On 06/23/10 11:35, Polytropon wrote: Of course, all write attempts to /var will then fail. Or even worse: they'll succeeded. And then when you re-mount /var, you'll lose access to all the files you've written in the

Re: Running Older Binaries under 8.0

2010-06-23 Thread b. f.
oklahoma wrote: /usr/ports/misc/compat6x is there any difference between the port and kernel options compat_freebsd6 beside compiling of kernel vs installing port? Yes. The kernel options provide kernel compatibility and the ports provide userland compatibility. You need both to run older

Re: X not responding

2010-06-23 Thread Richard T C Farnes
On Tuesday 22 June 2010 19:52:54 Andy Balholm wrote: I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1: When I type startx, the X server starts, and some xterm windows open, but it will not respond to keyboard or mouse input. The mouse pointer won't move, and the only

Re: sshd / tcp packet corruption ?

2010-06-23 Thread Lowell Gilbert
Martin Minkus martin.min...@punz.co.nz writes: It seems this issue I reported below may actually be related to some kind of TCP packet corruption ? Possible. Or memory errors. Hard to say much at this point, when you don't even know which side is actually causing the errors. Still same

RE: sshd / tcp packet corruption ?

2010-06-23 Thread Martin Minkus
Thanks for the reply. I actually posted a response to this original message with more details showing just raw tcp data sent from one box to another box is getting corrupted. The culprit is definitely kinetic. Futhermore, i've determined both NICs are doing it. kinetic:~# netstat -i Name

Network card attaching to the wrong driver

2010-06-23 Thread Nicholas Mills
All, I am running 8.0-RELEASE and having trouble with the ed driver that is compiled by default into GENERIC. My machine is actually a VM running under Parallels Server Bare Metal 4. I would like my card to be attached to the Parallels driver in ports (pvmnet) instead of ed. Is there some boot

Problem running fdisk via sysinstall

2010-06-23 Thread Mark Costlow
I hope this question isn't too stupid. I have a machine with a 3Ware RAID card, with 4 SATA drives attached. 2 drives are 250GB in a RAID1 volume, and act as the boot disk with a standard freebsd partiction map (/, /var, /usr, and swap on this disk). The other 2 drives are 1TB in a RAID1

Re: Problem running fdisk via sysinstall

2010-06-23 Thread Nicholas Mills
Mark, I'm certainly no expert, but I think I can point you in the right direction. The system appears to be attempting to read from a GPT stored on the disk from when you used it on Linux. I'm not sure of the specifics, but I do know that some GPT info is stored near the end of the drive. The

.sh check for numeric content

2010-06-23 Thread Aiza
Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? Thanks for for help. ___ freebsd-questions@freebsd.org mailing list

Re: .sh check for numeric content

2010-06-23 Thread Thomas
On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? http://www.google.com/search?q=shell+test+if+variable+numeric First link =

Re: Problem running fdisk via sysinstall

2010-06-23 Thread Mark Costlow
Since I don't have any other ideas yet, I'll give that a try. I'll let you know if it works tomorrow if it has finished by then :-) Mark On Wed, Jun 23, 2010 at 07:46:38PM -0400, Nicholas Mills wrote: Mark, I'm certainly no expert, but I think I can point you in the right direction.

Re: .sh check for numeric content

2010-06-23 Thread Anh Ky Huynh
On Thu, 24 Jun 2010 09:24:39 +0800 Aiza aiz...@comclark.com wrote: Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? echo $your_variable | grep -E ^[0-9]+(\.[0-9]*)*[0-9]+$ If $your_variable is

Re: .sh check for numeric content

2010-06-23 Thread RW
On Thu, 24 Jun 2010 03:37:55 +0200 Thomas f...@gothschlampen.com wrote: On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric?

Re: .sh check for numeric content

2010-06-23 Thread Aiza
Thomas wrote: On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? http://www.google.com/search?q=shell+test+if+variable+numeric First link

Re: Network card attaching to the wrong driver

2010-06-23 Thread Tim Judd
On 6/23/10, Nicholas Mills nlmi...@g.clemson.edu wrote: All, I am running 8.0-RELEASE and having trouble with the ed driver that is compiled by default into GENERIC. My machine is actually a VM running under Parallels Server Bare Metal 4. I would like my card to be attached to the Parallels

Re: .sh check for numeric content

2010-06-23 Thread Thomas Keusch
On Thu, Jun 24, 2010 at 03:44:34AM +0100, RW wrote: Hello, On Thu, 24 Jun 2010 03:37:55 +0200 Thomas f...@gothschlampen.com wrote: On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, Receiving a variable from the command line that is suppose to contain numeric

Re: .sh check for numeric content

2010-06-23 Thread Karl Vogel
On Thu, 24 Jun 2010 09:24:39 +0800, Aiza aiz...@comclark.com said: A Receiving a variable from the command line that is suppose to contain A numeric values. How do I code a test to verify the content is numeric? The script below will work with the Bourne or Korn shell. Results for 0 1

Re: Problem running fdisk via sysinstall

2010-06-23 Thread Adam Vande More
On Wed, Jun 23, 2010 at 6:28 PM, Mark Costlow che...@swcp.com wrote: I hope this question isn't too stupid. Any hints or clue-by-fours? What's the output of 'gpart show'? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list

Re: before i even =touch= my server again....

2010-06-23 Thread Gary Kline
On Wed, Jun 23, 2010 at 08:10:13PM +0200, Polytropon wrote: On Wed, 23 Jun 2010 13:03:03 -0500, Kirk Strauser k...@strauser.com wrote: On 06/23/10 11:35, Polytropon wrote: Of course, all write attempts to /var will then fail. Or even worse: they'll succeeded. And then when you re-mount

Re: .sh check for numeric content

2010-06-23 Thread Aiza
Aiza wrote: Thomas wrote: On Thu, Jun 24, 2010 at 09:24:39AM +0800, Aiza wrote: Hello, Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric?

Re: .sh check for numeric content

2010-06-23 Thread Giorgos Keramidas
On Thu, 24 Jun 2010 05:19:53 +0200, Thomas Keusch f...@bsd-solutions-duesseldorf.de wrote: t...@eternity:~$ b=5 t...@eternity:~$ case $b in [0-9] ) echo numeric ;; * ) echo alpha ;; esac numeric t...@eternity:~$ Works for me. Depending on what numeric