Re: top memory usage question

2010-05-31 Thread Eitan Adler
On Thu, May 27, 2010 at 12:52 PM, Coert lgro...@waagmeester.co.za wrote: Hello all, Just a question, on Linux the output of top's memory usage looks like this: Mem:   2075424k total,  1760848k used,   314576k free,   151872k buffers Swap:  4192924k total,        0k used,  4192924k free,  

Re: portmaster not replacing %var% in final pkg-msg

2010-05-31 Thread Sahil Tandon
On Sun, 30 May 2010, Eitan Adler wrote: $cd lang/go portmaster . -- To build Go programs for FreeBSD, you'll want to set up your environment properly. The following environment variables should be set: ... GOOS=freebsd

Re: Fwd: [#24525016] External USB drive causes system to hang completely

2010-05-31 Thread Jonathan McKeown
On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote: Hi all, I sent a question regarding a problem with USB and I get this in reply. Can someone explain? Thanks, Alejandro Imass Yes. There's a hosting company called MidPhase whose support queue (at mpcustomer.com) has been added

how to debug .sh type script

2010-05-31 Thread Aiza
Is there way to single step through each line of code and see the real values of the variables? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: how to debug .sh type script

2010-05-31 Thread Samuel Martín Moro
echo $my $debugs read a #(or whatever variable) until you pressed the enter key (or sig), your script will wait Samuel Martín Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE Nobody wants to say how this works. Maybe nobody knows ...

Re: how to debug .sh type script

2010-05-31 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/05/2010 08:59:04, Aiza wrote: Is there way to single step through each line of code and see the real values of the variables? Not 'single step' as such -- what you can do is run with '-x' which prints each line as it is executed. That's

Re: how to debug .sh type script

2010-05-31 Thread Elias Chrysocheris
On Monday 31 of May 2010 10:59:04 Aiza wrote: Is there way to single step through each line of code and see the real values of the variables? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

tcpdump filter maximum number?

2010-05-31 Thread Omer Faruk Sen
Hi, Is there any limit on writing filters on tcpdump? Or is there any? I use FreeBSD as the operating system. Maybe this limit is not on tcpdump but on bpf on FreeBSD that is why I have stated FreeBSD Regards. ___ freebsd-questions@freebsd.org mailing

Re: linux cp -u question

2010-05-31 Thread Mark Stapper
On 28/05/2010 08:47, Polytropon wrote: On Thu, 27 May 2010 18:41:21 +0200, Coert lgro...@waagmeester.co.za wrote: Hello all, Is there a FreeBSD equivalent for the linux cp -u ? http://linux.die.net/man/1/cp (-u, --update) Check out cpdup (available via ports or packages).

Re: what would take to allow binary upgrade to amd64?

2010-05-31 Thread Rob Farmer
On Sun, May 30, 2010 at 1:30 PM, Eitan Adler li...@eitanadler.com wrote: On Sun, May 30, 2010 at 10:52 PM, Rob Farmer rfar...@predatorlabs.net wrote: On Sun, May 30, 2010 at 11:51 AM, Eitan Adler li...@eitanadler.com wrote: I know that attempting to change from i386 to amd64 is is not possible

Re: linux cp -u question

2010-05-31 Thread Anh Ky Huynh
On Mon, 31 May 2010 11:20:11 +0200 Mark Stapper st...@mapper.nl wrote: On 28/05/2010 08:47, Polytropon wrote: On Thu, 27 May 2010 18:41:21 +0200, Coert lgro...@waagmeester.co.za wrote: Hello all, Is there a FreeBSD equivalent for the linux cp -u ? http://linux.die.net/man/1/cp

Re: how to debug .sh type script

2010-05-31 Thread Jerry
On Mon, 31 May 2010 15:59:04 +0800 Aiza aiz...@comclark.com articulated: Is there way to single step through each line of code and see the real values of the variables? You did not indicate what language your script is written in. There are quite a few sites that have information for debugging

Re: what would take to allow binary upgrade to amd64?

2010-05-31 Thread Eitan Adler
Sure, its possible. But my point was that it is not a good idea and not something worth encouraging via tools like freebsd-upgrade. What is the use case you have in mind for this where a reformat isn't an option? Upgrading from 7.1 to 7.2 is also possible via a format but we have a tool like

devel/gojbect-introspection fails due to not finding libintl

2010-05-31 Thread Eitan Adler
Here is the output of $make install env LPATH=.libs env PYTHONPATH=..:.. UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v --add-include-path=../gir --add-include-path=. --namespace=Everything

Re: devel/gojbect-introspection fails due to not finding libintl

2010-05-31 Thread Ganael LAPLANCHE
On Mon, 31 May 2010 15:41:42 +0300, Eitan Adler wrote Hi Eitan, /libexec/ld-elf.so.1: Shared object libintl.so.8 not found, required by libgirepository-1.0.so.0 pkg_create -b gobject-introspection-0.6.11 (keep it, it may be useful) cd /usr/ports/devel/gobject-introspection make deinstall

multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
Is this a a) PEBKAC b) freeBSD ports error c) ffmpeg problem d) compiler problem (as the error seems to be saying) gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2 -pipe -mssse3 -mtune=native -O3 -ffast-math

Re: Fwd: [#24525016] External USB drive causes system to hang completely

2010-05-31 Thread Alejandro Imass
On Mon, May 31, 2010 at 3:49 AM, Jonathan McKeown j.mcke...@ru.ac.za wrote: On Sunday 30 May 2010 22:29:14 Alejandro Imass wrote: Hi all, [..] Yes. There's a hosting company called MidPhase whose support queue (at mpcustomer.com) has been added (probably maliciously by some kiddie that

Some icons broken in Gnome after libpng upgrade

2010-05-31 Thread Alejandro Imass
Hi, I updated libpng and Gnome (gdm) refused to start because it was looking for libpng.so.5 and I had upgraded to libpng.so.6 . I create a softlink to trick Gnome but some icons broke and no longer show up, particularly those in the taskbars, but those on the Desktop are fine. This Gnome is

Re: Is this information obtainable?

2010-05-31 Thread Anh Ky Huynh
On Mon, 31 May 2010 02:05:57 -0300 (ADT) Marc G. Fournier scra...@hub.org wrote: On Mon, 31 May 2010, Anh Ky Huynh wrote: the numbers are growing ... since the start of May, I've seen the numbers jump by almost 2k new computers, so it is growing ... but ppl have to consciously install

Re: text editor

2010-05-31 Thread Chad Perrin
On Mon, May 31, 2010 at 08:10:03AM +0300, Giorgos Keramidas wrote: On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote: On Sun, May 30, 2010 at 09:31:59PM +0300, Giorgos Keramidas wrote: If you don't mind the size of the respective packages, both VIM and GNU Emacs have

HELP: cups - can not login on localhost to cups server

2010-05-31 Thread Hartmann, O.
Hello, my problem sounds trivial, but isn't. I can not login to my cups server on localhost via http://localhost:631, which worked for me several months ago. Well I installed a new host using FreeBSD 9.0-CUR and need to add printers. Regarding to this problem I found a lot of stuff in the net

Re: text editor

2010-05-31 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon May 31 00:10:28 2010 From: Giorgos Keramidas keram...@ceid.upatras.gr To: freebsd-questions@freebsd.org Date: Mon, 31 May 2010 08:10:03 +0300 Subject: Re: text editor On Sun, 30 May 2010 17:28:27 -0600, Chad Perrin per...@apotheon.com wrote: On

Re: HELP: cups - can not login on localhost to cups server

2010-05-31 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/05/2010 19:26:07, Hartmann, O. wrote: Hello, my problem sounds trivial, but isn't. I can not login to my cups server on localhost via http://localhost:631, which worked for me several months ago. Well I installed a new host using FreeBSD

Re: tcpdump filter maximum number?

2010-05-31 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon May 31 04:19:25 2010 Date: Mon, 31 May 2010 12:17:32 +0300 From: Omer Faruk Sen omerf...@gmail.com To: FreeBSD freebsd-questions@freebsd.org Subject: tcpdump filter maximum number? Hi, Is there any limit on writing filters on tcpdump? Or is

Re: multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Roland Smith
On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: Is this a a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm guessing the ports build cluster uses the base system compiler or the required version. b) freeBSD ports error Don't think so. It

Re: HELP: cups - can not login on localhost to cups server

2010-05-31 Thread Hartmann, O.
On 05/31/10 18:37, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/05/2010 19:26:07, Hartmann, O. wrote: Hello, my problem sounds trivial, but isn't. I can not login to my cups server on localhost via http://localhost:631, which worked for me several months ago.

Re: text editor

2010-05-31 Thread Giorgos Keramidas
On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1 Απρ 17:11 vim-lite-7.2.344.tbz Does Vim install more than the

Bad rawoffset in disk slice.

2010-05-31 Thread Demelier David
Hi freebsd-questions@, When I boot I have a lot of : WARNING: ad2s1a expected rawoffset 0, found 63 WARNING: ad2s1a expected rawoffset 0, found 63 WARNING: ad2s1a expected rawoffset 0, found 63 They appeared when I tried to do some glabel/tunefs and I don't know at all how to

Re: text editor

2010-05-31 Thread Giorgos Keramidas
On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here: keram...@kobe:/usr/ports/packages/All$ ls -ld vim* -rw-r--r-- 1 root wheel - 5757731 1

Re: multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
On Mon, May 31, 2010 at 8:11 PM, Roland Smith rsm...@xs4all.nl wrote: On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: Is this a a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm guessing the ports build cluster uses the base system compiler

Squid not starting from rc in Jail, however works when run from root as command??

2010-05-31 Thread Kaya Saman
Hi guys, I've just built a new BSD server running on a Mini-ITX NAS chassis and it's working beautifully :-) I also took the time to learn how to build jails too as this is only my second BSD build so am still really new to it although not to UNIX as I use Solaris and Linux frequently.

Postfix bad command startup??

2010-05-31 Thread Kaya Saman
Hi, similar like I wrote before, to do with my migration from Solaris 9 to FreeBSD 8.0 x64 RELEASE. Postfix is being run in a BSD Jail and so far I have disabled as much as I could of sendmail which I did this to rc.conf within the jail: postfix_enable=YES sendmail_enable=NONE

Re: Postfix bad command startup??

2010-05-31 Thread Tim Judd
On 5/31/10, Kaya Saman samank...@netscape.net wrote: Hi, similar like I wrote before, to do with my migration from Solaris 9 to FreeBSD 8.0 x64 RELEASE. Postfix is being run in a BSD Jail and so far I have disabled as much as I could of sendmail which I did this to rc.conf within the jail:

Network sort of stops working with the em (intel) driver under load.

2010-05-31 Thread mark rowlands
Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A reboot of course fixes the

Re: text editor

2010-05-31 Thread Chad Perrin
On Mon, May 31, 2010 at 08:48:22PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 11:36:53 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com wrote: Giorgos Keramidas keram...@ceid.upatras.gr wrote: Vim is much smaller than Emacs but it still a few MB's here:

Re: text editor

2010-05-31 Thread Chad Perrin
On Mon, May 31, 2010 at 11:36:53AM -0500, Robert Bonomi wrote: I can't get at my FBSD box right now to check vim itself, but on another box, 'nvi' (which is described as a bug-for-bug compatible replacement for the original Fourth Berkeley Software Distribution (4BSD) vi, has an executable

Re: text editor

2010-05-31 Thread Chad Perrin
I meant to reply to the list, as a response to this, but accidentally replied directly to Giorgos Keramidas. On Mon, May 31, 2010 at 08:45:07PM +0300, Giorgos Keramidas wrote: On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin per...@apotheon.com wrote: Does Vim install more than the binary?

Re: Network sort of stops working with the em (intel) driver under load.

2010-05-31 Thread Michael Powell
mark rowlands wrote: Newly built and cvsupped system,with GENERIC kernel, when copying large amounts of data over a gigabit link via scp the network will hang after a couple of gig. I can then no longer login via ssh. If I leave it be, after about 12-24 hours I can then login again. (A

Re: text editor

2010-05-31 Thread Fbsd1
SNIP alot of text not related to original posted question. Can we get back on subject. I have worked many years with ispf so decided to check out THE I installed pkg_add -r the entering the on the command line produces something that is far removed from ispf/pdf. manpage and website

Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied

2010-05-31 Thread Pawel Jakub Dawidek
On Fri, May 21, 2010 at 03:55:59PM +0400, Eugene Mitrofanov wrote: Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs get jailed tank/s1 shows me that the property jailed is still exists: NAME

Re: Postfix bad command startup??

2010-05-31 Thread Kaya Saman
On 31/05/2010 22:07, Tim Judd wrote: On 5/31/10, Kaya Samansamank...@netscape.net wrote: Hi, similar like I wrote before, to do with my migration from Solaris 9 to FreeBSD 8.0 x64 RELEASE. Postfix is being run in a BSD Jail and so far I have disabled as much as I could of sendmail which

What's the difference between portupgrade and portmaster ?

2010-05-31 Thread zaxis
Why do we need two tools ? - e^(π⋅i) + 1 = 0 -- View this message in context: http://old.nabble.com/What%27s-the-difference-between-portupgrade-and-portmaster---tp28736514p28736514.html Sent from the freebsd-questions mailing list archive at Nabble.com.

Re: FreeBSD 8.1-PRERELEASE: property 'jailed' not supported on FreeBSD: permission denied

2010-05-31 Thread Brandon Gooch
On Mon, May 31, 2010 at 6:32 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Fri, May 21, 2010 at 03:55:59PM +0400, Eugene Mitrofanov wrote: Hi The command zfs set jailed=on tank/s1 is failed with the message property 'jailed' not supported on FreeBSD: permission denied. Output of zfs

Re: FireFox problem ?

2010-05-31 Thread zaxis
pkg_info |grep -i firefox firefox-3.5.9_1,1 Web browser based on the browser portion of Mozilla After using the latest version, the problem disappears! Dan Nelson wrote: In the last episode (May 29), zaxis said: uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2

Re: text editor

2010-05-31 Thread doug
On Tue, 1 Jun 2010, Fbsd1 wrote: SNIP alot of text not related to original posted question. Can we get back on subject. I have worked many years with ispf so decided to check out THE I installed pkg_add -r the entering the on the command line produces something that is far removed from

Re: What's the difference between portupgrade and portmaster ?

2010-05-31 Thread doug
On Mon, 31 May 2010, zaxis wrote: Why do we need two tools ? Actually there are at least three. Add portmanager to the mix. Its the same reason there is more than one text editor. I use portmaster and portmanager depending on what I want to do. Its mostly personal choice.

unexpected operator .sh error

2010-05-31 Thread Aiza
Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [: whats wrong or =: ___ freebsd-questions@freebsd.org

Re: unexpected operator .sh error

2010-05-31 Thread Chris Hill
On Tue, 1 Jun 2010, Aiza wrote: Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [: whats wrong or =: I'd guess that what you added includes something

Re: devel/gojbect-introspection fails due to not finding libintl

2010-05-31 Thread Brandon Gooch
On Mon, May 31, 2010 at 7:41 AM, Eitan Adler li...@eitanadler.com wrote: Here is the output of $make install env LPATH=.libs  env PYTHONPATH=..:.. UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=.

Re: unexpected operator .sh error

2010-05-31 Thread Aiza
Chris Hill wrote: On Tue, 1 Jun 2010, Aiza wrote: Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [: whats wrong or =: I'd guess that what you added

Re: unexpected operator .sh error

2010-05-31 Thread Sahil Tandon
On Tue, 01 Jun 2010, Aiza wrote: Chris Hill wrote: The open-square-bracket, [, is another name for test. IIRC the equal sign is not valid in that context. Using '=' within test(1) brackets should be fine. Can you post the 'before' and 'after' versions of that part of your script? It would

Re: unexpected operator .sh error

2010-05-31 Thread Charlie Kester
On Mon 31 May 2010 at 19:58:41 PDT Aiza wrote: Chris Hill wrote: On Tue, 1 Jun 2010, Aiza wrote: Added some code to a .sh script. When I run the script works but issues this message [: =: unexpected operator No line number telling where to look. I am not ever sure its talking about. IS [:

Sending alarms to my mobile phone

2010-05-31 Thread Olivier Nicole
Hi, I would like my FreeBSD server to send alarms to my mobile phone, it could be voice messages or SMS. I think I can hook a voice modem to that machine, but any suggestion on the software side? TIA, Olivier ___ freebsd-questions@freebsd.org mailing

Re: what would take to allow binary upgrade to amd64?

2010-05-31 Thread Dylan Cochran
On Sun, May 30, 2010 at 4:30 PM, Eitan Adler li...@eitanadler.com wrote: On Sun, May 30, 2010 at 10:52 PM, Rob Farmer rfar...@predatorlabs.net wrote: On Sun, May 30, 2010 at 11:51 AM, Eitan Adler li...@eitanadler.com wrote: I know that attempting to change from i386 to amd64 is is not possible

RE: text editor

2010-05-31 Thread Murray Taylor
Hmmm I have successfully run vi from a partition on a 32M flash card in 32M of RAM The RAM also had memory disks for /var and /tmp. The entire system was dynamically linked so a lot of space was saved by that build technique The box was an embedded system running SNMP, gsmsmd and a few

Re: Network sort of stops working with the em (intel) driver under load.

2010-05-31 Thread mark rowlands
On Mon, May 31, 2010 at 9:30 PM, mark rowlands rowlands.m...@gmail.com wrote: Newly built and cvsupped system,with GENERIC kernel,  when copying large amounts of data over a gigabit link via scp  the network  will hang after a couple of gig.  I can then no longer login via ssh. If I leave it