From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 00:03:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9864D106566B for ; Sun, 30 Aug 2009 00:03:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2418FC13 for ; Sun, 30 Aug 2009 00:03:46 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id B67891DAAB; Sun, 30 Aug 2009 02:03:44 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7U03h7O003172; Sun, 30 Aug 2009 02:03:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Aug 2009 02:03:43 +0200 From: Polytropon To: voldem@techemail.com Message-Id: <20090830020343.e067c5a4.freebsd@edvax.de> In-Reply-To: <20090829093549.5CDF0310@resin13.mta.everyone.net> References: <20090829093549.5CDF0310@resin13.mta.everyone.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: About libc6-dev on FreeBsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 00:03:46 -0000 On Sat, 29 Aug 2009 09:35:49 -0700, "Vladimir M" wrote: > Could you please give me any suggestion about howto install libc6-dev > on FreeBsd? I'm not sure what libc6-dev refers to, maybe development version 6 of the C library? In this case, FreeBSD already has version 7 which should be compatible. /usr/lib/libc.so@ -> /lib/libc.so.7 There usually are compatibility libraries for lower versions, such as /usr/local/lib/compat/libc.so.4 /usr/local/lib/compat/libc.so.5 /usr/local/lib/compat/libc.so.6 An initial approach would be to download the sources and try to compile them. Because it's not a FreeBSD port, # ./configure (e. g. with specific options) # make # make install would be the way. But the documentation should be more precise. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 01:16:59 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94658106566B for ; Sun, 30 Aug 2009 01:16:59 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 578BE8FC13 for ; Sun, 30 Aug 2009 01:16:59 +0000 (UTC) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20090830011658393.YPOU21949@hrndva-omta04.mail.rr.com> for ; Sun, 30 Aug 2009 01:16:58 +0000 Received: from [172.16.1.37] (sichem-wifi.polands.org [172.16.1.37]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n7U1GufD019973 for ; Sat, 29 Aug 2009 20:16:57 -0500 (CDT) (envelope-from doug@polands.org) Message-ID: <4A99D308.6000806@polands.org> Date: Sat, 29 Aug 2009 20:16:56 -0500 From: Doug Poland User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 01:16:59 -0000 Hello, I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64). The environment is VMware. I've been googling and reading what I can on this procedure, which sounds possible, but I have been unable to successfully get a system up and running with my technique. So far, this is what I've done... Installed 8.0-BETA3 on virtual machine's /dev/ad0 Shutdown, added three, 8GB SCSI disks to the VM, Power on VM: gpart create -s GPT da0 gpart add -b 34 -s 128 -t freebsd-boot da0 gpart add -b 162 -s 16777021 -t freebsd-zfs da0 gpart create -s GPT da1 gpart add -b 34 -s 128 -t freebsd-boot da1 gpart add -b 162 -s 16777021 -t freebsd-zfs da1 gpart create -s GPT da2 gpart add -b 34 -s 128 -t freebsd-boot da2 gpart add -b 162 -s 16777021 -t freebsd-zfs da2 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da2 zpool create bethesda raidz /dev/da[0-2]p2 cd /bethesda/ && dump -0aLC16 -f- / | restore -rf- echo 'zfs_load="YES"' > /bethesda/boot/loader.conf echo 'vfs.root.mountfrom="zfs:bethesda"' >> /bethesda/boot/loader.conf echo 'zfs_enable="YES"' >> /bethesda/etc/rc.conf mkdir /boot/zfs zpool export bethesda && zpool import bethesda Shutdown, remove ad0 from the virtual machine, Power on and it see... error 4 lba 4292979877 error 4 lba 4292979883 error 4 lba 4292979883 error 4 lba 4292979882 ZFS: i/o error - all block copies unavailable Invalid format FreeBSD/i386 boot Default: bethesda:/boot/kernel/kernel boot: error 4 lba 4293052915 error 4 lba 4293052914 error 4 lba 4293052915 error 4 lba 4292979494 error 4 lba 4292979493 error 4 lba 4292979493 error 4 lba 4292980438 error 4 lba 4292980437 error 4 lba 4292980437 ZFS: i/o error - all block copies unavailable Invalid format FreeBSD/i386 boot Default: bethesda:/boot/kernel/kernel boot: And this is far as I have been able to get. Can anyone identify what I'm doing wrong, or overlooking? Pointers to docs, man pages, URLs appreciated. -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 04:32:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55B0106564A for ; Sun, 30 Aug 2009 04:32:18 +0000 (UTC) (envelope-from saifi.khan@datasynergy.org) Received: from s219.sureserver.com (s219.sureserver.com [203.194.200.31]) by mx1.freebsd.org (Postfix) with ESMTP id 074F18FC13 for ; Sun, 30 Aug 2009 04:32:17 +0000 (UTC) Received: (qmail 15075 invoked by uid 1002); 30 Aug 2009 04:32:13 -0000 Received: from unknown (HELO ?10.10.10.7?) (saifi.khan@datasynergy.org@59.96.203.47) by s219.sureserver.com with ESMTPA; 30 Aug 2009 04:32:13 -0000 Date: Sun, 30 Aug 2009 09:58:49 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@freebsd To: Free BSD Questions list In-Reply-To: <20090828152609.GA20093@teddy.fas.com> Message-ID: References: <20090828152609.GA20093@teddy.fas.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Samba and busy network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 04:32:18 -0000 On Fri, 28 Aug 2009, stan wrote: > I have a FreeBSD machine serving as (among other things) a Samba server > for an XP instance running under VirtualBox. The XP application is a data > gathering one that polls continuously. I have set up things so that XP > mounts the Samba share, and logs it's data there. > > Problem is that every morning I come in to find that the XP app is > complaining of disk problems from the share. I am fairly certain that this > problem is occurring in the middle of the night, when my Amanda backups run. > This does load the network fairly good. The FreeBSD box, and the Linux box > are on the same switch, and same subnet. Anyone have suggestions as to how > to address this issue? > > Can you please share error logs on the xp share side ? What is the backup set size that Amanda is handling ? thanks Saifi. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 04:41:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7DF3106566B for ; Sun, 30 Aug 2009 04:41:23 +0000 (UTC) (envelope-from saifi.khan@datasynergy.org) Received: from s219.sureserver.com (s219.sureserver.com [203.194.200.31]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0738FC1B for ; Sun, 30 Aug 2009 04:41:22 +0000 (UTC) Received: (qmail 22859 invoked by uid 1002); 30 Aug 2009 04:41:21 -0000 Received: from unknown (HELO ?10.10.10.7?) (saifi.khan@datasynergy.org@59.96.203.47) by s219.sureserver.com with ESMTPA; 30 Aug 2009 04:41:21 -0000 Date: Sun, 30 Aug 2009 10:09:40 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@freebsd To: freebsd-questions@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: AN Subject: Re: java config problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 04:41:23 -0000 On Fri, 28 Aug 2009, AN wrote: > I'm trying to configure java on FreeBSD 7-stable and Gnome 2.26.3, with > Firefox35. I tried the following commands, but still no ability to view java > applets. > > ln -s libjavaplugin_oji.so /usr/local/lib/firefox/plugins > ln -s libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > ln libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > > installed package's: > pkg_info | grep java > javavmwrapper-2.3.3 Wrapper script for various Java Virtual Machines > pkg_info | grep jdk > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > > Any help to get this working would be really appreciated. > > TIA > Hi AN: To enable the java plugin in firefox, please do the following: . cd $HOME/.mozilla . cd plugins (if the plugins dir doesnot exist, please create one) . ln -s /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so . on doing ls -l, you'll see an entry look like this libjavaplugin_oji.so@ -> /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so To check for java plugin support, you can try the following: . start firefox 3.5 . type about:plugins in the address bar . you should see entry like Java(TM) Plug-in 1.6.0_07-b02 File name: libjavaplugin_oji.so Java(TM) Plug-in 1.6.0_07 MIME Type Description Suffixes Enabled application/x-java-vm Java Yes application/x-java-applet Java Yes application/x-java-applet;version=1.1 Java Yes .... .... Hope this helps you get started with using Java on FreeBSD. thanks Saifi. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 05:00:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34D461065674 for ; Sun, 30 Aug 2009 05:00:51 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2638FC08 for ; Sun, 30 Aug 2009 05:00:51 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n7U50osc017833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 Aug 2009 22:00:50 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n7U50o2R017832; Sat, 29 Aug 2009 22:00:50 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01382; Sat, 29 Aug 09 21:51:37 PDT Date: Sat, 29 Aug 2009 21:55:03 -0700 From: perryh@pluto.rain.com To: rwmaillists@googlemail.com Message-Id: <4a9a0627.zA4OPJf/w06lQj0a%perryh@pluto.rain.com> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <20090829134436.4461d8c9@gumby.homeunix.com> In-Reply-To: <20090829134436.4461d8c9@gumby.homeunix.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 05:00:51 -0000 RW wrote: > On Sat, 29 Aug 2009 00:06:29 -0700 > perryh@pluto.rain.com wrote: > > Actually, absent some careful cooperation between the > > kernel and the interpreter to prevent a race condition ... > > isn't that the same issue that Matthew Seaman was saying > was fixed years ago ... and is described in the follow-up: > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185145.html > > That's entirely in the kernel, it doesn't require interpreter > support. Er, I'm pretty sure it _does_ require support in the interpreter. It would do no good for the kernel to hand the interpreter an open descriptor if the interpreter did not somehow know to read the script from that open descriptor instead of opening the script file by name. This approach is exactly the "careful cooperation between the kernel and the interpreter" that I was referring to. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 08:07:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEED7106566B for ; Sun, 30 Aug 2009 08:07:25 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3EFD08FC1A for ; Sun, 30 Aug 2009 08:07:25 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n7U87HNo014396; Sun, 30 Aug 2009 09:07:18 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n7U87HNo014396 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1251619638; bh=iICdzuNe44EiUe7JFm67YGBltvH/W3kfQVcbjlOvQWU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A9A332F.8070300@infracaninophile.co.uk>|Date:=20S un,=2030=20Aug=202009=2009:07:11=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20perryh@pluto.rain.com|CC:=20rwmaillists@googlemai l.com,=20freebsd-questions@freebsd.org|Subject:=20Re:=20SUID=20per mission=20on=20Bash=20script|References:=20=09<87y6p4pbd0.fsf@kobe.lapto p>=09<20090829022431.5841d4de@gumby.homeunix.com>=09<4A98A8A1.7070 305@prgmr.com>=09<4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> =09<20090829134436.4461d8c9@gumby.homeunix.com>=20<4a9a0627.zA4OPJ f/w06lQj0a%perryh@pluto.rain.com>|In-Reply-To:=20<4a9a0627.zA4OPJf /w06lQj0a%perryh@pluto.rain.com>|X-Enigmail-Version:=200.95.6|Cont ent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20p rotocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"----- -------enig7D43180CF0BC19960A8DF5C3"; b=s9ZZydnPGqPhqy2WSB8uXVdT+/5fbYUN5BIf2s4GkM66cLEF3PJJLzkeQTBayI64s 036CXH99r+C382S+D+SmuDrNkFBh35iDIRRhtc8y/qnHd0FfCDAd06r8Bn3P55Ferk +ADcM3pXQsZd3B1IcEHvdzWxh6TTgqSNjlX4YsJw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4A9A332F.8070300@infracaninophile.co.uk> Date: Sun, 30 Aug 2009 09:07:11 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <20090829134436.4461d8c9@gumby.homeunix.com> <4a9a0627.zA4OPJf/w06lQj0a%perryh@pluto.rain.com> In-Reply-To: <4a9a0627.zA4OPJf/w06lQj0a%perryh@pluto.rain.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7D43180CF0BC19960A8DF5C3" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: rwmaillists@googlemail.com, freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 08:07:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7D43180CF0BC19960A8DF5C3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable perryh@pluto.rain.com wrote: > RW wrote: >> On Sat, 29 Aug 2009 00:06:29 -0700 >> perryh@pluto.rain.com wrote: >>> Actually, absent some careful cooperation between the >>> kernel and the interpreter to prevent a race condition ... >> isn't that the same issue that Matthew Seaman was saying >> was fixed years ago ... and is described in the follow-up: >> http://www.mail-archive.com/freebsd-questions@freebsd.org/msg185145.ht= ml >> >> That's entirely in the kernel, it doesn't require interpreter >> support. >=20 > Er, I'm pretty sure it _does_ require support in the interpreter. >=20 > It would do no good for the kernel to hand the interpreter an open > descriptor if the interpreter did not somehow know to read the > script from that open descriptor instead of opening the script file > by name. This approach is exactly the "careful cooperation between > the kernel and the interpreter" that I was referring to. Errr -- no. That's what fdescfs(5) is for. When the kernel execs=20 the interpreter, it tells the script to open /dev/fd/5 (for example) and doing that just connects the script to the open file descriptor the kernel used previously to taste the magic number and the #! line=20 of the script. As fdescfs(5) says: [...] the call: fd =3D open("/dev/fd/0", mode); and the call: fd =3D fcntl(0, F_DUPFD, 0); are equivalent. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig7D43180CF0BC19960A8DF5C3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqaMzUACgkQ8Mjk52CukIzwDQCfR5dUD0TcnPPGzsW93ImEff6t SqsAni19AbAwlF3WLpTlxk4VO2aMEwCW =lhjq -----END PGP SIGNATURE----- --------------enig7D43180CF0BC19960A8DF5C3-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 09:19:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48861106566B for ; Sun, 30 Aug 2009 09:19:06 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id B5AB68FC08 for ; Sun, 30 Aug 2009 09:19:05 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 575CCEB51DC for ; Sun, 30 Aug 2009 11:55:30 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 3738A451D8 for ; Sun, 30 Aug 2009 11:55:30 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y9R3QEbxUvFU for ; Sun, 30 Aug 2009 11:55:30 +0300 (EEST) Received: from media.localnet (adsl16-129.kln.forthnet.gr [77.49.143.129]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 0434D45109 for ; Sun, 30 Aug 2009 11:55:30 +0300 (EEST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Sun, 30 Aug 2009 11:55:31 +0300 User-Agent: KMail/1.12.0 (Linux/2.6.30-ARCH; KDE/4.3.0; i686; ; ) References: <4A99D308.6000806@polands.org> In-Reply-To: <4A99D308.6000806@polands.org> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3010236.ANX5mnkqEg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200908301155.32013.oloringr@gmail.com> Subject: Re: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 09:19:06 -0000 --nextPart3010236.ANX5mnkqEg Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sunday 30 August 2009 04:16, Doug Poland wrote: > Hello, > > I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64). > The environment is VMware. I've been googling and reading what I can > on this procedure, which sounds possible, but I have been unable to > successfully get a system up and running with my technique. > > > And this is far as I have been able to get. Can anyone identify what > I'm doing wrong, or overlooking? Pointers to docs, man pages, URLs > appreciated. i'm sure that you have already checked this out, but there is a howto in th= e=20 wiki pages http://wiki.freebsd.org/ZFSOnRootWithZFSboot i tried this procedure twice on a i386 (once on a vm and once on an actual = pc)=20 and worked. (tho a nasty bug preventedme from keeping my root on zfs) it's about a zpool and not raidz/z2, but i'm pretty sure that the same appl= y=20 to those too. cheers =2D-=20 God, root, what's the difference? --nextPart3010236.ANX5mnkqEg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkqaPoMACgkQBPpdVEWKA30lwQCg44jceTM1ptWC0/uIUPqH5xWY CjwAoMHUxKqDSWhikWN6lBmB0LLMAk9c =6Vc6 -----END PGP SIGNATURE----- --nextPart3010236.ANX5mnkqEg-- From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 11:30:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD2EB106564A for ; Sun, 30 Aug 2009 11:30:49 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id A39738FC13 for ; Sun, 30 Aug 2009 11:30:49 +0000 (UTC) Received: from gluon.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id E46398542; Sun, 30 Aug 2009 11:14:07 +0000 (UTC) Date: Sun, 30 Aug 2009 12:13:53 +0100 From: Bruce Cran To: Polytropon Message-ID: <20090830121353.31d5995c@gluon.draftnet> In-Reply-To: <20090830020343.e067c5a4.freebsd@edvax.de> References: <20090829093549.5CDF0310@resin13.mta.everyone.net> <20090830020343.e067c5a4.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, voldem@techemail.com Subject: Re: About libc6-dev on FreeBsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 11:30:49 -0000 On Sun, 30 Aug 2009 02:03:43 +0200 Polytropon wrote: > On Sat, 29 Aug 2009 09:35:49 -0700, "Vladimir M" > wrote: > > Could you please give me any suggestion about howto install > > libc6-dev on FreeBsd? > > I'm not sure what libc6-dev refers to, maybe development version > 6 of the C library? In this case, FreeBSD already has version 7 > which should be compatible. It seems libc6 is glibc on Linux; libc6-dev is the set of headers. On my Debian system: ii libc6-dev 2.7-18 GNU C Library: Development Libraries and Headers -- Bruce From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 14:19:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E7D1065672 for ; Sun, 30 Aug 2009 14:19:29 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 80FC98FC16 for ; Sun, 30 Aug 2009 14:19:28 +0000 (UTC) Received: by fxm6 with SMTP id 6so2209183fxm.43 for ; Sun, 30 Aug 2009 07:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=QuoxHoQHX8Tjq4XVZ1ThS83QZCqDRNl9MK53voKVIrI=; b=e3oJhAaN5nmj/W8CZCOLFiBKP0kQe4p/3YkX0ZMhxX8w+pjd5Zx7Y0My8eeXKcmUfi lwxpfk8qLYbK9i7lnFEZTTrYGmuNCzWrWq51nRi9nwey1vmGgVVgWXl8oRMb23GzawmT YFNTiaGIS3LmW0bglpjg33xwpP/l42t15/JZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i6BCaRpqBe0iZ6yGRXaq6iagNKsrLfIZU2XdUIE6e6D1fPKTWbU+c9fIEVggHOjDt0 XuIkMIObZg+FLoFlpgEHK7/QKmyId6UVdnRNXcKX+f0GXHb8rxIG6BlZ7zQHCcuV2NQG Oq4MH2zLraTrK5Wnw7qfDnc8/ml6GTJTVVLLw= MIME-Version: 1.0 Received: by 10.103.126.36 with SMTP id d36mr1537048mun.104.1251641967569; Sun, 30 Aug 2009 07:19:27 -0700 (PDT) In-Reply-To: <200908301155.32013.oloringr@gmail.com> References: <4A99D308.6000806@polands.org> <200908301155.32013.oloringr@gmail.com> Date: Sun, 30 Aug 2009 15:19:27 +0100 Message-ID: From: krad To: Ed Jobs Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 14:19:29 -0000 2009/8/30 Ed Jobs > On Sunday 30 August 2009 04:16, Doug Poland wrote: > > Hello, > > > > I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64). > > The environment is VMware. I've been googling and reading what I can > > on this procedure, which sounds possible, but I have been unable to > > successfully get a system up and running with my technique. > > > > > > > And this is far as I have been able to get. Can anyone identify what > > I'm doing wrong, or overlooking? Pointers to docs, man pages, URLs > > appreciated. > > i'm sure that you have already checked this out, but there is a howto in > the > wiki pages > http://wiki.freebsd.org/ZFSOnRootWithZFSboot > > i tried this procedure twice on a i386 (once on a vm and once on an actual > pc) > and worked. (tho a nasty bug preventedme from keeping my root on zfs) > it's about a zpool and not raidz/z2, but i'm pretty sure that the same > apply > to those too. > > cheers > > -- > God, root, what's the difference? > Not sure if its required but you dont seem to be setting the bootfs paramenter on the zpool. Also in theory dump/restore should work, I would feel safer doing it with rsync or cp. From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 15:01:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB48106566B for ; Sun, 30 Aug 2009 15:01:37 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward5.yandex.ru (forward5.yandex.ru [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id 91FAC8FC12 for ; Sun, 30 Aug 2009 15:01:37 +0000 (UTC) Received: from smtp2.yandex.ru (smtp2.yandex.ru [77.88.46.102]) by forward5.yandex.ru (Yandex) with ESMTP id BB04F8704B8 for ; Sun, 30 Aug 2009 19:01:35 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp2.yandex.ru (Yandex) with ESMTPA id 1CBF4D181A3 for ; Sun, 30 Aug 2009 19:01:35 +0400 (MSD) X-Nat-Received: from [192.168.9.80]:1083 [ident-empty] by SPAM FILTER: with TPROXY id 1251644753.65686 abuse-to kes-kes@yandex.ru Date: Sun, 30 Aug 2009 18:01:45 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <8094253.20090830180145@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1251644495 X-Yandex-Spam: 1 X-Yandex-Front: smtp2.yandex.ru Subject: unknown oid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 15:01:37 -0000 Здравствуйте, Freebsd-questions. in /var/log/messages kernel: swap zone exhausted, increase kern.maxswzone flux# sysctl kern.maxswzone sysctl: unknown oid 'kern.maxswzone' What I must to do now? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 15:12:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8DF71065670 for ; Sun, 30 Aug 2009 15:12:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDD78FC15 for ; Sun, 30 Aug 2009 15:12:10 +0000 (UTC) Received: (qmail 26768 invoked from network); 30 Aug 2009 15:12:09 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Aug 2009 15:12:09 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 75B6950866; Sun, 30 Aug 2009 11:12:03 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id D335E1CCAC; Sun, 30 Aug 2009 11:12:02 -0400 (EDT) To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= References: <8094253.20090830180145@yandex.ru> From: Lowell Gilbert Date: Sun, 30 Aug 2009 11:12:02 -0400 In-Reply-To: <8094253.20090830180145@yandex.ru> (=?utf-8?B?ItCa0L7QvdGM?= =?utf-8?B?0LrQvtCyINCV0LLQs9C10L3QuNC5Iidz?= message of "Sun\, 30 Aug 2009 18\:01\:45 +0300") Message-ID: <447hwlfi9p.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: unknown oid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 15:12:10 -0000 kes-kes@yandex.ru writes: > in /var/log/messages > kernel: swap zone exhausted, increase kern.maxswzone > > flux# sysctl kern.maxswzone > sysctl: unknown oid 'kern.maxswzone' > > What I must to do now? It isn't exported as a sysctl; you need to set it in the loader. There is a discussion in "man 8 loader" that will tell you everything you need to know. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 18:00:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9BB21065693 for ; Sun, 30 Aug 2009 18:00:45 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from mail1.hostpark.net (mail1.hostpark.net [212.243.197.31]) by mx1.freebsd.org (Postfix) with ESMTP id 773AF8FC12 for ; Sun, 30 Aug 2009 18:00:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail1.hostpark.net (Postfix) with ESMTP id 12D478517D; Sun, 30 Aug 2009 20:00:44 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail1.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id s7wISj99j0BP; Sun, 30 Aug 2009 20:00:43 +0200 (CEST) Received: from saturn.pcs.ms (47-131.3-85.cust.bluewin.ch [85.3.131.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail1.hostpark.net (Postfix) with ESMTP id 60BA6850EC; Sun, 30 Aug 2009 20:00:43 +0200 (CEST) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.14.3/8.14.2) with ESMTP id n7UI0oBN054565; Sun, 30 Aug 2009 20:00:51 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.14.3/8.14.3/Submit) id n7UI0oqp054564; Sun, 30 Aug 2009 20:00:50 +0200 (CEST) (envelope-from martin) Date: Sun, 30 Aug 2009 20:00:50 +0200 From: Martin Schweizer To: freebsd-questions@freebsd.org Message-ID: <20090830180050.GA54419@saturn.pcs.ms> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Subject: Kerberos authentication by PAM againts AD Windows 2003 Server domain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 18:00:46 -0000 Hello My goal is to authenticate my Cyrus Imapd users against Windos 2003 Active Directory with Kerberos . I have the following setup: Kerberos5 client =========== FreeBSD acsvfbsd06.domain.tld 7.2-RELEASE FreeBSD 7.2-RELEASE /etc/krb.conf: [libdefaults] default_realm = domain.tld default_etypes_des = des-cbc-md5 [realms] ACUTRONIC.CH = { kdc = tcp/acsv3k04.domain.tld:88 } [logging] kdc = SYSLOG:INFO:AUTH admin_server = SYSLOG:INFO:AUTH default = SYSLOG:INFO:AUTH /etc/krb5.keytab (ktutil list output): For the keytab file I followed: http://technet.microsoft.com/en-us/library/bb742433.aspx FILE:/etc/krb5.keytab: Vno Type Principal 1 des-cbc-md5 host/acsvfbsd06.domain.tld@DOMAIN.TLD I get tickets if I use kinit user: acsvfbsd06# kinit user martin@DOMAIN.TLD's Password: kinit: NOTICE: ticket renewable lifetime is 1 week klist: Credentials cache: FILE:/tmp/krb5cc_0 Principal: user@DOMAIN.TLD Issued Expires Principal Jul 31 17:58:09 Aug 1 03:57:44 krbtgt/DOMAIN.TLD@DOMAIN.TLD I can no more use ldapsearch as follows: acsvfbsd06# ldapsearch -v -LLL -b "OU=Mitgliedsserver,OU=ACH,DC=Domain,DC=tld" -h acsv3k04.domain.tld description Which in the past worked. And really I did not change anything. I checked also the DNS and Kerberos communication by tcpdump without any strange issues. As the DNS server I use is the KDC server (all the DNS Kerberos erntries are correct). My PAM configurations is: /etc/pam.d/imap: auth required pam_krb5.so try_first_pass debug I tried with testsaslautd -u username - password different combinations of user names and passwords. As expected the wrong ones would be denied. But I get no PAM_SUCCESS for the correct ones, with one exception: If I use sufficient as PAM option then all username and password combinations (wrong or not) would be accepted! With the option required (and the others) I see in /var/log/auth.log: Aug 30 18:27:04 acsvfbsd06 saslauthd[9188]: rel_accept_lock : released accept lock Aug 30 18:27:04 acsvfbsd06 saslauthd[9188]: pam_krb5: verify_krb_v5_tgt(): krb5_rd_req(): Key table entry not found Aug 30 18:27:04 acsvfbsd06 saslauthd[9188]: DEBUG: auth_pam: pam_authenticate failed: authentication error Aug 30 18:27:04 acsvfbsd06 saslauthd[9188]: do_auth : auth failure: [user=martin] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] Aug 30 18:27:04 acsvfbsd06 saslauthd[9188]: get_accept_lock : acquired accept lock I read FreeBSDs PAM documentation backwards and forwards but did not find any clue. Also I did not find any hints about the debugging for PAM problems. So I have now no more ideas where I can check. Any hints are welcome. Kind regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 21:36:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEEA41065672 for ; Sun, 30 Aug 2009 21:36:37 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id B57FC8FC13 for ; Sun, 30 Aug 2009 21:36:37 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n7ULaaSV031073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 30 Aug 2009 14:36:37 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n7ULaaNh031072; Sun, 30 Aug 2009 14:36:36 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03610; Sun, 30 Aug 09 14:34:16 PDT Date: Sun, 30 Aug 2009 14:37:41 -0700 From: perryh@pluto.rain.com To: m.seaman@infracaninophile.co.uk Message-Id: <4a9af125.80kGkyIjVI185CUD%perryh@pluto.rain.com> References: <87y6p4pbd0.fsf@kobe.laptop> <20090829022431.5841d4de@gumby.homeunix.com> <4A98A8A1.7070305@prgmr.com> <4a98d375.W9fcoTOIN1DqRk/3%perryh@pluto.rain.com> <20090829134436.4461d8c9@gumby.homeunix.com> <4a9a0627.zA4OPJf/w06lQj0a%perryh@pluto.rain.com> <4A9A332F.8070300@infracaninophile.co.uk> In-Reply-To: <4A9A332F.8070300@infracaninophile.co.uk> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: SUID permission on Bash script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 21:36:37 -0000 Matthew Seaman wrote: > > It would do no good for the kernel to hand the interpreter an > > open descriptor if the interpreter did not somehow know to read > > the script from that open descriptor instead of opening the > > script file by name. > > Errr -- no. That's what fdescfs(5) is for. When the kernel > execs the interpreter, it tells the script to open /dev/fd/5 (for > example) and doing that just connects the script to the open file > descriptor the kernel used previously to taste the magic number > and the #! line of the script. which -- again absent some special arrangement in the interpreter -- would cause the script to receive $0 as "/dev/fd/5" instead of the actual name of the script, no? I'd expect this to at least break any messages that the script might try to produce via constructs like echo "$0: whatever" From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 23:07:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 312C4106566C for ; Sun, 30 Aug 2009 23:07:38 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id B63528FC19 for ; Sun, 30 Aug 2009 23:07:37 +0000 (UTC) Received: by fxm6 with SMTP id 6so2342777fxm.43 for ; Sun, 30 Aug 2009 16:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jJVyKkdbyN+GMZbMPuqCcvA2qKvUjiSAgaweHJSq6bc=; b=Yv1MCw24Bpad0XWVp35uLzlglERGVeRH6NYpx8XvcQcq8gXe/k9Ud6N6kBGRuUk08d lkqAeWDn+KIziYD64PPefw4SM9i9ce/Zb58hn98/gWr51hXUAU7h4Jk7x72In9KT2xIG iziAHjSkWIRjlR6TaKNATdSWQ9JFpYM5FiwNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PmNOI7QmQ+q82g4mvD5pKtfRKlHbKMl5T3uIzBS6wCVrz2AADFSoxglIg6mLf5i91+ QnUc3MOCtTbDJpsAKIZSFS2R+4oAA1y9AKHdXMjOO4ELKpsMOeQiGm45I4ALb6/3bqZa SEI7BHOlHBxTsAk9aA5g7wei/BmHeWal4cza4= MIME-Version: 1.0 Received: by 10.103.127.28 with SMTP id e28mr1766377mun.120.1251673656596; Sun, 30 Aug 2009 16:07:36 -0700 (PDT) Date: Mon, 31 Aug 2009 01:07:36 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: shell command line argument + parsing function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 23:07:38 -0000 hi, assuming I execute shell script like this $ ./script -c "hello world" I want to save "hello world" string to variable COMMENT in shell script. code: #!/bin/sh parse_cmdline() { while [ $# -gt 0 ]; do case "$1" in -c) shift COMMENT="$1" ;; esac shift done } parse_cmdline $* echo $COMMENT exit 0 but that only write out "hello". I tried to change $* to $@, nothing changed. It is interesting, that if I dont put "while" loop into function parse_cmdline, and do echo $COMMENT, it writes "hello world". I WANT that function style. How to do it ? thank you From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 23:18:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7843106568D for ; Sun, 30 Aug 2009 23:18:46 +0000 (UTC) (envelope-from bill@mi.celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 81A0A8FC0C for ; Sun, 30 Aug 2009 23:18:46 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 0C353205C79A for ; Sun, 30 Aug 2009 16:18:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S0FZK8xZvlgK for ; Sun, 30 Aug 2009 16:18:45 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id CFF57205C798 for ; Sun, 30 Aug 2009 16:18:45 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id BAEB468EE4CE9; Sun, 30 Aug 2009 16:18:45 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sqPEASyzpe3V; Sun, 30 Aug 2009 16:18:45 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 9D2D268BB4CA4; Sun, 30 Aug 2009 16:18:45 -0700 (PDT) Date: Sun, 30 Aug 2009 16:18:45 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20090830231845.GA991@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Subject: Re: shell command line argument + parsing function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 23:18:46 -0000 On Mon, Aug 31, 2009, Stefan Miklosovic wrote: >hi, > >assuming I execute shell script like this > >$ ./script -c "hello world" > >I want to save "hello world" string to variable COMMENT in shell script. > >code: > >#!/bin/sh > >parse_cmdline() { > while [ $# -gt 0 ]; do > case "$1" in > -c) > shift > COMMENT="$1" > ;; > esac > shift > done >} > >parse_cmdline $* > >echo $COMMENT > >exit 0 > >but that only write out "hello". I tried to change $* to $@, nothing >changed. Did you put $@ in quotes? That is parse_cmdline "$@". I haven't tried this in calling functions in scripts, but use it frequently when calling scripts from other scripts. I would probably use something like: for arg in "$@"; do dosomething "$arg" done Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business. -- John C. Dvorak From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 23:18:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B98B106568F for ; Sun, 30 Aug 2009 23:18:47 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 060808FC12 for ; Sun, 30 Aug 2009 23:18:46 +0000 (UTC) Received: by fxm6 with SMTP id 6so2344989fxm.43 for ; Sun, 30 Aug 2009 16:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=EgI7z49B+USxpd27iz8klBDPCFPesKVXF6UJIwkW9mA=; b=d4B82t+KGWNsK40/ZzKdbVBL9AD/wwv6KvdKukBXHLrgWS2c/4SprM3RDJGkkabPCY mBAskbtBzEUl17q5Dm6NUicE8hy3hGZcex/x2K2lwvPurE1QJzJu5y+K2EweK4nebjHQ Jd0H5EKNnmJlmJ8jU32L4sOd5wFgS3YWpRS1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TbmOAGEQEqHtCumOEIG4b02aHy7nehd8Ol8SKjhI3DWOBudGB67doeVur3gEWax+3u dh8gA1o/F+iTc+pAqA3+xx0rWvk/GGUrTSK9o74u6UPQUu5CHc/tziYcLb2W5d8Cxd1n 7r1y2gsofm0qbuVMBmDXq9ZHwPPNxSpEAQnTQ= MIME-Version: 1.0 Received: by 10.102.245.20 with SMTP id s20mr1791068muh.74.1251674326024; Sun, 30 Aug 2009 16:18:46 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Aug 2009 01:18:43 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: shell command line argument + parsing function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 23:18:47 -0000 hehe :D easy as hell, one has to enclose argument of parse_cmdline into brackets :) parse_cmdline "$@" sorry for noise On Mon, Aug 31, 2009 at 1:07 AM, Stefan Miklosovic < miklosovic.freebsd@gmail.com> wrote: > hi, > > assuming I execute shell script like this > > $ ./script -c "hello world" > > I want to save "hello world" string to variable COMMENT in shell script. > > code: > > #!/bin/sh > > parse_cmdline() { > while [ $# -gt 0 ]; do > case "$1" in > -c) > shift > COMMENT="$1" > ;; > esac > shift > done > } > > parse_cmdline $* > > echo $COMMENT > > exit 0 > > but that only write out "hello". I tried to change $* to $@, nothing > changed. > > It is interesting, that if I dont put "while" loop into function > parse_cmdline, > and do echo $COMMENT, it writes "hello world". > > I WANT that function style. How to do it ? > > thank you > From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 23:36:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D46C1065670 for ; Sun, 30 Aug 2009 23:36:54 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id BD6F68FC13 for ; Sun, 30 Aug 2009 23:36:53 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:53855 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Mhtwx-0004gH-5O for freebsd-questions@freebsd.org; Mon, 31 Aug 2009 01:36:45 +0200 Received: (qmail 12851 invoked from network); 31 Aug 2009 01:36:41 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 31 Aug 2009 01:36:41 +0200 Received: (qmail 49129 invoked by uid 1001); 31 Aug 2009 01:36:41 +0200 Date: Mon, 31 Aug 2009 01:36:41 +0200 From: Erik Trulsson To: Stefan Miklosovic Message-ID: <20090830233641.GA48910@owl.midgard.homeip.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1Mhtwx-0004gH-5O. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Mhtwx-0004gH-5O 1d4a3daae51072c3489331754faaf8e9 Cc: freebsd-questions@freebsd.org Subject: Re: shell command line argument + parsing function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 23:36:54 -0000 On Mon, Aug 31, 2009 at 01:07:36AM +0200, Stefan Miklosovic wrote: > hi, > > assuming I execute shell script like this > > $ ./script -c "hello world" > > I want to save "hello world" string to variable COMMENT in shell script. > > code: > > #!/bin/sh > > parse_cmdline() { > while [ $# -gt 0 ]; do > case "$1" in > -c) > shift > COMMENT="$1" > ;; > esac > shift > done > } > > parse_cmdline $* > > echo $COMMENT > > exit 0 > > but that only write out "hello". I tried to change $* to $@, nothing > changed. But if you use "$@" (with the quote marks) instead it should work fine. For further explanation please read the sh(1) man page where it explains the special parameters $* and $@, while paying special attention to how they expand when used within double-quotes. > > It is interesting, that if I dont put "while" loop into function > parse_cmdline, > and do echo $COMMENT, it writes "hello world". > > I WANT that function style. How to do it ? > > thank you > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 03:26:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970871065672 for ; Mon, 31 Aug 2009 03:26:14 +0000 (UTC) (envelope-from saifi.khan@datasynergy.org) Received: from s219.sureserver.com (s219.sureserver.com [203.194.200.31]) by mx1.freebsd.org (Postfix) with ESMTP id DBFBD8FC12 for ; Mon, 31 Aug 2009 03:26:13 +0000 (UTC) Received: (qmail 4270 invoked by uid 1002); 31 Aug 2009 03:26:09 -0000 Received: from unknown (HELO ?10.10.10.7?) (saifi.khan@datasynergy.org@59.92.222.17) by s219.sureserver.com with ESMTPA; 31 Aug 2009 03:26:09 -0000 Date: Mon, 31 Aug 2009 08:54:11 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@freebsd To: freebsd-questions@freebsd.org In-Reply-To: <20090825194741.756580a7@bobcat.edu> Message-ID: References: <20090825194741.756580a7@bobcat.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: IBM Stinkpad and Wifi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 03:26:14 -0000 On Tue, 25 Aug 2009, herbert langhans wrote: > Hi Daemons, > I have some troubles to get connected to an open Wifi-Net. > > Its an older IBM Stinkpad 600 and I bought a new PCMCIA-card for it. > Chipset of the card is from Atheros, this is recommended by the FreeBSD > Handbook. > > I boot the Laptop, the drivers seem to be compiled in the generic > Kernel. Booting shows something like: > ath0: mem 0xff9f0000-0xff9fffff irq 17 at device 2.0 on > pci2 > ath0: Ethernet address: 00:11:95:d5:43:62 > ath0: mac 7.9 phy 4.5 radio 5.6 > > Good. Then I try: > # ifconfig ath0 up scan > # > (I tried this in a cool caf?, with cool people there and a cool open > access point..) > > Nothing. There should be a list of the available access points. > Is that right? > Something I missed with the setup? > > I tried: > #kldload wlan_wep.ko > #kldload wlan_ccmp.ko > #kldload wlan_tkip.ko > > ..and BSD 7.2, a very recent version, tells me that these files already exist (so the kernel took > already care of it). > > What am I doing wrong?? > All ideas appreciated! > Thanks > herb langhans > Assuming that you know the SSID. # ifconfig ath0 ssid SSID # ifconfig ath0 up # dhclient ath0 What do you observe in this case (ie. dmesg log) ? thanks Saifi. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 03:31:41 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE320106568B for ; Mon, 31 Aug 2009 03:31:41 +0000 (UTC) (envelope-from saifi.khan@datasynergy.org) Received: from s219.sureserver.com (s219.sureserver.com [203.194.200.31]) by mx1.freebsd.org (Postfix) with ESMTP id 409E98FC08 for ; Mon, 31 Aug 2009 03:31:40 +0000 (UTC) Received: (qmail 10004 invoked by uid 1002); 31 Aug 2009 03:31:40 -0000 Received: from unknown (HELO ?10.10.10.7?) (saifi.khan@datasynergy.org@59.92.222.17) by s219.sureserver.com with ESMTPA; 31 Aug 2009 03:31:40 -0000 Date: Mon, 31 Aug 2009 08:59:27 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@freebsd To: freebsd-questions@FreeBSD.ORG In-Reply-To: <20090826013012.GA50679@thought.org> Message-ID: References: <20090826013012.GA50679@thought.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: howto alias a stty erase? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 03:31:42 -0000 On Tue, 25 Aug 2009, Gary Kline wrote: > > is there a way of setty'ing "stty erase" to [backspace key"? > pretty sure that is the delete key. i'm tired of having to hand > set it every time when i use the Konsole term. > > thanks, > gary > to set this you need to specify command and key combination command is : stty erase keycomb is : CTRL+v then press backspace key once overall it looks like # stty erase ^? Hope this helps. thanks Saifi. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 03:37:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE49D106566C for ; Mon, 31 Aug 2009 03:37:00 +0000 (UTC) (envelope-from noreplydply@g2gm.com) Received: from [205.215.255.197] (72-62-41-213.pools.spcsdns.net [72.62.41.213]) by mx1.freebsd.org (Postfix) with SMTP id DC58B8FC14 for ; Mon, 31 Aug 2009 03:36:59 +0000 (UTC) Received: from [205.215.255.197][127.0.0.1] by [205.215.255.197][127.0.0.1] (SMTPD32); Sun, 30 Aug 2009 20:36:39 -0700 Message-ID: From: "Deployment Division" To: Date: Sun, 30 Aug 2009 20:36:36 -0700 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Database Deployment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 03:37:00 -0000 Contact 1=20 Million Targeted Prospects for=20 $599 Why = E-Mail=20 Broadcast? * Extremely Cost = Effective=20 * Get your name in front = of LARGE=20 audiences * 100% Accountability for = Results=20 * Contact Individuals = Based on=20 Your Criteria * 200 Million = Consumer=20 Contacts Available=20 * 45=20 Million Business Contacts=20 = Available [email5.gif"=20] Peace of mind - privacy and = compliance=20 are assured We know your primary concern is = privacy.=20 Personal privacy integrity is at the very core of = our=20 business, and, our success depends implicitly on = our=20 ability to maintain the trust of the people = viewing our=20 products. Quick delivery and = sophisticated=20 reporting of all your e-mail campaigns MMS Inc's flexible approach to = e-mail=20 campaign delivery has made it even easier for you = to=20 transition through the e-mail marketing process. = The=20 results are flawless campaign execution, = increased=20 response rates and improved ROI. Additionally, = reporting=20 and analytic tools help you segment lists based = on=20 customer preferences and behaviors. One partner for your multi = channel=20 marketing needs Choose speed and power to fully=20 integrate your online and offline marketing = campaigns.=20 MMS Inc is a leader in online data management and = e-mail=20 deployment services. We are the industry's most=20 successful provider of multi channel marketing=20 solutions. This combination results in our = undisputed=20 leadership in online=20 = marketing. How = It=20 Works:=20 3D""=20 * Our Graphics Team Designs = Your=20 AD=20 * You Pick Your Target Audience = * Get OPT-IN Customer List=20 Compiled=20 * We Scrub Do not E-mail=20 Database=20 * Deployment of Millions = of=20 E-mails=20 * Track Click-Thru's & = Open=20 Rates=20 * Direct Traffic To Your Web=20 site=20 * Customer Contacts You=20 Interested=20 * Blast Can Broken Up As You=20 Need CALL=20 1-888-570-7776=20 TODAY! CALL 1-888-570-7776=20 TODAY! = From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 04:03:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21B681065676 for ; Mon, 31 Aug 2009 04:03:38 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-106.bluehost.com (outbound-mail-106.bluehost.com [69.89.22.6]) by mx1.freebsd.org (Postfix) with SMTP id E61618FC17 for ; Mon, 31 Aug 2009 04:03:37 +0000 (UTC) Received: (qmail 13677 invoked by uid 0); 31 Aug 2009 04:03:37 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy3.bluehost.com with SMTP; 31 Aug 2009 04:03:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=XBXUUggkS62R/fYyX36d+T2mHkrLI1n5ROL35ozIdG3Jxge1jQwDAYtVJL0xKP96dSm28fTMZF8WHd7wcOUhNnQggzC04FSH6jQRrOInwpUdhMTVGHKZbQHfHduE6wLY; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Mhy7E-0004mV-W3 for freebsd-questions@freebsd.org; Sun, 30 Aug 2009 22:03:37 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Sun, 30 Aug 2009 21:55:22 -0600 Date: Sun, 30 Aug 2009 21:55:22 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20090831035522.GA94212@kokopelli.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090825194741.756580a7@bobcat.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20090825194741.756580a7@bobcat.edu> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: IBM Stinkpad and Wifi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 04:03:38 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 25, 2009 at 07:47:41PM +0200, herbert langhans wrote: >=20 > Good. Then I try: > # ifconfig ath0 up scan > # > (I tried this in a cool caf=E9, with cool people there and a cool open > access point..) > =20 > Nothing. There should be a list of the available access points.=20 > Is that right? > Something I missed with the setup? I haven't seen "up" and "scan" used together like that before. Is that supported? Have you tried the following? # ifconfig ath0 up # ifconfig ath0 list scan --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Christopher Hitchens: "What can be asserted without proof can be dismissed without proof." --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqbSaoACgkQ9mn/Pj01uKX5PACfT65/oJ+q5dp3PY+QbTmGFaVe b/4Anjwh/sOHuBCwrH0DSuDgHpP06Hd4 =BrKP -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 04:35:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43666106566B for ; Mon, 31 Aug 2009 04:35:23 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 302D78FC0C for ; Mon, 31 Aug 2009 04:35:23 +0000 (UTC) Received: from [192.168.1.7] (unknown [75.15.114.75]) by mail.experts-exchange.com (Postfix) with ESMTP id B6B1D4A307C6; Sun, 30 Aug 2009 20:56:21 -0700 (PDT) Message-Id: <965E9F14-F626-46AC-AAEF-8662374CDA61@experts-exchange.com> From: Jason Helfman To: Matthias Apitz In-Reply-To: <20090826074734.GA3656@current.Sisis.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 30 Aug 2009 20:56:19 -0700 References: <20090826074734.GA3656@current.Sisis.de> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: localization management tool which works in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 04:35:23 -0000 Check out Puppet. It may fit most of your needs, and it is very configurable, so you can design it for what you need it to do. http://reductivelabs.com/trac/puppet/wiki/AboutPuppet GUI is available as 3rd Party, I believe. -jgh On Aug 26, 2009, at 12:47 AM, Matthias Apitz wrote: > > Hello, > > Is ther some localization management tool which runs in FreeBSD and > supports > > - connectors to CVS or SVN (i.e. pulls/stores the source and > translated > files there) > - extracts text pieces for translations from various file formats, > like > XML, HTML, PO, ASCII, ... presents these extracted strings for > translation and writes the target file with the translated strings; > - keeps somehow track of already translated text pieces and offers the > translation nextime the (modified) source file is opened again; > - does some checks, for example if the length of the translated string > will fit, some kind of aspell/ispell checks, ... > - export/import of extracted strings and its translation to give a way > the work of translation to translators; > - GUI > > Thanks in advance > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > People who hate Microsoft Windows use Linux but people who love UNIX > use FreeBSD. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " > From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 05:23:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD1101065670 for ; Mon, 31 Aug 2009 05:23:55 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9A82C8FC19 for ; Mon, 31 Aug 2009 05:23:55 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n7V5NEn6083803; Sun, 30 Aug 2009 22:23:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 30 Aug 2009 22:23:42 -0700 (PDT) Date: Sun, 30 Aug 2009 22:23:42 -0700 From: Gary Kline To: Saifi Khan Message-ID: <20090831052342.GA83447@thought.org> References: <20090826013012.GA50679@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: howto alias a stty erase? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 05:23:55 -0000 On Mon, Aug 31, 2009 at 08:59:27AM +0530, Saifi Khan wrote: > On Tue, 25 Aug 2009, Gary Kline wrote: > > > > > is there a way of setty'ing "stty erase" to [backspace key"? > > pretty sure that is the delete key. i'm tired of having to hand > > set it every time when i use the Konsole term. > > > > thanks, > > gary > > > > to set this you need to specify command and key combination > > command is : stty erase > keycomb is : CTRL+v then press backspace key once > > overall it looks like > > # stty erase ^? > > Hope this helps. What worked was a simple alias: alias se="stty erase ^\?" but while this does save several keysttokes [ and hitting the ctrl key with "v" ], now I often forget to type ``se'' before i use vi or vim... :-) oh well... . gary > > > thanks > Saifi. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 06:09:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97967106566B for ; Mon, 31 Aug 2009 06:09:29 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id F315E8FC1A for ; Mon, 31 Aug 2009 06:09:28 +0000 (UTC) Received: from libero.it (192.168.17.5) by cp-out4.libero.it (8.5.107) id 4A96D6C100195C4D; Mon, 31 Aug 2009 07:57:23 +0200 Date: Mon, 31 Aug 2009 07:57:23 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "andy" X-XaM3-API-Version: 4.3 (R1) (B3pl25) X-SenderIP: 82.57.161.168 Cc: freebsd-questions , freebsd-gnome Subject: Re:java config problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 06:09:29 -0000 > I'm trying to configure java on FreeBSD 7-stable and Gnome 2.26.3, with= > Firefox35. I tried the following commands, but still no ability to vie= w java applets. > > ln -s libjavaplugin_oji.so /usr/local/lib/firefox/plugins > ln -s libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > ln libjavaplugin_oji.so /usr/local/lib/firefox3/plugins > > installed package's: > pkg_info | grep java > javavmwrapper-2.3.3 Wrapper script for various Java Virtual Machines > pkg_info | grep jdk > diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 > > Any help to get this working would be really appreciated. > > TIA Try with: ln -s \ /usr/local/diablo-jdk1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so \ ~/.mozilla/plugins From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 06:52:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04F5C1065670 for ; Mon, 31 Aug 2009 06:52:38 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id 932D58FC12 for ; Mon, 31 Aug 2009 06:52:37 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mi0km-000240-GU for freebsd-questions@freebsd.org; Mon, 31 Aug 2009 08:52:36 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mi0kS-0007wh-GA for freebsd-questions@freebsd.org; Mon, 31 Aug 2009 08:52:16 +0200 Message-ID: <4A9B731E.9050400@mapper.nl> Date: Mon, 31 Aug 2009 08:52:14 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2AE2856AC251CC16793C2018" Subject: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 06:52:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2AE2856AC251CC16793C2018 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Good day to you, I'm having a bit of trouble with one of the disks in my zfs raidz1 pool. It's giving me dma read error, and zpool is reporting READ failures. However, data integrity is OK :-) Unfortunately I was in the middle of rearranging my backup media, so I'm backup up everything as we speak. I will be testing the failing drive in another computer soon, however before I return it i'd like to know if this could be caused my something other than hardware failing. Below the output of "zpool status" and a snippet of /var/log/messages showing the DMA errors. Thanks for the input. Greetz, Mark pool: data state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffect= ed. action: Determine if the device needs to be replaced, and clear the error= s using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scrub: none requested config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ad4 ONLINE 0 0 0 ad6 ONLINE 21 0 0 ad8 ONLINE 0 0 0 ad10 ONLINE 0 0 0 errors: No known data errors Aug 31 03:04:35 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204925440 size=3D2560 error=3D5 Aug 31 03:04:53 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 03:04:53 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 03:05:17 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 03:05:17 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 03:05:17 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204918272 size=3D512 error=3D5 Aug 31 06:12:01 yoshi login: ROOT LOGIN (root) ON ttyv2 Aug 31 06:35:34 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:35:34 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:35:34 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204925440 size=3D2560 error=3D5 Aug 31 06:36:33 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:36:34 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:36:34 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204923392 size=3D2048 error=3D5 Aug 31 06:36:38 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:36:38 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:36:38 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204918272 size=3D512 error=3D5 Aug 31 06:36:42 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:36:42 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:36:42 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204918272 size=3D512 error=3D5 Aug 31 06:37:52 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:37:52 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:37:52 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204918272 size=3D512 error=3D5 Aug 31 06:38:31 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:38:31 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:38:31 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204918272 size=3D512 error=3D5 Aug 31 06:38:45 yoshi kernel: ad6: FAILURE - READ_DMA48 status=3D51 error=3D40 LBA=3D932040832 Aug 31 06:38:45 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204905984 size=3D65536 error=3D5 Aug 31 06:38:45 yoshi root: ZFS: vdev I/O failure, zpool=3Ddata path=3D/dev/ad6 offset=3D477204947968 size=3D512 error=3D5 --------------enig2AE2856AC251CC16793C2018 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqbcyIACgkQN9xNqOOVnWCLHwCcCR8WcP3iLCUmLSd7V17+pskB e6IAnj5dkTp1Ao892q1pUVlLDPCkQNgK =PXc7 -----END PGP SIGNATURE----- --------------enig2AE2856AC251CC16793C2018-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 10:04:21 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66FFE1065672 for ; Mon, 31 Aug 2009 10:04:21 +0000 (UTC) (envelope-from george@downloadroute.com) Received: from xeon.euronetix.com (downloadroute.com [208.43.73.18]) by mx1.freebsd.org (Postfix) with ESMTP id 3EA2A8FC24 for ; Mon, 31 Aug 2009 10:04:20 +0000 (UTC) Received: from www.downloadroute.com (localhost.localdomain [127.0.0.1]) by xeon.euronetix.com (Postfix) with ESMTP id 961911033F74; Mon, 31 Aug 2009 04:33:05 -0500 (CDT) Date: Mon, 31 Aug 2009 04:33:05 -0500 To: The FreeBSD Project From: "DownloadRoute.com" Message-ID: <75f58b67eb48677c006bb413c57c730a@www.downloadroute.com> X-Priority: 3 X-Mailer: DownloadRoute.com MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-Virus-Scanned: clamav-milter 0.95.1 at xeon.euronetix.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on xeon.euronetix.com Cc: Subject: FreeBSD was successfully submitted to DownloadRoute.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "DownloadRoute.com" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 10:04:21 -0000 Hello The FreeBSD Project, FreeBSD product was successfully submitted to the DownloadRoute.com! We will review your program ASAP. You may list your software immediately, just visit this page for more info: http://www.downloadroute.com/reciprocal-url/FreeBSD-The-FreeBSD-Project.html Thank you, George DownloadRoute.com support@downloadroute.com From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 08:05:02 2009 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93ED7106566B for ; Mon, 31 Aug 2009 08:05:02 +0000 (UTC) (envelope-from yau_kintat@yahoo.com.hk) Received: from web31706.mail.mud.yahoo.com (web31706.mail.mud.yahoo.com [68.142.201.186]) by mx1.freebsd.org (Postfix) with SMTP id 4A7758FC12 for ; Mon, 31 Aug 2009 08:05:02 +0000 (UTC) Received: (qmail 93971 invoked by uid 60001); 31 Aug 2009 07:38:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.hk; s=s1024; t=1251704299; bh=Ly7DrP+O5fAj4frgI8kRIJXpCzN5Vo8WD6+g6CAj/50=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=y7x/FPvZ8AanmTatEfFkHV6BbhJ3V+6oMDLZLkauZG6WbTAEgQyF5Nh8cjan1JwiRhdvn2tvOLcNinOepU/S/QoXbXwX5S6iLM8mwSAAKGLQ4M+mN3fbBvCfehC67nROPtfpYq0IZ4Y2wjq97B47EesFu+MpVrAXcxJVZhazNb0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=XoR8UcUTWL7ECXHOOMoE+rthpbBIk+iJcLWNlB32BssjhZt42e2mXxzXje3qiocu6YrAmqhd9li/vsks+XlnmH1tBMrxMf4vRRvCkHo53rHD8ZAxfBFmePPA+htuQbO54FgL/UpzppFxxC5+KYLoB/YiiyC7dIBVTMVD865fJEc=; Message-ID: <240224.99246.qm@web31706.mail.mud.yahoo.com> X-YMail-OSG: vR_J04UVM1klXydOu5or6BnkO6i76s7aFOQ_FrTEl28_ZzoZDtQmHXpBF.GvVBlA2QPCcdgGed3RUgfJYYyro_TXY4nkoyt17LksupVoaRrNiafKo8fcX9ghTpUicf2XSk6gBMCUck8_02UHNDL8wBQzGyR.lwdQkLvvqbxA5h8FrBTZmPZ299ZKlW3akt6SftB0PIj0x08jnbv1C.HmU4JH0L5b8AeFg3OxDjVpEBPveTVpyaYctqAtjq2XM15oAjYqUW2yrcH.pLCLMB8d88fZaNbqRcESn35.JIiU9U9YcFWmGtt0ywB1vKP1Lk9AIo7kSF3zs4lwT7PICMlToLrkGGZBkKHVCjXQ2IXikOLcFU7Alhrb7L8NDaecZ5T59oyaUe__FO3VU_gVIOci_H0x9dapYn8- Received: from [221.127.225.45] by web31706.mail.mud.yahoo.com via HTTP; Mon, 31 Aug 2009 00:38:19 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Mon, 31 Aug 2009 00:38:19 -0700 (PDT) From: Kin Tat Yau To: FreeBSD-questions@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 31 Aug 2009 11:18:58 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Enquiry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 08:05:02 -0000 Dear Sir/Madam =C2=A0 My server is running with FreeBSD i386 4.11 release. Now i want to install = FreeBSD i386 6.1 release. But it can not install from CD Rom. I have set th= e BIOS to run from CD-ROM first .It seems not running the CD at all. The CD= -Rom is Sony CD-Rom CDU5211 USB Device. I don't need to keep the old config= uration and just want to use FreeBSD i386 6.1 release. Please=C2=A0advise. =C2=A0 regards =C2=A0 Kin=0A=0A=0A Yahoo!=E9=A6=99=E6=B8=AF=E6=8F=90=E4=BE=9B=E7=B6=B2=E4=B8= =8A=E5=AE=89=E5=85=A8=E6=94=BB=E7=95=A5=EF=BC=8C=E6=95=99=E4=BD=A0=E5=A6=82= =E4=BD=95=E9=98=B2=E7=AF=84=E9=BB=91=E5=AE=A2! =E8=AB=8B=E5=89=8D=E5=BE=80 = http://hk.promo.yahoo.com/security/ =E4=BA=86=E8=A7=A3=E6=9B=B4=E5=A4=9A! From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 09:12:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3949610656A4 for ; Mon, 31 Aug 2009 09:12:49 +0000 (UTC) (envelope-from julian.r.a.manning@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 815EF8FC20 for ; Mon, 31 Aug 2009 09:12:48 +0000 (UTC) Received: by ewy4 with SMTP id 4so1379662ewy.36 for ; Mon, 31 Aug 2009 02:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:return-receipt-to:reply-to :from:to:subject:date:organization:message-id:mime-version :content-type:x-mailer:thread-index:content-language :disposition-notification-to; bh=Sl7H0x7g1d9Bj4hWeYohWa9sp2VJGsA6pE5iftRmyHQ=; b=HOwd35Gr5jedGHzekUz8OtZXQMn86R9z/BG+bcussjJh+m6rCVcCBrlyFodQMirD4K cqr1h3YIEHDCGRQ5NX8++OH0u+W6z/d7CC1gP/aU3lXnA2IrWoRCnFqvqAaFH/XbvtDp OyjX4MI23Y//SpfB4F8uzwiLrIVDYGO7NqJao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=return-receipt-to:reply-to:from:to:subject:date:organization :message-id:mime-version:content-type:x-mailer:thread-index :content-language:disposition-notification-to; b=n9/N9TGdsqo994hrtHDQpEsJ/uEnvDFXF3z1zralFWIovc4EdQm0AtvudXplvyl0JK Z5oqr592j/pxXKVFcbYC/eA8JbL4RoAqZcygt0K6HvZJE+qSixIuZuISVT+g4dPQVep2 qXnVLz8YPN9ZBhemIRqaGuEPaa33FLy58DhbU= Received: by 10.216.7.209 with SMTP id 59mr1015027wep.213.1251709967595; Mon, 31 Aug 2009 02:12:47 -0700 (PDT) Received: from julianlaptop (118-93-91-69.dsl.dyn.ihug.co.nz [118.93.91.69]) by mx.google.com with ESMTPS id 5sm43988eyh.6.2009.08.31.02.12.42 (version=SSLv3 cipher=RC4-MD5); Mon, 31 Aug 2009 02:12:46 -0700 (PDT) From: "Julian R A Manning" To: Date: Mon, 31 Aug 2009 21:12:39 +1200 Organization: Private Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcoqGmyKK7E+FfJfREipF7CAb+O2rgAALVuA Content-Language: en-us X-Mailman-Approved-At: Mon, 31 Aug 2009 11:28:43 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: julian.r.a.manning@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 09:12:49 -0000 Dear Sir/Madam I have some questions about FreeBSD. The questions I had in mind are: . What type of OS is it? Is it single/multi user, multitasking, what family does it belong to? . General features (at least three)? Firewall, GUI, Networking and so on. . Minimum Hardware Requirements? Processors, RAM, Hard drive space, type of monitors and so on. . File system supported? . Applications (at least three)? eg. wordprocessing and so on. It would be very helpful if you could just pass on this email to someone who has experience with FreeBSD. Yours sincerely, Julian Manning From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 11:40:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5270F106566C for ; Mon, 31 Aug 2009 11:40:15 +0000 (UTC) (envelope-from v.prokofyev@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id D5E6D8FC19 for ; Mon, 31 Aug 2009 11:40:14 +0000 (UTC) Received: by ewy4 with SMTP id 4so1474305ewy.36 for ; Mon, 31 Aug 2009 04:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=yi+Hn4Pwrq1QzYfEE06sfFBg7aHKf0xyYr+JQLJX/CU=; b=X5/r3JNa7+3zvQt9zGc/Nc44okJgwNqdaih38pU4fU1bdaZGzD5FMFqkfH/LOERqd6 w3B2WWmhNLBRx+PdarEBZfA9R9jqE9yj7v4omkI3A9uC6n3SyivbwWvNLMJaJilYWRs9 4kTWVttOjGb0xd2JR3B3p6ZPwUnnqvo5wuMnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=gIhHLjpks46EkWKibKVZbAkqfL2qu8xZeK4UwPKKdQ8E3m2jcwAx4G8pG6MP2tptRC JHIxTnJXVCnRZLSF9NvosLh2v6+vvls9IW0wJCuMxyuL4YoXBxOK1gi+Y6PVTLozCv9U QZZyr/D3vl8kBt/vLYgGgg7ZMerckN2cucijI= MIME-Version: 1.0 Received: by 10.216.36.73 with SMTP id v51mr1108823wea.215.1251718404096; Mon, 31 Aug 2009 04:33:24 -0700 (PDT) In-Reply-To: References: From: Prokofyev Vladislav Date: Mon, 31 Aug 2009 15:33:04 +0400 Message-ID: <46dcef4e0908310433w631d980exeba1783e84cca226@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 11:40:15 -0000 2009/8/31 Julian R A Manning > Dear Sir/Madam > > I have some questions about FreeBSD. The questions I had in mind are: > > . What type of OS is it? Is it single/multi user, multitasking, > what > family does it belong to? > > . General features (at least three)? Firewall, GUI, Networking and > so on. > > . Minimum Hardware Requirements? Processors, RAM, Hard drive space, > type of monitors and so on. > > . File system supported? > > . Applications (at least three)? eg. wordprocessing and so on. > > It would be very helpful if you could just pass on this email to someone > who > has experience with FreeBSD. > > Yours sincerely, Julian Manning > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ -- With best regards, Vladislav Prokofyev From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 12:14:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4429106566B for ; Mon, 31 Aug 2009 12:14:20 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out8.libero.it (cp-out8.libero.it [212.52.84.108]) by mx1.freebsd.org (Postfix) with ESMTP id 5B8DE8FC14 for ; Mon, 31 Aug 2009 12:14:20 +0000 (UTC) Received: from soth.ventu (151.51.189.10) by cp-out8.libero.it (8.5.107) id 4A79A60C014CA2F7; Mon, 31 Aug 2009 14:14:12 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.3/8.14.2) with ESMTP id n7V98HFQ030680; Mon, 31 Aug 2009 11:09:02 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4A9B9300.80603@netfence.it> Date: Mon, 31 Aug 2009 11:08:16 +0200 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: Daniel Underwood References: <4A71455C.2070506@netfence.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OpenMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 12:14:20 -0000 Daniel Underwood ha scritto: > Did you add the "-fopenmp" flag to both the compiler and the linker? > Both need it. Thanks, this solves any compiling/linking problem. Now my compiling session looks like this: g++42 -c -pipe -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wconversion -Wsign-compare -g -march=athlon64 -ffloat-store -fopenmp -Wall -Wno-unused -o libobj.o libobj.cpp ar rs lib.a libobj.o ar: creating lib.a g++42 -c -pipe -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wconversion -Wsign-compare -g -march=athlon64 -ffloat-store -fopenmp -Wall -Wno-unused -o test.o test.cpp g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++ -lm -lGL -lc -fopenmp No errors or warning are printed while compiling/linking. However, the program crashes with a Bad system call as soon as it calls std::getline. bye & Thanks av. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 13:23:17 2009 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD8241065679 for ; Mon, 31 Aug 2009 13:23:17 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [69.31.85.206]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA1C8FC08 for ; Mon, 31 Aug 2009 13:23:17 +0000 (UTC) Received: from [172.16.1.50] ([68.195.158.255]) (authenticated user mikel@olivent.com) by mail.olivent.com (Kerio MailServer 6.7.0) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Mon, 31 Aug 2009 09:23:15 -0400 References: <240224.99246.qm@web31706.mail.mud.yahoo.com> Message-Id: <7D648F0B-0FF8-46A4-BAA7-86FB5D10FD5E@olivent.com> From: Mikel King To: Kin Tat Yau In-Reply-To: <240224.99246.qm@web31706.mail.mud.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Mailer: iPod Mail (5H11a) Mime-Version: 1.0 (iPod Mail 5H11a) Date: Mon, 31 Aug 2009 09:22:17 -0400 Cc: "FreeBSD-questions@FreeBSD.org" Subject: Re: Enquiry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 13:23:17 -0000 Try setting boot from USB and removable media in the bios. Cheers, m! On Aug 31, 2009, at 3:38, Kin Tat Yau wrote: > Dear Sir/Madam > > My server is running with FreeBSD i386 4.11 release. Now i want to =20 > install FreeBSD i386 6.1 release. But it can not install from CD =20 > Rom. I have set the BIOS to run from CD-ROM first .It seems not =20 > running the CD at all. The CD-Rom is Sony CD-Rom CDU5211 USB Device. =20= > I don't need to keep the old configuration and just want to use =20 > FreeBSD i386 6.1 release. Please advise. > > regards > > Kin > > > Yahoo!=E9=A6=99=E6=B8=AF=E6=8F=90=E4=BE=9B=E7=B6=B2=E4=B8=8A=E5=AE=89= =E5=85=A8=E6=94=BB=E7=95=A5=EF=BC=8C=E6=95=99=E4=BD=A0=E5=A6=82=E4=BD=95=E9= =98=B2=E7=AF=84=E9=BB=91=E5=AE=A2! =20 > =E8=AB=8B=E5=89=8D=E5=BE=80 http://hk.promo.yahoo.com/security/ = =E4=BA=86=E8=A7=A3=E6=9B=B4=E5=A4=9A! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org=20 > " From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 13:28:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F3FF1065693 for ; Mon, 31 Aug 2009 13:28:47 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE508FC16 for ; Mon, 31 Aug 2009 13:28:46 +0000 (UTC) Received: by gxk27 with SMTP id 27so5312199gxk.12 for ; Mon, 31 Aug 2009 06:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=vMIDpRvjlGJsUNUQsjEFAp/6AiK/9JTjuO84ba7gMIo=; b=kU1h6s9wESj2yC0xWAcjvpEyxyM1R6+TPHw7M2A/q2XXfY662X+07Ue8RaL1FCOrUw RRkH7Fhku5KCO+7TaS2J0YxkXdJB4WhMNdkguZvY/UU0d2dPFnhWE331YGwmx/kbPObt 3aphk7yKdaV5MckhB1tikaZ2QDYHpXpMMuGMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rlrdWyEB7wBlJR8gVRCiZw42vuGXzXI/mmV8ed6tdVEX2UyhdcHFiNRawqkvGUeP3W Q2PQlS4Kzz1OqWWPi2KxeWXLxkQsYqpGitBp2a0cUtdN2pMNHcEq6woKbNJ3ecuZ5npa 45qThX5sV21zK0WKFmGt+47J7QbHXFhDXyc38= MIME-Version: 1.0 Received: by 10.150.243.13 with SMTP id q13mr6434119ybh.167.1251725324792; Mon, 31 Aug 2009 06:28:44 -0700 (PDT) Date: Mon, 31 Aug 2009 09:28:44 -0400 Message-ID: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> From: Jim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 13:28:47 -0000 I want to compile some 32 bit ports on an AMD64 system. I know the GCC has to receive the -m32 flag to compile the ports as 32 bit, but I also want to change the install directory with 32 bit ports, I was wondering which would be the most appropriate root given unix themes and standard FreeBSD directory structure. /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32, [...]/libexec32, etc) /usr/32/ /usr/32bit/ /usr/FreeBSD32/ /usr/compat/32bit/ /usr/compat/FreeBSD32/ Also, would I be able to pass the appropriate flags through port upgrade (or use environmental variables), or would I have to make duplicates of the port directories and modify the makefiles? Thanks, -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 14:20:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD9D1065670 for ; Mon, 31 Aug 2009 14:20:17 +0000 (UTC) (envelope-from ml@netfence.it) Received: from cp-out9.libero.it (cp-out9.libero.it [212.52.84.109]) by mx1.freebsd.org (Postfix) with ESMTP id 1F73F8FC2A for ; Mon, 31 Aug 2009 14:20:16 +0000 (UTC) Received: from soth.ventu (151.51.189.10) by cp-out9.libero.it (8.5.107) id 4A92A0CB00583F85; Mon, 31 Aug 2009 16:20:15 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.3/8.14.2) with ESMTP id n7VEKBnH090558; Mon, 31 Aug 2009 16:20:11 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <4A9BDC19.5060207@netfence.it> Date: Mon, 31 Aug 2009 16:20:09 +0200 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: Daniel Underwood , freebsd-questions@freebsd.org References: <4A71455C.2070506@netfence.it> <4A9B9300.80603@netfence.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [SOLVED] Re: OpenMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 14:20:17 -0000 Daniel Underwood ha scritto: >> However, the program crashes with a Bad system call as soon as it calls >> std::getline. > > Can we see the code? No, sorry (not my code, not my decision). However, I solved this issue: as I said, I linked with g++42 -o test.exe test.o lib.a -L/usr/local/lib -lstdc++ -lm -lGL -lc -fopenmp I found out "-lstdc++", "-lm" and "-lc" are not needed any more, though I can't trace at which point they were (older FreeBSD? older gcc? ...?). Removing "-lc" the "Bad system call" doesn't show up anymore. Thank you very much for your help. bye av. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 14:53:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E83AE1065692 for ; Mon, 31 Aug 2009 14:53:35 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id A647B8FC0C for ; Mon, 31 Aug 2009 14:53:35 +0000 (UTC) Received: by gxk27 with SMTP id 27so5403025gxk.12 for ; Mon, 31 Aug 2009 07:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=hTT0WJdzEchkB3wAx9Qg3IMjA4gFWF8RLCEry45oD3U=; b=T+G/CFq/nkimjgtHTMMDLPxBu3o7hF3PID67x5iDYC8eJ7hS5IyaTZnHReqEqcrsg2 Ils1vHMRUeN7oy2Bq9is7xVT19FiBFgQ+aVeGoGyGHr5bL/qLCB/d897u3ShsL9B/NFR ODADkDC4/kNEPWSVIUhjjJHprrxB6hVUXugwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=SS+nROqMkRPfOvlub59oIATCxi5a50nd4PPJVUSvWUwHPo8jE91PXAN0FXdi99OaQL Fzn+2OtW8bWUofuJKEdogwKibZPQMq4j41uSZ4ZaQA/RBDPPPgmhXs9/lZpW6jyqcJxU mAIc2U5bgZO2KG7d6d2TaS/GpK31R6ziBLnEo= MIME-Version: 1.0 Received: by 10.150.77.5 with SMTP id z5mr9303289yba.245.1251730414795; Mon, 31 Aug 2009 07:53:34 -0700 (PDT) Date: Mon, 31 Aug 2009 10:53:34 -0400 Message-ID: <24393ae80908310753x13feff8fk4b0b64813f4d43e5@mail.gmail.com> From: Andrey Shuvikov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Removing extra locales X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 14:53:36 -0000 Hello, I was installing some software from ports on FreeBSD-7.2 machine and noticed that a lot of locales (languages) are being installed. But I definitely don't need all of them. Is there a generic way to tell the ports that I need only certain locales? Does it make sense to do so or it's better to keep all of them? Can I just delete extra locales for already installed software? I'm using portsnap, and portsnap.conf man page mentions REFUSE command but there is a warning there that "operating with an incomplete ports tree is not supported" Thank you! From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 15:04:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 384C1106568B for ; Mon, 31 Aug 2009 15:04:10 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id E912C8FC1D for ; Mon, 31 Aug 2009 15:04:09 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n7VF08Cb048235; Mon, 31 Aug 2009 11:00:08 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n7VF07J3048234; Mon, 31 Aug 2009 11:00:07 -0400 (EDT) (envelope-from jerrymc) Date: Mon, 31 Aug 2009 11:00:07 -0400 From: Jerry McAllister To: Julian R A Manning Message-ID: <20090831150007.GF47604@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 15:04:11 -0000 On Mon, Aug 31, 2009 at 09:12:39PM +1200, Julian R A Manning wrote: > Dear Sir/Madam > > I have some questions about FreeBSD. The questions I had in mind are: > > . What type of OS is it? Is it single/multi user, multitasking, what > family does it belong to? It is a BSD UNIX operating system, originally based on the original full featured Unix developed at Berkeley and distributed through Berkeley Software Distributions (thus the BSD) of UC Berkeley. That was based on the original Bell Labs (AT&T) UNIX, but due to significant development, improvements and some lawsuits, was rewritten so there was no Bell Labs code left in it. Later AT&S started another UNIX family too called SVR4 (meaning System five Release four) and Linux is somewhat based on that strain of the beast. All UNIXen are naturally multi user, multitasking and nowdays multithreading. > > . General features (at least three)? Firewall, GUI, Networking and > so on. Yup. All completely the latest and greatest. BSD UNIX in general and by nature is quite secure, although in any human created system, mistakes can be discovered. In general, the process of creating and vetting FreeBSD and the other BSDs militates against mistakes and poor code, but it can happen. > > . Minimum Hardware Requirements? Processors, RAM, Hard drive space, > type of monitors and so on. You really need to read up on the FreeBSD web site for this information. It is all there. http://www.freebsd.org/ Each release has a list of what it will support in hardware. Generally, although it began life on the i386 family of processors (which continued through 486, 586, 686, pentium, etc) nowdays it is available for most commodity CPUs such as AMD, Sparc, etc. I have run it on as little as 128MB memory and 4 GB disk, but some have gone lower. The top end will handle most anything that is currently available in the general marketplace. > > . File system supported? Same response. Do your homework. Generally UFS, UFS2, ZFS. Will mount most Microsloth filesystems but those are non-native and have some limitations. > > . Applications (at least three)? eg. wordprocessing and so on. Everything you can imagine. There are thousands of things in the "ports" that you can install. Again, read the documentation to understand what this means. > > It would be very helpful if you could just pass on this email to someone who > has experience with FreeBSD. > > Yours sincerely, Julian Manning Sounds like you are working on a class homework project or were sent to survey things by a non-informed boss. The best thing you can do is get on the FreeBSD web site and start reading - following the many links to the documentation. Some of those links will point you to other sites too, such as Onlamp.com and many other places. Try doing some Google searching for FreeBSD too. Do your homework. Have fun, ////jerry > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 15:18:01 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9F75106566B for ; Mon, 31 Aug 2009 15:18:01 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 61E318FC12 for ; Mon, 31 Aug 2009 15:18:01 +0000 (UTC) Received: by fxm6 with SMTP id 6so2677423fxm.43 for ; Mon, 31 Aug 2009 08:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=1ytqyva/G90jLoNkLQ0woBs2+Z85sErdo8Kv/rfU2yc=; b=LQ61SrtALIE90OIHsSCHAepCa1ihssxs4JJdo1++iJm1yxILwnO7b+v2GGZvAsnf09 HNa3osORYybwMztUPfYOgPzQB+A2zsjteQMRQT5fyKNEMLnma5lxDP1OlAH5hHJUqDfi w4xvjULcjTZwpFd3vP4vjjNrszBFZyCeYXGrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=cg9KnirncL1D3GNIfHHm2JtTbN3LhLmKE/vPRDQcgklchLNKB7kmy3k24sndcELrPA Yz0Q+LvXD2vKLYEYFtq7O0KlJjFpHAaQkMQKT4xuFY7vdMYnmDzioIwnzX2RvUBASdS7 MFqlVkG036BqrTF8cuXFnR77ziBXelZ+a+9JU= MIME-Version: 1.0 Received: by 10.239.138.12 with SMTP id n12mr440662hbn.69.1251731463558; Mon, 31 Aug 2009 08:11:03 -0700 (PDT) Date: Mon, 31 Aug 2009 15:11:03 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: stapleton.41@gmail.com Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 15:18:01 -0000 >I want to compile some 32 bit ports on an AMD64 system. I know the GCC >has to receive the -m32 flag to compile the ports as 32 bit, but I >also want to change the install directory with 32 bit ports, I was >wondering which would be the most appropriate root given unix themes >and standard FreeBSD directory structure. > >/usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,[...]/libexec32, etc) >/usr/32/ >/usr/32bit/ >/usr/FreeBSD32/ >/usr/compat/32bit/ >/usr/compat/FreeBSD32/ > > >Also, would I be able to pass the appropriate flags through port >upgrade (or use environmental variables), or would I have to make >duplicates of the port directories and modify the makefiles? > >Thanks, >-Jim Stapleton First, I hope that you have a good reason for doing this, because it is going to be a PITA, and prone to all sorts of problems. The Ports collection is full of sloppy linking statements, and not all ports respect custom CFLAGS, PREFIX, and LOCALBASE settings, although they are supposed to do so. Other ports use a compiler that may not be able to produce 32-bit binaries on amd64. If you mean to build a large number of ports this way, you are better off either installing i386, or at least building and installing these ports in a jail, where you can more effectively isolate them from your 64-bit ports. Mixing and matching a large number of 32-bit and 64-bit ports will be a headache, especially if you have both 32- and 64-bit versions of some ports installed in parallel. If you are just talking about unshadowed ports, you could try adding something like the following to /etc/make.conf: .ifdef(32BIT) PREFIX=/usr/local/32 LOCALBASE=/usr/local/32 LDCONFIG=/sbin/ldconfig -32 CFLAGS+=-m32 .endif and then wrapping your portupgrade, portmaster, or make commands with: env 32BIT=yes [insert rest of command here] If there is shadowing, you have to consider how to manage the environment PATH so that you can actually run the 32-bit binary executables without typing in fully-qualified pathnames every time, and maybe also using LD_RUN_PATH or LD_LIBRARY_PATH so that the right libraries are used --- you can see how problems crop up at every turn? b. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 16:20:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7678B1065670 for ; Mon, 31 Aug 2009 16:20:40 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id 554FB8FC0A for ; Mon, 31 Aug 2009 16:20:40 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1Mi9cU-0007xg-Ch for freebsd-questions@freebsd.org; Mon, 31 Aug 2009 11:20:39 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <05DAF099-1824-494E-BF33-9D14A765773A@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Mon, 31 Aug 2009 12:20:36 -0400 X-Mailer: Apple Mail (2.753.1) Subject: measuring mysql usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 16:20:40 -0000 Anyone know of a tool that can measure mysql usage per mysql user? My database is getting hammered by something, but I'm having a hard time figuring out what. It seems to come and go. Perhaps I have one or two websites that are just getting a lot of traffic, and maybe they just need their own machines. I'm not sure, which is why I'm looking for ways to start monitoring these sites and their resource usage - particularly db usage - more closely. Any thoughts or tips, much appreciated. Thanks: John From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 16:28:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DEF1106566C for ; Mon, 31 Aug 2009 16:28:01 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1A2308FC12 for ; Mon, 31 Aug 2009 16:28:00 +0000 (UTC) Received: by bwz2 with SMTP id 2so2719573bwz.43 for ; Mon, 31 Aug 2009 09:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=EP/uzpjZTAzIyJTm55iSTYqMJhd50RDt1kYR477qvBU=; b=O6vNylrAhg4jYRbYSjLFdzBZafAwkX/BiokKkCwItBoJ7VaCdpGbUKaELIUmJzCItd vCssZ1k41XUrVAzn91DPcjVoB1Ox0MmTpUl0fwJjBZrP8f9Sxr8n7RyaeOhsVlNz3jP1 mAG1rZKj1Q86KBSPpcQI2VIKJo3HqibsNDKcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=bFqe0pnppvqeTwucMItBpxrncNrvNEhaZWau4adGMbvfvgWAJinleYAVPAhBWNuD1k tREJHEqe7J8c1o/HnNTa9rI9WDRUEwfq8u2NFyDGOGGbGDkxEHHylWnyUAy+nFF4gd55 Gy8zv6E8JLSNpjCZwNKcvyeG2+JbEgmjLyuqk= MIME-Version: 1.0 Received: by 10.204.19.132 with SMTP id a4mr4451948bkb.21.1251736079156; Mon, 31 Aug 2009 09:27:59 -0700 (PDT) In-Reply-To: <05DAF099-1824-494E-BF33-9D14A765773A@identry.com> References: <05DAF099-1824-494E-BF33-9D14A765773A@identry.com> From: APseudoUtopia Date: Mon, 31 Aug 2009 12:27:39 -0400 Message-ID: <27ade5280908310927g323214ebx7a023e4282e8f4a2@mail.gmail.com> To: John Almberg Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: measuring mysql usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 16:28:01 -0000 On Mon, Aug 31, 2009 at 12:20 PM, John Almberg wrote: > Anyone know of a tool that can measure mysql usage per mysql user? > > My database is getting hammered by something, but I'm having a hard time > figuring out what. It seems to come and go. Perhaps I have one or two > websites that are just getting a lot of traffic, and maybe they just need > their own machines. I'm not sure, which is why I'm looking for ways to start > monitoring these sites and their resource usage - particularly db usage - > more closely. > > Any thoughts or tips, much appreciated. > > Thanks: John > Check out mTop. http://mtop.sourceforge.net/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 16:29:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7731065692 for ; Mon, 31 Aug 2009 16:29:17 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAFA8FC2D for ; Mon, 31 Aug 2009 16:29:17 +0000 (UTC) Received: from [212.54.34.140] (helo=smtp9.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Mi9kp-0007EV-B4; Mon, 31 Aug 2009 18:29:15 +0200 Received: from [84.25.72.219] (helo=ra.egypt.nl) by smtp9.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Mi9km-0008WE-2X; Mon, 31 Aug 2009 18:29:12 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id D233D39840; Mon, 31 Aug 2009 18:29:10 +0200 (CEST) Message-ID: <4A9BFA4B.1090406@boosten.org> Date: Mon, 31 Aug 2009 18:28:59 +0200 From: Peter Boosten User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: John Almberg References: <05DAF099-1824-494E-BF33-9D14A765773A@identry.com> In-Reply-To: <05DAF099-1824-494E-BF33-9D14A765773A@identry.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Mi9km-0008WE-2X X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.741, vereist 5, autolearn=not spam, BAYES_20 -0.74, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: measuring mysql usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 16:29:17 -0000 John Almberg wrote: > Anyone know of a tool that can measure mysql usage per mysql user? > > My database is getting hammered by something, but I'm having a hard time > figuring out what. It seems to come and go. Perhaps I have one or two > websites that are just getting a lot of traffic, and maybe they just > need their own machines. I'm not sure, which is why I'm looking for ways > to start monitoring these sites and their resource usage - particularly > db usage - more closely. > > Any thoughts or tips, much appreciated. > First thing I can think of is 'mysqladmin processlist', or you could log queries for a while. Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 16:33:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D4DB106566C for ; Mon, 31 Aug 2009 16:33:37 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 093108FC1F for ; Mon, 31 Aug 2009 16:33:36 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7VGXZWD011779; Mon, 31 Aug 2009 18:33:35 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 114A9BA8F; Mon, 31 Aug 2009 18:33:35 +0200 (CEST) Date: Mon, 31 Aug 2009 18:33:35 +0200 From: Roland Smith To: Jim Message-ID: <20090831163334.GA18945@slackbox.xs4all.nl> References: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 16:33:37 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 31, 2009 at 09:28:44AM -0400, Jim wrote: > I want to compile some 32 bit ports on an AMD64 system. I know the GCC > has to receive the -m32 flag to compile the ports as 32 bit, but I > also want to change the install directory with 32 bit ports, I was > wondering which would be the most appropriate root given unix themes > and standard FreeBSD directory structure. >=20 > /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32, > [...]/libexec32, etc) The one above sounds most logical. The base system puts 32 bit libraries in /usr/lib32.=20 > Also, would I be able to pass the appropriate flags through port > upgrade (or use environmental variables), or would I have to make > duplicates of the port directories and modify the makefiles? Currently the ports system is not set up to handle multiple versions of the same port, AFAIK. You could ask on the ports list. You'd need a separate /var/db/pkg32 to store information about installed 32-bit ports. And /var/db/ports32 for options for 32-bit ports. You would also need changed p= ort makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It sho= uld be possible, but I don't think anybody has volunteered to do the work yet. = :-) The consensus seems to be that if you _really_ need 32-bit apps that badly, you should use the i386 architecture. A lot of people run amd64 because the hardware supports it, not because they need* it. (* 'need' in this case means that you are regularly running out of address space on i386.) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqb+14ACgkQEnfvsMMhpyVGxACdG+fAAijegcmm25Djtx0urn0Q Cu0Anj58lKTvbG1Ah2OwEYp8pvN+3bes =NMR9 -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 16:43:57 2009 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6438106566B for ; Mon, 31 Aug 2009 16:43:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 2290E8FC0C for ; Mon, 31 Aug 2009 16:43:56 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7VGhtwm061380; Mon, 31 Aug 2009 18:43:55 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 21803BA8F; Mon, 31 Aug 2009 18:43:55 +0200 (CEST) Date: Mon, 31 Aug 2009 18:43:55 +0200 From: Roland Smith To: Kin Tat Yau Message-ID: <20090831164355.GB18945@slackbox.xs4all.nl> References: <240224.99246.qm@web31706.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <240224.99246.qm@web31706.mail.mud.yahoo.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD-questions@freebsd.org Subject: Re: Enquiry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 16:43:57 -0000 --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 31, 2009 at 12:38:19AM -0700, Kin Tat Yau wrote: > Dear Sir/Madam >=20 > My server is running with FreeBSD i386 4.11 release. Now i want to install > FreeBSD i386 6.1 release.=20 First of all, do not use 6.1. It is not supported anymore. The current production release is 7.2, with 8.0 not far off. At this moment 6.4 is still supported but that will cease after 8.0 is released. If you run into problems with 6.x, the first advice you will get is to upda= te to 7.2 and see if that fixes the problem. Avoid that extra work by installi= ng 7.2 instead of 6.x. Before you do any upgrading/installing, make sure you've backed up any important data! :-) > But it can not install from CD Rom. I have set the > BIOS to run from CD-ROM first .It seems not running the CD at all. The > CD-Rom is Sony CD-Rom CDU5211 USB Device. I don't need to keep the old > configuration and just want to use FreeBSD i386 6.1 release. Please advis= e. Set our system to boot from USB. Normally booting from CD-rom means from a built-in CD-ROM! Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqb/csACgkQEnfvsMMhpyV6bQCglurcbqUtQfUQlYS4bpQLGZ/s qgcAn1DL+GtQZxG8W/ArxDeg1Ax7DkCv =WSBU -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 17:21:48 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F00B106566C for ; Mon, 31 Aug 2009 17:21:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id F41F18FC28 for ; Mon, 31 Aug 2009 17:21:47 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n7VHLE4T090798 for ; Mon, 31 Aug 2009 10:21:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 31 Aug 2009 10:21:43 -0700 (PDT) Date: Mon, 31 Aug 2009 10:21:43 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090831172140.GA85543@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: mutt screen output... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:21:48 -0000 In recents months many if not all of my text messages displayed thru mutt include things like "\240" and other octal chars. anybody know why and how to fix this? gary ps: be great in kmail or evo had a reply option that used vi/vim! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 17:56:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C846106566B for ; Mon, 31 Aug 2009 17:56:42 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 654CB8FC31 for ; Mon, 31 Aug 2009 17:56:42 +0000 (UTC) Received: (qmail 14856 invoked from network); 31 Aug 2009 17:56:41 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Aug 2009 17:56:41 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 7BCD750867; Mon, 31 Aug 2009 13:56:40 -0400 (EDT) To: Jim , freebsd-questions@freebsd.org References: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> <20090831163334.GA18945@slackbox.xs4all.nl> From: Lowell Gilbert Date: Mon, 31 Aug 2009 13:56:40 -0400 In-Reply-To: <20090831163334.GA18945@slackbox.xs4all.nl> (Roland Smith's message of "Mon\, 31 Aug 2009 18\:33\:35 +0200") Message-ID: <44zl9f27fr.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jim , freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:56:42 -0000 Roland Smith writes: > On Mon, Aug 31, 2009 at 09:28:44AM -0400, Jim wrote: >> I want to compile some 32 bit ports on an AMD64 system. I know the GCC >> has to receive the -m32 flag to compile the ports as 32 bit, but I >> also want to change the install directory with 32 bit ports, I was >> wondering which would be the most appropriate root given unix themes >> and standard FreeBSD directory structure. >> >> /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32, >> [...]/libexec32, etc) > > The one above sounds most logical. The base system puts 32 bit libraries in > /usr/lib32. > >> Also, would I be able to pass the appropriate flags through port >> upgrade (or use environmental variables), or would I have to make >> duplicates of the port directories and modify the makefiles? > > Currently the ports system is not set up to handle multiple versions of the > same port, AFAIK. You could ask on the ports list. You'd need a separate > /var/db/pkg32 to store information about installed 32-bit ports. And > /var/db/ports32 for options for 32-bit ports. You would also need changed port > makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It should > be possible, but I don't think anybody has volunteered to do the work yet. :-) > > The consensus seems to be that if you _really_ need 32-bit apps that badly, > you should use the i386 architecture. A lot of people run amd64 because the > hardware supports it, not because they need* it. > > (* 'need' in this case means that you are regularly running out of address > space on i386.) Also note that it is possible to have an i386 port-building jail on an amd64 system. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 18:02:42 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0182106566B for ; Mon, 31 Aug 2009 18:02:42 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 7032A8FC18 for ; Mon, 31 Aug 2009 18:02:42 +0000 (UTC) Received: by bwz2 with SMTP id 2so2776575bwz.43 for ; Mon, 31 Aug 2009 11:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=C+10sA1we2kC2uQ2ylEYFGmS3motkmRNm7TRffGVpzo=; b=LT0uqFv5MLZrlkkYeqSz7gV41AAH+MNufxwtwHWTOJeYr3cLQ94lQVeXi8R10ZiB1k MAGgr27BklCZ3FBTJCAvfJ27me0yg8R2RKtRyq50NBNRqE6E5Q+CRvwaHXfpkAG5O6/i fCQqQGB7UWlgfw2JuVAm4yNnTNNycsIHXDQs8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mOXEZ9l/y2id0L0ua0BtVCx4Va5IUMpO2NHvkp57GBs0mWYzaVHvlsGumnZUVMXQdJ 8mQBgHO/byS1nZe2Bp6T2J9l5r5IssKSm0aouS1qOE7If8A5Im43BWFKOkiydkEmeokb obppRMCDaXA3C9PvgnBs0edKzRy8LwcZD0JOE= MIME-Version: 1.0 Received: by 10.239.139.17 with SMTP id r17mr457691hbr.140.1251741760962; Mon, 31 Aug 2009 11:02:40 -0700 (PDT) Date: Mon, 31 Aug 2009 18:02:40 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 18:02:43 -0000 >> /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32, >> [...]/libexec32, etc) >The one above sounds most logical. The base system puts 32 bit libraries in >/usr/lib32. It's too much trouble to append a 32 to every subdirectory of /usr/local/ -- I'd still recommend something like PREFIX=/usr/local/32, with all relative paths the same. >Currently the ports system is not set up to handle multiple versions of the >same port, AFAIK. You could ask on the ports list. Multiple versions of the same port with different PKGNAME s can be handled. Otherwise, no. >You'd need a separate >/var/db/pkg32 to store information about installed 32-bit ports. And >/var/db/ports32 for options for 32-bit ports. You would also need changed port >makefiles (different /ve/db paths, -m32 flag etc.) for this to work. It should >be possible, but I don't think anybody has volunteered to do the work yet. :-) In many cases, the same port Makefile would suffice, using the make.conf additions I mentioned in my earlier message. In some cases, you may have to add patches to the port or change the port Makefile. The point about the package registration is a good one. It would certainly be easier to maintain two separate package databases. To do so, and to also have different OPTIONS-handling for the 32-bit ports via separate ports databases, then you could simply add: PKG_DBDIR=/var/db/pkg32 PORT_DBDIR=/var/db/ports32 to the make.conf block in my last message. However, I think it would be better to instead maintain unified package and port databases and somehow differentiate between the entries for 32-bit and 64-bit packages, by either tinkering with the fake-pkg target in bsd.port.mk, or, preferably, by changing the PKGNAME and UNIQUENAME. The simplest way to do this would be to add a block like .ifdef(32BIT) PKGNAMEPREFIX+=32 .endif just before the definitions of PKGNAME and UNIQUENAME in bsd.port.mk. ... >(* 'need' in this case means that you are regularly running out of address >space on i386.) Or if you need improved performance from a 64-bit app, etc. As the I and the others have mentioned, a jail or a separate 32-bit installation would probably be better. b. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 18:07:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BE3C106566C for ; Mon, 31 Aug 2009 18:07:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id EC9318FC14 for ; Mon, 31 Aug 2009 18:07:36 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 743C23CC44; Mon, 31 Aug 2009 20:07:36 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n7VI7Ywu002135; Mon, 31 Aug 2009 20:07:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 31 Aug 2009 20:07:34 +0200 From: Polytropon To: julian.r.a.manning@gmail.com Message-Id: <20090831200734.fff2a4ed.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 18:07:37 -0000 On Mon, 31 Aug 2009 21:12:39 +1200, "Julian R A Manning" wrote: > Dear Sir/Madam You are talking to a mailing list. "Dear list" would be a good line to start. :-) > I have some questions about FreeBSD. The questions I had in mind are: > > . What type of OS is it? Is it single/multi user, multitasking, what > family does it belong to? It is a free UNIX OS, which is multi-user and multi-tasking capable. > . General features (at least three)? Firewall, GUI, Networking and > so on. Yes, all three are present. You have the choice among many solutions and not tied to a specific program. Networking is fully functional and includes IPv6 support for many years now, as well as drivers for many networking devices. > . Minimum Hardware Requirements? Processors, RAM, Hard drive space, > type of monitors and so on. As far as I remember, for x86 it is 80386 and < 16 MB RAM. Hard disks with 5 GB can hold a fully-functional system with applications. The more functionality you need, the more programs you will need, and hard disk requirements will increase. > . File system supported? Natively, UFS (FFS) is used. There are various file systems that are supported by the OS, such as MS-DOS, NTFS, EXT2 and so on. NFS is available, as well as SAMBA, furthermore CD (ISO-9660) and memory file system MFS, and UDF. Additional file system support can be installed via the "fuse" package. > . Applications (at least three)? eg. wordprocessing and so on. There are many thousands of applications availabe natively for FreeBSD. Common word processors are OpenOffice, AbiWord, and the typesetting system LaTeX. FreeBSD offers programs for everything, from diagnostics, servers for various stuff, multimedia, even games. > It would be very helpful if you could just pass on this email to someone who > has experience with FreeBSD. I think all members of this mailing list have experiences with FreeBSD, allthough not all of them are FreeBSD developers. To find out more about FreeBSD, check its excellent web site: http://www.freebsd.org/ http://www.freebsd.org/about.html If you have further or specific questions, ask the friendly list. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 18:08:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5C81065693 for ; Mon, 31 Aug 2009 18:08:28 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id ECEE58FC2A for ; Mon, 31 Aug 2009 18:08:27 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1MiBIp-0007Vg-4Z; Mon, 31 Aug 2009 13:08:27 -0500 Received: from 127.0.0.1 (MailAnyone web AccountID 542936) by webmail.kcy.mailanyone.net with HTTP; Mon, 31 Aug 2009 13:08:26 -0500 (CDT) Message-ID: <1251742106.v2.mailanyonewebmail-542936@fuse114> Date: Mon, 31 Aug 2009 13:08:26 -0500 (CDT) From: "John Almberg" To: "APseudoUtopia" User-Agent: MailAnyone W MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 X-Priority: 3 Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: measuring mysql usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jalmberg@identry.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 18:08:28 -0000 >Check out mTop. >http://mtop.sourceforge.net/ Okay, got this running from ports. Cool tool, but after reading the man page and fooling around with it for a bit, I don't see how you can monitor usage by user with it. Am I missing something? -- John From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 18:09:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B797106568D for ; Mon, 31 Aug 2009 18:09:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 11F568FC19 for ; Mon, 31 Aug 2009 18:09:51 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7VI9nOm082216; Mon, 31 Aug 2009 20:09:49 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 634B1BAB5; Mon, 31 Aug 2009 20:09:49 +0200 (CEST) Date: Mon, 31 Aug 2009 20:09:49 +0200 From: Roland Smith To: Gary Kline Message-ID: <20090831180949.GA21988@slackbox.xs4all.nl> References: <20090831172140.GA85543@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20090831172140.GA85543@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: mutt screen output... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 18:09:52 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote: >=20 > In recents months many if not all of my text messages displayed > thru mutt include things like "\240" and other octal chars. >=20 > anybody know why and how to fix this? =20 What terminal emulator are you using, and what are your locale settings? Wi= th urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I thi= nk that the console doesn't support UTF-8 (yet). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqcEe0ACgkQEnfvsMMhpyWfvgCeMAQ7ja3pewh7KDW8cwxexNve FVkAmQHDwwel9GMcFJWgVkkeBTYT/BDw =G63F -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 18:22:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65571106566C for ; Mon, 31 Aug 2009 18:22:27 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f195.google.com (mail-yx0-f195.google.com [209.85.210.195]) by mx1.freebsd.org (Postfix) with ESMTP id 21A9F8FC13 for ; Mon, 31 Aug 2009 18:22:26 +0000 (UTC) Received: by yxe33 with SMTP id 33so1921495yxe.7 for ; Mon, 31 Aug 2009 11:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=KoxoK0q6NUdFxmjhIWsgfgEmPN4LIqPlB/g7724gQiY=; b=tc03VEWnU2QuZ42JjiOd8PzV7uGW4033JRD2mpGSYYehMB5hc09fZchjQs3WHT8kXe aIi6JQCXRJwddROSZC6hzsNmTZG2MCNwlQXS8d8d9tPLGyU0uk2uuZMgBxoto8eQEEQ/ fCvEhRxcFkaq/bAPqLQ61Wf6Fi7N1Qtks4LH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nKbYZvB7CKBZU6UCWKmSv6GDSk34MnYacWQKiY8q1E1zoEES1ZKYcQw/tNP8gbXFbu dQDL61YTGm3qPQ3qkCQYrEdHAHMI3Jvxz8b+37txAy9PnEhMNaoAMD6P9U2vdqJMXioD Oj/O57HMKY+7DJfNqvl+3lWWowjaY5wNTDWwk= MIME-Version: 1.0 Received: by 10.101.85.10 with SMTP id n10mr6009323anl.156.1251742945974; Mon, 31 Aug 2009 11:22:25 -0700 (PDT) In-Reply-To: <4A9B731E.9050400@mapper.nl> References: <4A9B731E.9050400@mapper.nl> Date: Mon, 31 Aug 2009 12:22:25 -0600 Message-ID: From: Tim Judd To: Mark Stapper Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 18:22:27 -0000 On 8/31/09, Mark Stapper wrote: > Good day to you, > > I'm having a bit of trouble with one of the disks in my zfs raidz1 pool. > It's giving me dma read error, and zpool is reporting READ failures. > However, data integrity is OK :-) > Unfortunately I was in the middle of rearranging my backup media, so I'm > backup up everything as we speak. > I will be testing the failing drive in another computer soon, however > before I return it i'd like to know if this could be caused my something > other than hardware failing. > Below the output of "zpool status" and a snippet of /var/log/messages > showing the DMA errors. > Thanks for the input. > Greetz, > Mark > > > pool: data > state: ONLINE > status: One or more devices has experienced an unrecoverable error. An > attempt was made to correct the error. Applications are unaffected. > action: Determine if the device needs to be replaced, and clear the errors > using 'zpool clear' or replace the device with 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-9P > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > data ONLINE 0 0 0 > raidz1 ONLINE 0 0 0 > ad4 ONLINE 0 0 0 > ad6 ONLINE 21 0 0 > ad8 ONLINE 0 0 0 > ad10 ONLINE 0 0 0 > > errors: No known data errors > > Aug 31 03:04:35 yoshi kernel: ad6: FAILURE - READ_DMA48 > status=51 error=40 LBA=932040832 > Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data > path=/dev/ad6 offset=477204905984 size=65536 error=5 > Aug 31 03:04:35 yoshi root: ZFS: vdev I/O failure, zpool=data > path=/dev/ad6 offset=477204925440 size=2560 error=5 Since it's all throwing errors at the same LBA, I'd run a SMART diagnostics on the drive (i think it's port sysutils/smartmontools) and see if it's showing errors too. Looks like a failing/failed drive and I would recommend replacing it. I doubt (but you can try) spinrite will help you when you get to this point. spinrite's website is at grc.com Hope you have backups or redundancy. No fun replacing data. --TJ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 19:52:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37EFF1065670 for ; Mon, 31 Aug 2009 19:52:05 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id EAC648FC19 for ; Mon, 31 Aug 2009 19:52:04 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n7VJpUNe092192; Mon, 31 Aug 2009 12:51:30 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 31 Aug 2009 12:52:00 -0700 (PDT) Date: Mon, 31 Aug 2009 12:52:00 -0700 From: Gary Kline To: Roland Smith Message-ID: <20090831195159.GD85542@thought.org> References: <20090831172140.GA85543@thought.org> <20090831180949.GA21988@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090831180949.GA21988@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: mutt screen output... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 19:52:05 -0000 On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote: > On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote: > > > > In recents months many if not all of my text messages displayed > > thru mutt include things like "\240" and other octal chars. > > > > anybody know why and how to fix this? > > What terminal emulator are you using, and what are your locale settings? With > urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I think > that the console doesn't support UTF-8 (yet). > Konsole ... up from xterm. i thought it was my LC settings for a moment, but I just checked: % setenv |gr LC 11:LC_ALL=en_US.UTF-8 12:LC_CTYPE=en_US.UTF-8 17:LC_LANG=en_US.UTF-8 Any other settings to grep for? gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 19:56:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCF66106566B for ; Mon, 31 Aug 2009 19:56:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id BCD158FC08 for ; Mon, 31 Aug 2009 19:56:52 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7VJuqsY033886 for ; Mon, 31 Aug 2009 12:56:52 -0700 (PDT) Message-ID: <4A9C2B02.8010001@rawbw.com> Date: Mon, 31 Aug 2009 12:56:50 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Is ALSA support working in 72? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 19:56:52 -0000 I tried new skype-2.1.0.47 on FreBSD-72. (I have linux-alsa-lib-1.0.10.3_2 installed.) Skype starts but gives the errors below when I try to make a voice call. Previous versions of Skype came in OSS flavor but now it seems to be dropped and it's only available for ALSA. Why would ALSA library fail? Yuri ----- errrors ----- ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default /usr/ports/distfiles/skype_static-2.1.0.47/skype: relocation error: /usr/ports/distfiles/skype_static-2.1.0.47/skype: symbol snd_device_name_hint, version ALSA_0.9 not defined in file libasound.so.2 with link time reference From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 20:37:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B761065670 for ; Mon, 31 Aug 2009 20:37:47 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65505.mail.ac4.yahoo.com (web65505.mail.ac4.yahoo.com [76.13.9.49]) by mx1.freebsd.org (Postfix) with SMTP id 5A8D88FC21 for ; Mon, 31 Aug 2009 20:37:47 +0000 (UTC) Received: (qmail 69281 invoked by uid 60001); 31 Aug 2009 20:37:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1251751066; bh=nTEKSNE7l3wMZPYGGWwJoreX12YA2RfExEWIjp1LH+4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZaqMgQ6FIjEdqDMdDJndVX9h2zVfRYJxOOdH/398CmYfiBrLjDDR/WjnIirSU6DOIomtX4M2k4v1SCYA1doKUv+X5+xK5HgUPZo+E6sgCbUTayHdj9ygJXVcETDr31s+MBkmOyG6za4n3Vk6Md13VmLMud2kk/QB0677Isvoo40= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ol9iCfrWNWyR6swIce8Ep+Lk0b168CpEbShuX2akjoTGfzh+rmBb9UCPjYCmYGN9wdx9aQsa19+4hgMVYyhISl0GRNi0cZWygAL7SuuQ5j0Dtm9tRfFUegGu0XBaq9K6gYc/eHSHNG34etVVFtaKGRwLL5wyTHLMgGNV975H00Q=; Message-ID: <159170.69145.qm@web65505.mail.ac4.yahoo.com> X-YMail-OSG: MiDf3qsVM1leGPjzvww8ePoDNw21Mbsk_D1UP2MtD3s13YnJCnd13t3bwn5WiXAmw7C0DexAJBJlL5VcOj3jqYM5qI2AmdB5Ur1TD5vfFq_jKBN3sg6_eBAOSk0.EfGQDIXC0OrJvQSICCZW_c96H23AgY4yH7HrJMo1D3L6vayVQaG5QRp5fsfI4X9zKyyfROX2I2qrEXgu03dLuQeCLssKAUD2K2Qw5TWLhsmGHc.6tqGU20n9R93bqn3C9ry1bh90Er.g_L121mvBCVqi4CDe8DIMwOQXHW0cxVmb0LBufKHenOhup1ZpDTLYd63bxDNowCwmkDiVotktY4nYthdmY1p5v0cpSMy_xYpWYi8- Received: from [208.99.137.71] by web65505.mail.ac4.yahoo.com via HTTP; Mon, 31 Aug 2009 13:37:46 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Mon, 31 Aug 2009 13:37:46 -0700 (PDT) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20090831120031.3591A10656C0@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 20:37:47 -0000 =0A=0A=0A> =0A> Message: 20=0A> Date: Mon, 31 Aug 2009 21:12:39 +1200=0A> F= rom: "Julian R A Manning" =0A> Subject: quest= ions about FreeBSD=0A> To: =0A> Message-ID:= =0A> =A0=A0=A0=0A> =0A> =A0=A0=A0 =0A> Content-= Type: text/plain;=A0=A0=A0=0A> charset=3D"us-ascii"=0A> =0A> Dear Sir/Madam= =0A> =0A> I have some questions about FreeBSD. The questions I had in=0A> m= ind are: =0A=0ASuch general questions imply "homework assignment."=0A=0ASom= ebody already replied with a link to the Handbook: It mainly covers install= ing and configuring FreeBSD.=0A=0A> =0A> .=A0 =A0 =A0 =A0=A0=A0What type of= OS is=0A> it? Is it single/multi user, multitasking, what=0A> family does = it belong to? =0A=0AYes, it supports all three. Single-user mode is usually= reserved for emergency system maintenance.=0A> =0A> .=A0 =A0 =A0 =A0=A0=A0= General features=0A> (at least three)? Firewall, GUI, Networking and=0A> so= on. =0A=0AYes, But the GUI is part of the "Ports" collection (X Window sys= tem (xorg))=0A=0Ahttp://www.freebsd.org/features.html=0A=0A> .=A0 =A0 =A0 = =A0=A0=A0Minimum Hardware=0A> Requirements? Processors, RAM, Hard drive spa= ce,=0A> type of monitors and so on. =0A=0AAlmost anything made in the past = 10 years will do.=0A=0A> =0A> .=A0 =A0 =A0 =A0=A0=A0File system=0A> support= ed? =0A> =0A> .=A0 =A0 =A0 =A0=A0=A0Applications (at=0A> least three)? eg. = wordprocessing and so on. =0A=0ASee the ports collection (Chapter 4 of Hand= book).=0A=0A=0A> It would be very helpful if you could just pass on this=0A= > email to someone who=0A> has experience with FreeBSD. =0A> =0A> Yours sin= cerely, Julian Manning=0A> =0A=0ARegards,=0A=0AJames Phillips=0A=0A=0A=0A = __________________________________________________________________=0ALo= oking for the perfect gift? Give the gift of Flickr! =0A=0Ahttp://www.flick= r.com/gift/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 20:49:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3077F106566B for ; Mon, 31 Aug 2009 20:49:26 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 13D9D8FC19 for ; Mon, 31 Aug 2009 20:49:25 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n7VKnMxp046082; Mon, 31 Aug 2009 13:49:22 -0700 (PDT) Message-ID: <4A9C3756.20102@rawbw.com> Date: Mon, 31 Aug 2009 13:49:26 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Joerg Schilling References: <4a96eaeb.+hwTxrm8ZMkfnJv7%Joerg.Schilling@fokus.fraunhofer.de> <4A96F862.1040508@rawbw.com> <4a96f8ac.7yxfIGkQ+lxeAvHQ%Joerg.Schilling@fokus.fraunhofer.de> <4A96F9A2.3080001@rawbw.com> <4a970010.sbpgYsYLhO5P1h6Q%Joerg.Schilling@fokus.fraunhofer.de> <4A9700D8.7090503@rawbw.com> <4a97028b.33/8PtH/TTQ8dv17%Joerg.Schilling@fokus.fraunhofer.de> <4A9704EC.9030100@rawbw.com> <4a97076d.tKuzcIceuQxne41y%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4a97076d.tKuzcIceuQxne41y%Joerg.Schilling@fokus.fraunhofer.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: CD writing fails on P6T motherboard with Pioneer cdwriter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 20:49:26 -0000 Joerg Schilling wrote: > > OK, if this is a timeout, then you would need to find why this timeout happens. > > There are two probabilities: > > 1) A cabling problem > > 2) This is PATA and you have a hard disk at the same cable. > > In case of 1), check or replace the cables, make sure that the OS is set up for > UDMA to the drive (this requires a 80 wire cable - unfortunately the drive > manufacturers deliver only 40 wire cable). > > In case of 2) use the -immed option. > > JГ¶rg > No, it's IDE with simulated SCSI on top of it. All hard drives are on SATA. I replaced the cable and made sure it sits in tightly. And still get the same error. The same DVD-witer orked fine on older motherboard with the older CPU. Now when I moved in into the newer P6T-based system I get this error. Yuri [root@eagle /yuri-huge/movies/will-ackerman-new-age]# cdrecord dev=5,0,0 speed=4 -v -dao -pad -useinfo -text *.wav Cdrecord-ProDVD-ProBD-Clone 2.01.01a62 (i386-unknown-freebsd7.2) Copyright (C) 1995-2009 JпїЅrg Schilling TOC Type: 0 = CD-DA scsidev: '5,0,0' scsibus: 5 target: 0 lun: 0 Using libscg version 'schily-0.9'. SCSI buffer size: 65536 atapi: 0 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'PIONEER ' Identifikation : 'DVD-RW DVR-112D' Revision : '1.21' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: CD-R Profile: DVD+R/DL Profile: DVD+R Profile: DVD+RW Profile: DVD-R/DL layer jump recording Profile: DVD-R/DL sequential recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD-R sequential recording Profile: DVD-ROM Profile: CD-RW Profile: CD-R (current) Profile: CD-ROM Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R LAYER_JUMP Drive buf size : 1267712 = 1238 KB cdrecord: Warning: The DMA speed test has been skipped. FIFO size : 4194304 = 4096 KB pregap1: -1 Track 01: audio 54 MB (05:24.16) no preemp Track 02: audio 41 MB (04:05.64) no preemp pregapsize: 395 Track 03: audio 56 MB (05:38.76) no preemp pregapsize: 388 Track 04: audio 67 MB (06:42.04) no preemp pregapsize: 425 Track 05: audio 29 MB (02:56.33) no preemp pregapsize: 500 Track 06: audio 84 MB (08:19.46) no preemp pregapsize: 518 Track 07: audio 57 MB (05:39.86) no preemp pregapsize: 380 Track 08: audio 32 MB (03:11.06) no preemp pregapsize: 578 Track 09: audio 40 MB (03:59.80) no preemp pregapsize: 340 Track 10: audio 95 MB (09:27.22) no preemp pregapsize: 305 Track 11: audio 27 MB (02:41.44) no preemp pregapsize: 332 Total size: 586 MB (58:05.80) = 261435 sectors Lout start: 586 MB (58:07/60) = 261435 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Disk Is not unrestricted Disk Is not erasable Disk sub type: Medium Type B, low Beta category (B-) (4) ATIP start of lead in: -11834 (97:24/16) ATIP start of lead out: 359849 (79:59/74) Disk type: Short strategy type (Phthalocyanine or similar) Manuf. index: 24 Manufacturer: SONY Corporation Capacity Blklen/Sparesz. Format-type Type 0 2048 0x00 Unformated or Blank Media Blocks total: 359849 Blocks current: 359849 Blocks remaining: 98414 Starting to write CD/DVD/BD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. BURN-Free is ON. Turning BURN-Free off Performing OPC... Sending CUE sheet... SAO startsec: -11834 Writing lead-in... Lead-in write time: 48.669s Writing pregap for track 1 at -150 cdrecord: faio_wait_on_buffer for writer timed out. cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 206.051 (200) s CDB: 2A 00 FF FF FF 6A 00 00 1B 00 cmd finished after 206.051s timeout 200s write track pad data: error after 0 bytes BFree: 1146 K BSize: 1152 K Starting new track at sector: 0 Track 01: 0 of 54 MB written.cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 207.017 (200) s CDB: 2A 00 00 00 00 00 00 00 1B 00 cmd finished after 207.017s timeout 200s write track data: error after 0 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: retryable error CDB: 1E 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 06 00 00 00 00 0E 00 00 00 00 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x6 Unit Attention, Segment 0 Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device reset occurred) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 212.061s timeout 200s Writing time: 471.843s Average write speed 8.2x. Fixating... Fixating time: 6.379s cdrecord: fifo had 64 puts and 1 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%. From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 21:48:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1781065672 for ; Mon, 31 Aug 2009 21:48:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 62AD28FC12 for ; Mon, 31 Aug 2009 21:48:22 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id n7VLmKKc087209; Mon, 31 Aug 2009 23:48:20 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 612BCBA8F; Mon, 31 Aug 2009 23:48:20 +0200 (CEST) Date: Mon, 31 Aug 2009 23:48:20 +0200 From: Roland Smith To: Gary Kline Message-ID: <20090831214820.GB25395@slackbox.xs4all.nl> References: <20090831172140.GA85543@thought.org> <20090831180949.GA21988@slackbox.xs4all.nl> <20090831195159.GD85542@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline In-Reply-To: <20090831195159.GD85542@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: mutt screen output... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 21:48:23 -0000 --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 31, 2009 at 12:52:00PM -0700, Gary Kline wrote: > On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote: > > On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote: > > >=20 > > > In recents months many if not all of my text messages displayed > > > thru mutt include things like "\240" and other octal chars. > > >=20 > > > anybody know why and how to fix this? > > =20 > > What terminal emulator are you using, and what are your locale settings= ? With > > urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I= think > > that the console doesn't support UTF-8 (yet). > >=20 >=20 > Konsole ... up from xterm. =20 >=20 > i thought it was my LC settings for a moment, but I just checked: >=20 > % setenv |gr LC > 11:LC_ALL=3Den_US.UTF-8 > 12:LC_CTYPE=3Den_US.UTF-8 > 17:LC_LANG=3Den_US.UTF-8 >=20 > Any other settings to grep for? Check if Konsole/KDE have any settings regarding fonts and character sets. = I'm not a KDE user so I can't help you much with that. According to http://docs.kde.org/stable/en/kdebase-apps/konsole/commandreference.html, t= he View->Set Character Encoding might be of use, or one of the submenus in the Settings menu? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqcRSQACgkQEnfvsMMhpyXaIgCdEmVRHLKbEI/0Wg1XdhUNKJb4 taYAn3PA+pTkXwy3BoMKD2ZIQfSYifEy =kiHR -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT-- From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 22:37:24 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB4301065698 for ; Mon, 31 Aug 2009 22:37:24 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (pinus.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5C37B8FC1D for ; Mon, 31 Aug 2009 22:37:24 +0000 (UTC) Received: from pinus.izb.knu.ac.kr (localhost.izb.knu.ac.kr [IPv6:::1]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id B70D95736D; Tue, 1 Sep 2009 07:37:22 +0900 (KST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=izb.knu.ac.kr; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= soyeomul; i=bh@izb.knu.ac.kr; bh=aUX94IaXXkcDNqs5VDGAw8lifbYPNYZ us+NocimzyJ8=; b=pTI36QCS0Gho/g6blqRRUY9QkNyutjU90GB0aKCskJJSJaS va0bieN8UDSsiy0wj6Ai+xKhnteYnW9SiqbAiwvFtyDuDaTulGOXy3A21lPfqarz 83Z2wEMCY5/RNzTNf3jPmP0yaQUkYWTIwNDFh45pl5xRH9Wm0Nj7bSid7evE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=izb.knu.ac.kr; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= soyeomul; b=WgWvv4U65R73I8xmzwLYl1iWF8W+7Ak4c35Rcnp06GZI6JrU+Fmv eZ73Jp9SpkCWxFuQEjdJTieLlSvpk13ugZ2St47BV/XXKs/V4Keg08AeAYyel1Yu 6602GuYMZpOaH/TJrhRUnhg2W45YUBSYPfh++IT50Q0T2UpOoN3PlVw= Received: from rhodo.izb.knu.ac.kr (rhodo.izb.knu.ac.kr [IPv6:2001:470:1f05:5f8:3::2]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 592755736C; Tue, 1 Sep 2009 07:37:22 +0900 (KST) Received: from betla.izb.knu.ac.kr (betla.izb.knu.ac.kr [IPv6:2001:470:1f05:5f6:3::b]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bh@izb.knu.ac.kr) by rhodo.izb.knu.ac.kr (Postfix) with ESMTP id 52CD21CD6F; Tue, 1 Sep 2009 07:37:18 +0900 (KST) Date: Tue, 01 Sep 2009 07:37:07 +0900 Message-ID: <86bplvd2zw.wl%bh@izb.knu.ac.kr> From: Byung-Hee HWANG To: julian.r.a.manning@gmail.com In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?B?U2hpasWN?=) APEL/10.7 Emacs/23.0.95 (i386-pc-freebsd) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@FreeBSD.org Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 22:37:24 -0000 At Mon, 31 Aug 2009 21:12:39 +1200, Julian R A Manning wrote: > [...]=20 > . General features (at least three)? Firewall, GUI, Networking = and > so on.=20 >=20 Hmm.. special is nothing. Personally i do web-browsing with Firefox, and i read/write emails with Emacs, and i do listening to music with beep-media-player. That's all to me. Sincerely, -- Byung-Hee HWANG =E2=88=91 WWW: http://izb.knu.ac.kr/~bh/ From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 23:25:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAFF8106566B for ; Mon, 31 Aug 2009 23:25:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1A28FC08 for ; Mon, 31 Aug 2009 23:25:31 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n7VNOt4p093986; Mon, 31 Aug 2009 16:24:55 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 31 Aug 2009 16:25:26 -0700 (PDT) Date: Mon, 31 Aug 2009 16:25:26 -0700 From: Gary Kline To: Roland Smith Message-ID: <20090831232525.GC88988@thought.org> References: <20090831172140.GA85543@thought.org> <20090831180949.GA21988@slackbox.xs4all.nl> <20090831195159.GD85542@thought.org> <20090831214820.GB25395@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090831214820.GB25395@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: mutt screen output... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 23:25:31 -0000 On Mon, Aug 31, 2009 at 11:48:20PM +0200, Roland Smith wrote: > On Mon, Aug 31, 2009 at 12:52:00PM -0700, Gary Kline wrote: > > On Mon, Aug 31, 2009 at 08:09:49PM +0200, Roland Smith wrote: > > > On Mon, Aug 31, 2009 at 10:21:43AM -0700, Gary Kline wrote: > > > > > > > > In recents months many if not all of my text messages displayed > > > > thru mutt include things like "\240" and other octal chars. > > > > > > > > anybody know why and how to fix this? > > > > > > What terminal emulator are you using, and what are your locale settings? With > > > urxvt and LANG and LC_ALL set to en_US.UTF-8 It works fine. Mind you, I think > > > that the console doesn't support UTF-8 (yet). > > > > > > > Konsole ... up from xterm. > > > > i thought it was my LC settings for a moment, but I just checked: > > > > % setenv |gr LC > > 11:LC_ALL=en_US.UTF-8 > > 12:LC_CTYPE=en_US.UTF-8 > > 17:LC_LANG=en_US.UTF-8 > > > > Any other settings to grep for? > > Check if Konsole/KDE have any settings regarding fonts and character sets. I'm > not a KDE user so I can't help you much with that. According to > http://docs.kde.org/stable/en/kdebase-apps/konsole/commandreference.html, the > View->Set Character Encoding might be of use, or one of the submenus > in the Settings menu? not found. BUT changing the Settings -> Encoding [long list] to UTF8 may be working. are they are kde/konsole wizards out there who can point me to just ONE place in ~/.kde3/*/* and to the konsole* file where things live? i'll change everything byhand if i have to, but would think that the default is set somewhere centrally. thanks very much, Roland. gary ps: i'll 2- and 3-ck to be sure!! > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 01:21:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915941065679 for ; Tue, 1 Sep 2009 01:21:44 +0000 (UTC) (envelope-from vinny-mail-01+f.questions20090831@palaceofretention.ca) Received: from www.giovannetti.ca (www.giovannetti.ca [206.248.136.48]) by mx1.freebsd.org (Postfix) with ESMTP id 60CF58FC1C for ; Tue, 1 Sep 2009 01:21:44 +0000 (UTC) Received: from the.palaceofretention.ca (unknown [192.168.68.3]) by www.giovannetti.ca (Postfix) with ESMTPSA id D06722285A for ; Mon, 31 Aug 2009 21:10:30 -0400 (EDT) Message-ID: <4A9C7371.2010600@palaceofretention.ca> Date: Mon, 31 Aug 2009 21:05:53 -0400 From: Vinny User-Agent: Thunderbird 2.0.0.22 (X11/20090714) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: geli disk marked as dirty on normal shutdown/reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 01:21:44 -0000 Hi List, # uname -a FreeBSD the.palaceofretention.ca 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I have a geli backed ufs file system: ===fstab=== # ad14.eli esata /dev/ufs/E1TB /edisks/esata0 ufs rw,noauto 2 2 I use a passphrase to attach it: # geli attach ad14 Enter passphrase: ** The provider shows up as ad14.eli as expected. The file system on it has a label of E1TB (as seen above). The command: # mount /dev/ufs/E1TB usually works fine. The problem is that if I restart the system normally, the file system on the provider ad14.eli, when reattached, is marked as dirty and I get the usual "operation not permitted" error. I have to run: # fsck -t ufs /dev/ad14.eli before I can mount it again. This is repeatable and occurs for more than just the one geli provider I use in this example. Am I missing something with respect to properly attaching a geli device? Do I need the '-d' option to detach at last close? Thanks for any help. Vinny From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 02:22:16 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7A41106566B for ; Tue, 1 Sep 2009 02:22:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4DC8FC12 for ; Tue, 1 Sep 2009 02:22:16 +0000 (UTC) Received: by ywh29 with SMTP id 29so6625203ywh.33 for ; Mon, 31 Aug 2009 19:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=w7ra9WrrCyeQCVtAXzGAVfziO/+LBA1FDkIAzkfNbI8=; b=nFFp8MdFksjUckrZGdOnyLbDXik2kxDyqioYqqfut7roel0rIderyHW4lw5DRy4cYl 7pQL6dLXm4q1YNxB9tSZ0O1NM3uxDjKE4QjrLq12ofCqAY0Vnpl0G/VW1A7ou4CyuJh6 HbE4hRdnoOPMjyVqCc8Exl1QWtwKDCDjvN4hI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=r3GaVTHA+E3wZQfpq4Rf8EXeoJKKLoAG8jD20HKZLT75jdT0ZLtuzRcyFlKhaQ4Zwz pkEyFVItnziHMbi4W7QveYyUmOafLHrn7F/StbeQCv3lHertkG4GjoAo+1AyUH+WBW4V CfXwsXI9dr13HUCrHyjMqLZzoRKeXEa9ORmXs= MIME-Version: 1.0 Received: by 10.150.63.16 with SMTP id l16mr10576314yba.12.1251771734387; Mon, 31 Aug 2009 19:22:14 -0700 (PDT) In-Reply-To: <4A9C7371.2010600@palaceofretention.ca> References: <4A9C7371.2010600@palaceofretention.ca> Date: Mon, 31 Aug 2009 21:22:14 -0500 Message-ID: <6201873e0908311922p440659a7u2ee66d7189ef8138@mail.gmail.com> From: Adam Vande More To: Vinny Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: geli disk marked as dirty on normal shutdown/reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 02:22:16 -0000 On Mon, Aug 31, 2009 at 8:05 PM, Vinny < vinny-mail-01+f.questions20090831@palaceofretention.ca > wrote: > Hi List, > > # uname -a > FreeBSD the.palaceofretention.ca 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: > Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > i386 > > I have a geli backed ufs file system: > > ===fstab=== > # ad14.eli esata > /dev/ufs/E1TB /edisks/esata0 ufs rw,noauto 2 2 > > I use a passphrase to attach it: > > # geli attach ad14 > Enter passphrase: ** > > The provider shows up as ad14.eli as expected. The file system > on it has a label of E1TB (as seen above). > > The command: > > # mount /dev/ufs/E1TB > > usually works fine. > > The problem is that if I restart the system normally, the > file system on the provider ad14.eli, when reattached, is > marked as dirty and I get the usual "operation not permitted" > error. I have to run: > > # fsck -t ufs /dev/ad14.eli > > before I can mount it again. This is repeatable and occurs > for more than just the one geli provider I use in this example. > > Am I missing something with respect to properly attaching a > geli device? Do I need the '-d' option to detach at last > close? > > Thanks for any help. > Vinny > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Usually I just umount before close. I don't get the need to fsck then. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 02:38:07 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E4F10656A5 for ; Tue, 1 Sep 2009 02:38:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B39DC8FC43 for ; Tue, 1 Sep 2009 02:38:06 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 5E04E3CB03; Tue, 1 Sep 2009 04:38:02 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n812c0oZ004758; Tue, 1 Sep 2009 04:38:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 1 Sep 2009 04:38:00 +0200 From: Polytropon To: Adam Vande More Message-Id: <20090901043800.023fd5cd.freebsd@edvax.de> In-Reply-To: <6201873e0908311922p440659a7u2ee66d7189ef8138@mail.gmail.com> References: <4A9C7371.2010600@palaceofretention.ca> <6201873e0908311922p440659a7u2ee66d7189ef8138@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Vinny , Questions , FreeBSD Subject: Re: geli disk marked as dirty on normal shutdown/reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 02:38:07 -0000 On Mon, 31 Aug 2009 21:22:14 -0500, Adam Vande More wrote: > Usually I just umount before close. I don't get the need to fsck then. You could add the umount command to /etc/rc.shutdown.local so the system would automatically umount the partition, even if you reboot. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 03:50:48 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59B881065670 for ; Tue, 1 Sep 2009 03:50:48 +0000 (UTC) (envelope-from vinny-mail-01+f.questions20090831@palaceofretention.ca) Received: from www.giovannetti.ca (www.giovannetti.ca [206.248.136.48]) by mx1.freebsd.org (Postfix) with ESMTP id 257498FC13 for ; Tue, 1 Sep 2009 03:50:47 +0000 (UTC) Received: from the.palaceofretention.ca (unknown [192.168.68.3]) by www.giovannetti.ca (Postfix) with ESMTPSA id E488422862 for ; Mon, 31 Aug 2009 23:55:21 -0400 (EDT) Message-ID: <4A9C9A14.3060209@palaceofretention.ca> Date: Mon, 31 Aug 2009 23:50:44 -0400 From: Vinny User-Agent: Thunderbird 2.0.0.22 (X11/20090714) MIME-Version: 1.0 To: FreeBSD Questions References: <4A9C7371.2010600@palaceofretention.ca> <6201873e0908311922p440659a7u2ee66d7189ef8138@mail.gmail.com> <20090901043800.023fd5cd.freebsd@edvax.de> In-Reply-To: <20090901043800.023fd5cd.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: geli disk marked as dirty on normal shutdown/reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 03:50:48 -0000 Polytropon wrote: > On Mon, 31 Aug 2009 21:22:14 -0500, Adam Vande More wrote: >> Usually I just umount before close. I don't get the need to fsck then. Does this mean you observe the same behaviour? I.e. a geli-backed file system mounted and listed in the fstab is not properly unmounted at shutdown? > > You could add the umount command to /etc/rc.shutdown.local > so the system would automatically umount the partition, even > if you reboot. > It is my understanding that file systems listed in the /etc/fstab file are unmounted at system shutdown. Is this correct? If not, that would be a pretty big WTF?, if you ask me. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 06:23:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD937106566B for ; Tue, 1 Sep 2009 06:23:16 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB9C8FC0A for ; Tue, 1 Sep 2009 06:23:16 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MiMlv-0004re-5W; Tue, 01 Sep 2009 08:23:15 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MiMla-000EMd-Cc; Tue, 01 Sep 2009 08:22:54 +0200 Message-ID: <4A9CBDBB.3060403@mapper.nl> Date: Tue, 01 Sep 2009 08:22:51 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tim Judd References: <4A9B731E.9050400@mapper.nl> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig33152F14760E4224B15E89DD" Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 06:23:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig33152F14760E4224B15E89DD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > > > > > Since it's all throwing errors at the same LBA, I'd run a SMART > diagnostics on the drive (i think it's port sysutils/smartmontools) > and see if it's showing errors too. Looks like a failing/failed drive > and I would recommend replacing it. I doubt (but you can try) > spinrite will help you when you get to this point. > =20 Thought about that, will do that, after running zfs scrub. Weird thing is that zfs hasn't show any data/checksum errors. Does this mean successive reads were successful? > spinrite's website is at grc.com > =20 People are REALLY pushing spinrite lately... I did get it though, just to try it. > > Hope you have backups or redundancy. No fun replacing data. > =20 I have both :-). --------------enig33152F14760E4224B15E89DD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqcvb8ACgkQN9xNqOOVnWAblgCfaHaRl19p+n0FpukrgKXIEoJL 1QUAn3ymwGpozEzrMkZ5Xstuj7lYHSVR =ieXI -----END PGP SIGNATURE----- --------------enig33152F14760E4224B15E89DD-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 06:41:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8AB8106568B for ; Tue, 1 Sep 2009 06:41:06 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from c.mail.ru.ac.za (c.mail.ru.ac.za [IPv6:2001:4200:1010::25:3]) by mx1.freebsd.org (Postfix) with ESMTP id 0760C8FC1C for ; Tue, 1 Sep 2009 06:41:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=BubbXvh4vTCa1xh65KbsW4RkSbUNSomcWIPgT1TsbMQpj1x7IFeBPBO1Qqtfc3IJAPeMJNOLhd0BVKrq1A8NfTUgTciITxyCClFoX7wSxQSbjq8HrV0egtrT9MfULrEH; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:49654) by c.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MiN37-000I6h-5o for freebsd-questions@freebsd.org; Tue, 01 Sep 2009 08:41:01 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Tue, 1 Sep 2009 08:41:00 +0200 User-Agent: KMail/1.9.10 References: <20090831150007.GF47604@gizmo.acns.msu.edu> In-Reply-To: <20090831150007.GF47604@gizmo.acns.msu.edu> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: c.mail.ru.ac.za (2001:4200:1010::25:3) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 06:41:06 -0000 On Monday 31 August 2009 17:00:07 Jerry McAllister wrote: > Same response. =A0 Do your homework. The nature of the OP's questions strongly suggested that we are doing his=20 homework. I'm surprised so many people spoonfed the answers rather than=20 pointing to resources like the handbook, as the first responder did. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 08:19:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 563081065670 for ; Tue, 1 Sep 2009 08:19:37 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id D62D18FC14 for ; Tue, 1 Sep 2009 08:19:36 +0000 (UTC) Received: by bwz2 with SMTP id 2so3145700bwz.43 for ; Tue, 01 Sep 2009 01:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=weJLsd8o5LLtHbCyTXnsbGGk+djALWAbP2JvtOr4q3A=; b=XAtD2fv8okxQ58s65xeqhNSt/JTaAfnx+fQtosToTnpkt/GQp0t+vMUEdosdbA5Z4I PpjFPYuzczKLiyT745b9K96bnFvC/Cs3omLArK1MXqjasDG7Xk9Lk4ppkjnWE9FRs8sF /VwQSGGCtnSbqcgr6LAFKxWtueIJTc/chOaJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LcumwKHPDQQdNcaQjPt7InCi7R9IMb8qCYHgoHJt91fHmD41q09DMiFHnKpgelsgLv Od+SoeYTlhiECkG2eBrBmrE240628BXNcT2VrX2nCN626ICk++J5iR3T/fZ/k78rbhZ6 7s3aWiUIQTgELd6SL+8yiHeVQviEaev5rIhaQ= MIME-Version: 1.0 Received: by 10.103.78.38 with SMTP id f38mr2742505mul.72.1251793175403; Tue, 01 Sep 2009 01:19:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2009 11:19:35 +0300 Message-ID: <9e20d71e0909010119g387c3869pb61a59c8b3c73c5b@mail.gmail.com> From: Artis Caune To: Stefan Miklosovic Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: shell command line argument + parsing function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 08:19:37 -0000 2009/8/31 Stefan Miklosovic : > hi, > > assuming I execute shell script like this > > $ ./script -c "hello world" > > I want to save "hello world" string to variable COMMENT in shell script. > > code: > > #!/bin/sh > > parse_cmdline() { > =C2=A0 =C2=A0while [ $# -gt 0 ]; do > =C2=A0 =C2=A0 =C2=A0 =C2=A0case "$1" in > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-c) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0shift > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0COMMENT=3D"$1" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; > =C2=A0 =C2=A0 =C2=A0 =C2=A0esac > =C2=A0 =C2=A0 =C2=A0 =C2=A0shift > =C2=A0 =C2=A0done > } > > parse_cmdline $* > > echo $COMMENT > > exit 0 How about getopts builtin, so you can use: ./script -c "hello world" or ./script -c"hello world" or while getopts c: f; do case $f in c) COMMENT=3D$OPTARG ;; \?) echo 'usage: $0 [-c string]' exit 1 ;; esac done echo "COMMENT: $COMMENT" --=20 Artis Caune Everything should be made as simple as possible, but not simpler. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 08:22:25 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27A46106566B for ; Tue, 1 Sep 2009 08:22:25 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id ABF1A8FC19 for ; Tue, 1 Sep 2009 08:22:24 +0000 (UTC) Received: by bwz2 with SMTP id 2so3147237bwz.43 for ; Tue, 01 Sep 2009 01:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=1A8vY2FeKxweLY9tKYa2pd2k4NSXfWF0KezYS8DFUJY=; b=OVFGws4ua92EBsQo4evkF2miAUeIFui0Ja8vZwTsMjeaWwxefuYS8aisu3WUdk2F/5 R32XcnE2GR6Y1gjRKoC7vZ43eSFSOeMzpngy4/TNvgP3UODEcQIbEtuaLBxcix3fRS6f 0Vg1RBaLXPgQoLvBty7f8D/oh3tFYSAYPRr/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=diFkdR26yd5dpMohTAwWfl7L6zLRzW4ua5o0Cw3fqljGHXCln0hJrA0czhVdSNv5Qe Yf+XcsntJajD1iAF1Q4wYzAr3XL03xSkQ3lCq7wOxC00Swo97XGIftkmnGSyMGhWjL28 HwfGWrryTiUC1fK9JhSAfysOC04H4FeFP3EDE= MIME-Version: 1.0 Received: by 10.103.37.33 with SMTP id p33mr2726694muj.132.1251791663456; Tue, 01 Sep 2009 00:54:23 -0700 (PDT) In-Reply-To: <4A99D308.6000806@polands.org> References: <4A99D308.6000806@polands.org> Date: Tue, 1 Sep 2009 10:54:23 +0300 Message-ID: <9e20d71e0909010054k66410ab7y207939e82705fc8f@mail.gmail.com> From: Artis Caune To: Doug Poland Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 08:22:25 -0000 2009/8/30 Doug Poland : > Shutdown, remove ad0 from the virtual machine, > Power on and it see... > > > error 4 lba 4292979877 > error 4 lba 4292979883 > error 4 lba 4292979883 > error 4 lba 4292979882 > ZFS: i/o error - all block copies unavailable > Invalid format I had a similar problem on IBM x3650 with 6 sata disks. While testing zfs, I got kmem panic and after reboot same errors appeared. OpenSolaris does not allow to boot from raidz and there can be only one vdev in bootable pool, so I decided to make two pools if I need raidz or multiple vdevs: - one root pool (8G) (mirror disk0 disk1 ... disk5) - one for data and other fs (raidz disk0 disk1 ... disk5) -- Artis Caune Everything should be made as simple as possible, but not simpler. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 11:13:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B8BC106568B; Tue, 1 Sep 2009 11:13:06 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id 76C128FC1F; Tue, 1 Sep 2009 11:13:05 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcEAKqdnEpQyR3v/2dsb2JhbACBU9lKhBsF Received: from 239.29-201-80.adsl-dyn.isp.belgacom.be (HELO kalimero.kotnet.org) ([80.201.29.239]) by relay.skynet.be with ESMTP; 01 Sep 2009 13:13:03 +0200 Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.3/8.14.3) with ESMTP id n81BAXjY004320; Tue, 1 Sep 2009 13:10:33 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org, yuri@rawbw.com, freebsd-emulation@freebsd.org Date: Tue, 1 Sep 2009 13:10:31 +0200 User-Agent: KMail/1.9.10 References: <4A9C2B02.8010001@rawbw.com> In-Reply-To: <4A9C2B02.8010001@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909011310.32746.tijl@ulyssis.org> Cc: Subject: Re: Is ALSA support working in 72? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 11:13:06 -0000 On Monday 31 August 2009 21:56:50 Yuri wrote: > I tried new skype-2.1.0.47 on FreBSD-72. (I have > linux-alsa-lib-1.0.10.3_2 installed.) > > Skype starts but gives the errors below when I try to make a voice call. > Previous versions of Skype came in OSS flavor but now it seems to be > dropped and it's only available for ALSA. > > Why would ALSA library fail? > > ----- errrors ----- > > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' > ALSA lib conf.c:3493:(_snd_config_evaluate) function > snd_func_card_driver returned error: No such device > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat > returned error: No such device > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer > returned error: No such device > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' > ALSA lib conf.c:3493:(_snd_config_evaluate) function > snd_func_card_driver returned error: No such device > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat > returned error: No such device > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer > returned error: No such device > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default > /usr/ports/distfiles/skype_static-2.1.0.47/skype: relocation error: > /usr/ports/distfiles/skype_static-2.1.0.47/skype: symbol > snd_device_name_hint, version ALSA_0.9 not defined in file > libasound.so.2 with link time reference ALSA has never worked AFAIK. The library is only there for applications that link to it, but don't actually use it. It might be worth a try to install the alsa-plugins-oss RPM and then configure ALSA lib to use the FreeBSD OSS device. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 12:08:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6834E106568F for ; Tue, 1 Sep 2009 12:08:17 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp107.prem.mail.ac4.yahoo.com (smtp107.prem.mail.ac4.yahoo.com [76.13.13.46]) by mx1.freebsd.org (Postfix) with SMTP id 022AD8FC16 for ; Tue, 1 Sep 2009 12:08:16 +0000 (UTC) Received: (qmail 90736 invoked from network); 1 Sep 2009 12:08:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=exOec0X8vYODvCBySi6GA+I0f2rFkB+4sxwxPaHymmA3/BB+SfYiDw49Pa1jBsfyPZQnGa26dNWOshMG50YRRfWtpcnPe2kBajf+EE1vm90RjHArmt1AAaIMX54PKcCE/KlGe0MGxUbxVcOUVIWh3EZzZL+ILf6yGgQFIBzfm4I= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp107.prem.mail.ac4.yahoo.com with SMTP; 01 Sep 2009 05:08:16 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: qsmiOf0VM1kpmc_S9GQ7PpZaEWnbMS6uHEuQJNGdinaRqjs1v5gokGfuxwvhZRkjqlNS.LgLlSQfnWoVOLrIR9uviQWceZuH3LivXR28GjpSNO56Of6FV3y9MBQE.zRZLMg6NdyEWHvkHfzDH8OBWPsW_Wgp_UNppcKvA_ucPWSJoele5BZnqf.DPOyAWVd2srk.jcTMLaeYna4bYiV.BOIuWj4SH_Uqr6C_ICV82SF1CiI4ht3X2ltpvMGQe3f.YUmVamAzo2p_9Jv0cXFEVxtYah8sRDujl9sAiwCm5p0xun4dvKI306qx_0WhwHZ_aeYFrRGisg-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id A544122849 for ; Tue, 1 Sep 2009 08:08:15 -0400 (EDT) Date: Tue, 1 Sep 2009 08:08:15 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090901080815.16a9d5ce@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: itunes on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 12:08:17 -0000 I use itunes extensively on my Windows machines to download music. AFAIK, Apple does not make a version for linux/bsd, although I might be incorrect. I investigated Rhapsody ; however, there is no generic version of that available for linux/bsd either. Is anyone aware of a similar programs that works on FreeBSD? I am looking for a full featured program that works along the same lines as itunes. -- Jerry gesbbb@yahoo.com Any fool can criticize, condemn and complain and most fools do. Benjamin Franklin (1706 - 1790) From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 12:16:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA83C106568B for ; Tue, 1 Sep 2009 12:16:04 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: from mail-gx0-f217.google.com (mail-gx0-f217.google.com [209.85.217.217]) by mx1.freebsd.org (Postfix) with ESMTP id 75B8F8FC1A for ; Tue, 1 Sep 2009 12:16:04 +0000 (UTC) Received: by gxk17 with SMTP id 17so4086053gxk.19 for ; Tue, 01 Sep 2009 05:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=e4H8nx02hjlW9TqWK3oX5qceAX65RBkfZD3vCUkdsvw=; b=P6oYUvE+2p7HmAw7Vn6H8ujqzCQdqneCReUehcB1dgwFIv+GCorJ+BVUU5LFdLT5gI WM1/um47/AZN0iMOoFBS1EvlKgC38uSHzfAjNdP4whj+Ns8qzgEZ82Zc6Qqh3ctJI8hM lAxz26poeFMyuDpF/eof7RyrjdYxMiwDeQhQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qUo5DGycyTbNH5kMTrUE2blIz1ukWdT9D4x4t+u4PvnJ9+An8NF7JG1mwDbpD58uBA D9+rE/0pCj1PljBZyiwvMJ7MGpG12ampPGPC8YByx1Oxa8yj3vW5oZXSRiuOKLGNcNCJ azMhDe/YMEHZxnIXzWilxxmDjr2QBnB8s05pM= MIME-Version: 1.0 Received: by 10.150.8.14 with SMTP id 14mr11614240ybh.52.1251807363629; Tue, 01 Sep 2009 05:16:03 -0700 (PDT) In-Reply-To: <20090901080815.16a9d5ce@scorpio.seibercom.net> References: <20090901080815.16a9d5ce@scorpio.seibercom.net> Date: Tue, 1 Sep 2009 07:16:03 -0500 Message-ID: From: Neal Hogan To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: itunes on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 12:16:04 -0000 On Tue, Sep 1, 2009 at 7:08 AM, Jerry wrote: > I use itunes extensively on my Windows > machines to download music. AFAIK, Apple does not make a version for > linux/bsd, although I might be incorrect. > > I investigated Rhapsody ; > however, there is no generic version of that available for linux/bsd > either. > > Is anyone aware of a similar programs that works on FreeBSD? I am > looking for a full featured program that works along the same lines as > itunes. I've messed with Amarok and was able to get songs to and from an ipod. I haven't worked with it too much. It's been a while too. So, my advice would be dusty (If I have any). Also, there is gtkpod (I don' t know much about it). > > -- > Jerry > gesbbb@yahoo.com > > Any fool can criticize, condemn and complain and most fools do. > > =A0 =A0 =A0 =A0Benjamin Franklin (1706 - 1790) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 13:31:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEC56106566C for ; Tue, 1 Sep 2009 13:31:28 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCB48FC12 for ; Tue, 1 Sep 2009 13:31:28 +0000 (UTC) Received: by bwz2 with SMTP id 2so3337440bwz.43 for ; Tue, 01 Sep 2009 06:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sMviggzwkoPuJw1nOA6D77zwH1dfBqCJlQ6nZ1gpSSI=; b=iw8qgJp1gxDcvdk/hToLGGUBzYxo8a1nSZ9zvquDv7q87xkStkN8QqSewZrUAx8zf5 GfSKk3wPaeoEn0VTlH2Mf9ioA9iK4YWYqW2blpQsOVz29O939fl7m2sGhGClizP+n1Yc I2u2RvIqHk/Hx8Q6XZcVNuGXDuimhPmxDf42s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZitSqDvdn1aVsdd4v0aE1hyA/K4/BqBGK4RH6poyMb870+5ZoFaz9TBAvet8iYsJ6a Cc+zRtwVyMHigcmmGGd5HGjib+NBYPQh21su4mdU0oiJz3fYLq6NWq8/WESneE9fY00a HSspZrMG9eyppbv63JUQeYMHOpfqlgc5E6yI4= MIME-Version: 1.0 Received: by 10.223.75.133 with SMTP id y5mr2658987faj.18.1251811887202; Tue, 01 Sep 2009 06:31:27 -0700 (PDT) In-Reply-To: <20090901080815.16a9d5ce@scorpio.seibercom.net> References: <20090901080815.16a9d5ce@scorpio.seibercom.net> Date: Tue, 1 Sep 2009 08:31:27 -0500 Message-ID: From: Andrew Gould To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: itunes on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 13:31:29 -0000 On Tue, Sep 1, 2009 at 7:08 AM, Jerry wrote: > I use itunes extensively on my Windows > machines to download music. AFAIK, Apple does not make a version for > linux/bsd, although I might be incorrect. > > I investigated Rhapsody ; > however, there is no generic version of that available for linux/bsd > either. > > Is anyone aware of a similar programs that works on FreeBSD? I am > looking for a full featured program that works along the same lines as > itunes. > > -- > Jerry > gesbbb@yahoo.com > Try looking at these: Rhythmbox (Gnome; ports category: audio) http://projects.gnome.org/rhythmbox/ Banshee (uses mono; ports category: multimedia) http://banshee-project.org/ Amarok (KDE; ports category: audio) http://amarok.kde.org/ From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 13:44:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FAFA1065670 for ; Tue, 1 Sep 2009 13:44:11 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id D42DF8FC22 for ; Tue, 1 Sep 2009 13:44:10 +0000 (UTC) Received: by ywh29 with SMTP id 29so7063752ywh.33 for ; Tue, 01 Sep 2009 06:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=s7bWpGFEGWYMYrKpZCElhmd128Z5FdmLYRWg/+0iArI=; b=dZDUwVt320fBNuYQen5j4+3Wxc1lWMEtqiov84ha0ch2iVnTIWOozldFs/HxQlGex4 PBL98PD4jTD4XaQWE75NmoQNesYruFIEpbX9O5P5rte6k8USaJcmwHExk+RQIec065k0 ITGVXOMtrcIGMtPnkO/j8J/i4pSOJt3SHO8jM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=urC+RMPDNInPKQxO2YB0cgchBfeq0gsd1hSgLkNmfOencaqY8/ec1hJW7nfVYtmnW7 8qEKYrPWkjA0amHQ6MiXuIFZKmcdDUglz5vw+xY5g44dDYmrD/hggqjY9O8qS0+hf/ug zh8rWg6etx/eP32PpEYrDUd0h6FAWrJG0CnDM= MIME-Version: 1.0 Received: by 10.151.4.9 with SMTP id g9mr11735394ybi.35.1251812650300; Tue, 01 Sep 2009 06:44:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2009 09:44:10 -0400 Message-ID: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> From: Jim To: "b. f." Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 13:44:11 -0000 > First, I hope that you have a good reason for doing this, because it > is going to be a PITA, and prone to all sorts of problems. [...] Unfortunately I do. The 32 bit stuff is *would be really nice, but not necessary*, but the ability to use extra memory *and* dynamically load kernel modules is a bit more important to me. > If you are just talking about unshadowed ports, you could try adding > something like the following to /etc/make.conf: > > .ifdef(32BIT) > PREFIX=/usr/local/32 > LOCALBASE=/usr/local/32 > LDCONFIG=/sbin/ldconfig -32 > CFLAGS+=-m32 > .endif > > and then wrapping your portupgrade, portmaster, or make commands with: > > env 32BIT=yes [insert rest of command here] > > If there is shadowing, you have to consider how to manage the > environment PATH so that you can actually run the 32-bit binary > executables without typing in fully-qualified pathnames every time, > and maybe also using LD_RUN_PATH or LD_LIBRARY_PATH so that the right > libraries are used --- you can see how problems crop up at every turn? I was thinking of leaving the standard paths alone, and setting up one or more [ba|c|]sh32 alias/scripts which would start up the appropriate shell, with 32-bit directories at the front of the path. I know I'll end up having both 32- and 64-bit of Python on my system (many of the main apps I use require python - but I also want to be able to use py-psyco), as well as a few copies of the various GUI toolkits in 32-bit. Thanks for the info, -Jim Stapleton -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 13:47:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B44E0106566C for ; Tue, 1 Sep 2009 13:47:24 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id A2CF38FC0C for ; Tue, 1 Sep 2009 13:47:24 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 3F32D68B5B for ; Tue, 1 Sep 2009 06:49:39 -0700 (PDT) Message-ID: <4A9D25E8.3080105@prgmr.com> Date: Tue, 01 Sep 2009 06:47:20 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20090901080815.16a9d5ce@scorpio.seibercom.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: itunes on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 13:47:24 -0000 I am working on a GPL audio application called Ogg Frog: http://www.oggfrog.com/free-music-software/ It isn't ready for release yet, but when it is released for sure I will support FreeBSD. I will set up a port for it that hopefully can be included with the official ports. The initial release will be little more than a player, but later releases will support CD ripping, encoding, CD burning and integration with portable players. While Ogg Frog itself will be GPL, the audio core will be MIT licensed and contributed to the ZooLib C++ cross-platform application framework, to eventually become a media framework for ZooLib, which previously hasn't had any media support. Video will come eventually, but not for quite a while. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 13:49:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3954C1065672 for ; Tue, 1 Sep 2009 13:49:48 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id E8DF98FC22 for ; Tue, 1 Sep 2009 13:49:47 +0000 (UTC) Received: by ywh29 with SMTP id 29so7069152ywh.33 for ; Tue, 01 Sep 2009 06:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ff8jvyXlP8YfK3UVyskb8k1GBs/0mODuGvyVgo+PLII=; b=KDBoedVllqhcBf6MUyxrAbA+fCl9r7qvZmS4/0rZcoqVlAgTdn+J6CJaWzJKL1hx2e BlSx9k7kC+KC1mTwKyBmKdl6ojhUig+xlzuf4UsP9Dr4SVkj+UfcSIwNinkOXoKs+Xge 3O6IMr/x8JqXJZTDl5cjz8B73WzTwrnqOGvoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jGj2dr7ZCMOEqePIUgRL/c/84NgZTob4570GngPSRU2ZPBvW1xXAMsx4bPZgYyMstT yNc6zjFIl9eT9EjhpRBMTNTI+IwNR0JGTGi56IpHeGidACtwek8chdErmOAbvBNrHIzx wH3ARM9VBju4ud5A5lsAHQbIFSclaf7vcUFtw= MIME-Version: 1.0 Received: by 10.150.88.14 with SMTP id l14mr5094942ybb.346.1251812987265; Tue, 01 Sep 2009 06:49:47 -0700 (PDT) In-Reply-To: <44zl9f27fr.fsf@be-well.ilk.org> References: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> <20090831163334.GA18945@slackbox.xs4all.nl> <44zl9f27fr.fsf@be-well.ilk.org> Date: Tue, 1 Sep 2009 09:49:47 -0400 Message-ID: <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com> From: Jim To: Jim , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 13:49:48 -0000 > Also note that it is possible to have an i386 port-building jail on an > amd64 system. So, make/build/run a normal jail using the 64 bit os "world", add -m32 to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and copy it to main (non-jailed) system, and run ldconfig on the library directories? I'd probably also change PREFIX/LOCALBASE to prevent the files from the ports from colling with the base system files when I copy them over. Thanks, -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 13:53:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FA6E1065670 for ; Tue, 1 Sep 2009 13:53:06 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by mx1.freebsd.org (Postfix) with ESMTP id A124C8FC13 for ; Tue, 1 Sep 2009 13:53:05 +0000 (UTC) Received: by ewy23 with SMTP id 23so5380858ewy.8 for ; Tue, 01 Sep 2009 06:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YYpvKh27Ow9WprMM3IRQ+qpPtYYV59Pv+gkuGMqrTWY=; b=n2jAmpwOU/ebDLopsWgiEKJBhmWL5mWi9DCaWsk9ifQ1h9OL5SU1xXsYeN9LNFQnmb AcmRxNkJEAMbk8GBqbwpyqikprVcY7yfxzU6fFyPHNmZ/9z04nJPKKRjr3lPdEO/8HAe mFdC8Gtw27S5o1IezGsfTODQZoSwV4dPSwpSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MyQygCVf3D3WoRDr1JwUmVj+h0siZBJGRlGVDR/7E2VavvGyKrXVkc8Rz3MYTIfSO9 JLikNp0tK72xWB54R4R5I+7fARiMqe9VMi1mZHzDP79HBznkGmFkGpMhi+wiUM2sS+bI /I+U+mDtNQKe1YVTj7eJktCPcX0cWSmz3nCDM= MIME-Version: 1.0 Received: by 10.210.2.19 with SMTP id 19mr7094328ebb.94.1251811211593; Tue, 01 Sep 2009 06:20:11 -0700 (PDT) Date: Tue, 1 Sep 2009 15:20:11 +0200 Message-ID: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> From: claudiu vasadi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ifconfig -alias - removed wrong ip ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 13:53:06 -0000 Hello guys, I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB DDR1 ram. I added another ip on my rl0 interface, brought it up, everything was fine (until i screwed it up :( ). I wanted then to remove the alias IP but i wrote a wrong command (ifconfig rl0 -alias) and since then I have no access to the box. I then turned to my vmware FreeBSD to reproduce the situation and I was stuned to find out that that command I wrote, removes the "normal" IP and not the alias one. OK, normaly (I think) i should be able to connect to the alias IP..... well, It's not the case 2 things here: 1.) Is it normal for the ifconfig rl0 -alias to remove the "normal" IP and not the alias one ? (I think that by this syntax it could be right but the parameter "-alias" is specified and the OS should know to remove the alias IP and not the normal IP) 2) I dnt really understand why am I not able to connect to the second (alias) ip? It seems that somehow it's dependant to the "normal" one I must say I was not really reading the handbook for the 2nd point here.... will do it now though PS: box is 3 countryes away from me so manual intervention is out of the question (although I have some sort of online-suport (If my 73 years old grandmother can be called that :)) ) ) From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 14:10:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42F12106566B for ; Tue, 1 Sep 2009 14:10:00 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D96A78FC0A for ; Tue, 1 Sep 2009 14:09:59 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n81E63nq053322; Tue, 1 Sep 2009 10:06:03 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n81E63nM053321; Tue, 1 Sep 2009 10:06:03 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 1 Sep 2009 10:06:03 -0400 From: Jerry McAllister To: Jonathan McKeown Message-ID: <20090901140603.GA53302@gizmo.acns.msu.edu> References: <20090831150007.GF47604@gizmo.acns.msu.edu> <200909010841.00940.j.mckeown@ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200909010841.00940.j.mckeown@ru.ac.za> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:10:00 -0000 On Tue, Sep 01, 2009 at 08:41:00AM +0200, Jonathan McKeown wrote: > On Monday 31 August 2009 17:00:07 Jerry McAllister wrote: > > Same response.   Do your homework. > > The nature of the OP's questions strongly suggested that we are doing his > homework. I'm surprised so many people spoonfed the answers rather than > pointing to resources like the handbook, as the first responder did. I and several others did both. Since this list is best when it is friendly, it seemed well to add some encouragement in the form of pointers. Good teachers give both clues as well as piont to sources. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 14:39:28 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F39106566B for ; Tue, 1 Sep 2009 14:39:28 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 19A518FC08 for ; Tue, 1 Sep 2009 14:39:27 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so48296eyf.9 for ; Tue, 01 Sep 2009 07:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Oa0XIBE911Y/OtWzZMQ+79Ix2ccCCXBirlVmRUj8Db0=; b=NaFJEL+4pFDoHSjOs5iivWi7q+vPZ0HCOb2NAMHcEZlxQoVTEN9HJXWm0x3Q412k4b DPAj08OqbIk+/NZShd8H2X80nYfKKt3cw7pY10bHMmarY3HTEiiEtc9Io5rkjm6C8bV2 bcx92AU4Fj8S3UKHHCovFM4vOX1KY8uD0hHmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=HrllReuyp0gEh4FEromh/gO873iPGZzV0tzzIGLlnghYXfmsUcDv5ysF1xs6XjIhWP thcNsXdMqBQfyOudxNzlRMhtTyDMeJQ2MG5E404CRczoiCYb/OU/7Nzr6B1wy5i1c5pM v9s6nvLpRx2bjrv7ewM6GRGjTt3upCIWmBFC8= MIME-Version: 1.0 Received: by 10.239.170.18 with SMTP id q18mr550503hbe.50.1251815966761; Tue, 01 Sep 2009 07:39:26 -0700 (PDT) In-Reply-To: References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> Date: Tue, 1 Sep 2009 14:39:26 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Fwd: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:39:28 -0000 >So, make/build/run a normal jail using the 64 bit os "world", add -m32 >to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and >copy it to main (non-jailed) system, and run ldconfig on the library >directories? I'd probably also change PREFIX/LOCALBASE to prevent the >files from the ports from colling with the base system files when I >copy them over. Well, this would certainly help with building the ports safely. But I think we -- at least I was -- were thinking that you would actually leave them in the jail, and run them from the jailed environment, so there would be fewer run-time problems, and no work to transfer them over. Remember that you've got to ensure that there is no problem with run-time linking of shared libraries, some of which (in your current scheme) will have both 32-bit and 64-bit versions with the same soname. You can probably work around this problem as well, but it seems easier to leave them in the jail. b. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 14:49:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 230071065672 for ; Tue, 1 Sep 2009 14:49:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id D09F28FC29 for ; Tue, 1 Sep 2009 14:49:08 +0000 (UTC) Received: by ywh29 with SMTP id 29so31019ywh.33 for ; Tue, 01 Sep 2009 07:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=LNFOW//vHZeSwbICcX0UdEPCtLSM6IkFRW0l9yspnA8=; b=ZYGfsxhJpVFt0ZUh6VzerLyl+aoIK4SQfAklmhfKqjxDBvUcc/cj8S9X35sUAkXZyS wESZUiXgp+hwS5DQC57qVaqi41/9l3nhSzPoaXFq7jnUrsl9GRUSHh/Jl6boRsX/Bi1C o65nhNzkac4JZF73WSstJBncdWDVe8Cp6opr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UO6i8M4uY7ngL54h4R6gzfA0lqMVvELWIWrYZ9lAmn3AY9gZlD6jteHNWgrxM3dkC6 wbXjikP1mAiTzxc16qy40TwUtXZ3BI8RlJAFX7Ee9phb5jbUYMQ61aOtl+JUTWwtEH/b lI50BdmDNrcPpxzPclvLMrpCj0D/2ILvfVvd8= MIME-Version: 1.0 Received: by 10.150.238.12 with SMTP id l12mr11785647ybh.125.1251816548287; Tue, 01 Sep 2009 07:49:08 -0700 (PDT) In-Reply-To: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> References: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> Date: Tue, 1 Sep 2009 09:49:08 -0500 Message-ID: <6201873e0909010749m359888eby25e8d3aae9e1d36d@mail.gmail.com> From: Adam Vande More To: claudiu vasadi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ifconfig -alias - removed wrong ip ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:49:09 -0000 On Tue, Sep 1, 2009 at 8:20 AM, claudiu vasadi wrote: > Hello guys, > > > I have a 7.2-stable Freebsd running on a 2.66 Ghz 478 socket mobo with 1 GB > DDR1 ram. > > I added another ip on my rl0 interface, brought it up, everything was fine > (until i screwed it up :( ). I wanted then to remove the alias IP but i > wrote a wrong command (ifconfig rl0 -alias) and since then I have no access > to the box. I then turned to my vmware FreeBSD to reproduce the situation > and I was stuned to find out that that command I wrote, removes the > "normal" > IP and not the alias one. OK, normaly (I think) i should be able to connect > to the alias IP..... well, It's not the case > > > 2 things here: > > 1.) Is it normal for the ifconfig rl0 -alias to remove the "normal" IP and > not the alias one ? (I think that by this syntax it could be right but the > parameter "-alias" is specified and the OS should know to remove the alias > IP and not the normal IP) > Yes > 2) I dnt really understand why am I not able to connect to the second > (alias) ip? It seems that somehow it's dependant to the "normal" one > Yup, you need to re-init networking to regain access. > > > I must say I was not really reading the handbook for the 2nd point here.... > will do it now though > > > > PS: box is 3 countryes away from me so manual intervention is out of the > question (although I have some sort of online-suport (If my 73 years old > grandmother can be called that :)) ) ) > probably easiest thing to do is have her reboot. Of course you can also have her type /etc/rc.d/netif restart assuming your /etc/rc.conf is set correctly. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 15:04:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBA951065672 for ; Tue, 1 Sep 2009 15:04:18 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-yx0-f195.google.com (mail-yx0-f195.google.com [209.85.210.195]) by mx1.freebsd.org (Postfix) with ESMTP id 761438FC08 for ; Tue, 1 Sep 2009 15:04:18 +0000 (UTC) Received: by yxe33 with SMTP id 33so69947yxe.7 for ; Tue, 01 Sep 2009 08:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=tgApavMEs8KzgyHARWtbAlBalnGK0UiYyAB4Or+i4cc=; b=BUmRsLuhS/6Gs70OXlV4no+/lXSurM1N7Gv/DA5bAxX6UFhkYJMRDW+q7ERyJUWrph e2m/TiQBsjvFnAoGKBxWQlZXHZh+pl2CuLhy1a3e/ve2CAaapgXOjRR1ohvT/I97NR9i Tv4Trv7Hcwz69laKdMj07GzIcIT4PTW4CJwcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=HAecNEPzfU2wD1QGm6kshxN0MeRwQpy46FG2lvKDgDtPyCaQo7BML5HXYX/Bt8EqfR +SB1LV6N7b2zuPQ8pOnHgHTVOBTeuDRsa15o5fOyo/uF7t1MhBARqcAHyc7C10Uaq6L5 w99bL9E4TCTFmWPzYQwLLfq1lX0QRQfefhekM= MIME-Version: 1.0 Received: by 10.150.237.10 with SMTP id k10mr11832982ybh.112.1251817457644; Tue, 01 Sep 2009 08:04:17 -0700 (PDT) In-Reply-To: References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> Date: Tue, 1 Sep 2009 11:04:17 -0400 Message-ID: <80f4f2b20909010804s44b8f6bbpbae589eafe3022ef@mail.gmail.com> From: Jim To: freebsd-questions@freebsd.org, "b. f." Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 15:04:18 -0000 > Well, this would certainly help with building the ports safely. But I > think we -- at least I was -- were thinking that you would actually > leave them in the jail, and run them from the jailed environment, so > there would be fewer run-time problems, and no work to transfer them > over. Remember that you've got to ensure that there is no problem > with run-time linking of shared libraries, some of which (in your > current scheme) will have both 32-bit and 64-bit versions with the > same soname. You can probably work around this problem as well, but > it seems easier to leave them in the jail. > With only console stuff, that'd probably be fine, a jail wouldn't be much more tedious than the environment shuffling I'd need to run the 32 bit stuff, however I'll want to do some X11 stuff.. I know you can access X between different users on a machine, but can a jail'ed shell open a window on an X server running from the main machine? I'm not even sure what terms I would use for searching on how to get that working. Thanks, -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 15:42:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CF7E1065670 for ; Tue, 1 Sep 2009 15:42:32 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id AFE468FC1A for ; Tue, 1 Sep 2009 15:42:31 +0000 (UTC) Received: (qmail invoked by alias); 01 Sep 2009 15:42:29 -0000 Received: from unknown (EHLO [169.254.0.100]) [91.140.101.228] by mail.gmx.com (mp-eu004) with SMTP; 01 Sep 2009 17:42:29 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+sP4lNyDWsE7uqLJPmnH+9plL1SG6SU5/+XOjT5u MohDoyhpzRXAqk Message-ID: <4A9D40D3.3060308@gmx.com> Date: Tue, 01 Sep 2009 18:42:11 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Adam Vande More References: <4f760c6a0909010620u691e4e0et9e5d624443cc2a8f@mail.gmail.com> <6201873e0909010749m359888eby25e8d3aae9e1d36d@mail.gmail.com> In-Reply-To: <6201873e0909010749m359888eby25e8d3aae9e1d36d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 Cc: freebsd-questions@freebsd.org, claudiu vasadi Subject: Re: ifconfig -alias - removed wrong ip ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 15:42:32 -0000 Adam Vande More wrote: > On Tue, Sep 1, 2009 at 8:20 AM, claudiu vasadi wrote: >> 1.) Is it normal for the ifconfig rl0 -alias to remove the "normal" IP and >> not the alias one ? (I think that by this syntax it could be right but the >> parameter "-alias" is specified and the OS should know to remove the alias >> IP and not the normal IP) >> > Yes Yes, there is no difference between "normal" and alias IP. alias is the keyword used by the ifconfig utility to add an other IP address to an interface. All IP addresses bound to an interface are equivalent, I mean there is any hierarchy of importance of the addresses. "ifconfig int0 -alias" just happens to remove the first IP address. You really should use "ifconfig int0 delete 192.168.0.1" >> 2) I dnt really understand why am I not able to connect to the second >> (alias) ip? It seems that somehow it's dependant to the "normal" one >> > Yup, you need to re-init networking to regain access. Most probably, you rendered the default gateway unreachable with the removal of the IP. Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 15:51:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52068106568B for ; Tue, 1 Sep 2009 15:51:01 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id D90F98FC13 for ; Tue, 1 Sep 2009 15:51:00 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id n81FoxiD031077; Tue, 1 Sep 2009 17:50:59 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 5366EBA94; Tue, 1 Sep 2009 17:50:59 +0200 (CEST) Date: Tue, 1 Sep 2009 17:50:59 +0200 From: Roland Smith To: Jim Message-ID: <20090901155059.GA56945@slackbox.xs4all.nl> References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "b. f." , freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 15:51:01 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 01, 2009 at 09:44:10AM -0400, Jim wrote: > > First, I hope that you have a good reason for doing this, because it > > is going to be a PITA, and prone to all sorts of problems. [...] >=20 > Unfortunately I do. The 32 bit stuff is *would be really nice, but not > necessary*, but the ability to use extra memory *and* dynamically load > kernel modules is a bit more important to me. All FreeBSD supported platforms can dynamically load native kernel modules,= so why should that be a factor in choosing between i386 and amd64?=20 Roland=20 --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqdQuMACgkQEnfvsMMhpyVQUQCfUWa5FEvNjoULC7yftsc9EByO Bp0Anih233p7ioght8GkRAuN1gLDcygb =+mMz -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 16:18:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D90CB106566C for ; Tue, 1 Sep 2009 16:18:24 +0000 (UTC) (envelope-from jeremyhooks@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 669A68FC0A for ; Tue, 1 Sep 2009 16:18:23 +0000 (UTC) Received: by bwz2 with SMTP id 2so92828bwz.43 for ; Tue, 01 Sep 2009 09:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=tFeEhMCOP3UiVET3z37zjRT7SPP09HmerTbisX+HQCY=; b=mIebFpmxhXVMhyeaFMYksVw9MZLWTU+rb+4/bBkRucOxyXCcfOqLdCp0DgixPWvbVq 10ARadNNkkq7eCDahOpmd3jjC2/VBEZN3+xDiK0Xihh6EFFbqKhtoyYzUWrptL8/wl0A u01YOKMGxuGtmjIk6adHiog/S5hzTMNrmCicM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Dcl0GaExVz51uD5v8HG6uGt/I92s5mdVcOKdea+U6d6kzajFF93LLB43lroYkmXo75 yFJ8ABe1XyK6/PfAfmpR5JQ0sCtizPX/hk3zIEFRVciWB7/mfuBP0poRbTBn2h8Hbjtk 9bRKnDC2Xueu5rO1pzuQO9gAGASDuO94/B73Q= MIME-Version: 1.0 Received: by 10.223.143.79 with SMTP id t15mr2992239fau.26.1251821903061; Tue, 01 Sep 2009 09:18:23 -0700 (PDT) In-Reply-To: <159170.69145.qm@web65505.mail.ac4.yahoo.com> References: <20090831120031.3591A10656C0@hub.freebsd.org> <159170.69145.qm@web65505.mail.ac4.yahoo.com> Date: Tue, 1 Sep 2009 17:18:23 +0100 Message-ID: From: Jeremy Hooks To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: questions about FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:18:24 -0000 2009/8/31 James Phillips : ... >> I have some questions about FreeBSD. The questions I had in >> mind are: > > Such general questions imply "homework assignment." Indeed, I found "General features (at least three)? Firewall, GUI, Networking and so on." quite amusing. I am surprised he didn't include the marking scheme for us and his teacher's email address so that we could save him the bother of handing it in. > Somebody already replied with a link to the Handbook: It mainly covers installing and configuring FreeBSD. If that were the only response, he probably would have just printed the handbook out and handed it in - given the amount of effort he took to hide the fact that it was a home work question. That said, he *might* actually learn something about FreeBSD, which is probably more than can be said for the rest of his class. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 16:33:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B96701065672 for ; Tue, 1 Sep 2009 16:33:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 899F98FC12 for ; Tue, 1 Sep 2009 16:33:05 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MiWI4-0000y2-PJ for freebsd-questions@freebsd.org; Tue, 01 Sep 2009 09:33:04 -0700 Message-ID: <25243620.post@talk.nabble.com> Date: Tue, 1 Sep 2009 09:33:04 -0700 (PDT) From: knunke To: freebsd-questions@freebsd.org In-Reply-To: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: knunke85@gmail.com References: <9af66ccb0810151744m6dc9176cxcadecae2939ee05f@mail.gmail.com> Subject: Re: Interrupt storm detected on "irq10:"; throttling interrupt source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:33:05 -0000 I'm having the same issue. It's FreeBSD on a Nokia530 Firewall. The message that keeps repeating over and over is "interrupt storm detected on "irq12:"; throttling interrupt source". Here's the vmstat -i interrupt total rate irq0: clk 31362 98 irq4: sio0 21362 67 irq6: cbb1 dc1 dc2 1 0 irq8: rtc 40020 126 irq11: dc4 dc7+ 1 0 irq12: cbb0 dc5 28456 89 irq14: ata0 32073 101 Total 153275 483 I have no idea what the + means next to IRQ11. I know of a couple of people that have this problem as well. Let me know if you need any other information. Thanks, Kurt Nunke nazir-2 wrote: > > Hi, > > I'm getting these on my HP-DL165 AMD Quad Qore > > interrupt storm detected on "irq10:"; throttling interrupt source > interrupt storm detected on "irq10:"; throttling interrupt source > interrupt storm detected on "irq10:"; throttling interrupt source > interrupt storm detected on "irq10:"; throttling interrupt source > > # uname -a > FreeBSD intra.umt 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 > 10:35:36 UTC 2008 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > # sysctl hw.model > hw.model: Quad-Core AMD Opteron(tm) Processor 2352 > > please advise ...TQ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Interrupt-storm-detected-on-%22irq10%3A%22--throttling-interrupt-source-tp20005328p25243620.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 16:40:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60B7F106566B for ; Tue, 1 Sep 2009 16:40:40 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1CDDF8FC13 for ; Tue, 1 Sep 2009 16:40:39 +0000 (UTC) Received: by ywh29 with SMTP id 29so164451ywh.33 for ; Tue, 01 Sep 2009 09:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=yJfxOFVCyVe+IxdokfHUozhUQZZEbF1Lb1mOXhltDXE=; b=ZG90Dx1GghMKDInNLs0TSVqgF9PjwRapuJH9yiXwk6CBUie8sX0qRobiFuD9V8tvEA nYD8kOQKuGC761C5W/FBxlkNt2arjfUeBsZ191whxfgDeDOxuM/trPP67c+l6RS4mHYf peVw8f7gpNLmMS0tnBmPmzbqyEIMGUbt9m57U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QaNMqMgNeJpmg6kAcAi//2wgQTfs4BsKl7XashfYU1/gdrFPYESMwEuJzdJvP8eACS yP0/KSPQdPZXYOQhe7Qs7QJS+m8ipqwDCnlHSUEQoISkBhjoyKdWk8/3CcR/YmLLkYho Q4AaBSw4bXiamYjh1iF0EEc8C9oA63kgg2IWQ= MIME-Version: 1.0 Received: by 10.151.4.9 with SMTP id g9mr12045527ybi.35.1251823239285; Tue, 01 Sep 2009 09:40:39 -0700 (PDT) In-Reply-To: <20090901155059.GA56945@slackbox.xs4all.nl> References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> <20090901155059.GA56945@slackbox.xs4all.nl> Date: Tue, 1 Sep 2009 12:40:39 -0400 Message-ID: <80f4f2b20909010940u460a7b81r6372f48690ac1246@mail.gmail.com> From: Jim To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: "b. f." , freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:40:40 -0000 >> [...] but the ability to use extra memory *and* dynamically load >> kernel modules is a bit more important to me. > > All FreeBSD supported platforms can dynamically load native kernel modules, so > why should that be a factor in choosing between i386 and amd64? > > Roland I didn't specify just loading modules, but extra memory as well (the beyond 4GB addressable space). Using the options in i386 that allow you to access memory beyond 4GB, also eliminates the ability to dynamically load kernel modules. -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 16:50:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 610B81065697 for ; Tue, 1 Sep 2009 16:50:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id E75E58FC17 for ; Tue, 1 Sep 2009 16:50:07 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n81Go6rU015074; Tue, 1 Sep 2009 18:50:06 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 0CA0DBA9D; Tue, 1 Sep 2009 18:50:06 +0200 (CEST) Date: Tue, 1 Sep 2009 18:50:06 +0200 From: Roland Smith To: Jim Message-ID: <20090901165006.GB56945@slackbox.xs4all.nl> References: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> <20090831163334.GA18945@slackbox.xs4all.nl> <44zl9f27fr.fsf@be-well.ilk.org> <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:50:08 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 01, 2009 at 09:49:47AM -0400, Jim wrote: > > Also note that it is possible to have an i386 port-building jail on an > > amd64 system. >=20 >=20 > So, make/build/run a normal jail using the 64 bit os "world", add -m32 > to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and > copy it to main (non-jailed) system, and run ldconfig on the library > directories? I'd probably also change PREFIX/LOCALBASE to prevent the > files from the ports from colling with the base system files when I > copy them over. The following post gives some more explanation. Essentially you're doing a cross-build: http://en.jnlin.org/2008/06/07/12/ Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqdUL4ACgkQEnfvsMMhpyXGPQCZAX9gZQVacnL8kJevE4cRb6oO pRIAn1wKCj8OFfeInDqwDJwPNkm4xpTb =98lz -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 17:39:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A45BC106566C for ; Tue, 1 Sep 2009 17:39:42 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 2651B8FC17 for ; Tue, 1 Sep 2009 17:39:40 +0000 (UTC) Received: by bwz2 with SMTP id 2so161492bwz.43 for ; Tue, 01 Sep 2009 10:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ROngpd/ZswpJSBS/t0pF+1p/YnycmPvvfb/vIg74xvU=; b=kKlR28uopvd0R37uRCI3rVll0KoJXIKBJndrWC2K3T/B0XAX80z/fWkYv18aRgxUvn 8omOnfF8vt5Si22Zcj6JyayNN2UjOV8fkzDQNv2SXPRCVVpwYyGFGhiUQY5GiFBBmbCW jPzw7/p8PtZu8Yqly/eSdDAHuB9ty9Lg5VNf4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GtzUscpr8K3aKwZnd5DQvyQsfZsU/R8FFr8ENe+eN2OpAdbN/R5hfbJ4AcdRPtMSF4 /P4hV5e1eQ1qPkxU9u7vhun5FDG1PA7BOI9e2NAqAEWjHZSKYHHnRZGaaHGPzkqF3HbB EGPTQqDal/ePMNMbrpXIb+9P7hQImraG1nSiQ= MIME-Version: 1.0 Received: by 10.239.182.164 with SMTP id q36mr603990hbg.87.1251826779756; Tue, 01 Sep 2009 10:39:39 -0700 (PDT) In-Reply-To: <80f4f2b20909010940u460a7b81r6372f48690ac1246@mail.gmail.com> References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> <20090901155059.GA56945@slackbox.xs4all.nl> <80f4f2b20909010940u460a7b81r6372f48690ac1246@mail.gmail.com> Date: Tue, 1 Sep 2009 17:39:39 +0000 Message-ID: From: "b. f." To: Jim Content-Type: text/plain; charset=ISO-8859-1 Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 17:39:42 -0000 You've given some of your reasons for using amd64 -- but are your reasons for using 32-bit binaries on amd64 strong enough to make all of this worthwhile? Why not just use 64-bit binaries for all but the 32-bit-only ports? Sure, some 32-bit applications will actually run faster (the opposite is also often true) or use fewer resources, but is it worth the hassle? As for your earlier question, I haven't used multiple instances of X myself, either in or out of jails, but I have seen reports of others doing so, so I think it is possible, except perhaps in a few cases where hardware balks because the graphics driver isn't good enough. I guess you'll have to make some experiments. If you don't make provisions for running a 32-bit X, then is there much point to having, for example, 32-bit window managers, windowing toolkits, or GUIs? If you use a different LOCALBASE for 32-bit ports, you are going to have to use 32-bit versions of most trunk and branch ports. I still think a jail is your best bet -- after all, a "thin" jail, which reuses those portions of your system that don't need to be different inside the jail, is just a more thorough version of what you had hoped to accomplish with your 32-bit shell scripts. If you don't use a jail ... well, I have not tried to install a large number of 32-bit and 64-bit ports in parallel, so I am not sure if the default setup for our loader will make the appropriate distinctions between 32-bit and 64-bit versions of the same libraries depending upon the executables or libraries that need them, but I think that there is a good chance that it will not, and that you will have to do some extra work to make sure that it does. In the case that it does not, your only alternative is to either patch a large number of ports (very time-consuming and error-prone), or to add loader environment variables to your 32-bit shell scripts to make the loader look in the 32-bit library directories first, or to write a custom loader script to only load the appropriate libraries depending upon whether the executable or library that needs them is 32-bit or 64-bit. It would be nice to have this flexibility, but given the current state of the base system and infrastructure, it just seems like more trouble than it is worth. b. On 9/1/09, Jim wrote: >>> [...] but the ability to use extra memory *and* dynamically load >>> kernel modules is a bit more important to me. >> >> All FreeBSD supported platforms can dynamically load native kernel >> modules, so >> why should that be a factor in choosing between i386 and amd64? >> >> Roland > > I didn't specify just loading modules, but extra memory as well (the > beyond 4GB addressable space). Using the options in i386 that allow > you to access memory beyond 4GB, also eliminates the ability to > dynamically load kernel modules. > > -Jim Stapleton > From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 17:43:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05C35106566C for ; Tue, 1 Sep 2009 17:43:15 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id B149E8FC12 for ; Tue, 1 Sep 2009 17:43:14 +0000 (UTC) Received: by vws27 with SMTP id 27so223761vws.3 for ; Tue, 01 Sep 2009 10:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nAH9Fq0tuvqmKba3QsLrzRpQVhwAKrpHljd1/jseWks=; b=AlUiThVD+UywZgxjd5af3HPDZBv/2lj4XnzIVbdKlNOesd1R7dss0rS4twqAnF1POx FeFyK8MWkEjFWDcjFmy8Z/urndg5UZkSCqw/iwgDNLAiOuSoeTTnAO64Xlw53U/tXyVG JLdmZSuDc2afTCDYaeY/x3RFAn1JHoXTsC38o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wxpKn997KZiME6prMTXnTzO5zEh2ebvs0031e2yLd4M5dSIgvaqCWBul4CGsOxfPLm XfFsmFjN3s8GCF6wxWsyGUBuBu8a2Jy0HIskhScW7oO3t2tbzRLD9kMyTTKnxz+vCNBE UURorio9YWkKtLYidcaJmPE0IGDfbVwBpa9XA= MIME-Version: 1.0 Received: by 10.150.1.13 with SMTP id 13mr10873226yba.269.1251826993925; Tue, 01 Sep 2009 10:43:13 -0700 (PDT) In-Reply-To: <9e20d71e0909010054k66410ab7y207939e82705fc8f@mail.gmail.com> References: <4A99D308.6000806@polands.org> <9e20d71e0909010054k66410ab7y207939e82705fc8f@mail.gmail.com> Date: Tue, 1 Sep 2009 12:43:13 -0500 Message-ID: <970380130909011043n3340f9b0k2cec2b0b58f6f414@mail.gmail.com> From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 17:43:15 -0000 IMHO, unless you have a NEED to do this with the 8-BETA's I would not attempt. While I had this working in 8.0-BETA1 upon reboot I would loose data from entire mountpoints on the root pool. First it was /usr/ports, not a big deal. Then it was /var/db/pkg.. the system had no idea what was installed and what wasn't. This was a test machine, so no harm, no foul. I would definatley not recommend this AT ALL. Just my 2 cents, YMMV, etc. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 18:04:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 411AF1065693 for ; Tue, 1 Sep 2009 18:04:41 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id BBB6F8FC15 for ; Tue, 1 Sep 2009 18:04:40 +0000 (UTC) Received: by bwz2 with SMTP id 2so181512bwz.43 for ; Tue, 01 Sep 2009 11:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9XrjMZ9yXti4MnLccV0i0zhGTFT07RKz2S0GFJT8oW0=; b=CtG7ftP8ccmUIrL3rH9d2jm1+SNdUT7t+Z85WdWEl7Hc23LJN/2P8a8vD2nm3aU158 gz+HnZGfZMEmQuU85AskALh0wvaoHllkCmEPzQdvHOizSWRI7zHiyZ9QsTPMMqs5rn2d mJAOnqBj1+AKcykyi5wFSPUnNjvJ0JE71JAHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GT10ZNabwdZbWK3z5XatwLzYtfTZPKirJjKSmar4UUSwF27ybXlOhrDqbMUfBPofm4 pvkNBHRzwwE14VVMtrf47tWnz+ubgmj476onEgyV0R/BubC1CMl7CYTwce5FpgVu/Tl+ 52Tw4IU3Sj/TZQRqB7M/1kkG/kCtoIJAtNx7U= MIME-Version: 1.0 Received: by 10.239.182.164 with SMTP id q36mr607438hbg.87.1251828279351; Tue, 01 Sep 2009 11:04:39 -0700 (PDT) In-Reply-To: References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> <20090901155059.GA56945@slackbox.xs4all.nl> <80f4f2b20909010940u460a7b81r6372f48690ac1246@mail.gmail.com> Date: Tue, 1 Sep 2009 18:04:39 +0000 Message-ID: From: "b. f." To: Jim Content-Type: text/plain; charset=ISO-8859-1 Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 18:04:41 -0000 On 9/1/09, b. f. wrote: >. If you > don't use a jail ... well, I have not tried to install a large number > of 32-bit and 64-bit ports in parallel, so I am not sure if the > default setup for our loader will make the appropriate distinctions > between 32-bit and 64-bit versions of the same libraries depending > upon the executables or libraries that need them, but I think that > there is a good chance that it will not, and that you will have to do > some extra work to make sure that it does. In the case that it does > not, your only alternative is to either patch a large number of ports > (very time-consuming and error-prone), or to add loader environment > variables to your 32-bit shell scripts to make the loader look in the > 32-bit library directories first, or to write a custom loader script > to only load the appropriate libraries depending upon whether the > executable or library that needs them is 32-bit or 64-bit. It would Ok, so maybe I was a bit too pessimistic here, and the framework that is already in place to handle the 32-bit-only ports will suffice to deal with the case of parallel installs of 32-bit and 64-bit ports libraries as well, provided that ldconfig is invoked with the proper options when registering the libraries, so that the right hints are available, and the ports are built properly. If you are content to use 32-bit binaries on top of a 64-bit base system, try it out on a test case first -- some of the diagnostic environment variables listed in rtld(1) may help, along with ldd(1). It still seems like more trouble than it is worth to me, though. b. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 18:32:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E81811065670 for ; Tue, 1 Sep 2009 18:32:13 +0000 (UTC) (envelope-from prvs=488681940=pschmehl_lists@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id B8F4D8FC17 for ; Tue, 1 Sep 2009 18:32:13 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,313,1249275600"; d="scan'208";a="17185420" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 01 Sep 2009 13:03:19 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 958CD4EF4A for ; Tue, 1 Sep 2009 13:03:19 -0500 (CDT) Date: Tue, 01 Sep 2009 18:03:19 +0000 From: Paul Schmehl To: FreeBSD Questions Message-ID: X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 18:32:14 -0000 I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the newline characters at the end of each line. What's the best/most efficient way of doing that in a shell? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 18:55:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30B7D1065670 for ; Tue, 1 Sep 2009 18:55:40 +0000 (UTC) (envelope-from mak@kolybabi.com) Received: from mail.nepharia.org (mail.nepharia.org [209.44.104.71]) by mx1.freebsd.org (Postfix) with ESMTP id 09CF38FC0A for ; Tue, 1 Sep 2009 18:55:39 +0000 (UTC) Received: from brisbane.nepharia.org (wnpgmb0807w-ad02-161-57-125.dynamic.mts.net [207.161.57.125]) by mail.nepharia.org (Postfix) with ESMTPSA id A62063F0E99; Tue, 1 Sep 2009 13:55:38 -0500 (CDT) Received: by brisbane.nepharia.org (nbSMTP-1.00) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) mak@kolybabi.com; Tue, 1 Sep 2009 13:55:38 -0500 (CDT) Date: Tue, 1 Sep 2009 13:55:37 -0500 From: Mak Kolybabi To: Paul Schmehl Message-ID: <20090901185537.GA25956@brisbane.nepharia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Questions Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 18:55:40 -0000 On 2009-09-01 18:03, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > single line by removing all the newline characters at the end of each line. > > What's the best/most efficient way of doing that in a shell? Personally, I'd use: % tr -d '\n' < inputfile -- Matthew Anthony Kolybabi (Mak) () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 18:57:57 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0BB1065670 for ; Tue, 1 Sep 2009 18:57:57 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4408FC19 for ; Tue, 1 Sep 2009 18:57:56 +0000 (UTC) Received: by bwz2 with SMTP id 2so222912bwz.43 for ; Tue, 01 Sep 2009 11:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=8HvOytzC0K/OiGmiTylXYasoRqYaawA9IYh0puWiETY=; b=gzTf8jZ091GPiM/3JOdinUnx6uSHeMRaIe9ZDCoegladgyPBpIfZlTzcnfFgYQ3piV VFc6DvIkEau8hjW/guv6jBMMZIWZLsh7ydBapA/2l5NwEkNqKejxyxxjq5YTJtIl3uut RmSqDhgnouQO0OPThGfNHJubSNOwG/7hsFR3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=J6zQMdQayqaXKX4BECZ1dWJ978kJm6kOT1lkl/eBID8JvPTLX/mvyvp0nL01DzFBIJ W5BacRLVAP3CLhLz+40f6C9LxhAWpD/JjpnkXZmVWGotZdIk8BJAoK+D/j+GpZssbYJ7 eDMfBjxsr8jYcAJmI2e2C4TIG6gXpyZADVIJI= MIME-Version: 1.0 Received: by 10.239.130.150 with SMTP id 22mr610279hbj.59.1251831475622; Tue, 01 Sep 2009 11:57:55 -0700 (PDT) Date: Tue, 1 Sep 2009 18:57:55 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: pschmehl_lists@tx.rr.com Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 18:57:57 -0000 Paul Schmehl wrote: >I found a sed tutorial once that did this, but I can't seem to find it again. >I have a file with multiple lines, each of which contains a single ip followed >by a /32 and a comma. I want to combine all those lines into a single line by >removing all the newline characters at the end of each line. > >What's the best/most efficient way of doing that in a shell? paste(1)? b. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 19:05:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C562F1065676 for ; Tue, 1 Sep 2009 19:05:48 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from outbound-mail-23.bluehost.com (outbound-mail-23.bluehost.com [69.89.21.18]) by mx1.freebsd.org (Postfix) with SMTP id 7E4BA8FC08 for ; Tue, 1 Sep 2009 19:05:48 +0000 (UTC) Received: (qmail 26513 invoked by uid 0); 1 Sep 2009 18:39:08 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by outboundproxy2.bluehost.com with SMTP; 1 Sep 2009 18:39:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=U8PgFEEzkaUGDaVFqUA4fPTXN+40TWBnjbVhrz0L/oqaSAlsL9FDdF4UMzboEG3//s0FwutuIKF1Xn+V9LZZk0oze1xx8OrUGj18m6cL+V4rwndPqfth9UnxXlJ+PP5r; Received: from host130.200-82-120.telecom.net.ar ([200.82.120.130] helo=localhost.localdomain) by box511.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MiYFz-0007NO-4a; Tue, 01 Sep 2009 12:39:07 -0600 Message-ID: <4A9D6A42.1010700@estrads.com.ar> Date: Tue, 01 Sep 2009 15:38:58 -0300 From: Rodrigo Gonzalez User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 MIME-Version: 1.0 To: Paul Schmehl References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 200.82.120.130 authed with rjgonzale@estrads.com.ar} Cc: FreeBSD Questions Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 19:05:48 -0000 On 09/01/2009 03:03 PM, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a > single ip followed by a /32 and a comma. I want to combine all those > lines into a single line by removing all the newline characters at the > end of each line. > > What's the best/most efficient way of doing that in a shell? > A simple solution could be using tr command tr -d '\012' < file > output_file From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 19:27:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A79151065676 for ; Tue, 1 Sep 2009 19:27:49 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mx1.freebsd.org (Postfix) with ESMTP id 393E68FC18 for ; Tue, 1 Sep 2009 19:27:49 +0000 (UTC) Received: from bs.l (e180031017.adsl.alicedsl.de [85.180.31.17]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MiZ193Lf0-000RqZ; Tue, 01 Sep 2009 21:27:47 +0200 Received: from bsch by bs.l with local (Exim 4.69) (envelope-from ) id 1MiZ19-0004l9-9n for freebsd-questions@freebsd.org; Tue, 01 Sep 2009 21:27:47 +0200 Date: Tue, 1 Sep 2009 21:27:47 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090901192747.GA18222@marge.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX1+j4/CklF0j72EjxbdvTbq9jXASjneyPGm7hSR U3EEWXmrcDds7oJUMVa0qyLItUNuW4Zb7F3oencL4KKiBHDjrL DlHaFdKIdwvGxYop1NEE+E65yLr9to9znNzAjrpYiE= Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 19:27:49 -0000 Hi, Am Dienstag, 01. Sep 2009, 18:03:19 +0000 schrieb Paul Schmehl: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > single line by removing all the newline characters at the end of each line. > > What's the best/most efficient way of doing that in a shell? Probably this: $ echo `cat ip-file` $ ipline=`cat ip-file` $ echo $ipline | wc -l Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 19:28:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9451065670; Tue, 1 Sep 2009 19:28:10 +0000 (UTC) (envelope-from dboner@aogsquid.ucsd.edu) Received: from iport-c2-out.ucsd.edu (iport-c2-out.ucsd.edu [132.239.0.119]) by mx1.freebsd.org (Postfix) with ESMTP id 6D2368FC3E; Tue, 1 Sep 2009 19:28:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAM8PnUqE7wEx/2dsb2JhbADMR4cviEqEGwWBVw X-IronPort-AV: E=Sophos;i="4.44,313,1249282800"; d="scan'208";a="92896141" X-Spam-Status: No X-Spam-Level: Received: from smtp.ucsd.edu ([132.239.1.49]) by iport-c2-out.ucsd.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Sep 2009 12:17:10 -0700 Received: from [192.168.231.30] (aogsquid.ucsd.edu [132.239.152.182]) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n81JHAvD083490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Sep 2009 12:17:10 -0700 (PDT) X-Authentication-Warning: smtp.ucsd.edu: Host aogsquid.ucsd.edu [132.239.152.182] claimed to be [192.168.231.30] Message-ID: <4A9D7336.3050909@aogsquid.ucsd.edu> Date: Tue, 01 Sep 2009 12:17:10 -0700 From: David Horwitt User-Agent: Thunderbird 2.0.0.21 (X11/20090530) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: netbooks and sdhci X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 19:28:10 -0000 I recently purchased an Asus Aspire One D250-1151, and am,overall, pleased with it (running 7,2-RELEASE). The alc ethernet is not supported in 7.2 (the ath0 wireless is), and I don't care about the video camera. The '5-in-1' media reader is, unfortunately for me, a USB device. (After some detective work, I determined that it uses a Reaktek RTS5101 or RTS5111). For my purposes (low level SDHC card access), I prefer hardware that is supported by the sdhci/mmc subsystem. So my question is: does anybody know _for sure_ of a hard-disk netbook with a media reader that uses the sdhci interface and is supported by FBSD 7.2 (supported = wireless,X,USB). $USD300 (like the AA1-D250) is the desired price point, but up to about $USD400 is OK (as is FBSD 8.0, if the hardware is right). If you have any pointers, please include the sub-model information, because if it's anything like the Asus, the hardware varies all over the place, and 'Aspire One' means less than 'D250' or 'AO150'. Thank you, David From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:04:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EB8E1065676 for ; Tue, 1 Sep 2009 20:04:45 +0000 (UTC) (envelope-from prvs=488681940=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 1FBC38FC0C for ; Tue, 1 Sep 2009 20:04:44 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,313,1249275600"; d="scan'208";a="15832659" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 01 Sep 2009 15:04:41 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id A3BA24EF4A; Tue, 1 Sep 2009 15:04:41 -0500 (CDT) Date: Tue, 01 Sep 2009 20:04:41 +0000 From: Paul Schmehl To: FreeBSD Questions Message-ID: <744B6E6B195D8FF529A9281F@utd65257.utdallas.edu> In-Reply-To: <20090901185537.GA25956@brisbane.nepharia.org> References: <20090901185537.GA25956@brisbane.nepharia.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Mak Kolybabi Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:04:45 -0000 --On Tuesday, September 01, 2009 13:55:37 -0500 Mak Kolybabi wrote: > > On 2009-09-01 18:03, Paul Schmehl wrote: >> I found a sed tutorial once that did this, but I can't seem to find it >> again. I have a file with multiple lines, each of which contains a single >> ip followed by a /32 and a comma. I want to combine all those lines into a >> single line by removing all the newline characters at the end of each line. >> >> What's the best/most efficient way of doing that in a shell? > > Personally, I'd use: > % tr -d '\n' < inputfile Personally, I like your solution. :-) -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:13:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B191C106566C for ; Tue, 1 Sep 2009 20:13:27 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3298FC13 for ; Tue, 1 Sep 2009 20:13:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9D8057.8020307@intersonic.se> Date: Tue, 01 Sep 2009 22:13:11 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:13:27 -0000 Hello, What is a good way to find out how memory is used? Have a 6.4 box where memory is used by something but I fail to see what is using it - tried different switches to ps(1), tried the stat tools but a big chunk of memory does not show at all. A proper tool for analyzing memory usage "live", this is a production box? Thanks, From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:29:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B418C1065676 for ; Tue, 1 Sep 2009 20:29:33 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8668FC0C for ; Tue, 1 Sep 2009 20:29:33 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 37A74EBC0A; Tue, 1 Sep 2009 16:29:32 -0400 (EDT) Date: Tue, 1 Sep 2009 16:29:31 -0400 From: Bill Moran To: Per olof Ljungmark Message-Id: <20090901162931.d85ec256.wmoran@potentialtech.com> In-Reply-To: <4A9D8057.8020307@intersonic.se> References: <4A9D8057.8020307@intersonic.se> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:29:33 -0000 In response to Per olof Ljungmark : > > What is a good way to find out how memory is used? Have a 6.4 box where > memory is used by something but I fail to see what is using it - tried > different switches to ps(1), tried the stat tools but a big chunk of > memory does not show at all. > > A proper tool for analyzing memory usage "live", this is a production box? I've always been able to get what I need from top. You can do -o res to sort by resident memory usage, which helps. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:41:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79BA106568B for ; Tue, 1 Sep 2009 20:41:49 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 634E88FC2A for ; Tue, 1 Sep 2009 20:41:49 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n81KfmcN022586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Sep 2009 15:41:48 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n81KfmK7071990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Sep 2009 15:41:48 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n81KflL9071974; Tue, 1 Sep 2009 15:41:47 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Sep 2009 15:41:47 -0500 From: Dan Nelson To: Bill Moran Message-ID: <20090901204147.GC2855@dan.emsphone.com> References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090901162931.d85ec256.wmoran@potentialtech.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Tue, 01 Sep 2009 15:41:48 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:41:49 -0000 In the last episode (Sep 01), Bill Moran said: > In response to Per olof Ljungmark : > > What is a good way to find out how memory is used? Have a 6.4 box where > > memory is used by something but I fail to see what is using it - tried > > different switches to ps(1), tried the stat tools but a big chunk of > > memory does not show at all. > > > > A proper tool for analyzing memory usage "live", this is a production > > box? > > I've always been able to get what I need from top. You can do -o res to > sort by resident memory usage, which helps. ps will sort by memory usage when given the -m flag. Also check ipcs -a to see if there are any sysv shared memory segments hanging arnound. If you don't see anything using the memory, where are you seeing that "something" is using it? -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:45:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9621065701 for ; Tue, 1 Sep 2009 20:45:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB0D8FC08 for ; Tue, 1 Sep 2009 20:45:53 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n81KEtQ6055035; Tue, 1 Sep 2009 16:14:55 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n81KEtM2055034; Tue, 1 Sep 2009 16:14:55 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 1 Sep 2009 16:14:54 -0400 From: Jerry McAllister To: Paul Schmehl Message-ID: <20090901201454.GA54479@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:45:53 -0000 On Tue, Sep 01, 2009 at 06:03:19PM +0000, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > single line by removing all the newline characters at the end of each line. > > What's the best/most efficient way of doing that in a shell? Use tr(1) something like tr -d "[\n]" < inputfile > outputfile ////jerry > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:51:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC8BC106566C for ; Tue, 1 Sep 2009 20:51:58 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 90DB48FC1E for ; Tue, 1 Sep 2009 20:51:58 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n81Ktn7g008457 for ; Tue, 1 Sep 2009 13:55:50 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n81Kq1eN006660 for ; Tue, 1 Sep 2009 13:52:01 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n81Kq1GB006659 for freebsd-questions@freebsd.org; Tue, 1 Sep 2009 13:52:01 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Tue, 1 Sep 2009 13:52:01 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090901205201.GA6126@marvin.optimis.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:51:58 -0000 On Tue, Sep 01, 2009 at 06:03:19PM +0000, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. You're probably thinking of "Useful One-Line Scripts for Sed": http://sed.sourceforge.net/sed1line.txt A good follow-up: http://www.osnews.com/story/21004/Awk_and_Sed_One-Liners_Explained > I have a file with multiple lines, each of which contains a single ip > followed by a /32 and a comma. I want to combine all those lines into > a single line by removing all the newline characters at the end of > each line. > > What's the best/most efficient way of doing that in a shell? A sed solution would be sed -e :a -e '$!N; s/\n/ /; ta' my_file Other (easier to remember) solutions could include: tr -d '\n' < my_file tr '\n' ' ' < my_file echo $(cat my_file) # not so useless use of cat! paste -s my_file while read line; do joined="$joined $(echo $line)" done < my_file echo $joined Lots of options, of course. Even more with Perl. -- George From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 20:53:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC15D106566C for ; Tue, 1 Sep 2009 20:53:35 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id B317A8FC12 for ; Tue, 1 Sep 2009 20:53:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9D89CB.6060206@intersonic.se> Date: Tue, 01 Sep 2009 22:53:31 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> In-Reply-To: <20090901162931.d85ec256.wmoran@potentialtech.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 20:53:36 -0000 Bill Moran wrote: > In response to Per olof Ljungmark : >> What is a good way to find out how memory is used? Have a 6.4 box where >> memory is used by something but I fail to see what is using it - tried >> different switches to ps(1), tried the stat tools but a big chunk of >> memory does not show at all. >> >> A proper tool for analyzing memory usage "live", this is a production box? > > I've always been able to get what I need from top. You can do -o res to > sort by resident memory usage, which helps. > Well, my problem is that if I add up all I *can* see in top or ps it never gets near the by now 3G plus memory shown as "Active". Maybe one gig is accounted for, From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 21:19:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4DBD106566C for ; Tue, 1 Sep 2009 21:19:27 +0000 (UTC) (envelope-from mdc@prgmr.com) Received: from mail.prgmr.com (mail.prgmr.com [64.62.173.114]) by mx1.freebsd.org (Postfix) with ESMTP id A39AF8FC15 for ; Tue, 1 Sep 2009 21:19:27 +0000 (UTC) Received: from frylock.local (c-71-202-68-54.hsd1.ca.comcast.net [71.202.68.54]) by mail.prgmr.com (Postfix) with ESMTP id 4B15A68B5B for ; Tue, 1 Sep 2009 14:21:44 -0700 (PDT) Message-ID: <4A9D8FDB.9040908@prgmr.com> Date: Tue, 01 Sep 2009 14:19:23 -0700 From: Michael David Crawford Organization: Prgmr.com User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <4A9D89CB.6060206@intersonic.se> In-Reply-To: <4A9D89CB.6060206@intersonic.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 21:19:27 -0000 Per olof Ljungmark wrote: > Well, my problem is that if I add up all I *can* see in top or ps it > never gets near the by now 3G plus memory shown as "Active". Maybe one > gig is accounted for, I'm not that familiar with FreeBSD yet, but the kernel uses memory which might not be charged against any process. For example, to map some virtual memory requires memory to store the mappings in. Open files have kernel structures, as do filesystems. If top or ps were only to show userspace memory allocations, then you're right, a lot of memory would be unaccounted for. Mike -- Michael David Crawford mdc@prgmr.com prgmr.com - We Don't Assume You Are Stupid. Xen-Powered Virtual Private Servers: http://prgmr.com/xen From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:09:13 2009 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B46B3106566B for ; Tue, 1 Sep 2009 22:09:13 +0000 (UTC) (envelope-from merfi_75@bk.ru) Received: from mx28.mail.ru (mx28.mail.ru [94.100.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3AF208FC19 for ; Tue, 1 Sep 2009 22:09:13 +0000 (UTC) Received: from f2.mail.ru (f2.mail.ru [217.69.129.64]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id F39764C7869 for ; Tue, 1 Sep 2009 23:57:49 +0400 (MSD) Received: from mail by f2.mail.ru with local id 1MiZUC-00059h-00 for FreeBSD-questions@FreeBSD.org; Tue, 01 Sep 2009 23:57:48 +0400 Received: from [89.31.88.145] by win.mail.ru with HTTP; Tue, 01 Sep 2009 23:57:48 +0400 From: =?koi8-r?Q?=E1=CC=C5=CB=D3=C5=CA_=ED=C9=C8=C1=CA=CC=CF=D7=C9=DE?= To: FreeBSD-questions@FreeBSD.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [89.31.88.145] Date: Tue, 01 Sep 2009 23:57:48 +0400 X-Mru-Data: 767:1:1:70:70:1 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: Ok X-Mailman-Approved-At: Tue, 01 Sep 2009 22:17:53 +0000 Cc: Subject: I want install qutim X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?Q?=E1=CC=C5=CB=D3=C5=CA_=ED=C9=C8=C1=CA=CC=CF=D7=C9=DE?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:09:13 -0000 HI! My name is Alex I want install qutim , but he request: Found qt4-designer-4.4.1, but you need to upgrade to qt4-designer>=4.5.2. I tried install Qt 4.5.2 and recive errror installation Qt 4.5.2 on FreeBSD uname -a: 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 archive name for installation: qt-x11-opensource-src-4.5.2.tar.gz my action : tar -xvf qt-x11-opensource-src-4.5.2 cd qt-x11-opensource-src-4.5.2 ./configure ./configure Which edition of Qt do you want to use ? Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. o This is the Qt/X11 Open Source Edition. You are licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. You are also licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes ................................................... ................................................... Qt is now configured for building. Just run 'gmake'. Once everything is built, you must run 'gmake install'. Qt will be installed into /usr/local/Trolltech/Qt-4.5.2 To reconfigure, run 'gmake confclean' and 'configure'. I type # gmake ........................................................ ........................................................ In file included from ../../include/QtGui/private/qfont_p.h:1, from ../../include/QtGui/private/../../../src/gui/text/qfontengineglyphcache_p.h:60, from ../../include/QtGui/private/qfontengineglyphcache_p.h:1, from ../../include/QtGui/private/../../../src/gui/painting/qtextureglyphcache_p.h:61, from ../../include/QtGui/private/qtextureglyphcache_p.h:1, from ../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_p.h:64, from ../../include/QtGui/private/qpaintengine_raster_p.h:1, from ../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h:58, from ../../include/QtGui/private/qdrawhelper_mmx_p.h:1, from painting/qdrawhelper_mmx.cpp:46: ../../include/QtGui/private/../../../src/gui/text/qfont_p.h:149: error: `ScriptCount' is not a member of `QUnicodeTables' I want install qutim , but he request: Found qt4-designer-4.4.1, but you need to upgrade to qt4-designer>=4.5.2. Help me please! From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:29:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25901065672 for ; Tue, 1 Sep 2009 22:29:10 +0000 (UTC) (envelope-from cristea.razvan@yahoo.com) Received: from web57505.mail.re1.yahoo.com (web57505.mail.re1.yahoo.com [66.196.100.72]) by mx1.freebsd.org (Postfix) with SMTP id 953D38FC0A for ; Tue, 1 Sep 2009 22:29:10 +0000 (UTC) Received: (qmail 63641 invoked by uid 60001); 1 Sep 2009 22:02:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251842549; bh=7fw8gEVxISk1zF+gKEKjM5yOqDbovAI/HpK3BXJ20+o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=d2COUIvheRVz0QES4CoaDHOCAx+KmJl/t+IpVXBx+/R4q2xo1gp+rvH2nr0HsbsS5yKu+Gxh8ci/WRBq1fcjTW6ToB9roOxI/HGVp6H9E9GmOHY0cIPqIlQAigsAQ5srnK0DcnYaBD8nwjZhlUboIz6h7ROELOq6pXcTPrjJedg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=gJaPHBiyjEUNCfr7mQcPO6uaJAgHmmrSD3jBh5kBTrlES2XnJkwFb/0Sk/JEyU9RUJyxVg8XoEEEB7UFkHJD8zCyZRI+SEilR2aQ6xXVg/kAWfr8uIec2ftL3uOGXNCJp7UcK3QmYspm5BLGoaK5TB7rN70kkiQ8qLKQXHiUywg=; Message-ID: <899670.61058.qm@web57505.mail.re1.yahoo.com> X-YMail-OSG: NUU2lMEVM1nFq8W.JogskOgFBni5mURP7y2dtEYSJOyEpe08f8M0w61b3YYfdvV8CtL4UzP6LSJtqHa_Y8jso5SzSIQ8uBi91x7Gp25H4XepLlAqZAMZoTTolnGmw5Egq60Nzmeaj64NwkiLvsr92Z6MlwdZ7dAgd5n0ouQSGeG_mrc_BQ7ymyml2CHdfA__Igxs9jvQTNmUj6fCyOT9mQ_mOuY4TU8fQWNsgFrETPH14x1LHZ6vD4RtGPemPalLsXBJ9VLN2MH3yGNjrWNiMosCvaU00Cy7KjiGV.O62.U.6x6xXWIX_3OhAztPkwKTqAWj6iqQZg-- Received: from [82.78.193.181] by web57505.mail.re1.yahoo.com via HTTP; Tue, 01 Sep 2009 15:02:29 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Tue, 1 Sep 2009 15:02:29 -0700 (PDT) From: Razvan Cristea To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:29:11 -0000 Hello, =A0 i have a webserver useing freebsd 7.2 and i user the same server to route i= nternet to=A0a local network. the internet on the local network is working fine but the sites from the we= bserver are loading verry slow. =A0 i fave this configuration in rc.conf: =A0 firewall_enable=3D"YES" firewall_type=3D"open" firewall_logging=3D"YES" gateway_enable=3D"YES" natd_enable=3D"YES" natd_interface=3D"bce0" =A0 Can you please help me? Cu prietenie, Razvan Cristea =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.adventube.ro =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:35:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69E6B1065676 for ; Tue, 1 Sep 2009 22:35:22 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id DA7278FC19 for ; Tue, 1 Sep 2009 22:35:21 +0000 (UTC) Received: (qmail 94035 invoked by uid 89); 1 Sep 2009 22:37:31 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 1 Sep 2009 22:37:31 -0000 Message-ID: <4A9DA1AB.8020102@ibctech.ca> Date: Tue, 01 Sep 2009 18:35:23 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: George Davidovich References: <20090901205201.GA6126@marvin.optimis.net> In-Reply-To: <20090901205201.GA6126@marvin.optimis.net> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090109070205000104020401" Cc: freebsd-questions@freebsd.org Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:35:22 -0000 This is a cryptographically signed message in MIME format. --------------ms090109070205000104020401 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit George Davidovich wrote: > On Tue, Sep 01, 2009 at 06:03:19PM +0000, Paul Schmehl wrote: >> I found a sed tutorial once that did this, but I can't seem to find it >> again. > > You're probably thinking of "Useful One-Line Scripts for Sed": > > http://sed.sourceforge.net/sed1line.txt > > A good follow-up: > > http://www.osnews.com/story/21004/Awk_and_Sed_One-Liners_Explained > >> I have a file with multiple lines, each of which contains a single ip >> followed by a /32 and a comma. I want to combine all those lines into >> a single line by removing all the newline characters at the end of >> each line. >> >> What's the best/most efficient way of doing that in a shell? > > A sed solution would be > > sed -e :a -e '$!N; s/\n/ /; ta' my_file > > Other (easier to remember) solutions could include: > > tr -d '\n' < my_file > tr '\n' ' ' < my_file > > echo $(cat my_file) # not so useless use of cat! > > paste -s my_file > > while read line; do > joined="$joined $(echo $line)" > done < my_file > echo $joined > > Lots of options, of course. Even more with Perl. Yeah, how 'bout Perl: % perl -ne 's/\n/ /g; print;' < tests/ips.txt :) Steve --------------ms090109070205000104020401 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwOTAxMjIzNTIzWjAjBgkqhkiG9w0BCQQxFgQUIqsRRE/0K662Xcp1ueIEB8Ni 6ZMwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AFvCW6d1ccMKRBlMp0ZVIcDybODM+nEH7utzSc0amnft89BEz4x0rzgnKFtdpZXQU8FN6xbA SI9dCjdnaZ+89gNZDW6FDtYL0J0CrpCFE7/qJxRcdVDdCGHY1Vr7ZsQF5LG9JtL5dDfzKzEN +RLdnImGISF25tOakGe0L9a4poRyjNb2ADgiMz+F9/ybpBPMz1cT15YcIoUh9tw1ajLTtZGC bHxbZLvHj4gPyqTSDjThRLiw0lFdLjgth1nd6Vb3MX3xfxeZ/2czI6V07nynwFUUjzOAHG+A XyMEsBq6Jw4sINj2S1dGwZ1cE5TN6VHretQVDcp/gLixH7eukE/lA9sAAAAAAAA= --------------ms090109070205000104020401-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:39:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 655C61065692 for ; Tue, 1 Sep 2009 22:39:35 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 148E08FC2C for ; Tue, 1 Sep 2009 22:39:34 +0000 (UTC) Received: (qmail 94214 invoked by uid 89); 1 Sep 2009 22:41:45 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 1 Sep 2009 22:41:45 -0000 Message-ID: <4A9DA2A9.6020507@ibctech.ca> Date: Tue, 01 Sep 2009 18:39:37 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Razvan Cristea References: <899670.61058.qm@web57505.mail.re1.yahoo.com> In-Reply-To: <899670.61058.qm@web57505.mail.re1.yahoo.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090008070605090204000707" Cc: freebsd-questions@freebsd.org Subject: Re: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:39:35 -0000 This is a cryptographically signed message in MIME format. --------------ms090008070605090204000707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Razvan Cristea wrote: > Hello, > > i have a webserver useing freebsd 7.2 and i user the same server to route internet to a local network. > the internet on the local network is working fine but the sites from the webserver are loading verry slow. > > i fave this configuration in rc.conf: > > firewall_enable="YES" > firewall_type="open" > firewall_logging="YES" > gateway_enable="YES" > natd_enable="YES" > natd_interface="bce0" > > Can you please help me? Do you have a proper DNS name set up for the IP that the web server is running on? How are you accessing the web server... by name or IP? I'll assume that you are using Apache. What does the "ServerName" directive say? Steve --------------ms090008070605090204000707 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwOTAxMjIzOTM3WjAjBgkqhkiG9w0BCQQxFgQU/F5Qbx8jZixopW28Fl0DHfza 220wUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AGYZCds6r9q4EST7EBx8Tz5et1VOFqSRH5WunkQv5TfI/BUKwZlWeuT9qyWtDuSIhLlJPJqm G42AVGCb4L3xC+kBbUWwX+CKC0JH0+tlVloK52xhGYI6WRzsh4xUsXjOgLYFJF0BGcg5IomG TxGyv1WSFvOhzA5guAMtI/Pk1QOPnKapB1GewVCSr5EyPE5WDy2/jAR7xuywXnXuKtJ/fhrz t4F0VsLoebKJ4w8nbrAFgazWcMSDeCgpghnoWcXcSxkR2igxOgRn0eavGuKs62NmBmsq6Nrb tVLzCEvWCIrdZZGjzqJ257u9ul/Gek0T4Z1OUPbUmiEXTpG1iITHlmMAAAAAAAA= --------------ms090008070605090204000707-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:46:22 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F236106568D for ; Tue, 1 Sep 2009 22:46:22 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id C31848FC0A for ; Tue, 1 Sep 2009 22:46:21 +0000 (UTC) Received: by ywh29 with SMTP id 29so554017ywh.33 for ; Tue, 01 Sep 2009 15:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=w/BmpQonKbtc+GJHZLXf4fNHz5KPLuHBfcFX3MUoFxc=; b=C09+yvUQA9MNIImbQbINJ/+K3qzM31a7seYaC7BPpZvFEQSj1QQQdLA5LE1wPAxVY8 kdOGJ2jvO7F44IEAEAjTvqBTV+cQE061JDdb45kyqt/L94poDIeBI9WjHOvrZHG45YU0 jzo0HoqpFnFm/PMeUuSCAkXFRPu2YU01DwP80= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NHeBI1zvkh2K/6e8sjEpCXCLGAG8iL7kcsCISNUbIWnfJLq66K1aiN3avMtUXEU4cy DXxAIlAhFcxVfOqoBuXGaHCKD74s09gv9wjlz6+cfvAOH+I0ytv2FFY8kcymNe9CHRfO jmAHUgYHt+pFKN3G3HnGaBeW6mNRLwmfoK4qk= MIME-Version: 1.0 Received: by 10.151.21.1 with SMTP id y1mr12568542ybi.3.1251843637126; Tue, 01 Sep 2009 15:20:37 -0700 (PDT) Date: Tue, 1 Sep 2009 15:20:37 -0700 Message-ID: From: patrick To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Mounting an NFS volume served by Mac OS X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:46:22 -0000 I'm wondering if anyone has had any success in mounting an NFS export from a Mac OS X machine on FreeBSD 7.2? When I try, I get: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak The man page for exports on Mac OS X has: -sec=mechanism1:mechanism2... This option specifies one or more security mechanisms required for access to the exported directory. The security mechanisms currently supported are krb5p, krb5i, krb5, and sys. Multiple security mechanisms can be spec- ified as a colon separated list, and should be in the order of most preferred to least preferred. In the absence of this option, the security mechanism defaults to sys. My export does not specify this, so "sys" is what is being used. Not exactly sure what that means... I don't see any options in mount_nfs(8) on the FreeBSD side that has anything to do with authentication or security mechanisms... Any suggestions would be greatly appreciated! Thanks, Patrick From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 22:56:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3F0F106568F for ; Tue, 1 Sep 2009 22:56:32 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 50C968FC22 for ; Tue, 1 Sep 2009 22:56:31 +0000 (UTC) Received: by ewy4 with SMTP id 4so312176ewy.36 for ; Tue, 01 Sep 2009 15:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=2PkE476WaXsxw/4lliabSNcmQ1/lZT6zDP64+ddvEXY=; b=bmEJ6lGpDZKLfFWJYHv8c28f4oEPCb0RmdETVgbyZtdisNABWtplkVZxf1enzG8tqt L+5S3NeGGUn53f2NaNbd3bbTG2aol8y/5FCAZb0VH8J5ZskvG+NoPqL9o8O1AksHuETT FtSlI65gDgH5AlCsQd8OnVnljEIcIorbgNozM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RJ91OsM4S6zSowjOTQSW3ibxIK1f9N4Hi42d/TkpPSengpwWS79blVWGL5VjfLcZ4S 64IKjCyJTSlqpiZSZswLweo8yzCzGV49JXxM1QgMCysv0N2uFTZ4sAliNjM3SDzBPMDv 39IubkoPVymw1Br8ZSldxYXeq0ZYaR9a/OBjs= MIME-Version: 1.0 Received: by 10.210.7.16 with SMTP id 16mr7973504ebg.14.1251845790772; Tue, 01 Sep 2009 15:56:30 -0700 (PDT) Date: Tue, 1 Sep 2009 15:56:30 -0700 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Daily security report oddity... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 22:56:32 -0000 I got a daily security run email from one of my machines on Monday morning, with the following entry: zmx1.zetron.com login failures: Aug 30 06:57:17 zmx1 su: BAD SU mlee to root on /dev/ttyp2 Aug 30 09:42:17 zmx1 su: BAD SU mlee to root on /dev/ttyp0 What's puzzling is that this account has been completely inactive for well over a year - this fellow is long gone, and I simply didn't clean it up - that's my bad, but that's not the puzzling part. I traced it down, and found out that he had not logged in on Sunday. The auth.log is, as you can see from the listing below, quite old. The entries referenced above are from two years ago. zmx1# ll /var/log/a* -rw------- 1 root wheel 71845 Sep 1 15:42 /var/log/auth.log -rw------- 1 root wheel 6087 Aug 29 2007 /var/log/auth.log.0.bz2 -rw------- 1 root wheel 5774 Aug 12 2007 /var/log/auth.log.1.bz2 -rw------- 1 root wheel 5795 Jul 24 2007 /var/log/auth.log.2.bz2 -rw------- 1 root wheel 6813 Jul 6 2007 /var/log/auth.log.3.bz2 So, a couple of questions: Why would the daily security run pick up something from *two years ago* and only report it again today? The machine hasn't been rebooted in a very long time, if that makes a difference. Is there any way to prevent something like this happening again - or perhaps can I force the entry of the year into the date field for the auth.log entries? Kurt From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:05:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4439B1065670 for ; Tue, 1 Sep 2009 23:05:19 +0000 (UTC) (envelope-from Fluffy@fluffy.khv.ru) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 83A728FC0C for ; Tue, 1 Sep 2009 23:05:18 +0000 (UTC) Received: from Fluffy.Khv.RU (dhcp-14.local.ael [192.168.100.14]) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id n81MsTQb002799; Wed, 2 Sep 2009 09:54:29 +1100 (VLAST) (envelope-from Fluffy@fluffy.khv.ru) Received: from fluffy.khv.ru (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.3/8.14.3/Fluffy/5.4.1) with ESMTP id n81MsTIF060647; Wed, 2 Sep 2009 09:54:29 +1100 (VLAST) (envelope-from Fluffy@fluffy.khv.ru) From: Dima Panov Organization: Twilight Zone To: freebsd-questions@freebsd.org, =?utf-8?b?77+977+977+977+977+977+977+9?= =?utf-8?b?IO+/ve+/ve+/ve+/ve+/ve+/ve+/ve+/ve+/ve+/vQ==?= Date: Wed, 2 Sep 2009 09:54:27 +1100 User-Agent: KMail/1.12.1 (FreeBSD/9.0-900000-CURRENT; KDE/4.3.1; amd64; ; ) References: In-Reply-To: X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&;qb0K4]Hv>J}"l9, =?utf-8?q?=3D=3Am2=5F=5D-3S/=7D=60b=5C=5DyA-g=0A=09!y3en*Zl?=(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A< =?utf-8?q?!WCeG=7Cq!=0A=09wu?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <200909020954.28454.Fluffy@fluffy.khv.ru> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [192.168.1.1]); Wed, 02 Sep 2009 09:54:29 +1100 (VLAST) X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ns.ael.RU Cc: Subject: Re: I want install qutim X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:05:19 -0000 On Wednesday 02 September 2009 06:57:48 пїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ wrote: > HI! > My name is Alex > I want install qutim , but he request: Found qt4-designer-4.4.1, but you > need to upgrade to qt4-designer>=4.5.2. I tried install Qt 4.5.2 and > recive errror installation Qt 4.5.2 on FreeBSD > > uname -a: > 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > archive name for installation: > qt-x11-opensource-src-4.5.2.tar.gz > > my action : > tar -xvf qt-x11-opensource-src-4.5.2 > cd qt-x11-opensource-src-4.5.2 > ./configure > ./configure > Which edition of Qt do you want to use ? > > Type 'c' if you want to use the Commercial Edition. > Type 'o' if you want to use the Open Source Edition. > > o > > > This is the Qt/X11 Open Source Edition. > > You are licensed to use this software under the terms of > the GNU General Public License (GPL) versions 3. > You are also licensed to use this software under the terms of > the Lesser GNU General Public License (LGPL) versions 2.1. > > Type '3' to view the GNU General Public License version 3. > Type 'L' to view the Lesser GNU General Public License version 2.1. > Type 'yes' to accept this license offer. > Type 'no' to decline this license offer. > > Do you accept the terms of either license? yes > ................................................... > ................................................... > > Qt is now configured for building. Just run 'gmake'. > Once everything is built, you must run 'gmake install'. > Qt will be installed into /usr/local/Trolltech/Qt-4.5.2 > > To reconfigure, run 'gmake confclean' and 'configure'. > > I type > # gmake > > ........................................................ > ........................................................ > > > > In file included from ../../include/QtGui/private/qfont_p.h:1, > from > ../../include/QtGui/private/../../../src/gui/text/qfontengineglyphcache_p. > h:60, from ../../include/QtGui/private/qfontengineglyphcache_p.h:1, from > ../../include/QtGui/private/../../../src/gui/painting/qtextureglyphcache_p > .h:61, from ../../include/QtGui/private/qtextureglyphcache_p.h:1, from > ../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_ > p.h:64, from ../../include/QtGui/private/qpaintengine_raster_p.h:1, from > ../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h: > 58, from ../../include/QtGui/private/qdrawhelper_mmx_p.h:1, from > painting/qdrawhelper_mmx.cpp:46: > ../../include/QtGui/private/../../../src/gui/text/qfont_p.h:149: error: > `ScriptCount' is not a member of `QUnicodeTables' > > > > > I want install qutim , but he request: Found qt4-designer-4.4.1, but you > need to upgrade to qt4-designer>=4.5.2. > > Help me please! > Please read about ports/packages upgrading first: http://www.freebsd.org/doc/ru/books/handbook/ports.html -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024 From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:07:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67DCF106568B for ; Tue, 1 Sep 2009 23:07:42 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr5.networksolutionsemail.com (omr5.networksolutionsemail.com [205.178.146.55]) by mx1.freebsd.org (Postfix) with ESMTP id 22DE98FC18 for ; Tue, 1 Sep 2009 23:07:41 +0000 (UTC) Received: from mail.networksolutionsemail.com (ns-omr5.mgt.netsol.com [10.49.6.68]) by omr5.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n81MFtK1018998 for ; Tue, 1 Sep 2009 18:15:55 -0400 Received: (qmail 18402 invoked by uid 78); 1 Sep 2009 22:15:55 -0000 Received: from unknown (HELO chris.makeworld.com) (racerx@makeworld.com@71.113.147.228) by ns-omr5.lb.hosting.dc2.netsol.com with SMTP; 1 Sep 2009 22:15:55 -0000 Date: Tue, 1 Sep 2009 17:15:53 -0500 From: Chris To: freebsd-questions@freebsd.org Message-ID: <20090901171553.446cdfa5@chris.makeworld.com> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi3dqyw94hEhGjoaq+y+LY09f57uT1UEQZAAAB2klEQVQ4jZWTTXucIBDHp271bmLvKYQ9E4ieNy3eiS6efdbH+f4foTMQXdn20jmgzI//vInwVv/b4P/BcfM8yrcH0Fx5NaoQOWj8/FHXT0J04mcG+gq/904IoW5R4pyLoAkTzvCNgFhJ4twOSDHDiUFnVHMHPZAfBgbnwe6g6SGaYSBvwwaa3h+AmIf3BJj3AeDqol9MZgc1AefqpkhARACcg57U3jNyLIXmlfaX6j6rp26h3POZQAgeD0BaKyujzOsFARg4R3l4UlboQcjhfUIySAOgJEZIM1oCuoogtUOEUks/jqLQUB2B45pab3+MPlek/mxox5jiEchTW1Y5+IhAl0JBHup3FEApXqgJnBHcEWgCOo66ygAJgqCPQLHu4BcBijJKjsQ5jm1osKDgy7ai1pRC6wdwwYFBAH8AIVyvE64MoOT7Ei0EXqYVScJgE5A0hEBV0F2kpqneEI+y4tNzeSS5iZZPfYE+pGkidWVoups/TYxtjrpyB5sfJz6ykt/nYDkjX/m/FeaFO0Dc/BtYpOSVgvkcmInBjSrMFYtCS4+ho+qy5GZCw420uJPoXymOodNmjLsEuLFTl8LYJZ7z/E/GN45fdDjLpUuSikGFcVsoOEnQW/9/AJaO5Ofd/Vd2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:07:42 -0000 Greetings, Probably a long time discussed question: Updating a system is (or can be) done with freebsd-update. What is the suggested way of upgrading packages (not ports)? -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:11:27 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D55610656F8 for ; Tue, 1 Sep 2009 23:11:27 +0000 (UTC) (envelope-from nomadlogic@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4A5C88FC18 for ; Tue, 1 Sep 2009 23:11:27 +0000 (UTC) Received: by ywh29 with SMTP id 29so580255ywh.33 for ; Tue, 01 Sep 2009 16:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Qso8kjvBsNpETAk45SCatH904as/XJK2vwN0F3oh6Gg=; b=hP7hwZcLR1z/YHruFkYiN7OvSXgUDClHf3qbAP9Ksi+EhqDDgAyq7juEoSrorTGFqq uYQgi6y5380/ClK1+7Is7SEOa2yk81W7KcVHg/9d7htqmjWPGTlH/OexDlnn4/rJ2Hzm Cg5XdJdGT2hf6ZmtMWyPk33+O64e1unh+biLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=H29AACnIx5bh9tW6JVVdNmyzWNgj26ZC0z/57LCyPy3D48XbDQQkq+3PdFxbMaM/BP cCi+W94heHcw9HlUBw9FZ+IqsS9IUu7gLblCSw8jrK64WJ+YIu1s2yd9dVzP6kUJoVj8 7xeLI79PxuX40qcWqoYmll9+0c8Z5P4WGmwBI= MIME-Version: 1.0 Received: by 10.150.235.8 with SMTP id i8mr11344000ybh.309.1251845438725; Tue, 01 Sep 2009 15:50:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2009 15:50:36 -0700 Message-ID: <57d710000909011550y5fa19a7ex821cf7ec9d6573f5@mail.gmail.com> From: pete wright To: patrick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: Mounting an NFS volume served by Mac OS X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:11:27 -0000 On Tue, Sep 1, 2009 at 3:20 PM, patrick wrote: > I'm wondering if anyone has had any success in mounting an NFS export > from a Mac OS X machine on FreeBSD 7.2? When I try, I get: > > RPCPROG_MNT: RPC: Authentication error; why =3D Client credential too wea= k > > The man page for exports on Mac OS X has: > > =A0 =A0 -sec=3Dmechanism1:mechanism2... This option specifies one or more > security mechanisms > =A0 =A0 required for access to the exported directory. =A0The security > mechanisms currently > =A0 =A0 supported are krb5p, krb5i, krb5, and sys. =A0Multiple security > mechanisms can be spec- > =A0 =A0 ified as a colon separated list, and should be in the order of > most preferred to > =A0 =A0 least preferred. =A0In the absence of this option, the security > mechanism defaults to > =A0 =A0 sys. > > > My export does not specify this, so "sys" is what is being used. Not > exactly sure what that means... I don't see any options in > mount_nfs(8) on the FreeBSD side that has anything to do with > authentication or security mechanisms... > > Any suggestions would be greatly appreciated! > which version of NFS are you using on the server side, which version are you attempting to use on the client side. also, it may be helpful if you post your /etc/exports file from your server (or what ever configuration you are using on the OSX server) and your mount command that is failing. -pete --=20 pete wright www.nycbug.org From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:15:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E0B3106566C for ; Tue, 1 Sep 2009 23:15:48 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65516.mail.ac4.yahoo.com (web65516.mail.ac4.yahoo.com [76.13.9.60]) by mx1.freebsd.org (Postfix) with SMTP id 281948FC15 for ; Tue, 1 Sep 2009 23:15:48 +0000 (UTC) Received: (qmail 40071 invoked by uid 60001); 1 Sep 2009 23:15:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1251846947; bh=gmwxzAUPsCarA2HB5BaNlzYEmhnqKVH1yu3XrS4lj/o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PVxOX9RmGDitEqb05qET7YrA72oFppOCHI8ryoIjVPrQIg8QuoEpAMvjq4qB/kDeyPDNwvNbefpTekoqswwoVWdWZMGRTaqTxJq/lmJIBfZuxl2s5m1gwFB8wZkNUZTsINhLEbboJKa5NzQKWbD13S95CTBhaEwQ19ZuP60390A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vkfHsrc9WMQvsC4EJFWWGvYf5VltQya5qjQ4jxxIpzwhzl7lIRBssyLMVYATjUskldOg/tcrlc1jcCQ8NX9zfHFSPqW+SPEsiLve6neFqkJCvSPx0/x1sT4PpdGrph0ZoL4hAEJ+3e9nkBbecOF++YTNjGBV9hMV5zoqtFd/9NE=; Message-ID: <540010.39284.qm@web65516.mail.ac4.yahoo.com> X-YMail-OSG: .0SPaOoVM1mfpOtatnM0ydw_aFVNH2EoYM_yPCb1h1YJNF7RmmhdshA4fESUaDH3Aqlsbr2K1hQca7I7XEshmapxfSeF3VpWORKe3v9ZNvMHlaQ_pGq40RJN1GVXPCqi5WnJKsGXM4.A4_XugI6vPr3l1qEX3aH1DPgdfpORWnwFhDhpi628CkWkrYbW6nRa_Ic2eaJnbaSEIK0BWGTzHIiFj5sa8oDyzDEqOL_cn8i1OBORpY6FtGvFifRwmREruyhGmlyhvhYuSB1gWcVZni.Nd1BOvdtF2VfPkH9Cbe2YMCAHIgbBEhEQ4SrHy05yBJCiTlK9jiJU3gyJzVBAKIuN8p8XpzrFxuiorcLRJxngiqvA9IJAcxyb1xOAs9PAD7oYEw-- Received: from [208.99.137.71] by web65516.mail.ac4.yahoo.com via HTTP; Tue, 01 Sep 2009 16:15:47 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Tue, 1 Sep 2009 16:15:47 -0700 (PDT) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20090901221758.AFBB310656CB@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: netbooks and sdhci X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:15:48 -0000 > > Message: 26 > Date: Tue, 01 Sep 2009 12:17:10 -0700 > From: David Horwitt > Subject: netbooks and sdhci > To: freebsd-questions@freebsd.org, > freebsd-mobile@freebsd.org > Message-ID: <4A9D7336.3050909@aogsquid.ucsd.edu> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > > I recently purchased an Asus Aspire One D250-1151, and > am,overall, > pleased with it (running 7,2-RELEASE). > The alc ethernet is not supported in 7.2 (the ath0 wireless > is), and I > don't care about the video camera. > > The '5-in-1' media reader is, unfortunately for me, a USB > device. (After > some detective work, I determined that > it uses a Reaktek RTS5101 or RTS5111). For my purposes (low > level SDHC > card access), I prefer hardware that is > supported by the sdhci/mmc subsystem. My initial assumption was that you are familiar with the specific type of device you are asking about. Then, I remembered I was tempted by the SD form-factor as well. I think you are asking for trouble because SD cards support "Content Protection for Recordable Media (CPRM)." One of the "features" is "'key revocation' technology built into each card." http://www.sdcard.org/developers/tech/ I also read that speed is hampered by the interface design because they wanted something they could patent, rather than just re-implementing SPI (Serial Peripheral Interface). The SD card Association has a what would have been a promising floppy replacement without those two deliberate design flaws. If you are aware of that and sill want a SDHC reader, I don't have any reason to stop you :) Regards, James Phillips > So my question is: does anybody know _for sure_ of a > hard-disk netbook > with a media reader that uses the sdhci interface > and is supported by FBSD 7.2 (supported = wireless,X,USB). __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:22:32 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51BD1106566B for ; Tue, 1 Sep 2009 23:22:32 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id DC8688FC24 for ; Tue, 1 Sep 2009 23:22:31 +0000 (UTC) Received: (qmail 96002 invoked by uid 89); 1 Sep 2009 23:24:42 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 1 Sep 2009 23:24:42 -0000 Message-ID: <4A9DACB9.3090905@ibctech.ca> Date: Tue, 01 Sep 2009 19:22:33 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Razvan Cristea References: <681960.78981.qm@web57504.mail.re1.yahoo.com> In-Reply-To: <681960.78981.qm@web57504.mail.re1.yahoo.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms000300070407030608000903" Cc: "questions@freebsd.org" Subject: Re: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:22:32 -0000 This is a cryptographically signed message in MIME format. --------------ms000300070407030608000903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Razvan Cristea wrote: > Razvan Cristea wrote: > > Hello, > > > > i have a webserver useing freebsd 7.2 and i user the same server > to route internet to a local network. > > the internet on the local network is working fine but the sites > from the webserver are loading verry slow. > > > > i fave this configuration in rc.conf: > > > > firewall_enable="YES" > > firewall_type="open" > > firewall_logging="YES" > > gateway_enable="YES" > > natd_enable="YES" > > natd_interface="bce0" > > > > Can you please help me? > > Do you have a proper DNS name set up for the IP that the web server is > running on? > > How are you accessing the web server... by name or IP? > > I'll assume that you are using Apache. What does the "ServerName" > directive say? > The webserver works just fine when the firewall is not enabeled. > But when i enabele any firewall the webserver seems to be overloaded > or something and loads the pages verry slow. > The problem is that natd is not working without firewall activated. > > i have apache (directadmin cpanel) It's been years since I've needed to use NAT, so unfortunately, I can't help here. I'm sure someone else will speak up. If nothing comes up in the next while, perhaps asking on -ipfw will help (but do not cross-post). Steve --------------ms000300070407030608000903 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwOTAxMjMyMjMzWjAjBgkqhkiG9w0BCQQxFgQUEFHOppBqNmGKOtIULLFC2psm 1GQwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AD4rJiawwee0wIhIqzNK/h5zYXel67DXKYjence/IQ8pBXUBfWIgWs2ts6HJpNcGXh3m4Avj CCPM6ClNOMF4mmQECZh3hdiAmuraCnijFs4+VP21xldtD6M9qJjXCw17GlvBoRD/VkXc6h/F sxtCqwR4kM3/6Jh1CFvkppVIOHg22+WZNStzoohWvkjIrgLV5l5Y6vQ94N6JxNgCRblcCYVU Hl7ORlYFhletCPZpoFxwbX05leYOqn6t8qFoebFNn92oL7i+otYfVmOCJBxjpfLi1RW1s7Cy solurNlheGL5KSehAu3UaWzavVurn7O7dKYixKwqjx9nMVl8tcadMKMAAAAAAAA= --------------ms000300070407030608000903-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:32:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDFE8106566C for ; Tue, 1 Sep 2009 23:32:49 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id B07048FC13 for ; Tue, 1 Sep 2009 23:32:49 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id F038B1E17F; Wed, 2 Sep 2009 01:32:47 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n81NWl4i001414; Wed, 2 Sep 2009 01:32:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2009 01:32:47 +0200 From: Polytropon To: Chris Message-Id: <20090902013247.a040bda9.freebsd@edvax.de> In-Reply-To: <20090901171553.446cdfa5@chris.makeworld.com> References: <20090901171553.446cdfa5@chris.makeworld.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:32:50 -0000 On Tue, 1 Sep 2009 17:15:53 -0500, Chris wrote: > Greetings, > > Probably a long time discussed question: > Updating a system is (or can be) done with freebsd-update. > What is the suggested way of upgrading packages (not ports)? There's at least portupgrade with the -P option that forces the use of packages. You can as well use pkg_add to perform an "upgrade-like" action, but you'll have to take care for more things manually. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:45:16 2009 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AACD9106566B for ; Tue, 1 Sep 2009 23:45:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 693D58FC08 for ; Tue, 1 Sep 2009 23:45:16 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 6A61E1E206; Wed, 2 Sep 2009 01:45:15 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n81NjE1e002641; Wed, 2 Sep 2009 01:45:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2009 01:45:14 +0200 From: Polytropon To: =?UTF-8?Q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9_=D0=9C=D0=B8?= =?UTF-8?Q?=D1=85=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=D0=B8=D1=87?= Message-Id: <20090902014514.f60dce0a.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: FreeBSD-questions@freebsd.org Subject: Re: I want install qutim X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:45:16 -0000 On Tue, 01 Sep 2009 23:57:48 +0400, Алексей Михайлович wrote: > I want install qutim As it seems to me, qutIM isn't ported to FreeBSD yet. > I tried install Qt 4.5.2 and recive errror installation Qt 4.5.2 on FreeBSD > [...] > my action : > tar -xvf qt-x11-opensource-src-4.5.2 > cd qt-x11-opensource-src-4.5.2 > ./configure You don't need to do this on FreeBSD. Applications and libraries that are ported to FreeBSD are available via the Ports Collection: http://www.freebsd.org/doc/ru/books/handbook/ports.html So you first install Qt from ports or packages, then try do get the source of qutIM working. This would work like this: 1. Download the qutIM sources. 2. Extract them. 3. Run % ./configure (e. g. with needed parameters) % make % sudo make install But keep in mind that it's possible that the configure script doesn't honor the FreeBSD platform, so you won't be able to compile and install it. > I type > # gmake FreeBSD uses a different make program. As it seems, you try to compile a Linux program on FreeBSD...? > I want install qutim , but he request: Found qt4-designer-4.4.1, > but you need to upgrade to qt4-designer>=4.5.2. It's a dependency, as well as the Qt library, that you have to install prior to any compile attempt. A command like # pkg_add -r qt4-designer should do this, and even install all other needed dependencies, such as Qt itself. > Help me please! Check out FreeBSD's precompiled packages and the ports collection. Make sure the qutIM sources are compatible with FreeBSD's building tools. Finally, ask the developers of qutIM for a FreeBSD version. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 23:52:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17AAF1065670 for ; Tue, 1 Sep 2009 23:52:19 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id CFF6C8FC16 for ; Tue, 1 Sep 2009 23:52:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9DB3AE.1000400@intersonic.se> Date: Wed, 02 Sep 2009 01:52:14 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.22 (X11/20090727) MIME-Version: 1.0 To: Dan Nelson References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> In-Reply-To: <20090901204147.GC2855@dan.emsphone.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 23:52:19 -0000 Dan Nelson wrote: > In the last episode (Sep 01), Bill Moran said: >> In response to Per olof Ljungmark : >>> What is a good way to find out how memory is used? Have a 6.4 box where >>> memory is used by something but I fail to see what is using it - tried >>> different switches to ps(1), tried the stat tools but a big chunk of >>> memory does not show at all. >>> >>> A proper tool for analyzing memory usage "live", this is a production >>> box? >> I've always been able to get what I need from top. You can do -o res to >> sort by resident memory usage, which helps. > > ps will sort by memory usage when given the -m flag. Also check ipcs -a to > see if there are any sysv shared memory segments hanging arnound. If you > don't see anything using the memory, where are you seeing that "something" > is using it? What I see is a slapd process using about 150M, then around a hundred imap processes 5-10M each. If the server is restarted, 70-80% will be free, now, after three months we're at 11% free loosing about 20% per month. The exact sum VSZ right now as shown by ps is 1073632k but top says Mem: 3111M Active, 311M Inact, 230M Wired, 144M Cache, 112M Buf, 27M Free Clearly something is grabbing memory and not releasing it. Stopping and starting various programs makes very little difference. No SYSV mem at all. Thanks, From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 00:00:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D811065670 for ; Wed, 2 Sep 2009 00:00:22 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 147688FC14 for ; Wed, 2 Sep 2009 00:00:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9DB590.6080605@intersonic.se> Date: Wed, 02 Sep 2009 02:00:16 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.22 (X11/20090727) MIME-Version: 1.0 To: Dan Nelson References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> In-Reply-To: <20090901204147.GC2855@dan.emsphone.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 00:00:22 -0000 Dan Nelson wrote: > In the last episode (Sep 01), Bill Moran said: >> In response to Per olof Ljungmark : >>> What is a good way to find out how memory is used? Have a 6.4 box where >>> memory is used by something but I fail to see what is using it - tried >>> different switches to ps(1), tried the stat tools but a big chunk of >>> memory does not show at all. >>> >>> A proper tool for analyzing memory usage "live", this is a production >>> box? >> I've always been able to get what I need from top. You can do -o res to >> sort by resident memory usage, which helps. > > ps will sort by memory usage when given the -m flag. Also check ipcs -a to > see if there are any sysv shared memory segments hanging arnound. If you > don't see anything using the memory, where are you seeing that "something" > is using it? > ...and here is top output after I stopped Postfix, slapd and Cyrus-IMAP. Still over 3G Active. last pid: 10278; load averages: 0.03, 0.02, 0.00 up 93+02:50:16 01:57:35 45 processes: 1 running, 44 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 3057M Active, 312M Inact, 228M Wired, 144M Cache, 112M Buf, 81M Free Swap: 4096M Total, 80K Used, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 647 root 4 20 0 3372K 1508K kserel 110:35 0.00% apcupsd 831 root 3 20 0 5008K 1920K kserel 58:48 0.00% bacula-fd 480 root 1 96 0 1416K 932K select 25:23 0.00% syslogd 596 bind 1 4 0 6400K 5160K kqread 23:05 0.00% named 709 root 1 96 0 2780K 1484K select 4:26 0.00% ntpd 661 root 1 4 0 3372K 1972K accept 0:53 0.00% saslauthd 660 root 1 20 0 3372K 1972K lockf 0:53 0.00% saslauthd 662 root 1 20 0 3372K 1972K lockf 0:53 0.00% saslauthd 659 root 1 20 0 3372K 1972K lockf 0:53 0.00% saslauthd 657 root 1 20 0 3372K 1972K lockf 0:52 0.00% saslauthd 913 root 1 8 0 1412K 900K nanslp 0:22 0.00% cron 91648 peo 1 96 0 11372K 7572K select 0:04 0.00% sshd 3419 nagios 1 96 0 1380K 960K select 0:01 0.00% nrpe2 91656 root 1 20 0 3880K 1952K pause 0:00 0.00% csh 10243 root 1 96 0 2516K 1604K RUN 0:00 0.00% top 95511 root 1 5 0 4120K 2156K ttyin 0:00 0.00% csh 95504 peo 1 96 0 6296K 2544K select 0:00 0.00% sshd 95502 root 1 4 0 6300K 2540K sbwait 0:00 0.00% sshd 91646 root 1 4 0 6300K 2476K sbwait 0:00 0.00% sshd 10223 root 1 4 0 6300K 2660K sbwait 0:00 0.00% sshd 10232 root 1 5 0 3880K 2044K ttyin 0:00 0.00% csh 91650 peo 1 20 0 3836K 1848K pause 0:00 0.00% csh 95506 peo 1 20 0 3940K 1916K pause 0:00 0.00% csh 10227 peo 1 20 0 3836K 1976K pause 0:00 0.00% csh 906 root 1 96 0 3552K 2016K select 0:00 0.00% sshd 10225 peo 1 96 0 6296K 2664K select 0:00 0.00% sshd 429 root 1 96 0 528K 284K select 0:00 0.00% devd 91654 peo 1 8 0 1804K 1112K wait 0:00 0.00% su 95510 peo 1 8 0 1804K 1168K wait 0:00 0.00% su 10231 peo 1 8 0 1804K 1244K wait 0:00 0.00% su 961 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 962 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 968 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 964 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 966 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 963 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 965 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 967 root 1 5 0 1352K 784K ttyin 0:00 0.00% getty 943 root 1 111 0 1444K 840K select 0:00 0.00% inetd 138 root 1 20 0 1260K 636K pause 0:00 0.00% adjkerntz From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 00:20:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6133A10656BD for ; Wed, 2 Sep 2009 00:20:58 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 103008FC08 for ; Wed, 2 Sep 2009 00:20:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n820Kul6007746; Tue, 1 Sep 2009 18:20:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n820Ku8l007743; Tue, 1 Sep 2009 18:20:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 1 Sep 2009 18:20:56 -0600 (MDT) From: Warren Block To: Steve Bertrand In-Reply-To: <4A9DA1AB.8020102@ibctech.ca> Message-ID: References: <20090901205201.GA6126@marvin.optimis.net> <4A9DA1AB.8020102@ibctech.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Tue, 01 Sep 2009 18:20:57 -0600 (MDT) Cc: George Davidovich , freebsd-questions@freebsd.org Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 00:20:58 -0000 On Tue, 1 Sep 2009, Steve Bertrand wrote: > George Davidovich wrote: >> On Tue, Sep 01, 2009 at 06:03:19PM +0000, Paul Schmehl wrote: >>> I found a sed tutorial once that did this, but I can't seem to find it >>> again. >> >> You're probably thinking of "Useful One-Line Scripts for Sed": >> >> http://sed.sourceforge.net/sed1line.txt >> >> A good follow-up: >> >> http://www.osnews.com/story/21004/Awk_and_Sed_One-Liners_Explained >> >>> I have a file with multiple lines, each of which contains a single ip >>> followed by a /32 and a comma. I want to combine all those lines into >>> a single line by removing all the newline characters at the end of >>> each line. >>> >>> What's the best/most efficient way of doing that in a shell? >> >> A sed solution would be >> >> sed -e :a -e '$!N; s/\n/ /; ta' my_file >> >> Other (easier to remember) solutions could include: >> >> tr -d '\n' < my_file >> tr '\n' ' ' < my_file >> >> echo $(cat my_file) # not so useless use of cat! >> >> paste -s my_file >> >> while read line; do >> joined="$joined $(echo $line)" >> done < my_file >> echo $joined >> >> Lots of options, of course. Even more with Perl. > > Yeah, how 'bout Perl: > > % perl -ne 's/\n/ /g; print;' < tests/ips.txt perl -pe 'chomp' myfile is somewhat easier. Works with Ruby, too. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 00:22:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A69D1065672 for ; Wed, 2 Sep 2009 00:22:32 +0000 (UTC) (envelope-from terry@sucked-in.com) Received: from mail.sucked-in.com (got.sucked-in.com [64.251.22.156]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7948FC24 for ; Wed, 2 Sep 2009 00:22:31 +0000 (UTC) Received: from localhost (got.sucked-in.com [64.251.22.156]) by mail.sucked-in.com (Postfix) with ESMTP id E46CE1CD37 for ; Wed, 2 Sep 2009 10:04:45 +1000 (EST) X-Virus-Scanned: amavisd-new at sucked-in.com Received: from mail.sucked-in.com ([64.251.22.156]) by localhost (mail.sucked-in.com [64.251.22.156]) (amavisd-new, port 10024) with ESMTP id 4wPE5b+wYlcT for ; Wed, 2 Sep 2009 10:04:45 +1000 (EST) Received: from [192.168.1.4] (60-242-46-148.static.tpgi.com.au [60.242.46.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sucked-in.com (Postfix) with ESMTPSA id 163191CCBD for ; Wed, 2 Sep 2009 10:04:44 +1000 (EST) Message-ID: <4A9DB69C.4080506@sucked-in.com> Date: Wed, 02 Sep 2009 10:04:44 +1000 From: Terry Sposato User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: devel/pear port build failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 00:22:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am having trouble building the devel/pear port. I have tried the following, rebuild all dependant ports (all of php etc.) - Extracted new ports tree, used portmaster, always returns the same error: [got][/usr/ports/devel/pear]# make install clean ===> Installing for pear-1.8.1 ===> pear-1.8.1 depends on file: /usr/local/include/php/main/php.h - found ===> pear-1.8.1 depends on file: /usr/local/lib/php/20060613/pcre.so - - found ===> pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so - - found ===> Generating temporary packing list ===> Checking if devel/pear already installed Bootstrapping Installer................... Using previously install ... ok Extracting installer.................. Using previously installed installer ... ok Preparing installer.................. Updating channel "doc.php.net" Channel "doc.php.net" is up to date Updating channel "pear.php.net" Channel "pear.php.net" is up to date Updating channel "pecl.php.net" Channel "pecl.php.net" is up to date Installing selected packages.................. Package: PEAR-stable.............................. already installed ... ok Package: Structures_Graph-stable.................. already installed ... ok Package: Archive_Tar-stable....................... already installed ... ok Package: Console_Getopt-stable.................... already installed ... ok *** Signal 11 Stop in /usr/ports/devel/pear. Anyone have this issue? Please reply to me directly as I am currently not on the list. Regards, Terry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqdtpwACgkQggJ6ImaGmQrs7ACfQt5A//Q7W1gom3jgmYzld4zP EZAAnj09mx+ybwM+Hhz5h7/0/Vo4Z95w =UO8G -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 00:59:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A11106566B for ; Wed, 2 Sep 2009 00:59:55 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 282708FC08 for ; Wed, 2 Sep 2009 00:59:54 +0000 (UTC) Received: (qmail 99618 invoked by uid 89); 2 Sep 2009 01:02:05 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 2 Sep 2009 01:02:05 -0000 Message-ID: <4A9DC38C.5090002@ibctech.ca> Date: Tue, 01 Sep 2009 20:59:56 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Warren Block References: <20090901205201.GA6126@marvin.optimis.net> <4A9DA1AB.8020102@ibctech.ca> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010200090309070905040503" Cc: George Davidovich , freebsd-questions@freebsd.org Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 00:59:55 -0000 This is a cryptographically signed message in MIME format. --------------ms010200090309070905040503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Warren Block wrote: > On Tue, 1 Sep 2009, Steve Bertrand wrote: >> George Davidovich wrote: >>> On Tue, Sep 01, 2009 at 06:03:19PM +0000, Paul Schmehl wrote: >>>> I found a sed tutorial once that did this, but I can't seem to find it >>>> again. >>> >>> You're probably thinking of "Useful One-Line Scripts for Sed": >>> >>> http://sed.sourceforge.net/sed1line.txt >>> >>> A good follow-up: >>> >>> http://www.osnews.com/story/21004/Awk_and_Sed_One-Liners_Explained >>> >>>> I have a file with multiple lines, each of which contains a single ip >>>> followed by a /32 and a comma. I want to combine all those lines into >>>> a single line by removing all the newline characters at the end of >>>> each line. >>>> >>>> What's the best/most efficient way of doing that in a shell? >>> >>> A sed solution would be >>> >>> sed -e :a -e '$!N; s/\n/ /; ta' my_file >>> >>> Other (easier to remember) solutions could include: >>> >>> tr -d '\n' < my_file >>> tr '\n' ' ' < my_file >>> >>> echo $(cat my_file) # not so useless use of cat! >>> >>> paste -s my_file >>> >>> while read line; do >>> joined="$joined $(echo $line)" >>> done < my_file >>> echo $joined >>> >>> Lots of options, of course. Even more with Perl. >> >> Yeah, how 'bout Perl: >> >> % perl -ne 's/\n/ /g; print;' < tests/ips.txt > > perl -pe 'chomp' myfile > > is somewhat easier. Niiiice golf... > Works with Ruby, too. Is Ruby Perl? ;) Steve --------------ms010200090309070905040503 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/zCC AtowggJDoAMCAQICEEs5xg/J3t77QWJ4SatV1HcwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDUwNzIzMTYxMFoX DTEwMDUwNzIzMTYxMFowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0G CSqGSIb3DQEJARYQc3RldmVAaWJjdGVjaC5jYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAJSTRAjP1RVa87/mnZn+PBTbENgyhhBJ4rWApmaNcthzRdk2DB/49KrXx3EQP60w Lj4KU0DFkiGNVj9BnVxRAx/WDXKxGC3uGGEG6gjyWv8KFMWMsH9mL7y7uNow1HueT6pZUf9o yY8Ewd+01QpGi7FfXOae7lGHhbEwnEJGwz08ytRfLmH0KtEzlZanZZhwDGX5s1kIHnyxdACh 3byXY6Z2bOrx0rcrQHCnHJppxddR60F7igjaMuBFstE51h9XTgXDNKJbglqTug5ghGihNuP6 VsBN7ue62y96UGIE22TvKEcAQ665vQGjHqZeSzZYy+hWNOa27pWFmhlqFjx0x8MCAwEAAaMt MCswGwYDVR0RBBQwEoEQc3RldmVAaWJjdGVjaC5jYTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3 DQEBBQUAA4GBAMOmjxjp2Xzk6ZHLwTgFDzVhm98RjRT3UXotKjNIR7SgwfWF5wkJrx4I+dXu ui5ztMEq4bTTRgJ344MqE6uZiZlg+tBIFHZGCJfKdzsX4QuV2jmw0sR5dMaYxG6tlDB0YUMv gTqzV7ZDpiusTMOZe9pP1PdxFhOcIJXtMQDj5LhuMIIC2jCCAkOgAwIBAgIQSznGD8ne3vtB YnhJq1XUdzANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDkwNTA3MjMxNjEwWhcNMTAwNTA3MjMxNjEwWjBCMR8wHQYD VQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzdGV2ZUBpYmN0 ZWNoLmNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJNECM/VFVrzv+admf48 FNsQ2DKGEEnitYCmZo1y2HNF2TYMH/j0qtfHcRA/rTAuPgpTQMWSIY1WP0GdXFEDH9YNcrEY Le4YYQbqCPJa/woUxYywf2YvvLu42jDUe55PqllR/2jJjwTB37TVCkaLsV9c5p7uUYeFsTCc QkbDPTzK1F8uYfQq0TOVlqdlmHAMZfmzWQgefLF0AKHdvJdjpnZs6vHStytAcKccmmnF11Hr QXuKCNoy4EWy0TnWH1dOBcM0oluCWpO6DmCEaKE24/pWwE3u57rbL3pQYgTbZO8oRwBDrrm9 AaMepl5LNljL6FY05rbulYWaGWoWPHTHwwIDAQABoy0wKzAbBgNVHREEFDASgRBzdGV2ZUBp YmN0ZWNoLmNhMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAw6aPGOnZfOTpkcvB OAUPNWGb3xGNFPdRei0qM0hHtKDB9YXnCQmvHgj51e66LnO0wSrhtNNGAnfjgyoTq5mJmWD6 0EgUdkYIl8p3OxfhC5XaObDSxHl0xpjEbq2UMHRhQy+BOrNXtkOmK6xMw5l72k/U93EWE5wg le0xAOPkuG4wggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJa QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoT EVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERp dmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG 9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcN MTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRp bmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vp bmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f 6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7 AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRw Oi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8E BAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQc UCCTcDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bG CE6u9uo05RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDZDCCA2ACAQEwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEEs5xg/J3t77QWJ4SatV 1HcwCQYFKw4DAhoFAKCCAcMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B CQUxDxcNMDkwOTAyMDA1OTU2WjAjBgkqhkiG9w0BCQQxFgQUGwfwJ179VgWn+Bx1lWtPq553 i2MwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZI hvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0Fi eEmrVdR3MIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhBLOcYPyd7e+0FieEmrVdR3MA0GCSqGSIb3DQEBAQUABIIB AEYuyvUNUy2WFL/K5f6YYKhAg+Q0xyPXabknF1/OGVXpl5dtFXTJz2iqC+jBCI6/ZTbTyK/Q K1q0nFHaigmwhdczYMdYpAEXq/TTqcLtt8WzIOOOdd1VjzE2CQbRlZYLTdzjmuM5Psi9d5Yo +tO40XdJd3k1PQj3Uhiql3999kccoYvx2HqYjVyhgy3KAOI1TEz8+M3FqArF3YGM1N00y+5T pSWTUdCvPKc322tYcyqlYxaryuunb4J/eqO6zRdzIT/gUY/Vz2MvrbKQMh1zNIQu8xH7loTh J2rn0sx+zSZgbc/GXFrEYdT3VbAiIcgeCH768URIsRF1wbpcu9w5/KAAAAAAAAA= --------------ms010200090309070905040503-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 03:16:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28258106566C for ; Wed, 2 Sep 2009 03:16:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id E0AA88FC0A for ; Wed, 2 Sep 2009 03:16:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n823GUaO055947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Sep 2009 22:16:31 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n823GUC0050455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Sep 2009 22:16:30 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n823GUS9050453; Tue, 1 Sep 2009 22:16:30 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Sep 2009 22:16:30 -0500 From: Dan Nelson To: Per olof Ljungmark Message-ID: <20090902031626.GD2855@dan.emsphone.com> References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> <4A9DB3AE.1000400@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A9DB3AE.1000400@intersonic.se> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Tue, 01 Sep 2009 22:16:33 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 03:16:35 -0000 In the last episode (Sep 02), Per olof Ljungmark said: > Dan Nelson wrote: > > In the last episode (Sep 01), Bill Moran said: > >> In response to Per olof Ljungmark : > >>> What is a good way to find out how memory is used? Have a 6.4 box > >>> where memory is used by something but I fail to see what is using it - > >>> tried different switches to ps(1), tried the stat tools but a big > >>> chunk of memory does not show at all. > >>> > >>> A proper tool for analyzing memory usage "live", this is a production > >>> box? > >> > >> I've always been able to get what I need from top. You can do -o res to > >> sort by resident memory usage, which helps. > > > > ps will sort by memory usage when given the -m flag. Also check ipcs -a > > to see if there are any sysv shared memory segments hanging arnound. If > > you don't see anything using the memory, where are you seeing that > > "something" is using it? > > What I see is a slapd process using about 150M, then around a hundred imap > processes 5-10M each. If the server is restarted, 70-80% will be free, > now, after three months we're at 11% free loosing about 20% per month. > > The exact sum VSZ right now as shown by ps is 1073632k but top says > > Mem: 3111M Active, 311M Inact, 230M Wired, 144M Cache, 112M Buf, 27M Free > > Clearly something is grabbing memory and not releasing it. Disk cache, most likely. I would expect "Free" memory as reported by top to drop down to under 100MB a few hours after a system is rebooted. The difference between Active->Inact->Cache->Buf is more an indication of how long ago a particular page has been touched (and how much work it is to map the page back into a processes memory space), and doesn't really say what the block is being used for. If you are not actively swapping, there is no need for panic. Even a couple hundred MB of used swap is fine, as long as you're not constantly having to pull it back into memory. http://www.freebsd.org/doc/en/books/arch-handbook/vm.html has a good rundown of how the VM system works. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 04:41:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54211106566C for ; Wed, 2 Sep 2009 04:41:25 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-pz0-f235.google.com (mail-pz0-f235.google.com [209.85.222.235]) by mx1.freebsd.org (Postfix) with ESMTP id 3881A8FC0C for ; Wed, 2 Sep 2009 04:41:25 +0000 (UTC) Received: by pzk24 with SMTP id 24so19783pzk.3 for ; Tue, 01 Sep 2009 21:41:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.115.81.10 with SMTP id i10mr409623wal.29.1251866484766; Tue, 01 Sep 2009 21:41:24 -0700 (PDT) Message-ID: <0016e64cae6a217e26047290e16e@google.com> Date: Wed, 02 Sep 2009 04:41:24 +0000 From: af300wsm@gmail.com To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 04:41:25 -0000 Hi, I'm trying to make a copy of a dvd that I have, video, using a technique that I gleaned from this list nearly two years ago that has always worked but now I'm having problems. (When I say always, please bear in mind that I don't do this every day or even frequently). You'll also see calls to dd. These were attempts at "last ditch effort." I usually just use the copy command (got it from a thread entitled, "copying a dvd video," from November of 07). If dd will work but I just forgot to get the block size right, what is that supposed to be. So, here's what I'm doing with the results. Any help is greatly appreciated because am at the point of pulling my hair out (which might have actually happened had I not shaved it off). [root@sniper ~]# cp /dev/acd0 /usr/local/dvds/biggest_loser.iso cp: /dev/acd0: Input/output error [root@sniper ~]# cp /dev/acd0t01 /usr/local/dvds/biggest_loser.iso cp: /dev/acd0t01: Input/output error [root@sniper ~]# dd if=/dev/acd0 of=/usr/local/dvds/biggest_loser.iso dd: /dev/acd0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000115 secs (0 bytes/sec) [root@sniper ~]# dd if=/dev/acd0t01 of=/usr/local/dvds/biggest_loser.iso dd: /dev/acd0t01: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000111 secs (0 bytes/sec) Andy From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:05:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D89B106566C for ; Wed, 2 Sep 2009 05:05:16 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr13.networksolutionsemail.com (omr13.networksolutionsemail.com [205.178.146.63]) by mx1.freebsd.org (Postfix) with ESMTP id D8B268FC0C for ; Wed, 2 Sep 2009 05:05:15 +0000 (UTC) Received: from mail.networksolutionsemail.com (ns-omr13.mgt.hosting.dc2.netsol.com [10.49.6.76]) by omr13.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n8255E6p002145 for ; Wed, 2 Sep 2009 01:05:14 -0400 Received: (qmail 17927 invoked by uid 78); 2 Sep 2009 05:05:14 -0000 Received: from unknown (HELO chris.makeworld.com) (racerx@makeworld.com@71.113.147.228) by ns-omr13.lb.hosting.dc2.netsol.com with SMTP; 2 Sep 2009 05:05:14 -0000 Date: Wed, 2 Sep 2009 00:05:14 -0500 From: Chris To: freebsd-questions@freebsd.org Message-ID: <20090902000514.2a17510c@chris.makeworld.com> In-Reply-To: <20090902013247.a040bda9.freebsd@edvax.de> References: <20090901171553.446cdfa5@chris.makeworld.com> <20090902013247.a040bda9.freebsd@edvax.de> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi3dqyw94hEhGjoaq+y+LY09f57uT1UEQZAAAB2klEQVQ4jZWTTXucIBDHp271bmLvKYQ9E4ieNy3eiS6efdbH+f4foTMQXdn20jmgzI//vInwVv/b4P/BcfM8yrcH0Fx5NaoQOWj8/FHXT0J04mcG+gq/904IoW5R4pyLoAkTzvCNgFhJ4twOSDHDiUFnVHMHPZAfBgbnwe6g6SGaYSBvwwaa3h+AmIf3BJj3AeDqol9MZgc1AefqpkhARACcg57U3jNyLIXmlfaX6j6rp26h3POZQAgeD0BaKyujzOsFARg4R3l4UlboQcjhfUIySAOgJEZIM1oCuoogtUOEUks/jqLQUB2B45pab3+MPlek/mxox5jiEchTW1Y5+IhAl0JBHup3FEApXqgJnBHcEWgCOo66ygAJgqCPQLHu4BcBijJKjsQ5jm1osKDgy7ai1pRC6wdwwYFBAH8AIVyvE64MoOT7Ei0EXqYVScJgE5A0hEBV0F2kpqneEI+y4tNzeSS5iZZPfYE+pGkidWVoups/TYxtjrpyB5sfJz6ykt/nYDkjX/m/FeaFO0Dc/BtYpOSVgvkcmInBjSrMFYtCS4+ho+qy5GZCw420uJPoXymOodNmjLsEuLFTl8LYJZ7z/E/GN45fdDjLpUuSikGFcVsoOEnQW/9/AJaO5Ofd/Vd2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Cc: Polytropon Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:05:16 -0000 On Wed, 2 Sep 2009 01:32:47 +0200 Polytropon wrote: > On Tue, 1 Sep 2009 17:15:53 -0500, Chris wrote: > > Greetings, > >=20 > > Probably a long time discussed question: > > Updating a system is (or can be) done with freebsd-update. > > What is the suggested way of upgrading packages (not ports)? >=20 > There's at least portupgrade with the -P option that forces the > use of packages. You can as well use pkg_add to perform an > "upgrade-like" action, but you'll have to take care for more > things manually. >=20 >=20 >=20 =46rom sysutils/bsdadminscripts - pkg_upgrade looks like what I am after. =46rom the pkg_upgrade man page... PKG_UPGRADE(1) BSD Reference Manual PKG_UPGRADE(1) NAME pkg_upgrade - upgrade an installed package in-place SYNOPSIS pkg_upgrade [-afqsv] pkgname.cgz DESCRIPTION The pkg_upgrade command is used to upgrade an installed package in-place. If no other version of the package is installed and -a is not given, pkg_upgrade simply calls pkg_add(1). Otherwise, the installed package is deleted and the new version is added, keeping dependencies intact. The following command line options are supported: -a Ignore packages for which no older version is installed (auto). -f Force upgrading the package: Also upgrade if the exact same ver- sion is already installed, useful if you rebuilt a package from source. If a conflicting package other than an older version of the same package is installed, remove it. -q Don't print less important messages (quiet). -s Enable special treatment for shared libraries, see below (shlibs). -v Pass the -v flag to subprocesses for more verbose operation. SHARED LIBRARY SUPPORT pkg_upgrade has a special mode for upgrading shared library packages. Consider the following situation: You have installed a package foo that contains libfoo.so.1.0. Package bar is also installed and contains a binary that depends on this version of libfoo. Now you upgrade the foo package, the new version contains libfoo.so.2.0 instead. The other binary will no longer run. For this reason, systems like Debian split their library packages in two: the library itself and a "developer" package containing headers and so on. Instead, pkg_upgrade creates a "stub package" from the installed package. Basically, the installed package is split in two. The old li- braries are kept as a package named stub-pkgname while the rest is delet- ed and replaced by the new version. In the general case, this should work but you may still run into situa- tions where you will need to rebuild dependent packages from source. In any case, you can delete unused stub packages after you have rebuilt dependent packages. SEE ALSO pkg_add(1), pkg_create(1), pkg_delete(1), ports(7) --=20 Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:17:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEFAA106566B for ; Wed, 2 Sep 2009 05:17:11 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6D59D8FC0A for ; Wed, 2 Sep 2009 05:17:11 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MiiDU-000L1M-O8; Wed, 02 Sep 2009 09:17:08 +0400 From: Boris Samorodov To: Chris References: <20090901171553.446cdfa5@chris.makeworld.com> Date: Wed, 02 Sep 2009 09:17:12 +0400 In-Reply-To: <20090901171553.446cdfa5@chris.makeworld.com> (Chris's message of "Tue, 1 Sep 2009 17:15:53 -0500") Message-ID: <67860391@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:17:11 -0000 On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: > Probably a long time discussed question: > Updating a system is (or can be) done with freebsd-update. > What is the suggested way of upgrading packages (not ports)? The port sysutils/bsdadminscripts has a script pkg_upgrade to upgrade packages. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:19:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1546A106566B for ; Wed, 2 Sep 2009 05:19:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8648D8FC14 for ; Wed, 2 Sep 2009 05:19:29 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n825JRb3084856; Wed, 2 Sep 2009 07:19:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 9957ABA9C; Wed, 2 Sep 2009 07:19:27 +0200 (CEST) Date: Wed, 2 Sep 2009 07:19:27 +0200 From: Roland Smith To: af300wsm@gmail.com Message-ID: <20090902051927.GA78814@slackbox.xs4all.nl> References: <0016e64cae6a217e26047290e16e@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <0016e64cae6a217e26047290e16e@google.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org" Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:19:30 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 02, 2009 at 04:41:24AM +0000, af300wsm@gmail.com wrote: > Hi, >=20 > I'm trying to make a copy of a dvd that I have, video, using a technique = =20 > that I gleaned from this list nearly two years ago that has always worked= =20 > but now I'm having problems. (When I say always, please bear in mind that= I =20 > don't do this every day or even frequently). You'll also see calls to dd.= =20 > These were attempts at "last ditch effort." I usually just use the copy = =20 > command (got it from a thread entitled, "copying a dvd video," from =20 > November of 07). If dd will work but I just forgot to get the block size = =20 > right, what is that supposed to be. My preferred technique is to use mplayer: mplayer dvd://1 -dumpstream -dumpfile dvd.mpg Be sure to play the DVD with mplayer to check which track is actually the movie. Usually it is track #1, but not always. After copying the stream, I tend to re-encode it for backup purposes with t= he H.264 video codec with MP3 sound, which makes it a lot smaller. The first s= tep is to watch the mpeg and see if there are black stripes around the picture: mplayer -vf cropdetect dvd.mpg This will give you a continuous list of crop lines, e.g: [CROP] Crop area: X: 1..719 Y: 74..500 (-vf crop=3D704:416:10:80).0 Next step is to re-encode the mpeg file in two steps for enhanced quality, including the crop information, if any: mencoder title.mpg -ovc x264 \ -x264encopts subq=3D4:bframes=3D3:b_pyramid:weight_b:qp=3D18:threads=3Dauto= :pass=3D1 \ -idx -oac mp3lame -vf crop=3D704:416:10:80 -o /dev/null; \ mencoder title.mpg -ovc x264 -x264encopts \ subq=3D6:partitions=3Dall:8x8dct:me=3Dumh:frameref=3D5:bframes=3D3:\ b_pyramid:weight_b:qp=3D18:threads=3Dauto:pass=3D2 -vf crop=3D704:416:10:80= \ -idx -oac mp3lame -o title.avi; If you want to include a specific language or subtitle, don't forget to include the correct options for that; see the mplayer manual. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqeAF8ACgkQEnfvsMMhpyXrzACeOgpN24aI3TL0cIraKHypB+Qn Wh0An0aVAefmkNaFpohh9pW17MY7ILsw =zRXB -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:25:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5921C1065670 for ; Wed, 2 Sep 2009 05:25:20 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr4.networksolutionsemail.com (omr4.networksolutionsemail.com [205.178.146.54]) by mx1.freebsd.org (Postfix) with ESMTP id 122688FC12 for ; Wed, 2 Sep 2009 05:25:19 +0000 (UTC) Received: from mail.networksolutionsemail.com (ns-omr4.mgt.netsol.com [10.49.6.67]) by omr4.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n825PJLh023186 for ; Wed, 2 Sep 2009 01:25:19 -0400 Received: (qmail 23175 invoked by uid 78); 2 Sep 2009 05:25:18 -0000 Received: from unknown (HELO chris.makeworld.com) (racerx@makeworld.com@71.113.147.228) by ns-omr4.lb.hosting.dc2.netsol.com with SMTP; 2 Sep 2009 05:25:18 -0000 Date: Wed, 2 Sep 2009 00:25:18 -0500 From: Chris To: freebsd-questions@freebsd.org Message-ID: <20090902002518.1c874530@chris.makeworld.com> In-Reply-To: <67860391@bb.ipt.ru> References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi3dqyw94hEhGjoaq+y+LY09f57uT1UEQZAAAB2klEQVQ4jZWTTXucIBDHp271bmLvKYQ9E4ieNy3eiS6efdbH+f4foTMQXdn20jmgzI//vInwVv/b4P/BcfM8yrcH0Fx5NaoQOWj8/FHXT0J04mcG+gq/904IoW5R4pyLoAkTzvCNgFhJ4twOSDHDiUFnVHMHPZAfBgbnwe6g6SGaYSBvwwaa3h+AmIf3BJj3AeDqol9MZgc1AefqpkhARACcg57U3jNyLIXmlfaX6j6rp26h3POZQAgeD0BaKyujzOsFARg4R3l4UlboQcjhfUIySAOgJEZIM1oCuoogtUOEUks/jqLQUB2B45pab3+MPlek/mxox5jiEchTW1Y5+IhAl0JBHup3FEApXqgJnBHcEWgCOo66ygAJgqCPQLHu4BcBijJKjsQ5jm1osKDgy7ai1pRC6wdwwYFBAH8AIVyvE64MoOT7Ei0EXqYVScJgE5A0hEBV0F2kpqneEI+y4tNzeSS5iZZPfYE+pGkidWVoups/TYxtjrpyB5sfJz6ykt/nYDkjX/m/FeaFO0Dc/BtYpOSVgvkcmInBjSrMFYtCS4+ho+qy5GZCw420uJPoXymOodNmjLsEuLFTl8LYJZ7z/E/GN45fdDjLpUuSikGFcVsoOEnQW/9/AJaO5Ofd/Vd2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:25:20 -0000 On Wed, 02 Sep 2009 09:17:12 +0400 Boris Samorodov wrote: > On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: > > > Probably a long time discussed question: > > Updating a system is (or can be) done with freebsd-update. > > What is the suggested way of upgrading packages (not ports)? > > The port sysutils/bsdadminscripts has a script pkg_upgrade > to upgrade packages. > Thanks - although, this seems a moot point if one sticks with RELEASE (until a point release that is I suppose). -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:30:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372911065679 for ; Wed, 2 Sep 2009 05:30:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E50AD8FC19 for ; Wed, 2 Sep 2009 05:30:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 637861E28F; Wed, 2 Sep 2009 07:30:00 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n825Tx28006788; Wed, 2 Sep 2009 07:29:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 Sep 2009 07:29:59 +0200 From: Polytropon To: af300wsm@gmail.com Message-Id: <20090902072959.231d0045.freebsd@edvax.de> In-Reply-To: <0016e64cae6a217e26047290e16e@google.com> References: <0016e64cae6a217e26047290e16e@google.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:30:02 -0000 On Wed, 02 Sep 2009 04:41:24 +0000, af300wsm@gmail.com wrote: > If dd will work but I just forgot to get the block size > right, what is that supposed to be. If you call dd without bs= parameter, the default of 512 is assumed. This may not be correct for video DVDs. You could try bs=1m, but I'm not sure what the correct block size for DVDs is... For copying them, I always felt comfortable with the vobcopy tool (for reading), and growisofs -dvd-compat (for writing). Both tools can be installed via ports or packages. > [root@sniper ~]# cp /dev/acd0 /usr/local/dvds/biggest_loser.iso ^^^^^^^^^^^^^^^^ Just a side note: I don't think /usr/local is a good place to store DVD images. Some path like /usr/home/dvds would be good. The /usr/local subtree is "reserved" for locally installed applications; see "man hier" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:47:36 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B9C4106566B for ; Wed, 2 Sep 2009 05:47:35 +0000 (UTC) (envelope-from baerks@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by mx1.freebsd.org (Postfix) with ESMTP id E92068FC08 for ; Wed, 2 Sep 2009 05:47:34 +0000 (UTC) Received: from fwd02.aul.t-online.de by mailout11.t-online.de with smtp id 1MiiRf-0000tf-06; Wed, 02 Sep 2009 07:31:47 +0200 Received: from amd.catfish.ddns.org (G-VizkZewhLnEKhB9TwJ6v2Ig3wFxHo-wAlzErHA6q3u0FG+x+kuudtDjVHjf49wp8@[79.218.101.59]) by fwd02.aul.t-online.de with esmtp id 1MiiRa-1VcsQy0; Wed, 2 Sep 2009 07:31:42 +0200 Received: from amd.catfish.ddns.org (localhost [127.0.0.1]) by amd.catfish.ddns.org (8.14.3/8.14.3) with ESMTP id n825VgOE003477 for ; Wed, 2 Sep 2009 07:31:42 +0200 (CEST) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id n825VgDT003476 for questions@freebsd.org; Wed, 2 Sep 2009 07:31:42 +0200 (CEST) (envelope-from monkel) Date: Wed, 2 Sep 2009 07:31:41 +0200 From: Sabine Baer To: FreeBSD Questions Message-ID: <20090902053141.GB1640@amd.catfish.ddns.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-ID: G-VizkZewhLnEKhB9TwJ6v2Ig3wFxHo-wAlzErHA6q3u0FG+x+kuudtDjVHjf49wp8 X-TOI-MSGID: b0c1673e-5522-4e84-bbc0-bb6497104a40 Cc: Subject: Re: Mounting an NFS volume served by Mac OS X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:47:36 -0000 On Tue, Sep 01, 2009 at 03:20:37PM -0700, patrick wrote: > I'm wondering if anyone has had any success in mounting an NFS export > from a Mac OS X machine on FreeBSD 7.2? amd$ ssh book@ibook Password: Last login: Tue Sep 1 18:36:19 2009 Welcome to Darwin! ibook:~ book$ uname -a Darwin ibook.catfish.ddns.org 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc ibook:~ book$ less /private/etc/exports /Users/book -alldirs amd /Volumes -alldirs amd ibook:~ book$ ps ax|grep nfs 198 ?? Ss 0:00.00 nfsiod -n 4 234 ?? Ss 0:00.01 nfsd-master 240 ?? S 0:00.00 nfsd-server [...] 1520 p2 S+ 0:00.01 grep nfs ibook:~ book$ exit logout [...] amd# mount /ibook amd# mount [...] ibook:/Users/book on /ibook (nfs) amd# [...] amd$ ls -l /ibook|less total 448 drwxr-xr-x 3 501 501 102 Mar 6 20:11 Anwendungsdaten drwx------ 16 501 501 544 Aug 15 23:22 Desktop [...] amd$ Works fine, as far as I experienced. I wrote that /private/etc/exports. It may not be the best way, just mt 2 Cent, Sabine Was glaubst du, was FAQ heiЯt? Fцllig Abstruser Quatsch? (Hauke Heidtmann in dcouln) From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 05:50:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0E8106566B for ; Wed, 2 Sep 2009 05:50:05 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 56D818FC1F for ; Wed, 2 Sep 2009 05:50:05 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MiijM-000LPp-8J; Wed, 02 Sep 2009 09:50:04 +0400 From: Boris Samorodov To: Chris References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> <20090902002518.1c874530@chris.makeworld.com> Date: Wed, 02 Sep 2009 09:50:08 +0400 In-Reply-To: <20090902002518.1c874530@chris.makeworld.com> (Chris's message of "Wed, 2 Sep 2009 00:25:18 -0500") Message-ID: <35693951@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 05:50:05 -0000 On Wed, 2 Sep 2009 00:25:18 -0500 Chris wrote: > On Wed, 02 Sep 2009 09:17:12 +0400 > Boris Samorodov wrote: > > On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: > > > > > Probably a long time discussed question: > > > Updating a system is (or can be) done with freebsd-update. > > > What is the suggested way of upgrading packages (not ports)? > > > > The port sysutils/bsdadminscripts has a script pkg_upgrade > > to upgrade packages. > Thanks - although, this seems a moot point if one sticks with RELEASE > (until a point release that is I suppose). Packges are build for STABLE as well: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 06:08:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB2AB1065672 for ; Wed, 2 Sep 2009 06:08:56 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr1.networksolutionsemail.com (omr1.networksolutionsemail.com [205.178.146.51]) by mx1.freebsd.org (Postfix) with ESMTP id 728988FC14 for ; Wed, 2 Sep 2009 06:08:56 +0000 (UTC) Received: from mail.networksolutionsemail.com (ns-omr1.mgt.netsol.com [10.49.6.64]) by omr1.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n8268sVn004588 for ; Wed, 2 Sep 2009 02:08:54 -0400 Received: (qmail 5742 invoked by uid 78); 2 Sep 2009 06:08:54 -0000 Received: from unknown (HELO chris.makeworld.com) (racerx@makeworld.com@71.113.147.228) by ns-omr1.lb.hosting.dc2.netsol.com with SMTP; 2 Sep 2009 06:08:54 -0000 Date: Wed, 2 Sep 2009 01:08:54 -0500 From: Chris To: freebsd-questions@freebsd.org Message-ID: <20090902010854.386d44d4@chris.makeworld.com> In-Reply-To: <35693951@bb.ipt.ru> References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> <20090902002518.1c874530@chris.makeworld.com> <35693951@bb.ipt.ru> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi3dqyw94hEhGjoaq+y+LY09f57uT1UEQZAAAB2klEQVQ4jZWTTXucIBDHp271bmLvKYQ9E4ieNy3eiS6efdbH+f4foTMQXdn20jmgzI//vInwVv/b4P/BcfM8yrcH0Fx5NaoQOWj8/FHXT0J04mcG+gq/904IoW5R4pyLoAkTzvCNgFhJ4twOSDHDiUFnVHMHPZAfBgbnwe6g6SGaYSBvwwaa3h+AmIf3BJj3AeDqol9MZgc1AefqpkhARACcg57U3jNyLIXmlfaX6j6rp26h3POZQAgeD0BaKyujzOsFARg4R3l4UlboQcjhfUIySAOgJEZIM1oCuoogtUOEUks/jqLQUB2B45pab3+MPlek/mxox5jiEchTW1Y5+IhAl0JBHup3FEApXqgJnBHcEWgCOo66ygAJgqCPQLHu4BcBijJKjsQ5jm1osKDgy7ai1pRC6wdwwYFBAH8AIVyvE64MoOT7Ei0EXqYVScJgE5A0hEBV0F2kpqneEI+y4tNzeSS5iZZPfYE+pGkidWVoups/TYxtjrpyB5sfJz6ykt/nYDkjX/m/FeaFO0Dc/BtYpOSVgvkcmInBjSrMFYtCS4+ho+qy5GZCw420uJPoXymOodNmjLsEuLFTl8LYJZ7z/E/GN45fdDjLpUuSikGFcVsoOEnQW/9/AJaO5Ofd/Vd2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 06:08:56 -0000 On Wed, 02 Sep 2009 09:50:08 +0400 Boris Samorodov wrote: > On Wed, 2 Sep 2009 00:25:18 -0500 Chris wrote: > > On Wed, 02 Sep 2009 09:17:12 +0400 > > Boris Samorodov wrote: > > > On Tue, 1 Sep 2009 17:15:53 -0500 Chris wrote: > > > > > > > Probably a long time discussed question: > > > > Updating a system is (or can be) done with freebsd-update. > > > > What is the suggested way of upgrading packages (not ports)? > > > > > > The port sysutils/bsdadminscripts has a script pkg_upgrade > > > to upgrade packages. > > > Thanks - although, this seems a moot point if one sticks with > > RELEASE (until a point release that is I suppose). > > Packges are build for STABLE as well: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > I do realize this however, if one stays with RELEASE (and not deal with the possible (I did say possible) headaches of a changing base system) then (as I read it from the Handbook) updating packages is moot. They won't change until the next point release. I'm just trying to determine the way I want to move back to FreeBSD and not repeat the episodes of upgrades due to installing ports. This turned out to be a weekly event that took the majority of my Friday nights. I admit that I have gotten spoiled with Linux updates (all binary - no issues, no breakage, and no dependency-hell like there used to be with Ports). Of course, I'm sure that dealing with Ports has improved in the 2 years I was on my "sabbatical", but I did get used to actually using and enjoying my puter (again, my biased view point on when I used to use FreeBSD). And now for the last question - I know there were issues mounting ext2 (128 bit) but have since been corrected. This is important to me in the short term. What version (I know the upcoming 8 will have it) now has the patch I have about that supports ext2/128 bit? If it's 7.2, I assume that updating the src should or would take care of it? Once I have recommitted back to FBSD, I would convert the drives that are currently ext3. I'm not trolling nor trying to start an OS war, just some questions I need to get clarity on before I wipe and install. If all my ducks are in a row, my transition back should be rather pleasant or at worse, not happen at all. Thanks for your time. -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 06:41:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6468E106566B for ; Wed, 2 Sep 2009 06:41:59 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 20D2A8FC19 for ; Wed, 2 Sep 2009 06:41:58 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MijXa-000M50-0x; Wed, 02 Sep 2009 10:41:58 +0400 From: Boris Samorodov To: Chris References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> <20090902002518.1c874530@chris.makeworld.com> <35693951@bb.ipt.ru> <20090902010854.386d44d4@chris.makeworld.com> Date: Wed, 02 Sep 2009 10:42:02 +0400 In-Reply-To: <20090902010854.386d44d4@chris.makeworld.com> (Chris's message of "Wed, 2 Sep 2009 01:08:54 -0500") Message-ID: <53615301@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 06:41:59 -0000 On Wed, 2 Sep 2009 01:08:54 -0500 Chris wrote: > On Wed, 02 Sep 2009 09:50:08 +0400 > Boris Samorodov wrote: > > On Wed, 2 Sep 2009 00:25:18 -0500 Chris wrote: > > > Thanks - although, this seems a moot point if one sticks with > > > RELEASE (until a point release that is I suppose). > > > > Packges are build for STABLE as well: > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > I do realize this however, if one stays with RELEASE (and not deal with > the possible (I did say possible) headaches of a changing base system) > then (as I read it from the Handbook) updating packages is moot. They > won't change until the next point release. The thing is that those packages (called FreeBSD-stable-packages) can (and imo) should be used with RELEASE either. The ports tree is always HEAD. And -stable- for packages means only that they were build after -release- packages. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 06:51:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1EC51065672 for ; Wed, 2 Sep 2009 06:51:01 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 295A58FC12 for ; Wed, 2 Sep 2009 06:51:01 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:To:Subject:Content-Disposition:From:Organization:X-Face:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=ZYNxNDaNMvClKXaHnESh6zpBWy7Ei4xNT6LcGzFNmSQW33QxRtYK7iyw4GsjA/tZW1DOHhkmxlDMQhxAtsxp9LUnoqyKKXWvCHyWyZ9Wxh1de5Mxk74uW75HMntWuPYx; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:54815) by b.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MijgJ-000KPJ-7g for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 08:50:59 +0200 To: freebsd-questions@freebsd.org Content-Disposition: inline From: Jonathan McKeown Organization: Rhodes University X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?iso-8859-1?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l?= =?iso-8859-1?q?=3B=7E!42HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?iso-8859-1?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: b.mail.ru.ac.za (2001:4200:1010::25:2) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: remove newlines from a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 06:51:02 -0000 [Arrrrgghh. To list this time] On Tuesday 01 September 2009 20:03:19 Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > single line by removing all the newline characters at the end of each line. > > What's the best/most efficient way of doing that in a shell? I'd use rs(1). Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A16AA106566B for ; Wed, 2 Sep 2009 07:23:35 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 39CCD8FC0C for ; Wed, 2 Sep 2009 07:23:35 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MikBq-0006Ul-9I; Wed, 02 Sep 2009 09:23:34 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MikBX-000GTL-UW; Wed, 02 Sep 2009 09:23:15 +0200 Message-ID: <4A9E1D63.8030101@mapper.nl> Date: Wed, 02 Sep 2009 09:23:15 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Kurt Buff References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig35233AFE8B862355909BBC40" Cc: freebsd-questions@freebsd.org Subject: Re: Daily security report oddity... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 07:23:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35233AFE8B862355909BBC40 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Kurt Buff wrote: > I got a daily security run email from one of my machines on Monday > morning, with the following entry: > > zmx1.zetron.com login failures: > Aug 30 06:57:17 zmx1 su: BAD SU mlee to root on /dev/ttyp2 > Aug 30 09:42:17 zmx1 su: BAD SU mlee to root on /dev/ttyp0 > > What's puzzling is that this account has been completely inactive for > well over a year - this fellow is long gone, and I simply didn't clean > it up - that's my bad, but that's not the puzzling part. > > I traced it down, and found out that he had not logged in on Sunday. > The auth.log is, as you can see from the listing below, quite old. The > entries referenced above are from two years ago. > > zmx1# ll /var/log/a* > -rw------- 1 root wheel 71845 Sep 1 15:42 /var/log/auth.log > -rw------- 1 root wheel 6087 Aug 29 2007 /var/log/auth.log.0.bz2 > -rw------- 1 root wheel 5774 Aug 12 2007 /var/log/auth.log.1.bz2 > -rw------- 1 root wheel 5795 Jul 24 2007 /var/log/auth.log.2.bz2 > -rw------- 1 root wheel 6813 Jul 6 2007 /var/log/auth.log.3.bz2 > > > So, a couple of questions: > > Why would the daily security run pick up something from *two years > ago* and only report it again today? The machine hasn't been rebooted > in a very long time, if that makes a difference. > > Is there any way to prevent something like this happening again - or > perhaps can I force the entry of the year into the date field for the > auth.log entries? > > Kurt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" > =20 Hello, If you look at the syntax of the logfile, you will see no year is listed.= Most likely the whole file is parsed on security run. Since the logfile has been rotated the 30th of august 2007, it's very much possible you'll get all your messages all over again. Perhaps it's wise to rotate you logfiles once a year just in case... And it make no difference the machine hasn't been rebooted in a very long time... (define "very long time" ;-) http://uptimes-project.org/hosts/view/150 ) --------------enig35233AFE8B862355909BBC40 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqeHWMACgkQN9xNqOOVnWAkiQCfRm/XbdvGNrbznfLVW+8Z8hUv +ZAAn1GRSx7HSUshV8sEpZSPoxBurF2R =o28s -----END PGP SIGNATURE----- --------------enig35233AFE8B862355909BBC40-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 08:22:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96303106566B for ; Wed, 2 Sep 2009 08:22:39 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id D7BCE8FC1A for ; Wed, 2 Sep 2009 08:22:38 +0000 (UTC) Received: from iwr.ru.ac.za ([146.231.64.249]:65151) by d.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mil6z-0008xS-A7 for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 10:22:37 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mil6z-000GGV-8L for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 10:22:37 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Wed, 02 Sep 2009 10:22:37 +0200 MIME-Version: 1.0 Message-ID: <4A9E476D.13800.3D61987B@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: d.mail.ru.ac.za (146.231.129.36) Subject: portupgrade broken, and apr won't build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 08:22:39 -0000 Hiya all Something weird going on with portypgrade (and maybe ports in general) here. Somewhere between last months upgrade and this month, portupgrade has started to ignore ports that are reported by portversion as needing upgrading. The result is I have to force each one, one at a time. Big schlep. For example > portversion -v | grep samba samba-3.0.35,1 < needs updating (port has 3.0.36,1) > portupgrade -vr samba ---> Session started at: Wed, 02 Sep 2009 10:18:47 +0200 ** None has been installed or upgraded. ---> Session ended at: Wed, 02 Sep 2009 10:18:47 +0200 (consumed 00:00:00) The other thing is that devel/apr will not build. The make stops with this ... checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking whether system uses EBCDIC... no performing libtool configuration... ./configure: 9753: Syntax error: word unexpected (expecting ")") *** Error code 2 Stop in /usr/ports/devel/apr. *** Error code 1 Stop in /usr/ports/devel/apr. I cvsup every Monday morning. I tried the upgrades last week but got these failures and decided to wait a week and see if there are fixes. Apparently not. I also had to manually fix the openssl distfile (missing MD5 and SH256) so that it would actually download the missing patch and confirm it. I have never had so much trouble with the port system, who broke it? <-: Any ideas? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 08:48:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EED4D106568D for ; Wed, 2 Sep 2009 08:48:28 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from c.mail.ru.ac.za (c.mail.ru.ac.za [IPv6:2001:4200:1010::25:3]) by mx1.freebsd.org (Postfix) with ESMTP id 396258FC14 for ; Wed, 2 Sep 2009 08:48:28 +0000 (UTC) Received: from iwr.ru.ac.za ([146.231.64.249]:51544) by c.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MilVy-000JkY-AB for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 10:48:26 +0200 Received: from iwdf-5.iwr.ru.ac.za ([146.231.64.28]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MilVy-000OdB-3p for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 10:48:26 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Wed, 02 Sep 2009 10:48:26 +0200 MIME-Version: 1.0 Message-ID: <4A9E4D7A.12152.3D793AB6@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: c.mail.ru.ac.za (146.231.129.35) Subject: re: apr won't build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d.forsyth@ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 08:48:29 -0000 replyign to myself, sor tof, seems this fixes it http://www.mail-archive.com/freebsd-ports@freebsd.org/msg22758.html remove all old cruft from libtool15 if you have upgraded to libtool22 -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 09:00:05 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C4B1065676 for ; Wed, 2 Sep 2009 09:00:05 +0000 (UTC) (envelope-from info@hslsoft.com) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 067568FC17 for ; Wed, 2 Sep 2009 09:00:03 +0000 (UTC) Received: from Neville-PC.hslsoft.local (huntersys1-adsl.demon.co.uk [83.105.103.113]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MKv5w-1MilV13bcP-0004aK; Wed, 02 Sep 2009 10:47:28 +0200 From: "Hunter Systems" To: Date: Wed, 02 Sep 2009 09:47:26 +0100 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=36020204_3084_4074_1776_158432511048" Message-ID: <60B86230.1CA2BB2@Neville-PC> X-Mailer: AMLC X-Provags-ID: V01U2FsdGVkX19RaH2aMCJMl/TtXQyH06pZS2Jl86uQ8Ik/n7P 3vqTQ1p75OGu4/VDzXuSMtvmxhMmPqVunpBas1SWqEYzUBCVDD Xck0KcDankkSaDYN1f9G5LqAV3jsJnZpG13kR8UC24ofSVWKHI 6HA== X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: SAM Service Asset Manager (Sept 09) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 09:00:05 -0000 This is a multi-part message in MIME format. ------=36020204_3084_4074_1776_158432511048 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This message is in MIME format. Since your mail reader does not understa= nd this format, some or all of this message may not be legible. ------=36020204_3084_4074_1776_158432511048-- From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 09:49:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B3FF106566C for ; Wed, 2 Sep 2009 09:49:12 +0000 (UTC) (envelope-from saifi.khan@datasynergy.org) Received: from s219.sureserver.com (s219.sureserver.com [203.194.200.31]) by mx1.freebsd.org (Postfix) with ESMTP id E19B58FC18 for ; Wed, 2 Sep 2009 09:49:11 +0000 (UTC) Received: (qmail 13909 invoked by uid 1002); 2 Sep 2009 09:49:08 -0000 Received: from unknown (HELO ?10.10.10.7?) (saifi.khan@datasynergy.org@59.92.199.78) by s219.sureserver.com with ESMTPA; 2 Sep 2009 09:49:08 -0000 Date: Wed, 2 Sep 2009 15:16:57 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@freebsd To: David Horwitt In-Reply-To: <4A9D7336.3050909@aogsquid.ucsd.edu> Message-ID: References: <4A9D7336.3050909@aogsquid.ucsd.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: netbooks and sdhci X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 09:49:12 -0000 On Tue, 1 Sep 2009, David Horwitt wrote: > > So my question is: does anybody know _for sure_ of a hard-disk netbook with a > media reader that uses the sdhci interface > and is supported by FBSD 7.2 (supported = wireless,X,USB). $USD300 (like the > AA1-D250) is the desired price point, but > up to about $USD400 is OK (as is FBSD 8.0, if the hardware is right). If you > have any pointers, please > include the sub-model information, because if it's anything like the Asus, the > hardware varies all over the place, and > 'Aspire One' means less than 'D250' or 'AO150'. > > Thank you, > David > Acer Aspire One D150. note 'Acer' ! is what i'd recommend. This is a hard-disk netbook. Here are the complete hardware and installation details http://www.twincling.org/node/451 The website http://www.acer.com/aspireone/about.html In India it costed me about INR 21,500 (or $430) in March 2009. YMMV. thanks Saifi. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 10:13:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F81106566B for ; Wed, 2 Sep 2009 10:13:02 +0000 (UTC) (envelope-from racerx@makeworld.com) Received: from omr11.networksolutionsemail.com (omr11.networksolutionsemail.com [205.178.146.61]) by mx1.freebsd.org (Postfix) with ESMTP id B543D8FC1B for ; Wed, 2 Sep 2009 10:13:01 +0000 (UTC) Received: from mail.networksolutionsemail.com (ns-omr11.mgt.hosting.dc2.netsol.com [10.49.6.74]) by omr11.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id n82AD03U012928 for ; Wed, 2 Sep 2009 06:13:00 -0400 Received: (qmail 21046 invoked by uid 78); 2 Sep 2009 10:13:00 -0000 Received: from unknown (HELO chris.makeworld.com) (racerx@makeworld.com@71.113.147.228) by ns-omr11.lb.hosting.dc2.netsol.com with SMTP; 2 Sep 2009 10:13:00 -0000 Date: Wed, 2 Sep 2009 05:12:25 -0500 From: Chris To: freebsd-questions@freebsd.org Message-ID: <20090902051225.0f273d68@chris.makeworld.com> In-Reply-To: <53615301@bb.ipt.ru> References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> <20090902002518.1c874530@chris.makeworld.com> <35693951@bb.ipt.ru> <20090902010854.386d44d4@chris.makeworld.com> <53615301@bb.ipt.ru> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXi3dqyw94hEhGjoaq+y+LY09f57uT1UEQZAAAB2klEQVQ4jZWTTXucIBDHp271bmLvKYQ9E4ieNy3eiS6efdbH+f4foTMQXdn20jmgzI//vInwVv/b4P/BcfM8yrcH0Fx5NaoQOWj8/FHXT0J04mcG+gq/904IoW5R4pyLoAkTzvCNgFhJ4twOSDHDiUFnVHMHPZAfBgbnwe6g6SGaYSBvwwaa3h+AmIf3BJj3AeDqol9MZgc1AefqpkhARACcg57U3jNyLIXmlfaX6j6rp26h3POZQAgeD0BaKyujzOsFARg4R3l4UlboQcjhfUIySAOgJEZIM1oCuoogtUOEUks/jqLQUB2B45pab3+MPlek/mxox5jiEchTW1Y5+IhAl0JBHup3FEApXqgJnBHcEWgCOo66ygAJgqCPQLHu4BcBijJKjsQ5jm1osKDgy7ai1pRC6wdwwYFBAH8AIVyvE64MoOT7Ei0EXqYVScJgE5A0hEBV0F2kpqneEI+y4tNzeSS5iZZPfYE+pGkidWVoups/TYxtjrpyB5sfJz6ykt/nYDkjX/m/FeaFO0Dc/BtYpOSVgvkcmInBjSrMFYtCS4+ho+qy5GZCw420uJPoXymOodNmjLsEuLFTl8LYJZ7z/E/GN45fdDjLpUuSikGFcVsoOEnQW/9/AJaO5Ofd/Vd2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 10:13:02 -0000 On Wed, 02 Sep 2009 10:42:02 +0400 Boris Samorodov wrote: > On Wed, 2 Sep 2009 01:08:54 -0500 Chris wrote: > > On Wed, 02 Sep 2009 09:50:08 +0400 > > Boris Samorodov wrote: > > > On Wed, 2 Sep 2009 00:25:18 -0500 Chris wrote: > > > > > Thanks - although, this seems a moot point if one sticks with > > > > RELEASE (until a point release that is I suppose). > > > > > > Packges are build for STABLE as well: > > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > > > I do realize this however, if one stays with RELEASE (and not deal > > with the possible (I did say possible) headaches of a changing base > > system) then (as I read it from the Handbook) updating packages is > > moot. They won't change until the next point release. > > The thing is that those packages (called FreeBSD-stable-packages) > can (and imo) should be used with RELEASE either. The ports tree > is always HEAD. And -stable- for packages means only that they > were build after -release- packages. > I'll paraphrase what you said as I understand you; Upgrading packages to a RELEASE system (by way of setting set PACKAGESITE to reflect: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/) Would indeed keep them updated whereas the default PACKAGESITE setting would do nothing more then install the packages that were created at the time of RELEASE. So in short, Yes, there is a way I can run RELEASE while still getting updated packages using pkg_upgrade as long as I set PACKAGESITE. Now - I just need that last question answered about mounting ext2 and I'm off to install. -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 11:15:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EC6106566B for ; Wed, 2 Sep 2009 11:15:29 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id AF4E28FC0C for ; Wed, 2 Sep 2009 11:15:28 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1MinoF-000PTU-Cj for freebsd-questions@freebsd.org; Wed, 02 Sep 2009 15:15:27 +0400 From: Boris Samorodov To: freebsd-questions@freebsd.org References: <20090901171553.446cdfa5@chris.makeworld.com> <67860391@bb.ipt.ru> <20090902002518.1c874530@chris.makeworld.com> <35693951@bb.ipt.ru> <20090902010854.386d44d4@chris.makeworld.com> <53615301@bb.ipt.ru> <20090902051225.0f273d68@chris.makeworld.com> Date: Wed, 02 Sep 2009 15:15:31 +0400 In-Reply-To: <20090902051225.0f273d68@chris.makeworld.com> (Chris's message of "Wed, 2 Sep 2009 05:12:25 -0500") Message-ID: <10738892@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Upgrading packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 11:15:29 -0000 On Wed, 2 Sep 2009 05:12:25 -0500 Chris wrote: > I'll paraphrase what you said as I understand you; > Upgrading packages to a RELEASE system (by way of setting set > PACKAGESITE to reflect: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/) > Would indeed keep them updated whereas the default PACKAGESITE setting > would do nothing more then install the packages that were created at the > time of RELEASE. > So in short, Yes, there is a way I can run RELEASE while still getting > updated packages using pkg_upgrade as long as I set PACKAGESITE. Correct. > Now - I just need that last question answered about mounting ext2 and > I'm off to install. Not me, sorry. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 11:27:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53D1A1065676 for ; Wed, 2 Sep 2009 11:27:01 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id E24C78FC17 for ; Wed, 2 Sep 2009 11:27:00 +0000 (UTC) Received: (qmail 46548 invoked from network); 2 Sep 2009 11:27:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=xTDxmzx5OrpmusBv3BBi+yNk1B2jR174Mjn4TLAxsIl79PKE8qq1OQqckKhzCPE3ykWyGv6jYtbxFRWfnLk9B2DTmKF3VBykv/7m1GKwKMwjZXq8PsqN4ekOkYvTkhjL5KAJkZzMfIyDoIQMJQeaj4LOmo3UDzw39qMjEnGUCwg= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 02 Sep 2009 04:26:59 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: KG3L7AgVM1kbeTZcChqdUzeIhXlGIKD6Y00cFUVSEiK8e_DnkQ70Zmq6BjlsZWODGi8iskYsglGMqDjI2I3lCakiRiShEnb.Ai7BNICYSGUgnAf1Uw5ScezkV6tp2odUqYXEY2EFO4cHVrvA4bi6wMxzKlT0Axr4JqnGgVZQnFSL3A903z0yXoNJERnEBZb0WgYlgfmn8f9QxvgLjegU6SxepE73JKlcV0XNTDK2lI__3LcxI6RkIji.kzINVREi900LX905geuqRnPZ03yUyF_HyxQgAuo6gPb1RLtg85a0EbkgLLT0El1tic.JjIWyAprjByczgATMPQNaM0PIQoxVbnZrVUmigfBjQg-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 99D582282F for ; Wed, 2 Sep 2009 07:26:59 -0400 (EDT) Date: Wed, 2 Sep 2009 07:26:59 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090902072659.7829da56@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 11:27:01 -0000 I have set up several 'alias' definitions in my .bashrc file. They are honored when run as either a regular user or as root. However, when I prefix a command with 'sudo', the alias is no longer honored. In other words, the actual command is run;however, any flags that I was passing to it via 'alias' are lost. How can I circumvent this annoyance. Example, I often use 'pico' from within 'xterm'. I set up an alias that causes pico to use the mouse; i.e., pico -m which works fine as long as I do not prefix the command with 'sudo' -- Jerry gesbbb@yahoo.com I just need enough to tide me over until I need more. Bill Hoest From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 12:30:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0E51065670 for ; Wed, 2 Sep 2009 12:30:16 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8F25A8FC0C for ; Wed, 2 Sep 2009 12:30:16 +0000 (UTC) Received: by ywh29 with SMTP id 29so1143323ywh.33 for ; Wed, 02 Sep 2009 05:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hsK3A0OpLbCJrKiirxaFeK5bQ9//GgR+jULYjnf6MJs=; b=oKOX2olQ70KwssTSxqNqvL1HNSQmcYtsITrlcyCVoEDLdc7yy5GrJOa92/zCp6j2sp RV4JpjrgIzKwqEUjFrgxywYgZMHqNwPNpZL32bqprsAHoJyWmSKrDSg3xwNh28KWlZ5R s83YvORBKuz8Fs9oK7KXjDMLF87q+NelRGykw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kMrjc+1T/i9lrCEo/ZfPPCpxh2vsZN7u0pNAcNQ1it6aQVRPWRW3mBC9Tj3bMWp3x6 0zxOp5QXwOw0+I+w94zqYXC7R6nqiCU2YRKxIOq2gvC/A6ZYU/0Tk8sFitOZ2e26tWbL ItgNusq1j3f8yeHI4Wu0RmadAmZ9Ine8y/WWk= MIME-Version: 1.0 Received: by 10.150.61.3 with SMTP id j3mr13839872yba.76.1251894615746; Wed, 02 Sep 2009 05:30:15 -0700 (PDT) In-Reply-To: References: <80f4f2b20909010644j7962dc4cub71e725d083072ef@mail.gmail.com> <20090901155059.GA56945@slackbox.xs4all.nl> <80f4f2b20909010940u460a7b81r6372f48690ac1246@mail.gmail.com> Date: Wed, 2 Sep 2009 08:30:15 -0400 Message-ID: <80f4f2b20909020530w36ab8309k5595b5672e722579@mail.gmail.com> From: Jim To: "b. f." Content-Type: text/plain; charset=ISO-8859-1 Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 12:30:16 -0000 On Tue, Sep 1, 2009 at 1:39 PM, b. f. wrote: > You've given some of your reasons for using amd64 -- but are your > reasons for using 32-bit binaries on amd64 strong enough to make all > of this worthwhile? Why not just use 64-bit binaries for all but the > 32-bit-only ports? Sure, some 32-bit applications will actually run > faster (the opposite is also often true) or use fewer resources, but > is it worth the hassle? Mostly that's what I want to do. However I'd like to do some Python QT development with PyQT4, and would like to test the performance using py-psycho (i386 bit only). In that situation, I'm not sure if I'll have to install QT4 as 32 bit or not, likewise for X... It's a bit messy, but we'll see what happens. Thanks for all the advice and help, -Jim Stapleton From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 12:33:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48387106566B for ; Wed, 2 Sep 2009 12:33:50 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1B51F8FC1E for ; Wed, 2 Sep 2009 12:33:50 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 69F57EBC0A; Wed, 2 Sep 2009 08:33:49 -0400 (EDT) Date: Wed, 2 Sep 2009 08:33:48 -0400 From: Bill Moran To: Per olof Ljungmark Message-Id: <20090902083348.40c21529.wmoran@potentialtech.com> In-Reply-To: <4A9DB590.6080605@intersonic.se> References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> <4A9DB590.6080605@intersonic.se> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 12:33:50 -0000 In response to Per olof Ljungmark : > Dan Nelson wrote: > > In the last episode (Sep 01), Bill Moran said: > >> In response to Per olof Ljungmark : > >>> What is a good way to find out how memory is used? Have a 6.4 box where > >>> memory is used by something but I fail to see what is using it - tried > >>> different switches to ps(1), tried the stat tools but a big chunk of > >>> memory does not show at all. > >>> > >>> A proper tool for analyzing memory usage "live", this is a production > >>> box? > >> I've always been able to get what I need from top. You can do -o res to > >> sort by resident memory usage, which helps. > > > > ps will sort by memory usage when given the -m flag. Also check ipcs -a to > > see if there are any sysv shared memory segments hanging arnound. If you > > don't see anything using the memory, where are you seeing that "something" > > is using it? > > > > ...and here is top output after I stopped Postfix, slapd and Cyrus-IMAP. > Still over 3G Active. You did not sort by res and there are only 40 processes showing, which means your output is truncated and may have truncated the problematic process. Please use "top -o res" to get the output sorted by memory usage, or don't truncate the output (former preferred). Also, please provide the output of "ipcs -a" -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:08:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B71421065692 for ; Wed, 2 Sep 2009 13:08:39 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [64.146.239.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1B38FC08 for ; Wed, 2 Sep 2009 13:08:39 +0000 (UTC) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n82D8aG7029338; Wed, 2 Sep 2009 06:08:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1251896917; bh=V4QhwQBDArMe0ois5N+pBpPnOj+fskgTCNaF9CmAkvw=; h=From:To:Subject:Date:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=sL/ffnwiNQNFa /Xy1cXRyJIlK3FSSu43lpLe6zDtiMPvDeZUOesh8QX2cujaOOFwutx5a6J6DnUREgdH 3grKh98FPNwFxLu0ITq75cpWdr4Jru8mzYigbgin08p0tz+bpc+KAiYnVEqAHWCGHm9 ulYmxNc/tFJglqArgiig85yA= From: Kent Stewart To: freebsd-questions@freebsd.org, d.forsyth@ru.ac.za Date: Wed, 2 Sep 2009 06:08:36 -0700 User-Agent: KMail/1.9.10 References: <4A9E476D.13800.3D61987B@d.forsyth.ru.ac.za> In-Reply-To: <4A9E476D.13800.3D61987B@d.forsyth.ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909020608.36523.kstewart@owt.com> Cc: Subject: Re: portupgrade broken, and apr won't build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:08:39 -0000 On Wednesday 02 September 2009 01:22:37 am DA Forsyth wrote: > Hiya all > > Something weird going on with portypgrade (and maybe ports in > general) here. Somewhere between last months upgrade and this month, > portupgrade has started to ignore ports that are reported by > portversion as needing upgrading. The result is I have to force each > one, one at a time. Big schlep. > > For example > > > portversion -v | grep samba > > samba-3.0.35,1 < needs updating (port has 3.0.36,1) > > > portupgrade -vr samba > > ---> Session started at: Wed, 02 Sep 2009 10:18:47 +0200 > ** None has been installed or upgraded. > ---> Session ended at: Wed, 02 Sep 2009 10:18:47 +0200 (consumed > 00:00:00) > > The other thing is that devel/apr will not build. The make stops > with this > ... > checking whether it is safe to define __EXTENSIONS__... yes > checking for library containing strerror... none required > checking whether system uses EBCDIC... no > performing libtool configuration... > ./configure: 9753: Syntax error: word unexpected (expecting ")") > *** Error code 2 > > Stop in /usr/ports/devel/apr. > *** Error code 1 > > Stop in /usr/ports/devel/apr. > > I cvsup every Monday morning. I tried the upgrades last week but got > these failures and decided to wait a week and see if there are fixes. > Apparently not. I also had to manually fix the openssl distfile > (missing MD5 and SH256) so that it would actually download the > missing patch and confirm it. I have never had so much trouble with > the port system, who broke it? <-: > > Any ideas? My experience with portupgrade problems like this is that your INDEX-? and INDEX-?.db aren't being created properly after cvsuping. Portversion doesn't depend on them but portupgrade does. The INDEX-? that you download is always out of date. I use p5-FreeBSD-Portindex to keep them incrementally up todate, which is much faster then building the INDEX from scratch. After awhile, you have a mess and things don't build because the dependencies haven't been built. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:32:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36DC6106566C for ; Wed, 2 Sep 2009 13:32:39 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id EC2DD8FC14 for ; Wed, 2 Sep 2009 13:32:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9E73F2.2000908@intersonic.se> Date: Wed, 02 Sep 2009 15:32:34 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Bill Moran References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> <4A9DB590.6080605@intersonic.se> <20090902083348.40c21529.wmoran@potentialtech.com> In-Reply-To: <20090902083348.40c21529.wmoran@potentialtech.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:32:39 -0000 Bill Moran wrote: > In response to Per olof Ljungmark : > >> Dan Nelson wrote: >>> In the last episode (Sep 01), Bill Moran said: >>>> In response to Per olof Ljungmark : >>>>> What is a good way to find out how memory is used? Have a 6.4 box where >>>>> memory is used by something but I fail to see what is using it - tried >>>>> different switches to ps(1), tried the stat tools but a big chunk of >>>>> memory does not show at all. >>>>> >>>>> A proper tool for analyzing memory usage "live", this is a production >>>>> box? >>>> I've always been able to get what I need from top. You can do -o res to >>>> sort by resident memory usage, which helps. >>> ps will sort by memory usage when given the -m flag. Also check ipcs -a to >>> see if there are any sysv shared memory segments hanging arnound. If you >>> don't see anything using the memory, where are you seeing that "something" >>> is using it? >>> >> ...and here is top output after I stopped Postfix, slapd and Cyrus-IMAP. >> Still over 3G Active. > > > > You did not sort by res and there are only 40 processes showing, which > means your output is truncated and may have truncated the problematic > process. > > Please use "top -o res" to get the output sorted by memory usage, or > don't truncate the output (former preferred). > > Also, please provide the output of "ipcs -a" > There was no more processes... ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:43:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6199E1065695 for ; Wed, 2 Sep 2009 13:43:43 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id CB8D68FC1F for ; Wed, 2 Sep 2009 13:43:42 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id D6516EBC0A; Wed, 2 Sep 2009 09:43:41 -0400 (EDT) Date: Wed, 2 Sep 2009 09:43:37 -0400 From: Bill Moran To: Per olof Ljungmark Message-Id: <20090902094337.cb820a76.wmoran@potentialtech.com> In-Reply-To: <4A9E73F2.2000908@intersonic.se> References: <4A9D8057.8020307@intersonic.se> <20090901162931.d85ec256.wmoran@potentialtech.com> <20090901204147.GC2855@dan.emsphone.com> <4A9DB590.6080605@intersonic.se> <20090902083348.40c21529.wmoran@potentialtech.com> <4A9E73F2.2000908@intersonic.se> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:43:44 -0000 In response to Per olof Ljungmark : > Bill Moran wrote: > > In response to Per olof Ljungmark : > > > >> Dan Nelson wrote: > >>> In the last episode (Sep 01), Bill Moran said: > >>>> In response to Per olof Ljungmark : > >>>>> What is a good way to find out how memory is used? Have a 6.4 box where > >>>>> memory is used by something but I fail to see what is using it - tried > >>>>> different switches to ps(1), tried the stat tools but a big chunk of > >>>>> memory does not show at all. > >>>>> > >>>>> A proper tool for analyzing memory usage "live", this is a production > >>>>> box? > >>>> I've always been able to get what I need from top. You can do -o res to > >>>> sort by resident memory usage, which helps. > >>> ps will sort by memory usage when given the -m flag. Also check ipcs -a to > >>> see if there are any sysv shared memory segments hanging arnound. If you > >>> don't see anything using the memory, where are you seeing that "something" > >>> is using it? > >>> > >> ...and here is top output after I stopped Postfix, slapd and Cyrus-IMAP. > >> Still over 3G Active. > > > > > > > > You did not sort by res and there are only 40 processes showing, which > > means your output is truncated and may have truncated the problematic > > process. > > > > Please use "top -o res" to get the output sorted by memory usage, or > > don't truncate the output (former preferred). > > > > Also, please provide the output of "ipcs -a" > > There was no more processes... >From your top output: > 45 processes: 1 running, 44 sleeping There were 40 processes listed, so there were 5 not shown. > ipcs -a OK, this verifies that nothing is tied up in shared memory. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:53:45 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C861F1065670 for ; Wed, 2 Sep 2009 13:53:45 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 7D46E8FC08 for ; Wed, 2 Sep 2009 13:53:45 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so353455and.13 for ; Wed, 02 Sep 2009 06:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=TsWQnEB+mPu1nH90zWSBuaHxGHobuBqIIxmEbNwbn8U=; b=wyNEpyJ0eHO2CLix5f0gXvl1U60AX1FzxENq30b5Y7j/h9SDXmDjpKlKFqV9btiVpI wDfe/FCDUzQM+tye/d1Ff4lxM+qkRlC2vVt35i5402cIS3vcbU15nQfFouYyTT9iATle +mpWb3AqnqOrU/Cb+cG3JaBunO4iz60myzZ00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=x4t0EgApKsFlMLycrUqsZ/fJVB9i47EfqhWXK5cLpDuhO4wRJA8PKVCS/R7iQ/PBQ/ MTERVecuqf1UZXDM8+swR96QIMwHCKisBVlqMIT3glPzbCRvZl9IFmJUVmpStOIcAxq6 583787PPH8370pgwbXlTtHSht1vMO2BIvj+gk= Received: by 10.101.89.10 with SMTP id r10mr9316272anl.1.1251899624887; Wed, 02 Sep 2009 06:53:44 -0700 (PDT) Received: from ?192.168.6.250? ([201.21.144.81]) by mx.google.com with ESMTPS id 23sm1828413ywh.15.2009.09.02.06.53.42 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 06:53:44 -0700 (PDT) From: Sergio de Almeida Lenzi To: freebsd-questions In-Reply-To: <20090902051927.GA78814@slackbox.xs4all.nl> References: <0016e64cae6a217e26047290e16e@google.com> <20090902051927.GA78814@slackbox.xs4all.nl> Date: Wed, 02 Sep 2009 10:53:40 -0300 Message-Id: <1251899620.8690.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:53:45 -0000 Hello Thanks Roland for the parameters in the mplayer/mencoder... To make things easier.. I recomend to create a profile in the directory ~/.mplayer/mencoder.conf with the content: ========================================================= [pal] oac=lavc=yes ovc=lavc=yes lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=6000:vbitrate=4000 Lavcopts=keyint=15:trell=yes:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10 lavcopts=predia=-10:cbp=yes:mv0=yes:aspect=16/9 lavcopts=vqmin=1:lmin=1:dc=10:vstrict=0 lavcopts=acodec=ac3:abitrate=192 lavcopts=lumi_mask=0.2:dark_mask=0.15:scplx_mask=0.2:tcplx_mask=0.1 vf=scale=720:576,harddup=yes af=lavcresample=48000 mpegopts=format=dvd:tsaf=yes of=mpeg=yes srate=48000 channels=2 ofps=25 [pal_cinemascope] profile=pal vf=scale=720:432,expand=720:576,harddup=yes ========================================================== Or using the options from Roland.... extract the stream (as Roland said...) mplayer dvd://1 -dumpstream -dumpfile dvd.mpg crop detect... mplayer -vf cropdetect dvd.mpg and then finally encode with mencoder using the profile above and Roland's example... mencoder -profile pal -vf crop=704:416:10:80 dvd.mpg -o film.mpg the result will be a high definition video with 1024x576 PAL (25 fps) 16:9 aspect with audio AC3 192Kbps (plays using HDMI) in any dvd player... or in your computer. if the source (dvd.mpg) is in 2.35/1 ratio use -profile pal_cinemascope and mencoder will adjust the aspect for the video. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 13:59:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A0461065670 for ; Wed, 2 Sep 2009 13:59:35 +0000 (UTC) (envelope-from memberservice@vbv.com) Received: from flanagan-flooring.com (flanaganmillpond.plus.com [84.92.14.226]) by mx1.freebsd.org (Postfix) with SMTP id CCB908FC1F for ; Wed, 2 Sep 2009 13:59:31 +0000 (UTC) Received: from vbv.com ([70.248.165.94]) by flanagan-flooring.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 14:47:06 +0100 From: Wal-Mart Services To: freebsd-questions@freebsd.org Date: 02 Sep 2009 08:46:46 -0500 Message-ID: <20090902084645.E1A6D02A36D398DE@vbv.com> Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 02 Sep 2009 13:47:06.0890 (UTC) FILETIME=[DC60B6A0:01CA2BD3] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You have one new message from Wal-Mart X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 13:59:35 -0000 You have been selected to access the Walm= art 2=20 Steps Survey and win a $150.00 gift certificate. Please [1]Click=20 Here and complete the form to receive your reward. Thank you. This is an automated message. Please don'= t reply.=20 Message ID: 0019362574-WMRTSRV. References 1. 3D"http://www.mathx.be/pag= From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 14:24:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C278106566C for ; Wed, 2 Sep 2009 14:24:42 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 496028FC15 for ; Wed, 2 Sep 2009 14:24:42 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9D5BA7E821; Wed, 2 Sep 2009 06:24:52 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Wed, 2 Sep 2009 16:24:37 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A9D8057.8020307@intersonic.se> <4A9D89CB.6060206@intersonic.se> <4A9D8FDB.9040908@prgmr.com> In-Reply-To: <4A9D8FDB.9040908@prgmr.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909021624.38655.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Michael David Crawford Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 14:24:42 -0000 On Tuesday 01 September 2009 23:19:23 Michael David Crawford wrote: > Per olof Ljungmark wrote: > > Well, my problem is that if I add up all I *can* see in top or ps it > > never gets near the by now 3G plus memory shown as "Active". Maybe one > > gig is accounted for, > > I'm not that familiar with FreeBSD yet, but the kernel uses memory which > might not be charged against any process. > > For example, to map some virtual memory requires memory to store the > mappings in. > > Open files have kernel structures, as do filesystems. > > If top or ps were only to show userspace memory allocations, then you're > right, a lot of memory would be unaccounted for. It doesn't for the Active to Free states. For individual processes, everything is shown that the process allocates. So for a file descriptor, an int would be allocated, where the kernel holds the real info. This is one cause for filled Active memory: a process polling multiple file descriptors, like a File Alteration Monitor under current desktops. The other, as Dan Nelson described, is file cache. If you want to be sure it's this, then reboot the machine and run: /etc/periodic/security/100.chksetuid You should see memory usage going up. If this causes a performance problem (i.e. You sometimes are subject to heavily increasing loads on a mailserver, that causes a lot of forks and file cache memory isn't unloaded fast enough), then you should either disable the security check or properly seperate data from binaries using partitions and mount data partitions with nosuid/noexec, so that these are omitted from the daily checks. -- Mel From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 15:13:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A72601065692 for ; Wed, 2 Sep 2009 15:13:56 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 661588FC0A for ; Wed, 2 Sep 2009 15:13:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <4A9E8BB0.1020107@intersonic.se> Date: Wed, 02 Sep 2009 17:13:52 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Mel Flynn References: <4A9D8057.8020307@intersonic.se> <4A9D89CB.6060206@intersonic.se> <4A9D8FDB.9040908@prgmr.com> <200909021624.38655.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200909021624.38655.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Michael David Crawford Subject: Re: memory usage displsy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 15:13:56 -0000 Mel Flynn wrote: > On Tuesday 01 September 2009 23:19:23 Michael David Crawford wrote: >> Per olof Ljungmark wrote: >>> Well, my problem is that if I add up all I *can* see in top or ps it >>> never gets near the by now 3G plus memory shown as "Active". Maybe one >>> gig is accounted for, >> I'm not that familiar with FreeBSD yet, but the kernel uses memory which >> might not be charged against any process. >> >> For example, to map some virtual memory requires memory to store the >> mappings in. >> >> Open files have kernel structures, as do filesystems. >> >> If top or ps were only to show userspace memory allocations, then you're >> right, a lot of memory would be unaccounted for. > > It doesn't for the Active to Free states. For individual processes, everything > is shown that the process allocates. So for a file descriptor, an int would be > allocated, where the kernel holds the real info. > > This is one cause for filled Active memory: a process polling multiple file > descriptors, like a File Alteration Monitor under current desktops. > > The other, as Dan Nelson described, is file cache. If you want to be sure it's > this, then reboot the machine and run: > /etc/periodic/security/100.chksetuid > > You should see memory usage going up. If this causes a performance problem > (i.e. You sometimes are subject to heavily increasing loads on a mailserver, > that causes a lot of forks and file cache memory isn't unloaded fast enough), > then you should either disable the security check or properly seperate data > from binaries using partitions and mount data partitions with nosuid/noexec, > so that these are omitted from the daily checks. Thank you all for the informative answers, helped a lot to understand better what is going on. I cannot run 100.chksetuid on a production server but I will definitely do it on the testing one. Cheers, -- per From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 15:49:29 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B697E106566C for ; Wed, 2 Sep 2009 15:49:29 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC4B8FC15 for ; Wed, 2 Sep 2009 15:49:28 +0000 (UTC) Received: by vws27 with SMTP id 27so861512vws.3 for ; Wed, 02 Sep 2009 08:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hc1HfQNHuWS/CV6FNCU54ld+A5wfe+POCsXW6ns6Wy4=; b=iG0/ltW9UzGpd6HQOSDM4qFrh4MNC5FP7NgwNoohB2os4i+xuSPtqK03dWD5AzDt4i N36vyiQ+dNp57YsLxxnUfE+0jRQXmpc9L5cG7HQZ95RBr2tyr+jbxTB4hZPuyejtJ7oe 01fYrXBh5mxhAMeRMtTgrn5LH/7d7EXl231hY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ptoZnvMabyr30WcLbQmgq5IooHo7aGrKwS9aov3Sn1y5ze3MU2PAR25qkX6wmr08I4 +wmUA1Y9DBjU3TTkbrILAFftAcMKvp8sAfv0I6YuqI8Do+uVQa0tdFu9qHdY+NuRzKSg +5AW7sJarGxx1XgObLShn2ULfmbTzIEW09LIU= MIME-Version: 1.0 Received: by 10.220.88.15 with SMTP id y15mr11099424vcl.62.1251904673511; Wed, 02 Sep 2009 08:17:53 -0700 (PDT) In-Reply-To: <1251899620.8690.13.camel@localhost> References: <0016e64cae6a217e26047290e16e@google.com> <20090902051927.GA78814@slackbox.xs4all.nl> <1251899620.8690.13.camel@localhost> Date: Wed, 2 Sep 2009 09:17:53 -0600 Message-ID: <340a29540909020817v3b245ecdv21aed16460e690aa@mail.gmail.com> From: Andrew Falanga To: Sergio de Almeida Lenzi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 15:49:29 -0000 On Wed, Sep 2, 2009 at 7:53 AM, Sergio de Almeida Lenzi < lenzi.sergio@gmail.com> wrote: > Hello > > Thanks Roland for the parameters in the mplayer/mencoder... > > To make things easier.. I recomend to create a profile > in the directory ~/.mplayer/mencoder.conf with the content: > ========================================================= > [pal] > oac=lavc=yes > ovc=lavc=yes > lavcopts=vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=6000:vbitrate=4000 > Lavcopts=keyint=15:trell=yes:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10 > lavcopts=predia=-10:cbp=yes:mv0=yes:aspect=16/9 > lavcopts=vqmin=1:lmin=1:dc=10:vstrict=0 > lavcopts=acodec=ac3:abitrate=192 > lavcopts=lumi_mask=0.2:dark_mask=0.15:scplx_mask=0.2:tcplx_mask=0.1 > vf=scale=720:576,harddup=yes > af=lavcresample=48000 > mpegopts=format=dvd:tsaf=yes > of=mpeg=yes > srate=48000 > channels=2 > ofps=25 > > [pal_cinemascope] > profile=pal > vf=scale=720:432,expand=720:576,harddup=yes > ========================================================== > > Or using the options from Roland.... > extract the stream (as Roland said...) mplayer dvd://1 -dumpstream > -dumpfile dvd.mpg > crop detect... mplayer -vf cropdetect dvd.mpg > > and then finally encode with mencoder using the profile above and > Roland's example... > > mencoder -profile pal -vf crop=704:416:10:80 dvd.mpg -o film.mpg > > the result will be a high definition video with 1024x576 PAL (25 fps) > 16:9 aspect with audio AC3 192Kbps (plays using HDMI) > in any dvd player... or in your computer. > if the source (dvd.mpg) is in 2.35/1 ratio use -profile pal_cinemascope > and mencoder will adjust the aspect for the video. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > To both, thanks a bunch for this information. This is awesome! I can't wait to install and try. -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 16:40:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20107106568B for ; Wed, 2 Sep 2009 16:40:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-vw0-f189.google.com (mail-vw0-f189.google.com [209.85.212.189]) by mx1.freebsd.org (Postfix) with ESMTP id C7F9C8FC29 for ; Wed, 2 Sep 2009 16:40:53 +0000 (UTC) Received: by vws27 with SMTP id 27so905101vws.3 for ; Wed, 02 Sep 2009 09:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=WSJq9cGphoJeCFwkAth9EKwFyyl4vN0C9loVDZ3TsY4=; b=WItXuQZauTPx1Cp4wpeZsP4nk34HqllhXuRh76X52VCxB5dWpS4aFyWYMU+HUqGxYX TPvPaTHgfNNDpZWPoQLa//3vThxtXfk3c4/PVX0QMamtvqveFnEu+PnaLZvaMuUMZdMr gWoL8/9fpifus0lEGGSydXMSmVkwuOednFlrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o2UeMv4Axj1G2ItlIwt135INAji2+B0NNCYeEac2qVCBjvkcpJgy+SPOhv6Jkg64WR 4C2n6nNUHYR3SzahV5C+r9jZJMKC2KrDIxY+OXcMTuHvSY9lZvf4uM1TamWy0CsMu1V1 oCzxuLvuXjFvxJBHYXp58NTu5UtLdqqDkaGn0= MIME-Version: 1.0 Received: by 10.150.235.8 with SMTP id i8mr13002103ybh.329.1251909652931; Wed, 02 Sep 2009 09:40:52 -0700 (PDT) In-Reply-To: <20090902051927.GA78814@slackbox.xs4all.nl> References: <0016e64cae6a217e26047290e16e@google.com> <20090902051927.GA78814@slackbox.xs4all.nl> Date: Wed, 2 Sep 2009 11:40:52 -0500 Message-ID: <6201873e0909020940p2ccd37c8x6d2f36d4d6f07e85@mail.gmail.com> From: Adam Vande More To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" , af300wsm@gmail.com Subject: Re: having problems copying a dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 16:40:54 -0000 On Wed, Sep 2, 2009 at 12:19 AM, Roland Smith wrote: > On Wed, Sep 02, 2009 at 04:41:24AM +0000, af300wsm@gmail.com wrote: > > Hi, > > > > I'm trying to make a copy of a dvd that I have, video, using a technique > > that I gleaned from this list nearly two years ago that has always worked > > but now I'm having problems. (When I say always, please bear in mind that > I > > don't do this every day or even frequently). You'll also see calls to dd. > > These were attempts at "last ditch effort." I usually just use the copy > > command (got it from a thread entitled, "copying a dvd video," from > > November of 07). If dd will work but I just forgot to get the block size > > right, what is that supposed to be. > > My preferred technique is to use mplayer: > > mplayer dvd://1 -dumpstream -dumpfile dvd.mpg > > Be sure to play the DVD with mplayer to check which track is actually the > movie. Usually it is track #1, but not always. > > After copying the stream, I tend to re-encode it for backup purposes with > the > H.264 video codec with MP3 sound, which makes it a lot smaller. The first > step > is to watch the mpeg and see if there are black stripes around the picture: > > mplayer -vf cropdetect dvd.mpg > > This will give you a continuous list of crop lines, e.g: > [CROP] Crop area: X: 1..719 Y: 74..500 (-vf crop=704:416:10:80).0 > > Next step is to re-encode the mpeg file in two steps for enhanced quality, > including the crop information, if any: > > mencoder title.mpg -ovc x264 \ > -x264encopts subq=4:bframes=3:b_pyramid:weight_b:qp=18:threads=auto:pass=1 > \ > -idx -oac mp3lame -vf crop=704:416:10:80 -o /dev/null; \ > mencoder title.mpg -ovc x264 -x264encopts \ > subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:\ > b_pyramid:weight_b:qp=18:threads=auto:pass=2 -vf crop=704:416:10:80 \ > -idx -oac mp3lame -o title.avi; > > If you want to include a specific language or subtitle, don't forget to > include the correct options for that; see the mplayer manual. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > multimedia/transcode is good option as well. tccat will dump track vob without borders, use tcprobe to find track you wish to dump. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 16:54:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8AB5106566C for ; Wed, 2 Sep 2009 16:54:43 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 321EC8FC0C for ; Wed, 2 Sep 2009 16:54:42 +0000 (UTC) Received: by ewy4 with SMTP id 4so1012307ewy.36 for ; Wed, 02 Sep 2009 09:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LSB9kOgG5oGKCVY0A0VJpOFb2Bxx8nOcnKWqlT6euvk=; b=XSPLnq4aH12rnvvB62j+2nl0+lY+Cbe7M9pwYhpGfqi4kVi1VkFgR7GO9Kz9P4JTcs miijY/r3GF38QslnBdvnK4jCxf/ajyEGtVDt5YU8ZOfjalnWvylOR795zuDArbFeys6f uBWpQkRF2DQjVazGTPZjkSkmNhcqKHJxY89vg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hpyDtH3TsDUXbFM7uumH6E79Q7sHz1Co4SaWHoX3lp9JZDC8ttHgVTuhE2mTVaP+I1 InFIG+HrbKWNNzxos7rL2GzJ4X3wT1QrYrSs8bKhUWODSF00Kr3ghS9qrsNXD+MDaagf Ya40lw3Bgo7zjlcv+UjV238P0rCrzBsHEU128= MIME-Version: 1.0 Received: by 10.210.3.21 with SMTP id 21mr9068143ebc.40.1251910482054; Wed, 02 Sep 2009 09:54:42 -0700 (PDT) In-Reply-To: <4A9E1D63.8030101@mapper.nl> References: <4A9E1D63.8030101@mapper.nl> Date: Wed, 2 Sep 2009 09:54:41 -0700 Message-ID: From: Kurt Buff To: Mark Stapper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Daily security report oddity... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 16:54:43 -0000 On Wed, Sep 2, 2009 at 00:23, Mark Stapper wrote: > Kurt Buff wrote: >> I got a daily security run email from one of my machines on Monday >> morning, with the following entry: >> >> =C2=A0 =C2=A0 =C2=A0zmx1.zetron.com login failures: >> =C2=A0 =C2=A0 =C2=A0Aug 30 06:57:17 zmx1 su: BAD SU mlee to root on /dev= /ttyp2 >> =C2=A0 =C2=A0 =C2=A0Aug 30 09:42:17 zmx1 su: BAD SU mlee to root on /dev= /ttyp0 >> >> What's puzzling is that this account has been completely inactive for >> well over a year - this fellow is long gone, and I simply didn't clean >> it up - that's my bad, but that's not the puzzling part. >> >> I traced it down, and found out that he had not logged in on Sunday. >> The auth.log is, as you can see from the listing below, quite old. The >> entries referenced above are from two years ago. >> >> =C2=A0 =C2=A0 =C2=A0 zmx1# ll /var/log/a* >> =C2=A0 =C2=A0 =C2=A0 -rw------- =C2=A01 root =C2=A0wheel =C2=A071845 Sep= =C2=A01 15:42 /var/log/auth.log >> =C2=A0 =C2=A0 =C2=A0 -rw------- =C2=A01 root =C2=A0wheel =C2=A0 6087 Aug= 29 =C2=A02007 /var/log/auth.log.0.bz2 >> =C2=A0 =C2=A0 =C2=A0 -rw------- =C2=A01 root =C2=A0wheel =C2=A0 5774 Aug= 12 =C2=A02007 /var/log/auth.log.1.bz2 >> =C2=A0 =C2=A0 =C2=A0 -rw------- =C2=A01 root =C2=A0wheel =C2=A0 5795 Jul= 24 =C2=A02007 /var/log/auth.log.2.bz2 >> =C2=A0 =C2=A0 =C2=A0 -rw------- =C2=A01 root =C2=A0wheel =C2=A0 6813 Jul= =C2=A06 =C2=A02007 /var/log/auth.log.3.bz2 >> >> >> So, a couple of questions: >> >> Why would the daily security run pick up something from *two years >> ago* and only report it again today? The machine hasn't been rebooted >> in a very long time, if that makes a difference. >> >> Is there any way to prevent something like this happening again - or >> perhaps can I force the entry of the year into the date field for the >> auth.log entries? >> >> Kurt > > Hello, > > If you look at the syntax of the logfile, you will see no year is listed. > Most likely the whole file is parsed on security run. Since the logfile > has been rotated the 30th of august 2007, it's very much possible you'll > get all your messages all over again. > Perhaps it's wise to rotate you logfiles once a year just in case... > And it make no difference the machine hasn't been rebooted in a very > long time... (define "very long time" ;-) > http://uptimes-project.org/hosts/view/150 ) Heh. Well, for me a very long time is more than a year, because security patches for the OS will at some point mandate a reboot - and usually in less than a year. I suppose there's a way to do auth log rotation automagically - would that be sysutils/logrotate? Kurt From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 17:03:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22A4E10656A6 for ; Wed, 2 Sep 2009 17:03:04 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id D30958FC27 for ; Wed, 2 Sep 2009 17:03:03 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n82H32ZY027508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Sep 2009 12:03:03 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n82H3249031877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Sep 2009 12:03:02 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n82H32Rs031863; Wed, 2 Sep 2009 12:03:02 -0500 (CDT) (envelope-from dan) Date: Wed, 2 Sep 2009 12:03:01 -0500 From: Dan Nelson To: Kurt Buff Message-ID: <20090902170301.GE2855@dan.emsphone.com> References: <4A9E1D63.8030101@mapper.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Wed, 02 Sep 2009 12:03:03 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Mark Stapper , freebsd-questions@freebsd.org Subject: Re: Daily security report oddity... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 17:03:04 -0000 In the last episode (Sep 02), Kurt Buff said: > On Wed, Sep 2, 2009 at 00:23, Mark Stapper wrote: > > Kurt Buff wrote: > >> I traced it down, and found out that he had not logged in on Sunday. > >> The auth.log is, as you can see from the listing below, quite old. The > >> entries referenced above are from two years ago. > >> > >> В  В  В  zmx1# ll /var/log/a* > >> В  В  В  -rw------- В 1 root В wheel В 71845 Sep В 1 15:42 /var/log/auth.log > >> В  В  В  -rw------- В 1 root В wheel В  6087 Aug 29 В 2007 /var/log/auth.log.0.bz2 > >> В  В  В  -rw------- В 1 root В wheel В  5774 Aug 12 В 2007 /var/log/auth.log.1.bz2 > >> В  В  В  -rw------- В 1 root В wheel В  5795 Jul 24 В 2007 /var/log/auth.log.2.bz2 > >> В  В  В  -rw------- В 1 root В wheel В  6813 Jul В 6 В 2007 /var/log/auth.log.3.bz2 > >> > >> So, a couple of questions: > >> > >> Why would the daily security run pick up something from *two years ago* > >> and only report it again today? The machine hasn't been rebooted in a > >> very long time, if that makes a difference. > >> > >> Is there any way to prevent something like this happening again - or > >> perhaps can I force the entry of the year into the date field for the > >> auth.log entries? > > > > If you look at the syntax of the logfile, you will see no year is > > listed. Most likely the whole file is parsed on security run. Since > > the logfile has been rotated the 30th of august 2007, it's very much > > possible you'll get all your messages all over again. Perhaps it's wise > > to rotate you logfiles once a year just in case... And it make no > > difference the machine hasn't been rebooted in a very long time... > > (define "very long time" ;-) http://uptimes-project.org/hosts/view/150 ) > > Heh. Well, for me a very long time is more than a year, because > security patches for the OS will at some point mandate a reboot - and > usually in less than a year. > > I suppose there's a way to do auth log rotation automagically - would > that be sysutils/logrotate? The system already rotates auth.log. Just edit /etc/newsyslog.conf and add a date check to the line for auth.log. The default is to roll it when it hits 100KB, but if you add something like $M1D0 to the "when" column it'll rotate it monthly as well. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 17:43:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6030E1065672 for ; Wed, 2 Sep 2009 17:43:39 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id E39B38FC1B for ; Wed, 2 Sep 2009 17:43:38 +0000 (UTC) Received: by ewy4 with SMTP id 4so1058116ewy.36 for ; Wed, 02 Sep 2009 10:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1Mq6dQlCaWj7Z4ES8vuZcQ5WJ56StVV8CNnui6y+MIU=; b=LUu1poicjBgePzc2xUetlPnQ3bv01/qm4C+7nIiBhYmZ5JbZHZuQunpnyP2VY1m5dl Ve5JmJttId/uakb8xFEOLcyuq0FnNk93LbYZKlnyXKIY30QtRFxEr/gb6qAJ8PLKxGzN C7XJ1tbfv0+uYyR0RDGtrggklTupypUTWE54w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Pt7K3msTxmjKUFkJN8KTixFbv7xSDGvx1oHnPR83QTKVc6YzFZDctsfbCjAMPvy6xy 9yiNj+Usj5uC/zovdGDDgFCvRi9kfzR4jwYxjmz3ARngAb8kwWXeLzUiI9hmO1RwTuCg 7jhvt2FuDJQVpATcyM3kehQdwbPvsopV06DUA= MIME-Version: 1.0 Received: by 10.210.3.21 with SMTP id 21mr9132107ebc.40.1251913416943; Wed, 02 Sep 2009 10:43:36 -0700 (PDT) In-Reply-To: <20090902170301.GE2855@dan.emsphone.com> References: <4A9E1D63.8030101@mapper.nl> <20090902170301.GE2855@dan.emsphone.com> Date: Wed, 2 Sep 2009 10:43:36 -0700 Message-ID: From: Kurt Buff To: Dan Nelson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Mark Stapper , freebsd-questions@freebsd.org Subject: Re: Daily security report oddity... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 17:43:39 -0000 On Wed, Sep 2, 2009 at 10:03, Dan Nelson wrote: > In the last episode (Sep 02), Kurt Buff said: >> Heh. Well, for me a very long time is more than a year, because >> security patches for the OS will at some point mandate a reboot - and >> usually in less than a year. >> >> I suppose there's a way to do auth log rotation automagically - would >> that be sysutils/logrotate? > > The system already rotates auth.log. =C2=A0Just edit /etc/newsyslog.conf = and add > a date check to the line for auth.log. =C2=A0The default is to roll it wh= en it > hits 100KB, but if you add something like $M1D0 to the "when" column it'l= l > rotate it monthly as well. > > -- > =C2=A0 =C2=A0 =C2=A0 =C2=A0Dan Nelson > =C2=A0 =C2=A0 =C2=A0 =C2=A0dnelson@allantgroup.com That's exactly the clue I needed. Thanks, Dan. I'm looking at 'man newsyslog.conf' right now. Kurt From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 19:06:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782D51065679 for ; Wed, 2 Sep 2009 19:06:29 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 38F218FC15 for ; Wed, 2 Sep 2009 19:06:29 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so447802and.13 for ; Wed, 02 Sep 2009 12:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=aE4PhwENvRufAIA3cllCMiCjOZ0zgnIjlewkcyFMW6Y=; b=he8YMO0JF8pvZQKS2TiI+Zc0vIRXWx5KKzrWFv90ftHNFbmqCXAyn8eJGbjwfP8lej aZwWPb3qCjqh/s4iGjJMr8IKfumLASAQ7IMQ+JM+QY3WgMPgADbPXBnoB2diI81fYCzQ LiF0EFFGjxcCYHpa1hoj66gzYev3XzvCKBCbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wxng4jYJWWTrjAoSHYCHXJ2RuGLHJ02ovAJqbg0dXy5IRaDI99jh9r/52IuSqww022 +1lUjtE51TwPE3g3MiEKsQPP4ppJStErxaLY7HgaKKzlEcMjnLYob8aO+AfYYStmAvAW F8BT7IXlHmdwQqsbA7gdVoOHsaYmxSsd0n048= MIME-Version: 1.0 Received: by 10.101.9.10 with SMTP id m10mr9629230ani.130.1251918388520; Wed, 02 Sep 2009 12:06:28 -0700 (PDT) In-Reply-To: <20090902072659.7829da56@scorpio.seibercom.net> References: <20090902072659.7829da56@scorpio.seibercom.net> Date: Wed, 2 Sep 2009 13:06:28 -0600 Message-ID: From: Tim Judd To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 19:06:29 -0000 On 9/2/09, Jerry wrote: > I have set up several 'alias' definitions in my .bashrc file. They are > honored when run as either a regular user or as root. However, when I > prefix a command with 'sudo', the alias is no longer honored. In other > words, the actual command is run;however, any flags that I was passing > to it via 'alias' are lost. How can I circumvent this annoyance. > > Example, I often use 'pico' from within 'xterm'. I set up an alias that > causes pico to use the mouse; i.e., pico -m which works fine as long as > I do not prefix the command with 'sudo' > Because sudo calls the binary, via SUID on sudo. It doesn't pay attention to user profiles or rc files (like .bashrc). I don't use sudo, so I can't recommend past that. --TJ From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 19:26:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C521065672 for ; Wed, 2 Sep 2009 19:26:47 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4367B8FC1B for ; Wed, 2 Sep 2009 19:26:46 +0000 (UTC) Received: by fxm6 with SMTP id 6so1013593fxm.43 for ; Wed, 02 Sep 2009 12:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=5W8f2E+RlxVUxjz8hKf2jcPnChH9F3m4NcuV9Lpae+w=; b=tIX1xd5+dlFXtsG+cOq7MDMMqNX60fP9vPGGcobvLSchm1E8VfAWp9FzfJZEqf46uV 3u36og/X1qbShl6RdXy9urXEiKszWn6MJuyLwgrR5sKK4CIU8GV7h/VfTRANHNpUaHYn cf4fVhERbuZlp1A6yNAXVkHe7mL5cb0mfpBl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HqTILWiN4GXXTZxpPCU76ALgBZ4j2hsWxPf9Rn4i7qcdZBk8q+r4JOFXBosdgUUdzG T5Uxs51Wt9/0kE8qE4qXIPkSnQhgJTuFfSGmWDrppBQGqm19fTHqzsETKh+JVefKWkmA ijqnEdOnmhhDauwhunSYalAffg0rF1A4IdhRg= MIME-Version: 1.0 Received: by 10.102.236.11 with SMTP id j11mr3733283muh.3.1251919606098; Wed, 02 Sep 2009 12:26:46 -0700 (PDT) Date: Wed, 2 Sep 2009 19:26:46 +0000 Message-ID: From: Jeronimo Calvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Error compiling KDE 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 19:26:47 -0000 Hi folks, Trying to compile KDE 3, I am getting the folliwing error... any ideas? ===> Installing for gnutls-2.8.3 ===> gnutls-2.8.3 depends on executable: pkg-config - found ===> Generating temporary packing list ===> Checking if security/gnutls already installed ===> An older version of security/gnutls is already installed (gnutls-2.6.4) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of security/gnutls without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/security/gnutls. *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11/kde3. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 19:28:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA24106566C for ; Wed, 2 Sep 2009 19:28:23 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id BEFFE8FC13 for ; Wed, 2 Sep 2009 19:28:22 +0000 (UTC) Received: (qmail 84951 invoked from network); 2 Sep 2009 19:28:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=AFUiuBkFI9qrMGKmOLMU+QpqjAdx3NOLACtetvgVHdeCchRLD3JO5/xPHzUrYA2gFFX6/8k3zp+cCF2ptLVSlhlMftvn720c3DVfKXv4lcVVw1c6ElLiseCkGYsMRTRH1AnpSAEN3zXfyu4bgnKAHOaBbgAxPKVXKJk3ZbdgNuM= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 02 Sep 2009 12:28:21 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: HYAy0XEVM1kXFMMi30j4k.aKQmUv2Sq4OOSHas779u_Zf7d8psyNs3qPGnu8Dgg.fcEpobhrW7jYsmK_DXkYUI2F0dLSx4z0Z6IpA6xwa.9MKHgzinMnON20DurYoGc3000lu3h5apNHMRjD3XsxCEa0LfM3A3r1L7yirV9g5YgUwsXGEybhsdvpKQ7UGwFmpiW43.vEbyUxiwV0FYipItvVzMNOA6uOBsebZ9CjjpQsYsVGzXSWZYw4vYXwRcCJ3Yd_Aa.ow9HKCIHScerpB0vUTkUnvXOU19pWyF1ZkNTFtXUlbPp7UcW_p.Oa5btwdb7cpxM8Ew-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 5179F2282F for ; Wed, 2 Sep 2009 15:28:21 -0400 (EDT) Date: Wed, 2 Sep 2009 15:28:21 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090902152821.6baf568c@scorpio.seibercom.net> In-Reply-To: References: <20090902072659.7829da56@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 19:28:23 -0000 On Wed, 2 Sep 2009 13:06:28 -0600 Tim Judd wrote: [snip] > Because sudo calls the binary, via SUID on sudo. It doesn't pay > attention to user profiles or rc files (like .bashrc). > > > I don't use sudo, so I can't recommend past that. In other words, sudo is not compatible with the bash 'alias' feature. Is that correct? I Googled and found several references to sudo and alias; however, no consensus on how to circumvent the problem. -- Jerry gesbbb@yahoo.com In response to President Obama's complaint that FOX News doesn't show enough Black and Hispanic people on their network, FOX has announced that they will now air "America's Most Wanted" TWICE a week. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 19:43:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4F6A106566B for ; Wed, 2 Sep 2009 19:43:49 +0000 (UTC) (envelope-from ltcddats@nildram.co.uk) Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by mx1.freebsd.org (Postfix) with ESMTP id 763288FC12 for ; Wed, 2 Sep 2009 19:43:48 +0000 (UTC) X-Trace: 246250969/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$F2S-NILDRAM-ACCEPTED/f2s-nildram-customers/62.3.226.102/None/ltcddats@nildram.co.uk X-SBRS: None X-RemoteIP: 62.3.226.102 X-IP-MAIL-FROM: ltcddats@nildram.co.uk X-SMTP-AUTH: X-MUA: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAKNnnko+A+Jm/2dsb2JhbADdAoQbBYFXgms X-IronPort-AV: E=Sophos;i="4.44,320,1249254000"; d="scan'208";a="246250969" X-IP-Direction: IN Received: from davids-website.com (HELO www.davids-website.com) ([62.3.226.102]) by smtp.f2s.tiscali.co.uk with ESMTP; 02 Sep 2009 20:43:47 +0100 Received: from davids-website.com (farscape [10.0.0.1]) by www.davids-website.com (Postfix) with ESMTP id 3828B2281C for ; Wed, 2 Sep 2009 20:43:43 +0100 (BST) Date: Wed, 2 Sep 2009 20:43:47 +0100 From: To: freebsd-questions@freebsd.org Message-ID: <20090902204347.20e28947@davids-website.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Error compiling KDE 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 19:43:50 -0000 On Wed, 2 Sep 2009 19:26:46 +0000 Jeronimo Calvo wrote: > Hi folks, > > Trying to compile KDE 3, I am getting the folliwing error... > > any ideas? > > > ===> Installing for gnutls-2.8.3 > ===> gnutls-2.8.3 depends on executable: pkg-config - found > ===> Generating temporary packing list > ===> Checking if security/gnutls already installed > ===> An older version of security/gnutls is already installed > (gnutls-2.6.4) You may wish to ``make deinstall'' and install this > port again by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of security/gnutls > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/security/gnutls. > *** Error code 1 > > Stop in /usr/ports/print/cups-client. > *** Error code 1 > > Stop in /usr/ports/print/cups-client. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt33. > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt33. > *** Error code 1 > > Stop in /usr/ports/x11/kde3. make install -DFORCE_PKG_REGISTER clean > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 20:03:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3615B1065672 for ; Wed, 2 Sep 2009 20:03:38 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp108.prem.mail.ac4.yahoo.com (smtp108.prem.mail.ac4.yahoo.com [76.13.13.47]) by mx1.freebsd.org (Postfix) with SMTP id D13CE8FC17 for ; Wed, 2 Sep 2009 20:03:37 +0000 (UTC) Received: (qmail 14215 invoked from network); 2 Sep 2009 20:03:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=EHahZ+jp+KblNL5zpc9uDP37Drvdw8ir23Bp54LoAMSHtyYqwFqy07ZkXqsV3HrlE9ZE3rUihTAzBc6mNZELpfb/wAsrfuNryzInMzMIRGR/3ByzvcoOZS+aNNirPSEwv7e4tgIoXQNxXCK/yAIfFl5NMY90SVhLoHedQmdfez0= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp108.prem.mail.ac4.yahoo.com with SMTP; 02 Sep 2009 13:03:36 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: HEkEniQVM1kb8bhb1JlkulhtrAmF2mf6bMpUKmXzggPrJXTA3PEOxLlXexsP2mVUxe632J33h41EEE6T_tvdmg.RnyVufg3nJtBiHsOGUwm9qqJD5YBiMg4iAdCGWzo30tgjHkKDY7cciyg3gocuVvQfipesohMNcWNIbqc1NY0TQx2w1A_T.Mc.JWahqeol80zE4WZcQwbLs8P0e7cJpX3GRAhIxbYQT5VOtvPIYdO340QpJ_uDT_6RL.Za411KSuN8CqGQ6BiFFHyBLgGZPrDJViicjWHgUEcJPrlxL_i78RuEzMrWOU_kdihvta16fvwPb0rQig-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 3745122849 for ; Wed, 2 Sep 2009 16:03:36 -0400 (EDT) Date: Wed, 2 Sep 2009 16:03:36 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090902160336.70d2a4c4@scorpio.seibercom.net> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Error compiling KDE 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 20:03:38 -0000 On Wed, 2 Sep 2009 19:26:46 +0000 Jeronimo Calvo wrote: > Trying to compile KDE 3, I am getting the folliwing error... > > any ideas? > > > ===> Installing for gnutls-2.8.3 > ===> gnutls-2.8.3 depends on executable: pkg-config - found > ===> Generating temporary packing list > ===> Checking if security/gnutls already installed > ===> An older version of security/gnutls is already installed > (gnutls-2.6.4) You may wish to ``make deinstall'' and install this > port again by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of security/gnutls > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. cd /usr/ports/security/gnutls make deinstall && make reinstall && make distclean cd - make install -- Jerry gesbbb@yahoo.com It's sweet to be remembered, but it's often cheaper to be forgotten. From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 20:06:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F7E1065693 for ; Wed, 2 Sep 2009 20:06:50 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 976558FC19 for ; Wed, 2 Sep 2009 20:06:50 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n82K6nKl043451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Sep 2009 15:06:49 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n82K6nGp083368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Sep 2009 15:06:49 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n82K6nG3083361 for freebsd-questions@freebsd.org; Wed, 2 Sep 2009 15:06:49 -0500 (CDT) (envelope-from dan) Date: Wed, 2 Sep 2009 15:06:48 -0500 From: Dan Nelson To: freebsd-questions@freebsd.org Message-ID: <20090902200648.GF2855@dan.emsphone.com> References: <20090902072659.7829da56@scorpio.seibercom.net> <20090902152821.6baf568c@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090902152821.6baf568c@scorpio.seibercom.net> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Wed, 02 Sep 2009 15:06:50 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 20:06:50 -0000 In the last episode (Sep 02), Jerry said: > On Wed, 2 Sep 2009 13:06:28 -0600 > Tim Judd wrote: > > Because sudo calls the binary, via SUID on sudo. It doesn't pay > > attention to user profiles or rc files (like .bashrc). > > > > I don't use sudo, so I can't recommend past that. > > In other words, sudo is not compatible with the bash 'alias' feature. Is > that correct? I Googled and found several references to sudo and alias; > however, no consensus on how to circumvent the problem. sudo does not run root's shell at all; it directly runs whatever is given it on the commandline. Workarounds include creating an alias that includes sudo in it (alias rootpicom='sudo pico -m'), or creating a shell script that runs what your alias would have, so you can run "sudo picom": /usr/local/bin/picom #! /bin/sh pico -m "$@" -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 20:14:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BFE1065672 for ; Wed, 2 Sep 2009 20:14:13 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward5.yandex.ru (forward5.yandex.ru [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id D5CD58FC08 for ; Wed, 2 Sep 2009 20:14:12 +0000 (UTC) Received: from smtp1.yandex.ru (smtp1.yandex.ru [77.88.46.101]) by forward5.yandex.ru (Yandex) with ESMTP id B413B87052D for ; Thu, 3 Sep 2009 00:14:10 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp1.yandex.ru (Yandex) with ESMTPA id 7179AE600AF for ; Thu, 3 Sep 2009 00:14:10 +0400 (MSD) Date: Wed, 2 Sep 2009 23:14:09 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 2 (High) Message-ID: <966459791.20090902231409@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1251922450 X-Yandex-Spam: 1 X-Yandex-Front: smtp1.yandex.ru Subject: Kernel panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 20:14:13 -0000 Здравствуйте, Freebsd-questions. Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xc0af79b5 stack pointer = 0x28:0xc1b55cb8 frame pointer = 0x28:0xc1b55cb8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 11 (idle: cpu0) trap number = 18 panic: integer divide fault cpuid = 0 Uptime: 2h56m59s Physical memory: 115 MB Dumping 33 MB: 18 2 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_socket.ko Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot/kernel/ng_mppc.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_mppc.ko Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/kernel/rc4.ko.symbols...done. done. Loaded symbols for /boot/kernel/rc4.ko Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from /boot/kernel/ng_iface.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_iface.ko Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/kernel/ng_ppp.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ppp.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); reboot ~ Wed Sep 2 22:47 kes ttyp1 10.10.16.18 Wed Sep 2 22:29 - crash (00:17) kes ttyp0 10.10.16.18 Wed Sep 2 22:29 - crash (00:18) reboot ~ Wed Sep 2 22:27 kes ttyp0 10.10.16.18 Wed Sep 2 22:19 - crash (00:07) reboot ~ Wed Sep 2 22:19 kes ttyp0 10.10.16.18 Wed Sep 2 22:17 - crash (00:02) reboot ~ Wed Sep 2 22:09 reboot ~ Wed Sep 2 21:56 reboot ~ Wed Sep 2 21:46 reboot ~ Wed Sep 2 21:39 reboot ~ Wed Sep 2 21:34 reboot ~ Wed Sep 2 21:14 reboot ~ Wed Sep 2 21:05 reboot ~ Wed Sep 2 20:47 reboot ~ Wed Sep 2 20:41 reboot ~ Wed Sep 2 20:18 reboot ~ Wed Sep 2 18:51 reboot ~ Wed Sep 2 17:27 reboot ~ Wed Sep 2 14:29 reboot ~ Wed Sep 2 10:58 I have build latest 7.2 vpn# uname -a FreeBSD vpn.in 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Mon Aug 31 23:57:36 EEST 2009 kes@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v72 i386 That version is not stable??? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 23:05:42 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B45B2106568B for ; Wed, 2 Sep 2009 23:05:42 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-qy0-f201.google.com (mail-qy0-f201.google.com [209.85.221.201]) by mx1.freebsd.org (Postfix) with ESMTP id 689098FC21 for ; Wed, 2 Sep 2009 23:05:42 +0000 (UTC) Received: by qyk39 with SMTP id 39so632818qyk.31 for ; Wed, 02 Sep 2009 16:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=VMxRF87jGO+BX7DPK/y0g5o619V4Y6w6T0JEeULfATM=; b=jd11NjNXhNc64GqQNy+lIT6iI0apVuwsfqNGyXrLYiLBK2sWereRuo/sx4BU8JEVDD bM4ax6+4cXd/H+2lZ4AZBFRUzGFiDTcwqrNFwMfTepxKzdi7/64nk6/2k4/xMgwtj+2q b4UuJiHDW1JEuNmIXpqPMJyEtTTNtAHSpTZfw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=sudBD2Ikr30jyQwVDu1Qb4NZQVd+aMrhpsYDFF5QdP+VntLfbjAIIrOqhn1p/kL5ev iJSfGC5l2W3SAiOU97yK1vY5PAhvWKWypIfGc5LRRJVCAswNQrTcCx2XGdec5RZ/dKif ZbF07qF2ac2R4/rXojz5KM2hri1gY0FyUH8o0= Received: by 10.224.81.195 with SMTP id y3mr5819953qak.82.1251932741493; Wed, 02 Sep 2009 16:05:41 -0700 (PDT) Received: from ?192.168.6.250? ([201.21.144.81]) by mx.google.com with ESMTPS id 23sm218016qyk.7.2009.09.02.16.05.39 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 16:05:40 -0700 (PDT) From: Sergio de Almeida Lenzi To: Martin Wilke , freebsd-questions In-Reply-To: <20090902222407.GF82548@bsdcrew.de> References: <4A9EB91C.4060203@icyb.net.ua> <20090902222407.GF82548@bsdcrew.de> Date: Wed, 02 Sep 2009 20:05:37 -0300 Message-Id: <1251932737.10025.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: skype 2.1 beta for linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 23:05:42 -0000 Em Qui, 2009-09-03 Г s 00:24 +0200, Martin Wilke escreveu: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, Sep 02, 2009 at 09:27:40PM +0300, Andriy Gapon wrote: > > > > Just noticed this: > > http://www.skype.com/intl/en/download/skype/linux/ > > > > It doesn't work, this version missing the OSS support, > I talked to the guys we get later a oss version! > Interesting... in the site it says it uses pulseaudio... if it uses pulseaudio, will work with FreeBSD > - - Martin > > > > -- > > Andriy Gapon > > _______________________________________________ > > freebsd-emulation@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > > > > - -- > > +-----------------------+-------------------------------+ > | PGP : 0xB1E6FCE9 | Jabber : miwi(at)BSDCrew.de | > | Skype : splash_111 | Mail : miwi(at)FreeBSD.org | > +-----------------------+-------------------------------+ > | Mess with the Best, Die like the Rest! | > +-----------------------+-------------------------------+ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.11 (FreeBSD) > > iEYEARECAAYFAkqe8IcACgkQdLJIhLHm/OmkxACg00eR6eTBtWR6EbFPaEuciVRy > AgwAoNUiEBM3ZnDzFkIx52dBPQsqEaPk > =BS/5 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Sep 2 23:44:05 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 214D21065676 for ; Wed, 2 Sep 2009 23:44:05 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id D56338FC13 for ; Wed, 2 Sep 2009 23:44:04 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n82NguKB021285 for ; Wed, 2 Sep 2009 16:42:56 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 2 Sep 2009 16:43:31 -0700 (PDT) Date: Wed, 2 Sep 2009 16:43:30 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20090902234324.GA1735@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 23:44:05 -0000 guys, (of either gender) here's one that is a bit difficult to figure out how to ask, but here's my first shot: i'm looking for a file what contains string "S". the filename in this case has a zillion letters, but that beside the point. i can use grep to find "S" and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, &c. [[i found these files in ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. rm'ing the bunch would get rid of the instantiate problem, but having a script to diddle with a found string "S" would be useful esp'ly if the filename of pathname were long. i'll mouse swipe the string and fname to prove my point. thanks for any help. gary ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. p4 16:18 [5058] rgr www.h-online ~/.kde/share/config/session ./konqueror_101be1a31b9d1000124363848400000011730067_1243656675_647947:12:ViewT0_URL[$e]=http://www.h-online.com/open/Google-Wave-The-instant-wiki-communicator--/news/113410 -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:02:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EBBE106566B for ; Thu, 3 Sep 2009 00:02:37 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2F71C8FC12 for ; Thu, 3 Sep 2009 00:02:36 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 8965458; Wed, 02 Sep 2009 20:02:35 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 8965456; Wed, 02 Sep 2009 20:02:20 -0400 Message-ID: <4A9F078A.1050800@radel.com> Date: Wed, 02 Sep 2009 20:02:18 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Gary Kline References: <20090902234324.GA1735@thought.org> In-Reply-To: <20090902234324.GA1735@thought.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010809080601030005020104" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:02:37 -0000 This is a cryptographically signed message in MIME format. --------------ms010809080601030005020104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Gary Kline wrote: > > guys, (of either gender) > > here's one that is a bit difficult to figure out how to ask, but > here's my first shot: > > i'm looking for a file what contains string "S". the filename > in this case has a zillion letters, but that beside the point. > > i can use grep to find "S" and grep gives me the file[s] that > have the string. now, is there any easy way of reading that > file, or deleting or otherwise munging that file? > > nutshell is that every time i reboot (into kde), kde wastes > time/cpu spawning unwanted whatever: versions of konqueror, kttsd, > ksayit, &c. [[i found these files in > ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. > rm'ing the bunch would get rid of the instantiate problem, but > having a script to diddle with a found string "S" would be > useful esp'ly if the filename of pathname were long. > > i'll mouse swipe the string and fname to prove my point. > thanks for any help. > > gary > > ps: if scripting this is too grizzly i'll do it in C and do an > inline post of src and example use. > Do you mean something like rm `grep -l S *` or am I completely missing the point of what you're trying to do? -- --Jon Radel jon@radel.com --------------ms010809080601030005020104 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wOTA5MDMwMDAyMThaMCMGCSqGSIb3DQEJBDEWBBRmY68AIVeZaBLRjqXSbLuKV2q3wjBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAeGvo FCEhr/O67Jmrm0sC0kO+64JBsvghh4EvH17ZXPYrooATczbmLcUMuknfZ2pM+rzxRzUdqmIC oVHzssHdQKFh5/7udcb+cVU+uiS/l6zPCOtpg+PNcq2XjaLtmVIxNn3llPgcj8u0CSqHtJtV vNXCQjCPrKJp88DgOSMHa3obMzDlWfShop6XqyKtxiEG/N1DoocL61FUxcmMRFK8xhsdus7g F0bOTk2OJ/ME+gavOFJSg/+Jw5T6liTPo4/8uyCZ35ZYixSXFzhUpsmItP1lNbTLksyaG5+x /pqAzpFT+p6fyf2vvF9/ep9AzkDr98QsyeBnZhry3WfZ7iahkgAAAAAAAA== --------------ms010809080601030005020104-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:06:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49FAD1065670 for ; Thu, 3 Sep 2009 00:06:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 085E98FC13 for ; Thu, 3 Sep 2009 00:05:59 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id 9E8923CCF0; Thu, 3 Sep 2009 02:05:58 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n8305vIb001849; Thu, 3 Sep 2009 02:05:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Sep 2009 02:05:57 +0200 From: Polytropon To: Gary Kline Message-Id: <20090903020557.2df7c6bf.freebsd@edvax.de> In-Reply-To: <20090902234324.GA1735@thought.org> References: <20090902234324.GA1735@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:06:00 -0000 On Wed, 2 Sep 2009 16:43:30 -0700, Gary Kline wrote: > i'm looking for a file what contains string "S". the filename > in this case has a zillion letters, but that beside the point. > > i can use grep to find "S" and grep gives me the file[s] that > have the string. now, is there any easy way of reading that > file, or deleting or otherwise munging that file? I would suggest one of my favourite tools, the Midnight Commander, available via ports as misc/mc or misc/mc-lite - or from a package. First you run the find dialog, Meta-? (Esc, ?, if you don't have a Meta key). Enter file mask if needed, starting directory (usu- ally .) and "S" for the search string. Then a list with the items found will come up. In order to view a file from this list, press PF3 on a file. The viewer will automatically skip to where "S" has been found in the file. If you press ENTER on the file, it will be selected in one of the panels, and you can move or delete it. > ps: if scripting this is too grizzly i'll do it in C and do an > inline post of src and example use. If you exactly know what to do with the file, scripting might be the easiest solution. The more interaction, the less optimum it is. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:23:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52318106568F for ; Thu, 3 Sep 2009 00:23:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f203.google.com (mail-yx0-f203.google.com [209.85.210.203]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0948FC25 for ; Thu, 3 Sep 2009 00:23:05 +0000 (UTC) Received: by yxe41 with SMTP id 41so521300yxe.27 for ; Wed, 02 Sep 2009 17:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5p2vQqkyKo9E8Vl2HBTJdR8y7c40Udkw+Oazx34I27k=; b=NCl9Voa5nqwgtS5r3B5HFlc0WTeNAHS/RH9AufogXsyFHn+UHmNo0MwGCulVftTK57 zkmWXD/ACxntlUN8CKksQYQe/K3bpM0YX2ReCvgvjfNKEYs0xtXeAVbkd+2acafTmgWS K8DePCZ+IDRIvX4HSsbBuzHmj1bvjT0MIL0uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=shVnBjIPsFZtEUo7sXL4wisP9cty8fji73UGFe4zx8uYWULxRKo2ZPlkBoxpWLWKgJ VQ/P4Pf/6EraXEVdxVbpFsjeDhP4AfsLaqzAK/p+D6g+UQsZAGX0Xo/VTSgqUOYA7DYt u339FhWLOt7x4ikmlTjvWD0+xT72tgoYQg5Gg= MIME-Version: 1.0 Received: by 10.150.61.20 with SMTP id j20mr15022854yba.42.1251937385158; Wed, 02 Sep 2009 17:23:05 -0700 (PDT) In-Reply-To: <20090902234324.GA1735@thought.org> References: <20090902234324.GA1735@thought.org> Date: Wed, 2 Sep 2009 19:23:05 -0500 Message-ID: <6201873e0909021723o124e75e5q72223989b138f395@mail.gmail.com> From: Adam Vande More To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:23:06 -0000 On Wed, Sep 2, 2009 at 6:43 PM, Gary Kline wrote: > > guys, (of either gender) > > here's one that is a bit difficult to figure out how to ask, but > here's my first shot: > > i'm looking for a file what contains string "S". the filename > in this case has a zillion letters, but that beside the point. > > i can use grep to find "S" and grep gives me the file[s] that > have the string. now, is there any easy way of reading that > file, or deleting or otherwise munging that file? > > nutshell is that every time i reboot (into kde), kde wastes > time/cpu spawning unwanted whatever: versions of konqueror, kttsd, > ksayit, &c. [[i found these files in > ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. > rm'ing the bunch would get rid of the instantiate problem, but > having a script to diddle with a found string "S" would be > useful esp'ly if the filename of pathname were long. > > i'll mouse swipe the string and fname to prove my point. > thanks for any help. > > gary > > ps: if scripting this is too grizzly i'll do it in C and do an > inline post of src and example use. > > > > > p4 16:18 [5058] rgr www.h-online > ~/.kde/share/config/session > > ./konqueror_101be1a31b9d1000124363848400000011730067_1243656675_647947:12:ViewT0_URL[$e]= > http://www.h-online.com/open/Google-Wave-The-instant-wiki-communicator--/news/113410 > > Have you tried logging out of kde with those apps closed? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:28:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06780106566B for ; Thu, 3 Sep 2009 00:28:55 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B5BEE8FC08 for ; Thu, 3 Sep 2009 00:28:54 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx01.qsc.de (Postfix) with ESMTP id ED4AD3CB96; Thu, 3 Sep 2009 02:28:53 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n830Sq1V001938; Thu, 3 Sep 2009 02:28:53 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Sep 2009 02:28:52 +0200 From: Polytropon To: Dan Nelson Message-Id: <20090903022852.3223abec.freebsd@edvax.de> In-Reply-To: <20090902200648.GF2855@dan.emsphone.com> References: <20090902072659.7829da56@scorpio.seibercom.net> <20090902152821.6baf568c@scorpio.seibercom.net> <20090902200648.GF2855@dan.emsphone.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:28:55 -0000 On Wed, 2 Sep 2009 15:06:48 -0500, Dan Nelson wrote: > sudo does not run root's shell at all; it directly runs whatever is given it > on the commandline. Another idea would to be to call sudo with the desired shell as argument (in order to inherit the aliases), followed by a command as argument to the shell (in order to execute a particular command), something like % sudo bash -c "my_command_alias" It may be possible that bash requires an additional argument to tell it to read ~/.bashrc when invoked in a non-interactive manner. Keep in mind that I haven't tried this solution because I don't use bash on a regular basis. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:36:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 439541065679 for ; Thu, 3 Sep 2009 00:36:25 +0000 (UTC) (envelope-from lijimlee@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id EF5E38FC12 for ; Thu, 3 Sep 2009 00:36:24 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so537508and.13 for ; Wed, 02 Sep 2009 17:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/q4Lsg0rQylodPKHM7kLyDgsSMJSUyozDQjKBv+wteI=; b=UOLNAHHoCgOKYm22140F702Rh9mEGxexmIv4ZNpbXjfkkxHWnfS03glZRsS4zJzMFp tFmu6K4hw7idlZ5TMPpyR3Thr5q7mOafDayE6taqutLdzhZ86zQ6b2wqX3iA4hHqGnc+ 7XrC3x4/vOD7AIy/d+Gy/eNFCeawOxgnSyzAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qJ5Z2i7mGG/3wHluRL8aaVpTaQKsYKYN1FiQktl7UAEVMq0beRrrRG7fCIgul4d5ty MCPqLqQ4ucBULqF2YGMlcxBdXQCdfkdVzvvTnofOXTBwYVfgI2QZ2sclzvXw4r7GDIzp bIPS3I52k5KXJWep4/xUtF2/VtCTW6UIDjU78= MIME-Version: 1.0 Received: by 10.101.88.12 with SMTP id q12mr10038106anl.117.1251936486699; Wed, 02 Sep 2009 17:08:06 -0700 (PDT) Date: Wed, 2 Sep 2009 17:08:06 -0700 Message-ID: <8fd8f02c0909021708n73f2f454v22b6a14ed5c717a7@mail.gmail.com> From: Ji To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: got "invalid argument" error when using dd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:36:25 -0000 Hi all, I am using FreeBSD-7.2-release-amd64. I got an got "invalid argument" error when using dd dd if=s1.image of=/dev/ad4s1 bs=1m dd: /dev/ad4s1: Invalid argument 12284+1 records in 12284+0 records out 12880707584 bytes transferred in 746.571300 secs (17253151 bytes/sec) echo $? 1 (s1.image is the image file of /dev/ad4s1 generated by "dd if=/dev/ad4s1 of=s1.image bs=1m" ahead. ) The error occurs at the moment that dd almost finishes. I don't quite understand the error, Can anybody enlighten me? Thanks. Ji From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 01:08:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92528106566B for ; Thu, 3 Sep 2009 01:08:27 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 283AB8FC12 for ; Thu, 3 Sep 2009 01:08:26 +0000 (UTC) Received: by fxm6 with SMTP id 6so1190295fxm.43 for ; Wed, 02 Sep 2009 18:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6U2P4el9ZaEwIR6fv1Hsx2Qt7Ijm4W2AHSGYGT3kzgY=; b=COOvytNUNDsCps00B73rWg88YYC3I/N7AYtO+yIog077lDTS9AY+mTYX19IpAy5vBk iRFNQsA1oc9zvS6dhsXby5wv4i/vTLilrCU95Aftw4XbeDj5lJOmzGXuxi9c7BiScbH0 uO1MGLCWRie/qxnacjTZS9Xw0xdo1qHbZu+6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AQXLIGMvYWWx6qV/tJOkAzBYn4WV08SW2dspRX4sCNqWyuH6rvm7Wl0zf1TUb03jrq Eme6yU2ya0UIQ0vCxZMOMo1yGYWJoS/KhHqC8XmPhPksHbBncQqK6q2KcXGgkO4Q1PSk 0riK7ReWPis4oK//VN+tCZlNWBus9oXF/220c= MIME-Version: 1.0 Received: by 10.223.57.66 with SMTP id b2mr3740977fah.33.1251940106162; Wed, 02 Sep 2009 18:08:26 -0700 (PDT) In-Reply-To: <20090902160336.70d2a4c4@scorpio.seibercom.net> References: <20090902160336.70d2a4c4@scorpio.seibercom.net> Date: Wed, 2 Sep 2009 20:08:26 -0500 Message-ID: From: Andrew Gould To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Error compiling KDE 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 01:08:27 -0000 On Wed, Sep 2, 2009 at 3:03 PM, Jerry wrote: > On Wed, 2 Sep 2009 19:26:46 +0000 > Jeronimo Calvo wrote: > >> Trying to compile KDE 3, I am getting the folliwing error... >> >> any ideas? >> >> >> =3D=3D=3D> =A0Installing for gnutls-2.8.3 >> =3D=3D=3D> =A0 gnutls-2.8.3 depends on executable: pkg-config - found >> =3D=3D=3D> =A0 Generating temporary packing list >> =3D=3D=3D> =A0Checking if security/gnutls already installed >> =3D=3D=3D> =A0 An older version of security/gnutls is already installed >> (gnutls-2.6.4) You may wish to ``make deinstall'' and install this >> port again by ``make reinstall'' to upgrade it properly. >> =A0 =A0 =A0 If you really wish to overwrite the old port of security/gnu= tls >> =A0 =A0 =A0 without deleting it first, set the variable "FORCE_PKG_REGIS= TER" >> =A0 =A0 =A0 in your environment or the "make install" command line. > > cd /usr/ports/security/gnutls > make deinstall && make reinstall && make distclean > cd - > make install > > -- > Jerry > gesbbb@yahoo.com > The package list may have changed between version 2.6.4 and 2.8.3. I would recommend replacing "make deinstall", above, with: pkg_delete gnutls-2.6.4 Andrew From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 04:41:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388FD106566C for ; Thu, 3 Sep 2009 04:41:37 +0000 (UTC) (envelope-from jerrry94087@yahoo.com) Received: from web110716.mail.gq1.yahoo.com (web110716.mail.gq1.yahoo.com [67.195.13.223]) by mx1.freebsd.org (Postfix) with SMTP id 09B8D8FC08 for ; Thu, 3 Sep 2009 04:41:36 +0000 (UTC) Received: (qmail 64970 invoked by uid 60001); 3 Sep 2009 04:14:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251951296; bh=FqY+WcBffoeCLhKpS6GEpA8hfzXGavwYLD+sYZxxIeI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LoVK79hUt4/W/OQKb0cPyxNmfYZR7/OsfnHKDoMRXTuOFZd9NkxYMy47ititeOZBCDWe1MLXOFxRxBhjfOqtkicFqz2LCHoBv8d2SlAHHZrr2ZMlOLIif2a87wgdwexBAZxGsaE14VTUNAP6WJofjp+oiw3ShX8+1/MqqPsEXGU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=l0dI0p0iEImCP6skRLqD3jmG49wze+oZWC9EiEbZe+SzQNPpbuSUsafLVtSo4kZZGLF53Babu9YTnKaWC6X46Td8Lu1ily03E1h+2l+VTj51AOtbPcpIWla+We5jG/dmw/c9/5R+0pfrHFAl3bqOOCBn+e1Q1JprB3LOmaO2YdA=; Message-ID: <423199.64505.qm@web110716.mail.gq1.yahoo.com> X-YMail-OSG: zOZM7RMVM1nxKLlFRddt7Pq3X7GnO5NK7Z87LUlkrmVyNjm6QJY2TxGO1V1_z6OUPuRvrot_qEMvBlL.vcRmj6XN7iGMjEGrkCFUX6BQsR2eWC8tpI7D9m3sTKFlrsfVQYcirlkqN1UhpiFrDMjNiaNnDplmwIg.us8UeHFBliyIW0nOgAdpQxICiNfCqjVvxK1FLF1.MXbefnf3Jw-- Received: from [24.6.221.126] by web110716.mail.gq1.yahoo.com via HTTP; Thu, 03 Sep 2009 04:14:56 GMT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Thu, 3 Sep 2009 04:14:56 +0000 (GMT) From: jerry M To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 04:41:37 -0000 configure file got this line and it causes the message: test: xyes: unexpected operator But removing spaces around == or replacing == with = makes it to work. On Linux though this line works fine. Why spaces around == would cause failure? What is the version of /bin/sh currently used in 7.2? Where is it taken from? --version, -v, -version don't ever print version I guess due to FreeBSD policy of not versioning individual utilities. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 04:59:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F9B106566B for ; Thu, 3 Sep 2009 04:59:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 32A2D8FC19 for ; Thu, 3 Sep 2009 04:59:42 +0000 (UTC) Received: from r55.edvax.de (port-92-195-1-225.dynamic.qsc.de [92.195.1.225]) by mx02.qsc.de (Postfix) with ESMTP id 643DF1E006; Thu, 3 Sep 2009 06:59:40 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n834xddY011194; Thu, 3 Sep 2009 06:59:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Sep 2009 06:59:38 +0200 From: Polytropon To: jerry M Message-Id: <20090903065938.9196791c.freebsd@edvax.de> In-Reply-To: <423199.64505.qm@web110716.mail.gq1.yahoo.com> References: <423199.64505.qm@web110716.mail.gq1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 04:59:42 -0000 On Thu, 3 Sep 2009 04:14:56 +0000 (GMT), jerry M wrote: > configure file got this line and it causes the message: test: xyes: unexpected operator > But removing spaces around == or replacing == with = makes it to work. Maybe those files are not intended to run on FreeBSD's standard Bourne shell? > On Linux though this line works fine. This may be due to the fact that on most Linusi, sh is bash. On FreeBSD, sh is a different shell than bash; it's the "original" Bourne shell. > Why spaces around == would cause failure? First of al, refer to "man test" for the string operators. The form "==" isn't mentioned there. s1 = s2 True if the strings s1 and s2 are identical. s1 != s2 True if the strings s1 and s2 are not identical. s1 < s2 True if string s1 comes before s2 based on the binary value of their characters. s1 > s2 True if string s1 comes after s2 based on the binary value of their characters. Furthermore, it's wise to enclose the variable names in curly brackets when used in a compositum. Your statement if test "x$my_var" == "xyes"; then would correctly read as follows: if test "x${my_var}" = "xyes"; then You can of course use [ instead of test, so it would be if [ "x${my_var}" = "xyes" ]; then > What > is the version of /bin/sh currently used in 7.2? Where is it taken > from? --version, -v, -version don't ever print version I guess due to > FreeBSD policy of not versioning individual utilities. FreeBSD's Bourne shell does not have GNU long options such as --version. According to the shell's manpage, -v is used for verbosity, and -version isn't even defined. Refer to "man sh" for more options. The parts of the base system (as in opposite to Linux where no real "the OS" does exist) usually have the version of the release, but to be more precise, the individual version can be obtained from the source code. It can be found in /usr/src/bin/sh. For example, I have @(#)main.c 8.6 (Berkeley) 5/28/95 $FreeBSD: src/bin/sh/main.c,v 1.29 2006/10/07 16:51:16 stefanf Exp $ in the source file main.c, and the Makefile indicates @(#)Makefile 8.4 (Berkeley) 5/5/95 $FreeBSD: src/bin/sh/Makefile,v 1.46 2006/04/17 17:55:11 schweikh Exp $ as its particular version number and date. The manual "man sh" includes this statement: The sh utility is the standard command interpreter for the system. The current version of sh is in the process of being changed to conform with the IEEE Std 1003.2 (``POSIX.2'') specification for the shell. This ver- sion has many features which make it appear similar in some respects to the Korn shell, but it is not a Korn shell clone like pdksh. Only fea- tures designated by POSIX, plus a few Berkeley extensions, are being incorporated into this shell. This man page is not intended to be a tutorial nor a complete specification of the shell. as well as This version of sh was rewritten in 1989 under the BSD license after the Bourne shell from AT&T System V Release 4 UNIX. It's important, especially for interoperability, to declare #/bin/sh only and ONLY if the script is for Bourne shell. If you're using bash specifics, use #!/usr/local/bin/bash instead. Keep in mind that you'll have to install bash (pkg_add -r bash) in this case. A tidy way of coding, such as using the curly brackets, is an important thing, too, as you can see. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 05:14:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402961065672 for ; Thu, 3 Sep 2009 05:14:02 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 04E5C8FC17 for ; Thu, 3 Sep 2009 05:14:01 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n835E1lp089456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Sep 2009 00:14:01 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n835E0Zl022400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Sep 2009 00:14:00 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n835E0YX022398; Thu, 3 Sep 2009 00:14:00 -0500 (CDT) (envelope-from dan) Date: Thu, 3 Sep 2009 00:14:00 -0500 From: Dan Nelson To: jerry M Message-ID: <20090903051400.GG2855@dan.emsphone.com> References: <423199.64505.qm@web110716.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423199.64505.qm@web110716.mail.gq1.yahoo.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Thu, 03 Sep 2009 00:14:01 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 05:14:02 -0000 In the last episode (Sep 03), jerry M said: > configure file got this line and it causes the message: test: xyes: > unexpected operator But removing spaces around == or replacing == with = > makes it to work. > > On Linux though this line works fine. > > Why spaces around == would cause failure? What is the version of /bin/sh > currently used in 7.2? Where is it taken from? --version, -v, -version > don't ever print version I guess due to FreeBSD policy of not versioning > individual utilities. == isn't a valid comparison operator for the test command. See the FreeBSD manpage, or the Posix docs: http://www.opengroup.org/onlinepubs/9699919799/toc.htm. You need to use =. Certain Linux distributions use bash as /bin/sh, which shortcuts the test command internally and allows bash extensions, even in bourne-shell mode. Debian and Ubuntu use dash instead of bash, and this script would fail on them as well. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 09:21:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53BE106568D for ; Thu, 3 Sep 2009 09:21:06 +0000 (UTC) (envelope-from daniel@toomuchdata.se) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.freebsd.org (Postfix) with ESMTP id 94ACD8FC1A for ; Thu, 3 Sep 2009 09:21:06 +0000 (UTC) Received: from royal64.emp.zapto.org (195.198.193.168) by pne-smtpout1-sn2.hy.skanova.net (7.3.140.3) (authenticated as u35605266) id 4A7285AE003B1A42; Thu, 3 Sep 2009 11:21:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Date: Thu, 3 Sep 2009 11:21:03 +0200 Message-ID: <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> In-Reply-To: <4A9CBDBB.3060403@mapper.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS and DMA read error Thread-Index: AcoqzNXHsdGYePzIRjiHThLkBzpYtwBqSqNg References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> From: "Daniel Eriksson" To: Cc: Mark Stapper Subject: RE: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 09:21:06 -0000 Mark Stapper wrote: > People are REALLY pushing spinrite lately... I did get it though, just to try it. SpinRite is OK but it hasn't been updated in ages. It does not work on large drives. 250GB works, 1TB does not. Haven't tried it on 500GB drives. If I were you I would 'zpool offline ...' the offending drive, rewrite the entire drive with 'dd if=3D/dev/zero ...' and then run a SMART selftest on it using smartmontools ('smartctl -t long /dev/adX'). When you 'zpool online ...' the drive ZFS will resilver it for you. After doing all of this I would then run a 'zpool scrub ...'. If the scrub finishes without checksum errors and without any ATA-related errors the drive is probably in good enough condition to keep using, but watch out for more ATA errors. If the drive is dying it won't be long before it starts to generate more ATA errors. /Daniel Eriksson From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 09:43:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35686106566B for ; Thu, 3 Sep 2009 09:43:11 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id BF5F78FC24 for ; Thu, 3 Sep 2009 09:43:10 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mj8qT-0000Xg-Cn; Thu, 03 Sep 2009 11:43:09 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mj8qA-0001W7-VF; Thu, 03 Sep 2009 11:42:51 +0200 Message-ID: <4A9F8F96.3090806@mapper.nl> Date: Thu, 03 Sep 2009 11:42:46 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Daniel Eriksson References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> In-Reply-To: <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFDC026164E3BACE30CD4A5E3" Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 09:43:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFDC026164E3BACE30CD4A5E3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > SpinRite is OK but it hasn't been updated in ages. It does not work on > large drives. 250GB works, 1TB does not. Haven't tried it on 500GB > drives. > =20 So it will be useles in... well in this case it IS useles... > If I were you I would 'zpool offline ...' the offending drive, rewrite > the entire drive with 'dd if=3D/dev/zero ...' and then run a SMART > selftest on it using smartmontools ('smartctl -t long /dev/adX'). When > you 'zpool online ...' the drive ZFS will resilver it for you. After > doing all of this I would then run a 'zpool scrub ...'. If the scrub > finishes without checksum errors and without any ATA-related errors the= > drive is probably in good enough condition to keep using, but watch out= > for more ATA errors. If the drive is dying it won't be long before it > starts to generate more ATA errors. > =20 Yeah, i did the long SMART selftest three times now, each of which it failed on the same LBA address. Did the scrub as well, took two hours, and no DMA errors were reported. Why would I want to clear my driver before I run these tests? I ordered a "spare" drive so I'll wait until it arrives, replace the faulty drive with this one by dd-ing data from one to the other (I have only 4 SATA ports so I can't do "zpool replace"). Or meybe I'll just swap them out and do "zpool scrub". I'm uncomfortable doing this though, because if any of the other drives fails/crashes/flips me off I'll have to restore from my backup which took two days to make... (which is the drawback of a gzipped zfs backup partition) Once I've replaced the drive I'll run hitachi's Drive Fitness Test on the (presumably) failing drive. Even if it doesn't generate any ATA errors during everyday use, the error it gave before, combined with the failing SMART self test disturbs me. I bought the drive 2 months ago, so my faith has gone. However, if it passes Hitachi's DFT my faith will be restored :-). Greetz, Mark --------------enigFDC026164E3BACE30CD4A5E3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqfj5oACgkQN9xNqOOVnWC36QCfYPUh0pHD1I3D+uIoX9xUXMAF PbAAoIaYxgHtdKd1tPvysmCbNtRep97H =EENT -----END PGP SIGNATURE----- --------------enigFDC026164E3BACE30CD4A5E3-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 10:07:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6C7F106566C for ; Thu, 3 Sep 2009 10:07:28 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB218FC08 for ; Thu, 3 Sep 2009 10:07:27 +0000 (UTC) Received: by fxm6 with SMTP id 6so1400949fxm.43 for ; Thu, 03 Sep 2009 03:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=QruHMeJKreeqemPF2Nn8N0ed8H1z+dCHObcogargcXE=; b=Udj4F6cjwuhrvzjdO0vUoAICJolads/0IKPvey4o/eL5R84zCHpV/p8Ous4kJwBbvP Zd2h0UVyHKxXFgIzhY5WyLqpk92lVlDJbnNK/hich1br5TAQSarfcOWcvvL/PMtT0vuV SFOpib89aekuFWm/XgAFieg1oKP4CRr1ZQVoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=i5VeHHVWRe4PbvgoufN0km6D2fhfXVf2BLwfv3HsxJgXj141lM/puRcyuAHKs4u8/q V7Ua/MQh13J/T5ATcUE5BLsoAEJvbyyte7ZAKjuwuPIjsdylviOtcvJ2P0CEW7+bJkqF X4Db18YXv1/bAFiTpLi/8bhYUHj/3/IiQA7io= MIME-Version: 1.0 Received: by 10.204.34.73 with SMTP id k9mr7740794bkd.45.1251972447193; Thu, 03 Sep 2009 03:07:27 -0700 (PDT) In-Reply-To: <899670.61058.qm@web57505.mail.re1.yahoo.com> References: <899670.61058.qm@web57505.mail.re1.yahoo.com> From: Odhiambo Washington Date: Thu, 3 Sep 2009 13:07:07 +0300 Message-ID: <991123400909030307q65bd62cfk4af4352f2bd87b37@mail.gmail.com> To: Razvan Cristea Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 10:07:29 -0000 On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea wrote: > Hello, > > i have a webserver useing freebsd 7.2 and i user the same server to route > internet to a local network. > the internet on the local network is working fine but the sites from the > webserver are loading verry slow. > > i fave this configuration in rc.conf: > > firewall_enable="YES" > firewall_type="open" > firewall_logging="YES" > gateway_enable="YES" > natd_enable="YES" > natd_interface="bce0" > > Can you please help me? The server needs to "know itself" either via local DNS or via /etc/hosts So you may need entries in, say, /etc/hosts for every website running on it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 10:36:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED751106566C for ; Thu, 3 Sep 2009 10:36:07 +0000 (UTC) (envelope-from cristea.razvan@yahoo.com) Received: from web57512.mail.re1.yahoo.com (web57512.mail.re1.yahoo.com [66.196.100.79]) by mx1.freebsd.org (Postfix) with SMTP id 95FF68FC13 for ; Thu, 3 Sep 2009 10:36:07 +0000 (UTC) Received: (qmail 34123 invoked by uid 60001); 3 Sep 2009 10:36:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1251974166; bh=V4Zv0sT5KWGgTgOkX3WenlY3lmVglklDjoVGa5y2PDY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=fnJUMQcJEQc4pPA9ydvVEz3BH5AVNVqWe9cmQ7t5H0xkBMNnz8KSAFcq8tn6nDZt040R824qARnKvfn5mSHV3e5RX8cRBuROHkKSNHkzWwD928nYTTIUlWfuqFOqbsQwgbsl3gJUIlPiCh/7I1ibMv1uFxdpqFO0mLBJnvMmdlQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=xAaXaDz5ypX+FkuBUawj9WFMEa3Gs5scC+tZmIc9NyP1zVsauuWFzYLvw+EMbDUx4WBpbTetfZ15i9AL5Pl2x95u8HdVzQrx+Ag9OnI+S1PCNaTdNKeFtrgTJca2ntWv3bRjRXkFGbx1PyHz228rJlQPQw0O5qNGgCqJhoLIsGQ=; Message-ID: <484912.17751.qm@web57512.mail.re1.yahoo.com> X-YMail-OSG: rJBVb7EVM1nAC8ruErVO.oxnnPisy3TUSXWzZ2dvfex2m2lJWogKt8kFEqljo3SV2kdWc8KbNbyd0J2yk7t1tbqP284cu82DRKD9dXysYqHeWLeHhJcMm0aow6gOWuSa4zzj7cC3SQllakixTgcEuL0Mu_4S0TZ_y4p6eytNrZHP0Rb8S9v5gOJxmoFrNY097fVB4P5fbCqRN7PBvB8lnDPZpEMwsVKyvRR8fDDhMbTLktKJUpNBXgHfFSmamK.GiQ7FAu_m1X7uPJrShQEEuSY3KMXsJZMwxCPxjHIasbeQZm9Sg.vUye0UrAr.6lxFClzSBz1TJ6E- Received: from [86.122.192.120] by web57512.mail.re1.yahoo.com via HTTP; Thu, 03 Sep 2009 03:36:06 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Thu, 3 Sep 2009 03:36:06 -0700 (PDT) From: Razvan Cristea To: Odhiambo Washington In-Reply-To: <991123400909030307q65bd62cfk4af4352f2bd87b37@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: webserver and natd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 10:36:08 -0000 Solved. It's a bug in version 7.2 info here: http://groups.google.com/group/muc.lists.freebsd.stable/browse_t= hread/thread/35f137a0e43b3175/d317dc58af6d4be2 Cu prietenie, Razvan Cristea =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.adventube.ro =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- On Thu, 9/3/09, Odhiambo Washington wrote: From: Odhiambo Washington Subject: Re: webserver and natd To: "Razvan Cristea" Cc: freebsd-questions@freebsd.org Date: Thursday, September 3, 2009, 1:07 PM On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea w= rote: =0A=0AHello, =0A=A0 =0Ai have a webserver useing freebsd 7.2 and i user the same server to rout= e internet to=A0a local network. =0Athe internet on the local network is working fine but the sites from the= webserver are loading verry slow. =0A=A0 =0Ai fave this configuration in rc.conf: =0A=A0 =0Afirewall_enable=3D"YES" =0Afirewall_type=3D"open" =0Afirewall_logging=3D"YES" =0Agateway_enable=3D"YES" =0Anatd_enable=3D"YES" =0Anatd_interface=3D"bce0" =0A=A0 =0ACan you please help me? The server needs to "know itself" either via local DNS or via /etc/hosts So you may need entries in, say, /etc/hosts for every website running on it= . =A0 =0A=0A--=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=20 "If you have nothing good to say about someone, just shut up!." =0A=0A =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Lucky Dube =0A=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 10:39:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BDE6106566B for ; Thu, 3 Sep 2009 10:39:16 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id CE9028FC15 for ; Thu, 3 Sep 2009 10:39:15 +0000 (UTC) Received: by bwz2 with SMTP id 2so1354054bwz.43 for ; Thu, 03 Sep 2009 03:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=885RfmRMf+0cP1OorRgIlzYmaoZRMOpsXrCI2CRB9Pw=; b=eEWKAmyYYjj4u4DgFV8Uq3vQ1qjQ3dv/d+/pfoXZtK5vY/zBahmslo9ortknOd556i t3T2Mj+d/Nhlx7XJVWKd1n56Aqt0U66UXY+kuHN7umfG6aZUOSVbgPLZVKF7DnoZK99Y AAXCXtyRjmOnltvdk9fAAAWQFrRQJLQhJAvT4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kBopoBNHuzyv92aH7y3Eibig1UvGotk2fJo9gQbC2fmS1wxQvHcbPcWA3iIEre1kKO M4ysTTdNxp+n1hycYoC5vhhuJajPej3K3KCdaKRKLwS57fva63Tsx/jS5WDNFxI6eDTy EE1IWnxemN6LK3S0Ye4yhcn6T7efMx0UkYl78= MIME-Version: 1.0 Received: by 10.102.245.35 with SMTP id s35mr4086896muh.124.1251974354841; Thu, 03 Sep 2009 03:39:14 -0700 (PDT) In-Reply-To: <970380130909011043n3340f9b0k2cec2b0b58f6f414@mail.gmail.com> References: <4A99D308.6000806@polands.org> <9e20d71e0909010054k66410ab7y207939e82705fc8f@mail.gmail.com> <970380130909011043n3340f9b0k2cec2b0b58f6f414@mail.gmail.com> Date: Thu, 3 Sep 2009 13:39:14 +0300 Message-ID: <9e20d71e0909030339p288051d1le296ae574b22597a@mail.gmail.com> From: Artis Caune To: Jason Garrett Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD-Questions Subject: Re: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 10:39:16 -0000 2009/9/1 Jason Garrett : > IMHO, unless you have a NEED to do this with the 8-BETA's I would not > attempt. While I had this working in 8.0-BETA1 upon reboot I would loose > data from entire mountpoints on the root pool. First it was /usr/ports, not > a big deal. Then it was /var/db/pkg.. the system had no idea what was > installed and what wasn't. This was a test machine, so no harm, no foul. I > would definatley not recommend this AT ALL. Maybe you just messed with wrong zfs option or in wrong order and your mountpoints are not lost, but not-mounted or over-mounted? It's a little bit tricky to get zfs-root working, some things can go wrong if installation is not automated. -- Artis Caune Everything should be made as simple as possible, but not simpler. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 11:36:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84167106568D for ; Thu, 3 Sep 2009 11:36:45 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 263148FC1A for ; Thu, 3 Sep 2009 11:36:44 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n83Bac10079055; Thu, 3 Sep 2009 13:36:38 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n83BabCw079054; Thu, 3 Sep 2009 13:36:37 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 3 Sep 2009 13:36:37 +0200 From: Ruben de Groot To: Polytropon Message-ID: <20090903113637.GA78802@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Polytropon , jerry M , freebsd-questions@freebsd.org References: <423199.64505.qm@web110716.mail.gq1.yahoo.com> <20090903065938.9196791c.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903065938.9196791c.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Thu, 03 Sep 2009 13:36:43 +0200 (CEST) Cc: jerry M , freebsd-questions@freebsd.org Subject: Re: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 11:36:45 -0000 On Thu, Sep 03, 2009 at 06:59:38AM +0200, Polytropon typed: > > > What > > is the version of /bin/sh currently used in 7.2? Where is it taken > > from? --version, -v, -version don't ever print version I guess due to > > FreeBSD policy of not versioning individual utilities. > > FreeBSD's Bourne shell does not have GNU long options such > as --version. According to the shell's manpage, -v is used > for verbosity, and -version isn't even defined. Refer to > "man sh" for more options. > > The parts of the base system (as in opposite to Linux where no > real "the OS" does exist) usually have the version of the > release, but to be more precise, the individual version can be > obtained from the source code. It can be found in /usr/src/bin/sh. > For example, I have > > @(#)main.c 8.6 (Berkeley) 5/28/95 > $FreeBSD: src/bin/sh/main.c,v 1.29 2006/10/07 16:51:16 stefanf Exp $ > > in the source file main.c, and the Makefile indicates > > @(#)Makefile 8.4 (Berkeley) 5/5/95 > $FreeBSD: src/bin/sh/Makefile,v 1.46 2006/04/17 17:55:11 schweikh Exp $ > > as its particular version number and date. Also, versions of all individual source files are usually displayed by ident(1): nih# ident /bin/sh /bin/sh: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7.20.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6.20.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.20.1.6.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.15.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/alias.c,v 1.20.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/arith.y,v 1.21.2.1.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/arith_lex.l,v 1.24.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/cd.c,v 1.35.2.1.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/bltin/echo.c,v 1.14.28.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/error.c,v 1.26.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/eval.c,v 1.54.2.1.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/exec.c,v 1.31.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/expand.c,v 1.51.2.2.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/histedit.c,v 1.29.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/input.c,v 1.23.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/jobs.c,v 1.72.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/mail.c,v 1.14.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/main.c,v 1.29.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/memalloc.c,v 1.27.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/miscbltin.c,v 1.35.2.1.2.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/mystring.c,v 1.13.28.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/options.c,v 1.25.2.2.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/output.c,v 1.20.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/parser.c,v 1.58.2.1.4.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/redir.c,v 1.26.28.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/show.c,v 1.23.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/test/test.c,v 1.53.20.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/trap.c,v 1.32.8.1 2009/04/15 03:14:26 kensmith Exp $ $FreeBSD: src/bin/sh/var.c,v 1.37.8.1 2009/04/15 03:14:26 kensmith Exp $ Ruben From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 11:48:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C2C106566C for ; Thu, 3 Sep 2009 11:48:59 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 63B098FC1B for ; Thu, 3 Sep 2009 11:48:59 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id AF95238E44 for ; Thu, 3 Sep 2009 07:48:58 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 71550300DA for ; Thu, 3 Sep 2009 07:48:58 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjAoD-0000DP-00 for ; Thu, 03 Sep 2009 07:48:57 -0400 Date: Thu, 3 Sep 2009 07:48:57 -0400 From: stan To: Free BSD Questions list Message-ID: <20090903114857.GA635@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 07:42:50 up 33 days, 12:44, 1 user, load average: 0.00, 0.02, 0.01 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 11:48:59 -0000 I have inherited a system that uses Cricket on FreeBSD to do some data collection. I have set this up myself in the distnat past, but this time I asked a contractor to set it up. I no longer have access to this contractor, and the toher day, we shut down the system this was running on, and when we rebooted the system, cricket id not resume collecting data. I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see anything in /etc/crontag. I don't seen any processes owned by cricket running. In FreeBSD, how is this process noramally invoked? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 11:50:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A731065676 for ; Thu, 3 Sep 2009 11:50:22 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mx1.freebsd.org (Postfix) with ESMTP id CB9398FC1D for ; Thu, 3 Sep 2009 11:50:21 +0000 (UTC) Received: from bs.l (e180006087.adsl.alicedsl.de [85.180.6.87]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MKt72-1MjApY0QL0-000CQy; Thu, 03 Sep 2009 13:50:20 +0200 Received: from bsch by bs.l with local (Exim 4.69) (envelope-from ) id 1MjApW-0005br-Qx for freebsd-questions@freebsd.org; Thu, 03 Sep 2009 13:50:18 +0200 Date: Thu, 3 Sep 2009 13:50:18 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090903115018.GA21032@marge.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <423199.64505.qm@web110716.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423199.64505.qm@web110716.mail.gq1.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX1802lOBdNat65+82c1Nt5xaUTdiuGJOYW/38GR vN73a5+n61CD4zpYtKcWvY1xUpv+arh9L1pZcMlOg3Izl8oaWk 3Pw+GjpdrLj/M2OVLPNRywzrewSZijBhg5HeNOsPpU= Subject: Re: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 11:50:22 -0000 Hi, Am Donnerstag, 03. Sep 2009, 04:14:56 +0000 schrieb jerry M: > configure file got this line and it causes the message: test: > xyes: unexpected operator But removing spaces around == or > replacing == with = makes it to work. > > On Linux though this line works fine. As `man test' describes, the /bin/test executable does not recognize a == operator. Neither in `sh' nor in `bash' the `test' executable will be called (unless written as /bin/test). In both cases it is a builtin command. The Sh builtin works like the `test' executable; the Bash builtin recognizes ==. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 12:25:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19041065672 for ; Thu, 3 Sep 2009 12:25:34 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 625328FC14 for ; Thu, 3 Sep 2009 12:25:34 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 5DA511F082 for ; Thu, 3 Sep 2009 08:25:33 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 4822F32647 for ; Thu, 3 Sep 2009 08:25:33 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjBNc-0000Ur-00 for ; Thu, 03 Sep 2009 08:25:32 -0400 Date: Thu, 3 Sep 2009 08:25:32 -0400 From: stan To: Free BSD Questions list Message-ID: <20090903122532.GA1604@teddy.fas.com> Mail-Followup-To: Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903114857.GA635@teddy.fas.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 08:17:09 up 33 days, 13:19, 1 user, load average: 0.04, 0.10, 0.08 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 12:25:34 -0000 On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > I have inherited a system that uses Cricket on FreeBSD to do some data > collection. I have set this up myself in the distnat past, but this time I > asked a contractor to set it up. I no longer have access to this > contractor, and the toher day, we shut down the system this was running on, > and when we rebooted the system, cricket id not resume collecting data. > > I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see > anything in /etc/crontag. I don't seen any processes owned by cricket > running. > > In FreeBSD, how is this process noramally invoked? Sorry to reply to my own message, but I have more data. I did find -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke Which is, I am failry certain, what is _intended_ to invoke the cricket process. However, acording to the cricket logs, the last time I have an entry is Aug 29th, which was when the machine was shut down. So, I decided to try running this command by hand. Now, to do so I need to be the cricket user, so I tried to su - cricket. I was told that this user was not avaialble. Looking in /etc/passwd. I found that this users shell was listed as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I still get the smae error message when I try to su to that user. What do I need to change to be able to su to this suer, and might this be the reason tha it's crontab entry is notbeing run? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 12:43:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97608106566B for ; Thu, 3 Sep 2009 12:43:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7D18FC1E for ; Thu, 3 Sep 2009 12:43:33 +0000 (UTC) Received: from significant-gravitas-shortfall.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n83ChLo8004743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Sep 2009 13:43:26 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n83ChLo8004743 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1251981806; bh=bwdSCIFP9gMk/5os3hyWHl4vVM6pjGjYjWuBfEB+ju4=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A9FB9E3.6060207@infracaninophile.co.uk>|Date:=20T hu,=2003=20Sep=202009=2013:43:15=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090824)|MIME-Vers ion:=201.0|To:=20Free=20BSD=20Questions=20list=20|Subject:=20Re:=20What=20invokes=20cricket=20on=20Fr eeBSD|References:=20<20090903114857.GA635@teddy.fas.com>=20<200909 03122532.GA1604@teddy.fas.com>|In-Reply-To:=20<20090903122532.GA16 04@teddy.fas.com>|X-Enigmail-Version:=200.95.7|OpenPGP:=20id=3D60A E908C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0 D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary= 3D"------------enig7E694DC039DEFAE660C9DC9A"; b=T10GAkeBIIY7/pdaLV+7biExYK+UN7sMXbia3bGtSFuuhspGoKVgPzEIJqxZzMj0r JMj+ub8bG1kwwfTepsV/cZQErx3EKm5hsVT8ofX7txnjqiUDyJclDM8mvS3/8uQgTK zsVVMS0uVh6pMrC8WXAzVFqbEIgDr75i7B7oPMIo= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host gateway.ash.thebunker.net [213.129.64.4] claimed to be significant-gravitas-shortfall.thebunker.net Message-ID: <4A9FB9E3.6060207@infracaninophile.co.uk> Date: Thu, 03 Sep 2009 13:43:15 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> In-Reply-To: <20090903122532.GA1604@teddy.fas.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7E694DC039DEFAE660C9DC9A" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 12:43:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E694DC039DEFAE660C9DC9A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable stan wrote: > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: >> I have inherited a system that uses Cricket on FreeBSD to do some data= >> collection. I have set this up myself in the distnat past, but this ti= me I >> asked a contractor to set it up. I no longer have access to this >> contractor, and the toher day, we shut down the system this was runnin= g on, >> and when we rebooted the system, cricket id not resume collecting data= =2E >> >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I s= ee >> anything in /etc/crontag. I don't seen any processes owned by cricket >> running. >> >> In FreeBSD, how is this process noramally invoked? >=20 > Sorry to reply to my own message, but I have more data. I did find=20 >=20 > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke >=20 > Which is, I am failry certain, what is _intended_ to invoke the cricket= > process. However, acording to the cricket logs, the last time I have an= > entry is Aug 29th, which was when the machine was shut down. So, I deci= ded > to try running this command by hand. Now, to do so I need to be the cri= cket > user, so I tried to su - cricket. I was told that this user was not > avaialble. Looking in /etc/passwd. I found that this users shell was li= sted > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, bu= t I > still get the smae error message when I try to su to that user. >=20 > What do I need to change to be able to su to this suer, and might this = be > the reason tha it's crontab entry is notbeing run? Try: # su -m cricket although the best way to examine and/or modify that user's crontab is: # crontab -e -u cricket The cricket user not having a usable shell should not stop cron(8) from running jobs, as it defaults to using /bin/sh or else the=20 value of any SHELL=3D line in the crontab for running the specified jobs.= Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enig7E694DC039DEFAE660C9DC9A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqfuegACgkQ3jDkPpsZ+VbQGQCfeE2+2zCZVwny2qZ46dwK2kHJ vDgAniFoCpwj4LCoeL4cK+KrrZ6ioH4I =4Taz -----END PGP SIGNATURE----- --------------enig7E694DC039DEFAE660C9DC9A-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 12:57:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 652021065670 for ; Thu, 3 Sep 2009 12:57:01 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id F25708FC1B for ; Thu, 3 Sep 2009 12:57:00 +0000 (UTC) Received: (qmail 41701 invoked from network); 3 Sep 2009 12:57:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=zzzHxpTVdU0YsdS1g4+nYsiv8HIDYKRk3TLuyca2g9K5NBhHIxd4X4N6mD14JDCncAE8BLdnHqPpHrO6NStHnzcLxZ7h+tbwLyROav6hlw04zEb0iafHMbi3Jq8HUA3uNJcERGNoFiw+vuLllolUzUP+UdU2/DgUNkNqDPMNQdY= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 03 Sep 2009 05:57:00 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: iSrwUD8VM1k79Wlg.gGzDs_v8LalCV5TYMUgPNnPBrtfluv.naGaZ2uMKdNVm71.M6DLKsKtOHIVVT.Fih5cDIS3QnTrKptO4DxQkjA4pc7ZcIAZtUhuo0bEBFqFWqYal9JIXCO3rQQRPMy9aOIrfIjevb35MCktbk.kbUMqo.efXOCSm.kI7ZoWtgGcPwec4rU.kOK6xDw1huq5cetgJLX_8vO16MsmkMM5ma_kkh7Fd0P3ezW5SCxjb0NJfR39WafaHPQffQmuS5CvnkHPvRlNmu9XCfwizj7i9eDK6Y7rqqO.oOIpJa8nKu6o9ofWKM6ypHJkyg-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id CD853228A5 for ; Thu, 3 Sep 2009 08:56:59 -0400 (EDT) Date: Thu, 3 Sep 2009 08:56:59 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090903085659.419bebfb@scorpio.seibercom.net> In-Reply-To: <20090903122532.GA1604@teddy.fas.com> References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 12:57:01 -0000 On Thu, 3 Sep 2009 08:25:32 -0400 stan wrote: > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > I have inherited a system that uses Cricket on FreeBSD to do some > > data collection. I have set this up myself in the distnat past, but > > this time I asked a contractor to set it up. I no longer have > > access to this contractor, and the toher day, we shut down the > > system this was running on, and when we rebooted the system, > > cricket id not resume collecting data. > > > > I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do > > I see anything in /etc/crontag. I don't seen any processes owned by > > cricket running. > > > > In FreeBSD, how is this process noramally invoked? > > Sorry to reply to my own message, but I have more data. I did find > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > Which is, I am failry certain, what is _intended_ to invoke the > cricket process. However, acording to the cricket logs, the last time > I have an entry is Aug 29th, which was when the machine was shut > down. So, I decided to try running this command by hand. Now, to do > so I need to be the cricket user, so I tried to su - cricket. I was > told that this user was not avaialble. Looking in /etc/passwd. I > found that this users shell was listed as /usr/sbin/nologin. I > edited /etc/paswd to change this to /nin/sh, but I still get the smae > error message when I try to su to that user. > > What do I need to change to be able to su to this suer, and might > this be the reason tha it's crontab entry is notbeing run? There is no native port for Cricket on FreeBSD; however, I did find this URL: http://cricket.sourceforge.net/support/doc/beginner.html Perhaps if might be of some assistance. -- Jerry gesbbb@yahoo.com If you sow your wild oats, hope for a crop failure. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:00:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E851065676 for ; Thu, 3 Sep 2009 13:00:52 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 90A018FC1F for ; Thu, 3 Sep 2009 13:00:52 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id n83D0aWO013597 for ; Thu, 3 Sep 2009 08:00:36 -0500 (CDT) Date: Thu, 3 Sep 2009 08:00:36 -0500 (CDT) From: Scott Bennett Message-Id: <200909031300.n83D0aJj013596@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: cc -march questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:00:52 -0000 What exactly does "cc -march=prescott" enable cc to do? Does it include instruction scheduling for the pipeline structure of the Prescott CPUs? Does it include other options, e.g., "-mmmx -msse -msse2 -msse3"? Thanks in advance for any information on the above! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:14:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7355F1065693 for ; Thu, 3 Sep 2009 13:14:14 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3058F8FC17 for ; Thu, 3 Sep 2009 13:14:13 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 5E46938E59; Thu, 3 Sep 2009 09:14:13 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 486B03407E; Thu, 3 Sep 2009 09:14:13 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjC8i-0000ni-00; Thu, 03 Sep 2009 09:14:12 -0400 Date: Thu, 3 Sep 2009 09:14:12 -0400 From: stan To: Jerry Message-ID: <20090903131412.GA3053@teddy.fas.com> Mail-Followup-To: Jerry , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <20090903085659.419bebfb@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903085659.419bebfb@scorpio.seibercom.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 09:11:10 up 33 days, 14:13, 1 user, load average: 0.15, 0.14, 0.04 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:14:14 -0000 On Thu, Sep 03, 2009 at 08:56:59AM -0400, Jerry wrote: > On Thu, 3 Sep 2009 08:25:32 -0400 > stan wrote: > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > I have inherited a system that uses Cricket on FreeBSD to do some > > > data collection. I have set this up myself in the distnat past, but > > > this time I asked a contractor to set it up. I no longer have > > > access to this contractor, and the toher day, we shut down the > > > system this was running on, and when we rebooted the system, > > > cricket id not resume collecting data. > > > > > > I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do > > > I see anything in /etc/crontag. I don't seen any processes owned by > > > cricket running. > > > > > > In FreeBSD, how is this process noramally invoked? > > > > Sorry to reply to my own message, but I have more data. I did find > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > Which is, I am failry certain, what is _intended_ to invoke the > > cricket process. However, acording to the cricket logs, the last time > > I have an entry is Aug 29th, which was when the machine was shut > > down. So, I decided to try running this command by hand. Now, to do > > so I need to be the cricket user, so I tried to su - cricket. I was > > told that this user was not avaialble. Looking in /etc/passwd. I > > found that this users shell was listed as /usr/sbin/nologin. I > > edited /etc/paswd to change this to /nin/sh, but I still get the smae > > error message when I try to su to that user. > > > > What do I need to change to be able to su to this suer, and might > > this be the reason tha it's crontab entry is notbeing run? > > There is no native port for Cricket on FreeBSD; however, I did find > this URL: http://cricket.sourceforge.net/support/doc/beginner.html > Interersting, I have the following directory /usr/ports/net-mgmt/cricket -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:15:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5401065694 for ; Thu, 3 Sep 2009 13:15:23 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id AA8728FC24 for ; Thu, 3 Sep 2009 13:15:23 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 2C6781F092; Thu, 3 Sep 2009 09:15:23 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 1F796343C5; Thu, 3 Sep 2009 09:15:23 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjC9q-0000qF-00; Thu, 03 Sep 2009 09:15:22 -0400 Date: Thu, 3 Sep 2009 09:15:22 -0400 From: stan To: Matthew Seaman Message-ID: <20090903131522.GB3053@teddy.fas.com> Mail-Followup-To: Matthew Seaman , Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A9FB9E3.6060207@infracaninophile.co.uk> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 09:11:10 up 33 days, 14:13, 1 user, load average: 0.15, 0.14, 0.04 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Free BSD Questions list Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:15:24 -0000 On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > stan wrote: > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > >> I have inherited a system that uses Cricket on FreeBSD to do some data > >> collection. I have set this up myself in the distnat past, but this time I > >> asked a contractor to set it up. I no longer have access to this > >> contractor, and the toher day, we shut down the system this was running on, > >> and when we rebooted the system, cricket id not resume collecting data. > >> > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see > >> anything in /etc/crontag. I don't seen any processes owned by cricket > >> running. > >> > >> In FreeBSD, how is this process noramally invoked? > > > > Sorry to reply to my own message, but I have more data. I did find > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > Which is, I am failry certain, what is _intended_ to invoke the cricket > > process. However, acording to the cricket logs, the last time I have an > > entry is Aug 29th, which was when the machine was shut down. So, I decided > > to try running this command by hand. Now, to do so I need to be the cricket > > user, so I tried to su - cricket. I was told that this user was not > > avaialble. Looking in /etc/passwd. I found that this users shell was listed > > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I > > still get the smae error message when I try to su to that user. > > > > What do I need to change to be able to su to this suer, and might this be > > the reason tha it's crontab entry is notbeing run? > > Try: > > # su -m cricket > Thanks, hw dose that differ from just plain "su" that is without the - that causes the new users environemt to be invoked? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:22:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40570106566B for ; Thu, 3 Sep 2009 13:22:58 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id ED6528FC13 for ; Thu, 3 Sep 2009 13:22:57 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 6027B38E41; Thu, 3 Sep 2009 09:22:57 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 44814355AE; Thu, 3 Sep 2009 09:22:57 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjCHA-0000uC-00; Thu, 03 Sep 2009 09:22:56 -0400 Date: Thu, 3 Sep 2009 09:22:56 -0400 From: stan To: Matthew Seaman Message-ID: <20090903132256.GA3270@teddy.fas.com> Mail-Followup-To: Matthew Seaman , Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A9FB9E3.6060207@infracaninophile.co.uk> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 09:19:31 up 33 days, 14:21, 1 user, load average: 0.00, 0.04, 0.02 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Free BSD Questions list Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:22:58 -0000 On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > stan wrote: > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > >> I have inherited a system that uses Cricket on FreeBSD to do some data > >> collection. I have set this up myself in the distnat past, but this time I > >> asked a contractor to set it up. I no longer have access to this > >> contractor, and the toher day, we shut down the system this was running on, > >> and when we rebooted the system, cricket id not resume collecting data. > >> > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see > >> anything in /etc/crontag. I don't seen any processes owned by cricket > >> running. > >> > >> In FreeBSD, how is this process noramally invoked? > > > > Sorry to reply to my own message, but I have more data. I did find > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > Which is, I am failry certain, what is _intended_ to invoke the cricket > > process. However, acording to the cricket logs, the last time I have an > > entry is Aug 29th, which was when the machine was shut down. So, I decided > > to try running this command by hand. Now, to do so I need to be the cricket > > user, so I tried to su - cricket. I was told that this user was not > > avaialble. Looking in /etc/passwd. I found that this users shell was listed > > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I > > still get the smae error message when I try to su to that user. > > > > What do I need to change to be able to su to this suer, and might this be > > the reason tha it's crontab entry is notbeing run? > > Try: > > # su -m cricket > > although the best way to examine and/or modify that user's crontab > is: > > # crontab -e -u cricket > OK, I was able to execute the cricket collector caoomand bu using the su - format, and it ran corectly. Cany anyone sugest what to check to see why cron is not executing this command? I see no evidence of it's running in either the cricket logs' or cron's logs. Thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:27:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15639106566B for ; Thu, 3 Sep 2009 13:27:14 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id C748F8FC14 for ; Thu, 3 Sep 2009 13:27:13 +0000 (UTC) Received: by ywh42 with SMTP id 42so2639160ywh.30 for ; Thu, 03 Sep 2009 06:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=WlaG3+ZBwrarvdea6TEaf1GlDDEg4aPmTIQpUa2wF4U=; b=PSizSkGK41WWUyza+gBIWYSAvnrKj6nVtRTy9LQCTzPLl7W0GXkscC2wzMg75GN1Pl mhQin+MgCTtWkNnyhBRAjTVE7FJrZXJMcjorarKrRDQ350lDRDHIaiHQSUQPdaM1yFXQ xTkVH12B6gvOO/fL7ECP+DYGucIQLu4SzAnnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Iz78102I3P8Y6ASiCGHoFJ2RSdrMWDDMc6iR9kOrr09QOhm0W6+PX8nk7QHmnlHaD0 3NJ8mcHivY2beAUuFaIE718q+fFCXijphCVoaLiuqdtOBxgyO7Vix15OX2zZQQCwjmpt jlnscP1zc6xWKng7f4XGGev+msx9T9A0iplIk= MIME-Version: 1.0 Received: by 10.90.243.18 with SMTP id q18mr7173658agh.75.1251984432799; Thu, 03 Sep 2009 06:27:12 -0700 (PDT) Date: Thu, 3 Sep 2009 09:27:12 -0400 Message-ID: From: Tsu-Fan Cheng To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: bookkeeping software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:27:14 -0000 Hi, I am looking for a port on 7.2R that can do general small family bookkeeping, I am not running gnome or kde, does anyone have any recommendation? thank you!! TFC From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:31:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F831065676 for ; Thu, 3 Sep 2009 13:31:26 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id E780F8FC1E for ; Thu, 3 Sep 2009 13:31:24 +0000 (UTC) Received: by ywh42 with SMTP id 42so2644144ywh.30 for ; Thu, 03 Sep 2009 06:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ZHALwaQ2ECeEQ/7Zv858+vps5p+5R6fUkerqzLxNkXk=; b=E6NcRNB+z2/yyPCBvUywTeVc9hybCm8XV0/tEq63XFOsX4sKJyuPwReDY13/A/FG9E PBffzgrK8PAyhnzT3OyU2rkcmQTrzit74vT7LUAO361F9j9kA4H6Pt/+Akup8Mk7bDKO t9kjRqLZClhMygaZH57Gr04j738x7rlWZJO9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TFv0oGzAkev4Pwj+NddeWFt2ey2WWgVWIHRlB7UPMwZLLuoU/mBi8z1OIsiw5k5+yu V2h+/pHmFElR0/P4xMA5Pb1KHA9YWJkOUfCUCR5SpSIJ5/63hU4T168R+LLoLoPiisy6 jXZUy1NXVJGlBwX0DS4Ed5Ud5P2rlXh6suIHs= MIME-Version: 1.0 Received: by 10.150.81.13 with SMTP id e13mr16262620ybb.48.1251984684102; Thu, 03 Sep 2009 06:31:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Sep 2009 08:31:24 -0500 Message-ID: <6201873e0909030631o46db807aw806c6ee5abde90fa@mail.gmail.com> From: Adam Vande More To: Tsu-Fan Cheng Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: bookkeeping software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:31:26 -0000 On Thu, Sep 3, 2009 at 8:27 AM, Tsu-Fan Cheng wrote: > Hi, > I am looking for a port on 7.2R that can do general small family > bookkeeping, I am not running gnome or kde, does anyone have any > recommendation? thank you!! > > > TFC > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I used sql-ledger, but I may be more inclined to use /usr/ports/finance/ledgersmb now as it's a more open community. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:33:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D93921065676 for ; Thu, 3 Sep 2009 13:33:36 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 9445A8FC0C for ; Thu, 3 Sep 2009 13:33:36 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id EEFB838E4A; Thu, 3 Sep 2009 09:33:35 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id C3110340D4; Thu, 3 Sep 2009 09:33:35 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjCRT-00010y-00; Thu, 03 Sep 2009 09:33:35 -0400 Date: Thu, 3 Sep 2009 09:33:35 -0400 From: stan To: Matthew Seaman , Free BSD Questions list Message-ID: <20090903133335.GA3884@teddy.fas.com> Mail-Followup-To: Matthew Seaman , Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> <20090903132256.GA3270@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903132256.GA3270@teddy.fas.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 09:31:06 up 33 days, 14:33, 1 user, load average: 0.20, 0.09, 0.04 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:33:37 -0000 On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > stan wrote: > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > >> I have inherited a system that uses Cricket on FreeBSD to do some data > > >> collection. I have set this up myself in the distnat past, but this time I > > >> asked a contractor to set it up. I no longer have access to this > > >> contractor, and the toher day, we shut down the system this was running on, > > >> and when we rebooted the system, cricket id not resume collecting data. > > >> > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see > > >> anything in /etc/crontag. I don't seen any processes owned by cricket > > >> running. > > >> > > >> In FreeBSD, how is this process noramally invoked? > > > > > > Sorry to reply to my own message, but I have more data. I did find > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > > > Which is, I am failry certain, what is _intended_ to invoke the cricket > > > process. However, acording to the cricket logs, the last time I have an > > > entry is Aug 29th, which was when the machine was shut down. So, I decided > > > to try running this command by hand. Now, to do so I need to be the cricket > > > user, so I tried to su - cricket. I was told that this user was not > > > avaialble. Looking in /etc/passwd. I found that this users shell was listed > > > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I > > > still get the smae error message when I try to su to that user. > > > > > > What do I need to change to be able to su to this suer, and might this be > > > the reason tha it's crontab entry is notbeing run? > > > > Try: > > > > # su -m cricket > > > > although the best way to examine and/or modify that user's crontab > > is: > > > > # crontab -e -u cricket > > > > OK, I was able to execute the cricket collector caoomand bu using the su - > format, and it ran corectly. > > Cany anyone sugest what to check to see why cron is not executing this > command? I see no evidence of it's running in either the cricket logs' or > cron's logs. > > Thanks. > Repkying to my own message again :-( OK, I found in the cron man page the following: Before running a command from a per-account crontab file, cron checks the status of the account with pam(3) and skips the command if the account is unavailable, e.g., locked out or expired. So, now the question is, how do I unlock that user? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 13:41:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C0C106566C for ; Thu, 3 Sep 2009 13:41:09 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 832708FC0C for ; Thu, 3 Sep 2009 13:41:09 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 2382C38E46; Thu, 3 Sep 2009 09:41:09 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 64CC135343; Thu, 3 Sep 2009 09:41:08 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjCYl-00017X-00; Thu, 03 Sep 2009 09:41:07 -0400 Date: Thu, 3 Sep 2009 09:41:07 -0400 From: stan To: Matthew Seaman , Free BSD Questions list Message-ID: <20090903134107.GA3930@teddy.fas.com> Mail-Followup-To: Matthew Seaman , Free BSD Questions list References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> <20090903132256.GA3270@teddy.fas.com> <20090903133335.GA3884@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903133335.GA3884@teddy.fas.com> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 09:35:11 up 33 days, 14:37, 1 user, load average: 0.20, 0.12, 0.05 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 13:41:10 -0000 On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > stan wrote: > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > >> I have inherited a system that uses Cricket on FreeBSD to do some data > > > >> collection. I have set this up myself in the distnat past, but this time I > > > >> asked a contractor to set it up. I no longer have access to this > > > >> contractor, and the toher day, we shut down the system this was running on, > > > >> and when we rebooted the system, cricket id not resume collecting data. > > > >> > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do I see > > > >> anything in /etc/crontag. I don't seen any processes owned by cricket > > > >> running. > > > >> > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > Sorry to reply to my own message, but I have more data. I did find > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke the cricket > > > > process. However, acording to the cricket logs, the last time I have an > > > > entry is Aug 29th, which was when the machine was shut down. So, I decided > > > > to try running this command by hand. Now, to do so I need to be the cricket > > > > user, so I tried to su - cricket. I was told that this user was not > > > > avaialble. Looking in /etc/passwd. I found that this users shell was listed > > > > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I > > > > still get the smae error message when I try to su to that user. > > > > > > > > What do I need to change to be able to su to this suer, and might this be > > > > the reason tha it's crontab entry is notbeing run? > > > > > > Try: > > > > > > # su -m cricket > > > > > > although the best way to examine and/or modify that user's crontab > > > is: > > > > > > # crontab -e -u cricket > > > > > > > OK, I was able to execute the cricket collector caoomand bu using the su - > > format, and it ran corectly. > > > > Cany anyone sugest what to check to see why cron is not executing this > > command? I see no evidence of it's running in either the cricket logs' or > > cron's logs. > > > > Thanks. > > > Repkying to my own message again :-( > > > OK, I found in the cron man page the following: > > Before running a command from a per-account crontab file, cron > checks the status of the account with pam(3) and skips the command if > the account is unavailable, e.g., locked out or expired. > > So, now the question is, how do I unlock that user? > This gets strnager. I found the pw cammand, which should do thatm but: pnoc# pw unlock cricket pw: user 'cricket' is not locked So, how come: pnoc# su - cricket This account is currently not available. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:02:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19A8D106566C for ; Thu, 3 Sep 2009 14:02:40 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1FA8FC16 for ; Thu, 3 Sep 2009 14:02:39 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id n83E2cws004780; Thu, 3 Sep 2009 15:02:38 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4A9FCC7E.3070209@qeng-ho.org> Date: Thu, 03 Sep 2009 15:02:38 +0100 From: Arthur Chance User-Agent: Thunderbird 2.0.0.23 (X11/20090830) MIME-Version: 1.0 To: Mark Stapper References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> In-Reply-To: <4A9F8F96.3090806@mapper.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:02:40 -0000 Mark Stapper wrote: [snip] > I ordered a "spare" drive so I'll wait until it arrives, replace the > faulty drive with this one by dd-ing data from one to the other (I have > only 4 SATA ports so I can't do "zpool replace"). zpool replace has two forms zpool replace pool old-device new-device and zpool replace pool device The latter is for when you pull the old drive and put the new one on the same {S,P}ATA port because you've no free ports. I did that a couple of weeks ago when one of my raidz drives fried (in its warranty period!) and it worked like a dream. I did a zpool replace and then a zpool scrub to make sure everything was OK because of this section of the zpool man page: Scrubbing and resilvering are very similar operations. The differ- ence is that resilvering only examines data that ZFS knows to be out of date (for example, when attaching a new device to a mirror or replacing an existing device), whereas scrubbing examines all data to discover silent errors due to hardware faults or disk fail- ure. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:22:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D76CE106570D for ; Thu, 3 Sep 2009 14:22:46 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7F49B8FC1F for ; Thu, 3 Sep 2009 14:22:46 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id C78947E853; Thu, 3 Sep 2009 06:22:56 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 16:22:43 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <20090903133335.GA3884@teddy.fas.com> <20090903134107.GA3930@teddy.fas.com> In-Reply-To: <20090903134107.GA3930@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909031622.43318.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:22:47 -0000 On Thursday 03 September 2009 15:41:07 stan wrote: > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > stan wrote: > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > >> I have inherited a system that uses Cricket on FreeBSD to do some > > > > >> data collection. I have set this up myself in the distnat past, > > > > >> but this time I asked a contractor to set it up. I no longer have > > > > >> access to this contractor, and the toher day, we shut down the > > > > >> system this was running on, and when we rebooted the system, > > > > >> cricket id not resume collecting data. > > > > >> > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do > > > > >> I see anything in /etc/crontag. I don't seen any processes owned > > > > >> by cricket running. > > > > >> > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > Sorry to reply to my own message, but I have more data. I did find > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke the > > > > > cricket process. However, acording to the cricket logs, the last > > > > > time I have an entry is Aug 29th, which was when the machine was > > > > > shut down. So, I decided to try running this command by hand. Now, > > > > > to do so I need to be the cricket user, so I tried to su - cricket. > > > > > I was told that this user was not avaialble. Looking in > > > > > /etc/passwd. I found that this users shell was listed as > > > > > /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, > > > > > but I still get the smae error message when I try to su to that > > > > > user. > > > > > > > > > > What do I need to change to be able to su to this suer, and might > > > > > this be the reason tha it's crontab entry is notbeing run? > > > > > > > > Try: > > > > > > > > # su -m cricket > > > > > > > > although the best way to examine and/or modify that user's crontab > > > > is: > > > > > > > > # crontab -e -u cricket > > > > > > OK, I was able to execute the cricket collector caoomand bu using the > > > su - format, and it ran corectly. > > > > > > Cany anyone sugest what to check to see why cron is not executing this > > > command? I see no evidence of it's running in either the cricket logs' > > > or cron's logs. > > > > > > Thanks. > > > > Repkying to my own message again :-( > > > > > > OK, I found in the cron man page the following: > > > > Before running a command from a per-account crontab file, cron > > checks the status of the account with pam(3) and skips the command if > > the account is unavailable, e.g., locked out or expired. > > > > So, now the question is, how do I unlock that user? > > This gets strnager. I found the pw cammand, which should do thatm but: > > pnoc# pw unlock cricket > pw: user 'cricket' is not locked > > So, how come: > > pnoc# su - cricket > This account is currently not available. Cause cricket doesn't have a valid home directory. However, you can simply copy the /var/cron/tabs/cricket to /tmp. Remove the time colums, then run: su -m cricket /usr/bin/env -i HOME=/nonexistent PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket That's the best approximation of how cron runs the commands. If you don't see anything in the cron logs however, it may be an issue with the timestamps specified not yielding any runs. Then it would help to see the actual crontab file. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:28:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5755E106566B for ; Thu, 3 Sep 2009 14:28:11 +0000 (UTC) (envelope-from dmw@coder.cl) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id CDD178FC18 for ; Thu, 3 Sep 2009 14:28:10 +0000 (UTC) Received: by bwz2 with SMTP id 2so1509468bwz.43 for ; Thu, 03 Sep 2009 07:28:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.162.130 with SMTP id v2mr7950800bkx.70.1251988089716; Thu, 03 Sep 2009 07:28:09 -0700 (PDT) In-Reply-To: <200909031300.n83D0aJj013596@mp.cs.niu.edu> References: <200909031300.n83D0aJj013596@mp.cs.niu.edu> Date: Thu, 3 Sep 2009 10:28:09 -0400 Message-ID: From: Daniel Molina Wegener To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cc -march questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@coder.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:28:11 -0000 2009/9/3 Scott Bennett > What exactly does "cc -march=prescott" enable cc to do? Does it > include > instruction scheduling for the pipeline structure of the Prescott CPUs? > Does > it include other options, e.g., "-mmmx -msse -msse2 -msse3"? > Thanks in advance for any information on the above! > According to the GCC manual page, it enables MMX, SSE, SSE2 and SSE3 instruction set support. Try: $ man 1 gcc /prescott Best Regards, DMW > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at cs.niu.edu * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:42:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B5E106568D for ; Thu, 3 Sep 2009 14:42:30 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 426EF8FC1D for ; Thu, 3 Sep 2009 14:42:29 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 6EE1C38E5C; Thu, 3 Sep 2009 10:42:29 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 441B8321E3; Thu, 3 Sep 2009 10:42:29 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjDW8-0001ah-00; Thu, 03 Sep 2009 10:42:28 -0400 Date: Thu, 3 Sep 2009 10:42:28 -0400 From: stan To: Mel Flynn Message-ID: <20090903144228.GA5919@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <20090903133335.GA3884@teddy.fas.com> <20090903134107.GA3930@teddy.fas.com> <200909031622.43318.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909031622.43318.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 10:36:46 up 33 days, 15:38, 1 user, load average: 0.20, 0.14, 0.05 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:42:30 -0000 On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: > On Thursday 03 September 2009 15:41:07 stan wrote: > > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > > stan wrote: > > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > > >> I have inherited a system that uses Cricket on FreeBSD to do some > > > > > >> data collection. I have set this up myself in the distnat past, > > > > > >> but this time I asked a contractor to set it up. I no longer have > > > > > >> access to this contractor, and the toher day, we shut down the > > > > > >> system this was running on, and when we rebooted the system, > > > > > >> cricket id not resume collecting data. > > > > > >> > > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, nor do > > > > > >> I see anything in /etc/crontag. I don't seen any processes owned > > > > > >> by cricket running. > > > > > >> > > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > > > Sorry to reply to my own message, but I have more data. I did find > > > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 /var/cron/tabs/cricke > > > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke the > > > > > > cricket process. However, acording to the cricket logs, the last > > > > > > time I have an entry is Aug 29th, which was when the machine was > > > > > > shut down. So, I decided to try running this command by hand. Now, > > > > > > to do so I need to be the cricket user, so I tried to su - cricket. > > > > > > I was told that this user was not avaialble. Looking in > > > > > > /etc/passwd. I found that this users shell was listed as > > > > > > /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, > > > > > > but I still get the smae error message when I try to su to that > > > > > > user. > > > > > > > > > > > > What do I need to change to be able to su to this suer, and might > > > > > > this be the reason tha it's crontab entry is notbeing run? > > > > > > > > > > Try: > > > > > > > > > > # su -m cricket > > > > > > > > > > although the best way to examine and/or modify that user's crontab > > > > > is: > > > > > > > > > > # crontab -e -u cricket > > > > > > > > OK, I was able to execute the cricket collector caoomand bu using the > > > > su - format, and it ran corectly. > > > > > > > > Cany anyone sugest what to check to see why cron is not executing this > > > > command? I see no evidence of it's running in either the cricket logs' > > > > or cron's logs. > > > > > > > > Thanks. > > > > > > Repkying to my own message again :-( > > > > > > > > > OK, I found in the cron man page the following: > > > > > > Before running a command from a per-account crontab file, cron > > > checks the status of the account with pam(3) and skips the command if > > > the account is unavailable, e.g., locked out or expired. > > > > > > So, now the question is, how do I unlock that user? > > > > This gets strnager. I found the pw cammand, which should do thatm but: > > > > pnoc# pw unlock cricket > > pw: user 'cricket' is not locked > > > > So, how come: > > > > pnoc# su - cricket > > This account is currently not available. > > Cause cricket doesn't have a valid home directory. However, you can simply > copy the /var/cron/tabs/cricket to /tmp. Remove the time colums, then run: > su -m cricket /usr/bin/env -i HOME=/nonexistent PATH=/bin:/usr/bin \ > /bin/sh /tmp/cricket > > That's the best approximation of how cron runs the commands. If you don't see > anything in the cron logs however, it may be an issue with the timestamps > specified not yielding any runs. Then it would help to see the actual crontab > file. Hmm, but I think it does : pnoc# grep cricket /etc/passwd cricket:*:141:80:Cricket Monitoring User:/usr/local/cricket:/usr/sbin/nologin and pnoc# ls -ld /usr/local/cricket drwxr-xr-x 7 cricket www 512 Apr 8 16:41 /usr/local/cricket As far as cron logs, I am _now_ gettting an entry that looks like cron is executing the collector: Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD (/usr/local/cricket/cricket/collect-subtrees normal) But, still not getting anything in cricket's logs: ls: No match. pnoc# ls -l /usr/local/cricket/*logs total 2812 -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 The 9:17 time is from a manual run of the collector. I must admit, I am not certain waht to check next. Thanks for the help! -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:42:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 288F3106568B for ; Thu, 3 Sep 2009 14:42:59 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id C2C898FC25 for ; Thu, 3 Sep 2009 14:42:58 +0000 (UTC) Received: (qmail 83913 invoked from network); 3 Sep 2009 14:42:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=HXajjQ/r3u7bgWfTw7MYME0iQzV81vas2g+7hr1jwFr3aWdG0EtCZv46FYredUoevZDL6HfnbAc6Bbp8nzyPYN1/cxeUG80ZpE1GoFe7r8YLPdqk9EVHLo/7ym+QWRQ3n3rcKA2nrL6jbYqRFZQ0BzgP7e+K5KIgNQ4OT5ZGB8A= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 03 Sep 2009 07:42:57 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: Al0B4cMVM1k0irT6W2JUYPNGwSOjt2uCxZfr3Zy2bDtzlpPGPounCQg.ZrtjW_0zTg.SODh5tDKkDixg8maUPZmpOELrRQH8xysfKRVMzH5Xr.aUltKw4GLWBsbEsosSPIZjPRhSGLRI6BeLg4hNVh1hGghDKN5NcVWw6N.Cv4UG82lVGA37s10Ga_mAdOdX12FkJbU8UnC3nkgmQQZanUUoKVdCOK9HaoFh8ROa2P6eAv.iaxlyGrt030v_9.hGj88RWjtuwoq_cmGgrqMxAdo9aHjMNvpw5bhiQdq50bEselah7efbqWE8_zINq6bvQrxlEZ9q2Q-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 73F8A228A5 for ; Thu, 3 Sep 2009 10:42:57 -0400 (EDT) Date: Thu, 3 Sep 2009 10:42:57 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090903104257.547e05ce@scorpio.seibercom.net> In-Reply-To: <20090903134107.GA3930@teddy.fas.com> References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> <20090903132256.GA3270@teddy.fas.com> <20090903133335.GA3884@teddy.fas.com> <20090903134107.GA3930@teddy.fas.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:42:59 -0000 On Thu, 3 Sep 2009 09:41:07 -0400 stan wrote: > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > stan wrote: > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > >> I have inherited a system that uses Cricket on FreeBSD to do > > > > >> some data collection. I have set this up myself in the > > > > >> distnat past, but this time I asked a contractor to set it > > > > >> up. I no longer have access to this contractor, and the > > > > >> toher day, we shut down the system this was running on, and > > > > >> when we rebooted the system, cricket id not resume > > > > >> collecting data. > > > > >> > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, > > > > >> nor do I see anything in /etc/crontag. I don't seen any > > > > >> processes owned by cricket running. > > > > >> > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > Sorry to reply to my own message, but I have more data. I did > > > > > find > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 > > > > > 2009 /var/cron/tabs/cricke > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke > > > > > the cricket process. However, acording to the cricket logs, > > > > > the last time I have an entry is Aug 29th, which was when the > > > > > machine was shut down. So, I decided to try running this > > > > > command by hand. Now, to do so I need to be the cricket user, > > > > > so I tried to su - cricket. I was told that this user was not > > > > > avaialble. Looking in /etc/passwd. I found that this users > > > > > shell was listed as /usr/sbin/nologin. I edited /etc/paswd to > > > > > change this to /nin/sh, but I still get the smae error > > > > > message when I try to su to that user. > > > > > > > > > > What do I need to change to be able to su to this suer, and > > > > > might this be the reason tha it's crontab entry is notbeing > > > > > run? > > > > > > > > Try: > > > > > > > > # su -m cricket > > > > > > > > although the best way to examine and/or modify that user's > > > > crontab is: > > > > > > > > # crontab -e -u cricket > > > > > > > > > > OK, I was able to execute the cricket collector caoomand bu using > > > the su - format, and it ran corectly. > > > > > > Cany anyone sugest what to check to see why cron is not executing > > > this command? I see no evidence of it's running in either the > > > cricket logs' or cron's logs. > > > > > > Thanks. > > > > > Repkying to my own message again :-( > > > > > > OK, I found in the cron man page the following: > > > > Before running a command from a per-account crontab file, cron > > checks the status of the account with pam(3) and skips the command > > if the account is unavailable, e.g., locked out or expired. > > > > So, now the question is, how do I unlock that user? > > > This gets strnager. I found the pw cammand, which should do thatm but: > > pnoc# pw unlock cricket > pw: user 'cricket' is not locked > > So, how come: > > pnoc# su - cricket > This account is currently not available. Something appears to be broken. You might try a new installation. The port creates the user and group if it does not exist. 1) pkg-delete -dfv cricket-1.0.5_5 2) Use pw to delete any reference to cricket 3) Then install cricket via the port -- Jerry gesbbb@yahoo.com We are upping our standards ... so up yours. Pat Paulsen for President, 1988 From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 14:52:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F511065672 for ; Thu, 3 Sep 2009 14:52:32 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id D1E248FC0C for ; Thu, 3 Sep 2009 14:52:31 +0000 (UTC) Received: from localhost (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 84A311119; Thu, 3 Sep 2009 16:52:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by localhost (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SH0pjYY4yOFg; Thu, 3 Sep 2009 16:52:26 +0200 (CEST) Received: from snifi.dat.pl (87-204-241-35.ip.netia.com.pl [87.204.241.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id A0FE71117; Thu, 3 Sep 2009 16:52:26 +0200 (CEST) From: Maciej Milewski To: Free BSD Questions list , stan Date: Thu, 3 Sep 2009 16:52:23 +0200 User-Agent: KMail/1.12.0 (FreeBSD/8.0-BETA3; KDE/4.3.0; amd64; ; ) References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> In-Reply-To: <20090903122532.GA1604@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <200909031652.24359.milu@dat.pl> Cc: Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:52:32 -0000 Dnia czwartek, 3 wrze=B6nia 2009 o 14:25:32 stan napisa=B3(a): > Now, to do so I need to be the cricket > user, so I tried to su - cricket. I was told that this user was not > avaialble. Looking in /etc/passwd. I found that this users shell was list= ed > as /usr/sbin/nologin. I edited /etc/paswd to change this to /nin/sh, but I > still get the smae error message when I try to su to that user. > > What do I need to change to be able to su to this suer, and might this be > the reason tha it's crontab entry is notbeing run? Do not edit /etcpasswd to change shell. Use command: chpass -s /bin/shell username Or if you really want to do it manually rebuild it through pwd_mkdb. More i= nfo=20 as always in excelent FreeBSD manpages. Regards, Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:11:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79A7106566B for ; Thu, 3 Sep 2009 15:11:11 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC1D8FC0C for ; Thu, 3 Sep 2009 15:11:10 +0000 (UTC) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090903151101.FSZQ6742.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Thu, 3 Sep 2009 16:11:01 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090903151101.BKVO2093.aamtaout03-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Thu, 3 Sep 2009 16:11:01 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 4E1CA618E; Thu, 3 Sep 2009 16:10:59 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id EBADF6152 for ; Thu, 3 Sep 2009 16:10:58 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Thu, 3 Sep 2009 16:10:58 +0100 From: "Daniel Bye" Date: Thu, 3 Sep 2009 16:10:58 +0100 To: freebsd-questions@freebsd.org Message-ID: <20090903151058.GB67705@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <20090903122532.GA1604@teddy.fas.com> <4A9FB9E3.6060207@infracaninophile.co.uk> <20090903132256.GA3270@teddy.fas.com> <20090903133335.GA3884@teddy.fas.com> <20090903134107.GA3930@teddy.fas.com> <20090903104257.547e05ce@scorpio.seibercom.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <20090903104257.547e05ce@scorpio.seibercom.net> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-BETA3 i386 X-Cloudmark-Analysis: v=1.0 c=1 a=ehNlctqhnw0A:10 a=VUfPOBp7AAAA:8 a=9lr0zDvHMNQermljOa8A:9 a=PHXFgAiJ7i6gekncfwZJqGUtTFwA:4 a=5hK03km2n30A:10 a=CuceOzDgKMPGqJMV0QwA:9 a=jelaJJowwvCTcRiSD4Ec8lHAEOYA:4 Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:11:12 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 03, 2009 at 10:42:57AM -0400, Jerry wrote: > On Thu, 3 Sep 2009 09:41:07 -0400 > stan wrote: > > > OK, I found in the cron man page the following: > > >=20 > > > Before running a command from a per-account crontab file, cron > > > checks the status of the account with pam(3) and skips the command > > > if the account is unavailable, e.g., locked out or expired. > > >=20 > > > So, now the question is, how do I unlock that user? > > >=20 > > This gets strnager. I found the pw cammand, which should do thatm but: > >=20 > > pnoc# pw unlock cricket > > pw: user 'cricket' is not locked > >=20 > > So, how come: > >=20 > > pnoc# su - cricket > > This account is currently not available. >=20 > Something appears to be broken. You might try a new installation. The > port creates the user and group if it does not exist. No, this is the expected behaviour when an account has /sbin/nologin as its shell. Matthew has already offered a solution to this problem,=20 several replies ago. As root: # su -m cricket Which will give you a basic prompt belonging to cricket. Then: $ crontab -e Or, in one command, as root: # crontab -u cricket -e In either case, you shoule be left with an editor session in which you can create or modify user cricket's crontab. If not, tell us the error message. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqf3IIACgkQixf5fBYiFmqRBgCglCHwhJLFUWGPPDmgLZu7I4wK J1MAn3cKGHBS3HAzxALqT1xPeGk6wC59 =m9Al -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:16:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F41C81065670 for ; Thu, 3 Sep 2009 15:16:16 +0000 (UTC) (envelope-from service@vonage.com) Received: from stanmarinternational.com (mail.stanmarinternational.com [208.124.187.122]) by mx1.freebsd.org (Postfix) with ESMTP id B706B8FC08 for ; Thu, 3 Sep 2009 15:16:16 +0000 (UTC) Received: from vonage.com ([88.208.216.179]) by stanmarinternational.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Sep 2009 10:59:18 -0400 From: "Vonage" To: freebsd-questions@freebsd.org Date: 03 Sep 2009 15:59:17 +0100 Message-ID: <20090903155917.9315197A1D72C44F@vonage.com> Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 03 Sep 2009 14:59:18.0524 (UTC) FILETIME=[1CA55BC0:01CA2CA7] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Your Vonage Account X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:16:17 -0000 Dear Vonage (SM) Customer: Thank you = for selecting Vonage. In an attempt to protect your credit card from potenti= al fraudulent activities, Vonage has implemented a Fraud Protection Pro= gram. Vonage wants to ensure that you are aware of the charges = that will be appearing on your Credit Card statement and receive your authorization to allow such ch= arges to be processed by Vonage. If you do not approve of these charg= es or were not aware that your credit card is being charged by Vonage p= lease contact Vonage immediately at 1-800-266-0026. To ensure that there is no disruption in your service please login to your V= onage account at [1]https://secure.vonage.com/vonage-web/publi= c/ If we do not receive this form within five(5) days your se= rvice will be suspended and sent to our fraud department for further investi= gation. Regards, Vonage References 1. 3D"http://secure.vonage.com.webaccount.dashboard.59=/ From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:31:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FD45106566B for ; Thu, 3 Sep 2009 15:31:49 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E3F078FC16 for ; Thu, 3 Sep 2009 15:31:48 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 42B9C7E853; Thu, 3 Sep 2009 07:31:59 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 17:31:45 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909031622.43318.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903144228.GA5919@teddy.fas.com> In-Reply-To: <20090903144228.GA5919@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909031731.45563.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:31:49 -0000 On Thursday 03 September 2009 16:42:28 stan wrote: > On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: > > On Thursday 03 September 2009 15:41:07 stan wrote: > > > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > > > stan wrote: > > > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > > > >> I have inherited a system that uses Cricket on FreeBSD to do > > > > > > >> some data collection. I have set this up myself in the distnat > > > > > > >> past, but this time I asked a contractor to set it up. I no > > > > > > >> longer have access to this contractor, and the toher day, we > > > > > > >> shut down the system this was running on, and when we rebooted > > > > > > >> the system, cricket id not resume collecting data. > > > > > > >> > > > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it up, > > > > > > >> nor do I see anything in /etc/crontag. I don't seen any > > > > > > >> processes owned by cricket running. > > > > > > >> > > > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > > > > > Sorry to reply to my own message, but I have more data. I did > > > > > > > find > > > > > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 > > > > > > > /var/cron/tabs/cricke > > > > > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke the > > > > > > > cricket process. However, acording to the cricket logs, the > > > > > > > last time I have an entry is Aug 29th, which was when the > > > > > > > machine was shut down. So, I decided to try running this > > > > > > > command by hand. Now, to do so I need to be the cricket user, > > > > > > > so I tried to su - cricket. I was told that this user was not > > > > > > > avaialble. Looking in /etc/passwd. I found that this users > > > > > > > shell was listed as /usr/sbin/nologin. I edited /etc/paswd to > > > > > > > change this to /nin/sh, but I still get the smae error message > > > > > > > when I try to su to that user. > > > > > > > > > > > > > > What do I need to change to be able to su to this suer, and > > > > > > > might this be the reason tha it's crontab entry is notbeing > > > > > > > run? > > > > > > > > > > > > Try: > > > > > > > > > > > > # su -m cricket > > > > > > > > > > > > although the best way to examine and/or modify that user's > > > > > > crontab is: > > > > > > > > > > > > # crontab -e -u cricket > > > > > > > > > > OK, I was able to execute the cricket collector caoomand bu using > > > > > the su - format, and it ran corectly. > > > > > > > > > > Cany anyone sugest what to check to see why cron is not executing > > > > > this command? I see no evidence of it's running in either the > > > > > cricket logs' or cron's logs. > > > > > > > > > > Thanks. > > > > > > > > Repkying to my own message again :-( > > > > > > > > > > > > OK, I found in the cron man page the following: > > > > > > > > Before running a command from a per-account crontab file, cron > > > > checks the status of the account with pam(3) and skips the command > > > > if the account is unavailable, e.g., locked out or expired. > > > > > > > > So, now the question is, how do I unlock that user? > > > > > > This gets strnager. I found the pw cammand, which should do thatm but: > > > > > > pnoc# pw unlock cricket > > > pw: user 'cricket' is not locked > > > > > > So, how come: > > > > > > pnoc# su - cricket > > > This account is currently not available. > > > > Cause cricket doesn't have a valid home directory. However, you can > > simply copy the /var/cron/tabs/cricket to /tmp. Remove the time colums, > > then run: su -m cricket /usr/bin/env -i HOME=/nonexistent > > PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket > > > > That's the best approximation of how cron runs the commands. If you don't > > see anything in the cron logs however, it may be an issue with the > > timestamps specified not yielding any runs. Then it would help to see the > > actual crontab file. > > Hmm, but I think it does : > > pnoc# grep cricket /etc/passwd > cricket:*:141:80:Cricket Monitoring > User:/usr/local/cricket:/usr/sbin/nologin /usr/sbin/nologin. I guess you edited master.passwd and didn't use the proper tools (vipw or run pwd_mkdb after using a plain editor). > As far as cron logs, I am _now_ gettting an entry that looks like cron is > executing the collector: > > Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD > (/usr/local/cricket/cricket/collect-subtrees normal) > > But, still not getting anything in cricket's logs: > > ls: No match. > pnoc# ls -l /usr/local/cricket/*logs > total 2812 > -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 > > The 9:17 time is from a manual run of the collector. > > I must admit, I am not certain waht to check next. Run: su -m cricket /usr/bin/env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin /usr/local/cricket/cricket/collect-subtrees normal Then check output. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:35:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3D2B106568F for ; Thu, 3 Sep 2009 15:35:16 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 866988FC16 for ; Thu, 3 Sep 2009 15:35:16 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 6DCE37E818 for ; Thu, 3 Sep 2009 07:35:27 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 17:35:14 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <20090903134107.GA3930@teddy.fas.com> <20090903104257.547e05ce@scorpio.seibercom.net> In-Reply-To: <20090903104257.547e05ce@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909031735.14195.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:35:16 -0000 On Thursday 03 September 2009 16:42:57 Jerry wrote: > Something appears to be broken. You might try a new installation. Please.....wipe and reload is only common in broken OS implementations and certainly problems with a task scheduler rarely (if ever) call for extremities like this, nor does it provide any guarantee the problem will be solved by it. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:35:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EC0510656C2 for ; Thu, 3 Sep 2009 15:35:56 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 9499A8FC22 for ; Thu, 3 Sep 2009 15:35:55 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so1410634fga.13 for ; Thu, 03 Sep 2009 08:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=uoKYdsTqGACU4+JgIe/IQkbW1SAhgXPl126yjdIe7SA=; b=EeqCpJTPTjhSFK3nw1NBMDOtJgt+KbyDOXdEckoKJM3enoINI9rAgtrgyKNbygpQ6x yR5WUQd8yMXF10Gg7vD1yUg8ifiWRCLKQNQ/tBFFEXv0BjjmEdch8Rt+NeRoz6TSu+4y Ndt73PIXLOcl1oN9dr2s9zWVEwxeeJJlBjHRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=agJQoOE6sb8BZIRnVbHVcBSg4UxfWQ8d/qRfmlK1hwudEguAW1ENeIPuUZ9m9K+uoS vZWWQ5aNemdrhLqSdAI9ItjXE5J0459IWNQkts4P9QwUjXDce51PBGS91vyeim4M8LSI ZWvddYMclp4DfOZcerqxEtajpvY8CqB12a7y8= MIME-Version: 1.0 Received: by 10.86.190.37 with SMTP id n37mr4042299fgf.39.1251992154210; Thu, 03 Sep 2009 08:35:54 -0700 (PDT) From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 3 Sep 2009 17:35:34 +0200 Message-ID: To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:35:56 -0000 Hello I'm having some troubles, trying to create bootable USB keys. I found (freebsd-hackers ML archives) a script, supposed to create the bootable image from my iso file. But, it still don't boot... (I may do it wrong) In details: -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. -We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9 (sorry...) -USB sticks must contain a FAT32 partition (we'ld like to provide doc for windows users) Well, my english isn't so great... so I'll post my code (more understandable) --maker.sh-- #!/bin/sh ISO_DIR=3D/r00t ISO_PFIX=3Dr00t VERSION=3D5.9.3.0 ISO_FILE=3D$ISO_DIR/$ISO_PFIX-$VERSION.img DEVICE=3D TMPDOC=3D/mnt/tmpdoc DOCDIR=3D/root/samuel/docdir ERR=3D SFX=3D MBR=3D/root/samuel/mbr BT1=3D/root/samuel/boot1 BT2=3D/root/samuel/boot2 if [ -e "$1" ]; then DEVICE=3D$1 elif [ "$1" -a -e "/dev/$1" ]; then DEVICE=3D/dev/$1 elif [ "$1" ]; then echo "$0: incorrect device specified" >&2 exit else echo "$0: must specify device" >&2 exit fi for i in `mount | cut -d ' ' -f 1` do if [ "`echo $i | grep $DEVICE`" ]; then echo "$0: $i already mounted" >&2 echo " umount it manually or choose an other drive" >&2 exit fi done if [ -e "$TMPDOC" -a -d "$TMPDOC" ]; then echo "$0: removing $TMPDOC directory" >&2 rm -rf $TMPDOC elif [ -e "$TMPDOC" ]; then mv $TMPDOC $TMPDOC.old echo "$0: moved $TMPDOC to $TMPDOC.old" >&2 fi mkdir $TMPDOC if [ "$2" ]; then echo $2 | grep "\.img$" >/dev/null || SFX=3D".img" fi if [ -e "$2$SFX" ]; then ISO_FILE=3D$2$SFX elif [ "$2" -a -e "$ISO_DIR/$2$SFX" ]; then ISO_FILE=3D$ISO_DIR/$2 elif [ "$2" -a -e "$ISO_DIR/$ISO_PFIX-$2$SFX" ]; then ISO_FILE=3D"$ISO_DIR/$ISO_PFX-$2$SFX" else echo "$0: will use default file \`$ISO_FILE'" >&2 echo " as system image source" >&2 fi if [ -e "$ISO_FILE" ]; then MSize=3D`ls -l $ISO_FILE | awk '{print $5}'` else echo "$0: $ISO_FILE doesn't exist!" >&2 rm -rf $TMPDOC exit fi if [ -z "$MSize" -o "$MSize" -lt 1 ]; then echo "$0: bad image size (size=3D$MSize)" >&2 rm -rf $TMPDOC exit fi while : do echo " [ Working on $DEVICE ]" echo -n " determining device geometry " infos=3D`fdisk -l $DEVICE 2>/dev/null | grep "[0-9]* heads"` ident=3D`fdisk -l $DEVICE 2>/dev/null | awk '/Disk identifier/{print $3= }'` csz=3D`fdisk -l $DEVICE 2>/dev/null | awk '/Units =3D cylinders /{print $7}'` eval `echo $infos | awk '{print "hpc=3D" $1 " sec=3D" $3 " cyl=3D" $5}'= ` if [ -z "$hpc" -o -z "$sec" -o -z "$cyl" -o -z "$csz" ]; then echo " [ FAIL ]" echo "$0: can't get infos for device $DEVICE" >&2 rm -rf $TMPDOC exit fi echo " [ OK ]" echo -n " initializing partition table " # dd if=3D/dev/zero of=3D$DEVICE bs=3D$csz count=3D1 >/dev/null 2>&1 dd if=3D$BT1 of=3D$DEVICE >/dev/null 2>&1 round=3D128 tocyl=3D`expr $hpc '*' $sec '*' $csz` ret=3D`expr $MSize % $tocyl` MSize=3D`expr $MSize / $tocyl` test "$ret" -eq "0" || MSize=3D`expr $MSize + 1` s2len=3D$MSize s2off=3D`expr $cyl - $s2len - 1` s1len=3D`expr $s2off - 1` s1off=3D1 sfdisk -DLqf $DEVICE >/dev/null 2>&1 </dev/null 2>&1 mkdosfs -i 42424242 -n "Docs" -F 32 ${DEVICE}1 >/dev/null 2>&1 mount -t vfat ${DEVICE}1 $TMPDOC || ERR=3D1 if [ "$ERR" ]; then echo " [ FAIL ]" echo "$0: unable to mount ${DEVICE}1 on $TMPDOC" rm -rf $TMPDOC exit fi echo " [ OK ]" echo -n " copying documentation files " cp -rp $DOCDIR/* $TMPDOC/ >/dev/null 2>&1 || ERR=3D2 if [ "$ERR" ]; then echo " [ FAIL ]" echo "$0: unable to copy doc files" ERR=3D fi umount ${DEVICE}1 echo " [ OK ]" echo -n " copying system " dd if=3D$ISO_FILE of=3D${DEVICE}2 status=3Dnoxfer >/dev/null 2>&1 echo " [ OK ]" mbrsig $DEVICE 2>&1 | awk '{print " marking device with serial " $3 }' echo " [ Device ready! ]" echo "" echo -n " Create new USB key ? [Y/N] : " && read i test "$i" =3D "Y" -o "$i" =3D "y" -o "$i" =3D "O" -o "$i" =3D "o" || i= =3D test -z "$i" && echo " [ leaving ]" && break echo " Please, remove current USB key, insert new one and press enter" read i done rmdir $TMPDOC --EOF-- So, this is a "USB stick generator" I'm working on. It seems to work. (I've not tested everything, but the basis is OK) The stick is correctly parted. The documentation is copied. My only problem is that it still don't wan't to boot... At the beginning, I was trying to paste my ISO file directly in ${DEVICE}2 Then, I found the following shell script, which is supposed to make my bootable image from my ISO file I changed 2/3 things, but some of you may recognize it anyway: --ISOtoIMG.sh-- #!/bin/sh MAKEFS=3Dmakefs MKLABEL=3Dbsdlabel BSDTAR=3Dtar DD=3D"dd status=3Dnoxfer" make_freebsd_image() { local tree=3D$1 local imagefile=3D$2 local boot1=3D${tree}/boot/boot1 local boot2=3D${tree}/boot/boot2 echo "convert tree $tree image $imagefile" ${MAKEFS} -t ffs -o bsize=3D4096 -o fsize=3D512 -f 50 ${imagefile} ${tree= } >/dev/null 2>&1 ${MKLABEL} -w -f ${imagefile} auto >/dev/null 2>&1 ${MKLABEL} -f ${imagefile} 2>/dev/null | sed -e '/ c:/{p;s/c:/a:/;}' | \ ${MKLABEL} -R -f ${imagefile} /dev/stdin >/dev/null 2>&1 ${DD} if=3D${boot1} of=3D${imagefile} conv=3Dnotrunc >/dev/null 2>&1 ${DD} if=3D${boot2} iseek=3D1 ibs=3D276 2>/dev/null | \ ${DD} of=3D${imagefile} oseek=3D1 obs=3D788 conv=3Dnotrunc >/dev/null 2>&= 1 } extract_image() { [ -f $1 ] || return local tmp=3D"${tree}.tree" [ -e ${tmp} ] && rm -rf ${tmp} mkdir -p $tmp echo "extracting $tree in $tmp" (cd $tmp && ${BSDTAR} xf $tree) tree=3D$tmp } if [ -z "$1" ]; then echo "$0: usage" >&2 echo " $0 {ISO_input} | {system_root IMG_output}" >&2 exit fi tree=3D`realpath $1` [ "$2" ] && image=3D`realpath $2` || image=3D`echo $tree | sed "s/.iso/.img= /"` extract_image $tree make_freebsd_image $tree $image [ -d "$tmp" ] && (chmod -R +w $tmp && rm -rf $tmp) --EOF-- This seems to work, too... I'm just surprised: root@granit:~/samuel# l -h /r00t/r00t-5.9.3.0* -rw-r--r-- 1 root root 566M 2009-09-03 15:29 /r00t/r00t-5.9.3.0.img -rw-r--r-- 1 root root 526M 2009-08-08 06:58 /r00t/r00t-5.9.3.0.iso new file is 40M heavier than our iso image... Also, in the first script, I tried to do the first dd (initializing ${DEVICE}) with: - if=3D$MBR - if=3D$BT1 - if=3D$BT2 - if=3D/dev/zero none of that worked... So. Does someone understand what am I doing wrong?! Thanks for you help! Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:50:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C17A4106566C; Thu, 3 Sep 2009 15:50:06 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id F0F7C8FC0C; Thu, 3 Sep 2009 15:50:05 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so738123fgg.13 for ; Thu, 03 Sep 2009 08:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=HK6eTgIdnbebMlIhf027ur9TaSEJ5wWMDhM4Hi/rtPo=; b=n/pawIFx3ZZwatK/1hTgUKkD1O+RC+RUFLhILXu5sqMJzsaflfYVWTqzS23a+cZJe8 zMPrKuUbwmph6A/kLBroPKTOq6YTrpEb2KW641BmNP4s7AKZGtFNNXrAdbi0gUL91MsS SaprWbMzai2gBpks7uU2YSkgDM+5TIo+dUJE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=A6QnsYMj7uX9bKkteuz6q46AWyAQLjv89H030dnd/VZp4M0CtGKIHXHcptkNegSpQJ nzBB5syfuvogmbvzOS28boZjciJF4sTw8XSWyacy5scSE7tem7QzYPfODa+FKmnSZTqr 3iKtWKSovS5oS6d6RdzPRf8XD0ZwxbhAeVRyE= MIME-Version: 1.0 Received: by 10.86.13.37 with SMTP id 37mr4061525fgm.58.1251993005102; Thu, 03 Sep 2009 08:50:05 -0700 (PDT) In-Reply-To: References: From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 3 Sep 2009 17:49:45 +0200 Message-ID: To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:50:06 -0000 hello. again. btw: my .img file is 0-filled in its 512 first bytes... i downloaded the 8-0-BETA3-???.img, it starts with EB3C. and I think each .img file start like that, right ? thanks Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 On Thu, Sep 3, 2009 at 5:35 PM, Samuel Mart=EDn Moro wro= te: > > Hello > > I'm having some troubles, trying to create bootable USB keys. > I found (freebsd-hackers ML archives) a script, supposed to create the > bootable image from my iso file. > But, it still don't boot... (I may do it wrong) > > In details: > -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. > -We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9 > (sorry...) > -USB sticks must contain a FAT32 partition (we'ld like to provide doc for > windows users) > > Well, my english isn't so great... so I'll post my code (more > understandable) > > --maker.sh-- > #!/bin/sh > ISO_DIR=3D/r00t > ISO_PFIX=3Dr00t > VERSION=3D5.9.3.0 > ISO_FILE=3D$ISO_DIR/$ISO_PFIX-$VERSION.img > DEVICE=3D > TMPDOC=3D/mnt/tmpdoc > DOCDIR=3D/root/samuel/docdir > ERR=3D > SFX=3D > MBR=3D/root/samuel/mbr > BT1=3D/root/samuel/boot1 > BT2=3D/root/samuel/boot2 > > if [ -e "$1" ]; then > DEVICE=3D$1 > elif [ "$1" -a -e "/dev/$1" ]; then > DEVICE=3D/dev/$1 > elif [ "$1" ]; then > echo "$0: incorrect device specified" >&2 > exit > else > echo "$0: must specify device" >&2 > exit > fi > for i in `mount | cut -d ' ' -f 1` > do > if [ "`echo $i | grep $DEVICE`" ]; then > echo "$0: $i already mounted" >&2 > echo " umount it manually or choose an other drive" >&2 > exit > fi > done > > if [ -e "$TMPDOC" -a -d "$TMPDOC" ]; then > echo "$0: removing $TMPDOC directory" >&2 > rm -rf $TMPDOC > elif [ -e "$TMPDOC" ]; then > mv $TMPDOC $TMPDOC.old > echo "$0: moved $TMPDOC to $TMPDOC.old" >&2 > fi > mkdir $TMPDOC > > if [ "$2" ]; then > echo $2 | grep "\.img$" >/dev/null || SFX=3D".img" > fi > > if [ -e "$2$SFX" ]; then > ISO_FILE=3D$2$SFX > elif [ "$2" -a -e "$ISO_DIR/$2$SFX" ]; then > ISO_FILE=3D$ISO_DIR/$2 > elif [ "$2" -a -e "$ISO_DIR/$ISO_PFIX-$2$SFX" ]; then > ISO_FILE=3D"$ISO_DIR/$ISO_PFX-$2$SFX" > else > echo "$0: will use default file \`$ISO_FILE'" >&2 > echo " as system image source" >&2 > fi > if [ -e "$ISO_FILE" ]; then > MSize=3D`ls -l $ISO_FILE | awk '{print $5}'` > else > echo "$0: $ISO_FILE doesn't exist!" >&2 > rm -rf $TMPDOC > exit > fi > if [ -z "$MSize" -o "$MSize" -lt 1 ]; then > echo "$0: bad image size (size=3D$MSize)" >&2 > rm -rf $TMPDOC > exit > fi > > while : > do > echo " [ Working on $DEVICE ]" > > echo -n " determining device geometry " > infos=3D`fdisk -l $DEVICE 2>/dev/null | grep "[0-9]* heads"` > ident=3D`fdisk -l $DEVICE 2>/dev/null | awk '/Disk identifier/{print > $3}'` > csz=3D`fdisk -l $DEVICE 2>/dev/null | awk '/Units =3D cylinders /{pri= nt > $7}'` > eval `echo $infos | awk '{print "hpc=3D" $1 " sec=3D" $3 " cyl=3D" $5= }'` > if [ -z "$hpc" -o -z "$sec" -o -z "$cyl" -o -z "$csz" ]; then > echo " [ FAIL ]" > echo "$0: can't get infos for device $DEVICE" >&2 > rm -rf $TMPDOC > exit > fi > echo " [ OK ]" > > echo -n " initializing partition table " > # dd if=3D/dev/zero of=3D$DEVICE bs=3D$csz count=3D1 >/dev/null 2>&1 > dd if=3D$BT1 of=3D$DEVICE >/dev/null 2>&1 > round=3D128 > tocyl=3D`expr $hpc '*' $sec '*' $csz` > ret=3D`expr $MSize % $tocyl` > MSize=3D`expr $MSize / $tocyl` > test "$ret" -eq "0" || MSize=3D`expr $MSize + 1` > s2len=3D$MSize > s2off=3D`expr $cyl - $s2len - 1` > s1len=3D`expr $s2off - 1` > s1off=3D1 > sfdisk -DLqf $DEVICE >/dev/null 2>&1 < $s1off $s1len b > $s2off $s2len a5 * > EOF > echo " [ OK ]" > > echo -n " formatting FAT32 partition " > dd if=3D/dev/zero of=3D${DEVICE}1 bs=3D$csz count=3D1 >/dev/null 2>&1 > mkdosfs -i 42424242 -n "Docs" -F 32 ${DEVICE}1 >/dev/null 2>&1 > mount -t vfat ${DEVICE}1 $TMPDOC || ERR=3D1 > if [ "$ERR" ]; then > echo " [ FAIL ]" > echo "$0: unable to mount ${DEVICE}1 on $TMPDOC" > rm -rf $TMPDOC > exit > fi > echo " [ OK ]" > > echo -n " copying documentation files " > cp -rp $DOCDIR/* $TMPDOC/ >/dev/null 2>&1 || ERR=3D2 > if [ "$ERR" ]; then > echo " [ FAIL ]" > echo "$0: unable to copy doc files" > ERR=3D > fi > umount ${DEVICE}1 > echo " [ OK ]" > > echo -n " copying system " > dd if=3D$ISO_FILE of=3D${DEVICE}2 status=3Dnoxfer >/dev/null 2>&1 > echo " [ OK ]" > > mbrsig $DEVICE 2>&1 | awk '{print " marking device with serial " $= 3 > }' > echo " [ Device ready! ]" > echo "" > echo -n " Create new USB key ? [Y/N] : " && read i > test "$i" =3D "Y" -o "$i" =3D "y" -o "$i" =3D "O" -o "$i" =3D "o" || = i=3D > test -z "$i" && echo " [ leaving ]" && break > echo " Please, remove current USB key, insert new one and press enter= " > read i > done > rmdir $TMPDOC > --EOF-- > > So, this is a "USB stick generator" I'm working on. > It seems to work. (I've not tested everything, but the basis is OK) > The stick is correctly parted. > The documentation is copied. > My only problem is that it still don't wan't to boot... > > At the beginning, I was trying to paste my ISO file directly in ${DEVICE}= 2 > Then, I found the following shell script, which is supposed to make my > bootable image from my ISO file > I changed 2/3 things, but some of you may recognize it anyway: > > --ISOtoIMG.sh-- > #!/bin/sh > MAKEFS=3Dmakefs > MKLABEL=3Dbsdlabel > BSDTAR=3Dtar > DD=3D"dd status=3Dnoxfer" > > make_freebsd_image() > { > local tree=3D$1 > local imagefile=3D$2 > local boot1=3D${tree}/boot/boot1 > local boot2=3D${tree}/boot/boot2 > > echo "convert tree $tree image $imagefile" > ${MAKEFS} -t ffs -o bsize=3D4096 -o fsize=3D512 -f 50 ${imagefile} ${tr= ee} > >/dev/null 2>&1 > ${MKLABEL} -w -f ${imagefile} auto >/dev/null 2>&1 > ${MKLABEL} -f ${imagefile} 2>/dev/null | sed -e '/ c:/{p;s/c:/a:/;}' | = \ > ${MKLABEL} -R -f ${imagefile} /dev/stdin >/dev/null 2>&1 > ${DD} if=3D${boot1} of=3D${imagefile} conv=3Dnotrunc >/dev/null 2>&1 > ${DD} if=3D${boot2} iseek=3D1 ibs=3D276 2>/dev/null | \ > ${DD} of=3D${imagefile} oseek=3D1 obs=3D788 conv=3Dnotrunc >/dev/null 2= >&1 > } > > extract_image() > { > [ -f $1 ] || return > local tmp=3D"${tree}.tree" > [ -e ${tmp} ] && rm -rf ${tmp} > mkdir -p $tmp > echo "extracting $tree in $tmp" > (cd $tmp && ${BSDTAR} xf $tree) > tree=3D$tmp > } > > if [ -z "$1" ]; then > echo "$0: usage" >&2 > echo " $0 {ISO_input} | {system_root IMG_output}" >&2 > exit > fi > tree=3D`realpath $1` > [ "$2" ] && image=3D`realpath $2` || image=3D`echo $tree | sed "s/.iso/.i= mg/"` > extract_image $tree > make_freebsd_image $tree $image > [ -d "$tmp" ] && (chmod -R +w $tmp && rm -rf $tmp) > --EOF-- > > This seems to work, too... > I'm just surprised: > root@granit:~/samuel# l -h /r00t/r00t-5.9.3.0* > -rw-r--r-- 1 root root 566M 2009-09-03 15:29 /r00t/r00t-5.9.3.0.img > -rw-r--r-- 1 root root 526M 2009-08-08 06:58 /r00t/r00t-5.9.3.0.iso > new file is 40M heavier than our iso image... > > Also, in the first script, I tried to do the first dd (initializing > ${DEVICE}) with: > - if=3D$MBR > - if=3D$BT1 > - if=3D$BT2 > - if=3D/dev/zero > none of that worked... > > So. > Does someone understand what am I doing wrong?! > > > Thanks for you help! > > Samuel Mart=EDn Moro > CamTrace > {EPITECH.} tek4 > > From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 15:54:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DAB3106568D for ; Thu, 3 Sep 2009 15:54:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id CA12F8FC1D for ; Thu, 3 Sep 2009 15:54:40 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 0F4127E854; Thu, 3 Sep 2009 07:54:51 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 17:54:37 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909031731.45563.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903154453.GA7688@teddy.fas.com> In-Reply-To: <20090903154453.GA7688@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:54:41 -0000 On Thursday 03 September 2009 17:44:53 stan wrote: > On Thu, Sep 03, 2009 at 05:31:45PM +0200, Mel Flynn wrote: > > On Thursday 03 September 2009 16:42:28 stan wrote: > > > On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: > > > > On Thursday 03 September 2009 15:41:07 stan wrote: > > > > > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > > > > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > > > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > > > > > stan wrote: > > > > > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > > > > > >> I have inherited a system that uses Cricket on FreeBSD to > > > > > > > > >> do some data collection. I have set this up myself in the > > > > > > > > >> distnat past, but this time I asked a contractor to set it > > > > > > > > >> up. I no longer have access to this contractor, and the > > > > > > > > >> toher day, we shut down the system this was running on, > > > > > > > > >> and when we rebooted the system, cricket id not resume > > > > > > > > >> collecting data. > > > > > > > > >> > > > > > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it > > > > > > > > >> up, nor do I see anything in /etc/crontag. I don't seen > > > > > > > > >> any processes owned by cricket running. > > > > > > > > >> > > > > > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > > > > > > > > > Sorry to reply to my own message, but I have more data. I > > > > > > > > > did find > > > > > > > > > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 > > > > > > > > > /var/cron/tabs/cricke > > > > > > > > > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke > > > > > > > > > the cricket process. However, acording to the cricket logs, > > > > > > > > > the last time I have an entry is Aug 29th, which was when > > > > > > > > > the machine was shut down. So, I decided to try running > > > > > > > > > this command by hand. Now, to do so I need to be the > > > > > > > > > cricket user, so I tried to su - cricket. I was told that > > > > > > > > > this user was not avaialble. Looking in /etc/passwd. I > > > > > > > > > found that this users shell was listed as > > > > > > > > > /usr/sbin/nologin. I edited /etc/paswd to change this to > > > > > > > > > /nin/sh, but I still get the smae error message when I try > > > > > > > > > to su to that user. > > > > > > > > > > > > > > > > > > What do I need to change to be able to su to this suer, and > > > > > > > > > might this be the reason tha it's crontab entry is notbeing > > > > > > > > > run? > > > > > > > > > > > > > > > > Try: > > > > > > > > > > > > > > > > # su -m cricket > > > > > > > > > > > > > > > > although the best way to examine and/or modify that user's > > > > > > > > crontab is: > > > > > > > > > > > > > > > > # crontab -e -u cricket > > > > > > > > > > > > > > OK, I was able to execute the cricket collector caoomand bu > > > > > > > using the su - format, and it ran corectly. > > > > > > > > > > > > > > Cany anyone sugest what to check to see why cron is not > > > > > > > executing this command? I see no evidence of it's running in > > > > > > > either the cricket logs' or cron's logs. > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > Repkying to my own message again :-( > > > > > > > > > > > > > > > > > > OK, I found in the cron man page the following: > > > > > > > > > > > > Before running a command from a per-account crontab file, cron > > > > > > checks the status of the account with pam(3) and skips the > > > > > > command if the account is unavailable, e.g., locked out or > > > > > > expired. > > > > > > > > > > > > So, now the question is, how do I unlock that user? > > > > > > > > > > This gets strnager. I found the pw cammand, which should do thatm > > > > > but: > > > > > > > > > > pnoc# pw unlock cricket > > > > > pw: user 'cricket' is not locked > > > > > > > > > > So, how come: > > > > > > > > > > pnoc# su - cricket > > > > > This account is currently not available. > > > > > > > > Cause cricket doesn't have a valid home directory. However, you can > > > > simply copy the /var/cron/tabs/cricket to /tmp. Remove the time > > > > colums, then run: su -m cricket /usr/bin/env -i HOME=/nonexistent > > > > PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket > > > > > > > > That's the best approximation of how cron runs the commands. If you > > > > don't see anything in the cron logs however, it may be an issue with > > > > the timestamps specified not yielding any runs. Then it would help to > > > > see the actual crontab file. > > > > > > Hmm, but I think it does : > > > > > > pnoc# grep cricket /etc/passwd > > > cricket:*:141:80:Cricket Monitoring > > > User:/usr/local/cricket:/usr/sbin/nologin > > > > /usr/sbin/nologin. I guess you edited master.passwd and didn't use the > > proper tools (vipw or run pwd_mkdb after using a plain editor). > > > > > As far as cron logs, I am _now_ gettting an entry that looks like cron > > > is executing the collector: > > > > > > Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD > > > (/usr/local/cricket/cricket/collect-subtrees normal) > > > > > > But, still not getting anything in cricket's logs: > > > > > > ls: No match. > > > pnoc# ls -l /usr/local/cricket/*logs > > > total 2812 > > > -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 > > > > > > The 9:17 time is from a manual run of the collector. > > > > > > I must admit, I am not certain waht to check next. > > > > Run: > > su -m cricket /usr/bin/env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin > > /usr/local/cricket/cricket/collect-subtrees normal > > OK, this is just slightly over my head, so let me be very specific about > what I did: > > su -m cricket > /usr/bin/env -i Just run the command above as one line, this does nothing. Check some manpages while you're at it: man env man su man 5 crontab It's almost certainly a PATH issue if what you did worked and setting the PATH in the crontab file should fix it. Why it worked before, is probably not worth investigating. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 16:00:33 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B73B21065676 for ; Thu, 3 Sep 2009 16:00:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4B78FC23 for ; Thu, 3 Sep 2009 16:00:32 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n83G0Vel001717; Thu, 3 Sep 2009 18:00:31 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 71772BAB8; Thu, 3 Sep 2009 18:00:31 +0200 (CEST) Date: Thu, 3 Sep 2009 18:00:31 +0200 From: Roland Smith To: Tsu-Fan Cheng Message-ID: <20090903160031.GA36547@slackbox.xs4all.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Subject: Re: bookkeeping software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 16:00:33 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 03, 2009 at 09:27:12AM -0400, Tsu-Fan Cheng wrote: > Hi, > I am looking for a port on 7.2R that can do general small family > bookkeeping, I am not running gnome or kde, does anyone have any > recommendation? thank you!! Have a look at finance/gnucash. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqf6B8ACgkQEnfvsMMhpyWDmQCeOqi7qOHwzQuRQSD0lXyNPgV8 2mcAoJKiJMWx4aB6zzj/Aam8NT92npUU =d6dr -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 16:35:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B86106566B for ; Thu, 3 Sep 2009 16:35:39 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) Received: from mail1.firstbhph.com (65.105.102.163.ptr.us.xo.net [65.105.102.163]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2C98FC12 for ; Thu, 3 Sep 2009 16:35:39 +0000 (UTC) Received: from mepis1.headquarters.firstbhph.com (mepis1.headquarters.firstbhph.com [192.168.100.52]) by mail1.firstbhph.com (8.14.3/8.14.3) with ESMTP id n83GJt6f022051 for ; Thu, 3 Sep 2009 12:20:00 -0400 From: Dimitri Yioulos Organization: First 1 Financial Corporation To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 12:19:57 -0400 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200909031219.57856.dyioulos@firstbhph.com> X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: archive@firstbhph.com X-First1-MailScanner-Information: Please contact First 1 Financial Corporation for more information X-First1-MailScanner-ID: n83GJt6f022051 X-First1-MailScanner: Found to be clean X-First1-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-MailScanner-From: dyioulos@firstbhph.com X-MailScanner-To: archive@firstbhph.com, freebsd-questions@freebsd.org X-First1-MailScanner-Watermark: 1252599601.1661@IUQhBEKs5KYfUPPrWiAlaw Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 16:35:39 -0000 On Thursday 03 September 2009 11:35:34 am Samuel=20 Mart=EDn Moro wrote: > Hello > > I'm having some troubles, trying to create > bootable USB keys. I found (freebsd-hackers ML > archives) a script, supposed to create the > bootable image from my iso file. > But, it still don't boot... (I may do it wrong) > > In details: > -We distribute a FreeBSD (4.7, 5.4, 6.2 and > 7.2) "custom" server. -We burn our install CD > (and, in a few, our USB sticks) on a Ferdora 9 > (sorry...) > -USB sticks must contain a FAT32 partition > (we'ld like to provide doc for windows users) > > Well, my english isn't so great... so I'll post > my code (more understandable) > > --maker.sh-- > #!/bin/sh > ISO_DIR=3D/r00t > ISO_PFIX=3Dr00t > VERSION=3D5.9.3.0 > ISO_FILE=3D$ISO_DIR/$ISO_PFIX-$VERSION.img > DEVICE=3D > TMPDOC=3D/mnt/tmpdoc > DOCDIR=3D/root/samuel/docdir > ERR=3D > SFX=3D > MBR=3D/root/samuel/mbr > BT1=3D/root/samuel/boot1 > BT2=3D/root/samuel/boot2 > > if [ -e "$1" ]; then > DEVICE=3D$1 > elif [ "$1" -a -e "/dev/$1" ]; then > DEVICE=3D/dev/$1 > elif [ "$1" ]; then > echo "$0: incorrect device specified" >&2 > exit > else > echo "$0: must specify device" >&2 > exit > fi > for i in `mount | cut -d ' ' -f 1` > do > if [ "`echo $i | grep $DEVICE`" ]; then > echo "$0: $i already mounted" >&2 > echo " umount it manually or > choose an other drive" >&2 exit > fi > done > > if [ -e "$TMPDOC" -a -d "$TMPDOC" ]; then > echo "$0: removing $TMPDOC directory" >&2 > rm -rf $TMPDOC > elif [ -e "$TMPDOC" ]; then > mv $TMPDOC $TMPDOC.old > echo "$0: moved $TMPDOC to $TMPDOC.old" >&2 > fi > mkdir $TMPDOC > > if [ "$2" ]; then > echo $2 | grep "\.img$" >/dev/null || > SFX=3D".img" fi > > if [ -e "$2$SFX" ]; then > ISO_FILE=3D$2$SFX > elif [ "$2" -a -e "$ISO_DIR/$2$SFX" ]; then > ISO_FILE=3D$ISO_DIR/$2 > elif [ "$2" -a -e "$ISO_DIR/$ISO_PFIX-$2$SFX" > ]; then ISO_FILE=3D"$ISO_DIR/$ISO_PFX-$2$SFX" > else > echo "$0: will use default file > \`$ISO_FILE'" >&2 echo " as system > image source" >&2 fi > if [ -e "$ISO_FILE" ]; then > MSize=3D`ls -l $ISO_FILE | awk '{print $5}'` > else > echo "$0: $ISO_FILE doesn't exist!" >&2 > rm -rf $TMPDOC > exit > fi > if [ -z "$MSize" -o "$MSize" -lt 1 ]; then > echo "$0: bad image size (size=3D$MSize)" >&2 > rm -rf $TMPDOC > exit > fi > > while : > do > echo " [ Working on $DEVICE ]" > > echo -n " determining device geometry " > infos=3D`fdisk -l $DEVICE 2>/dev/null | grep > "[0-9]* heads"` ident=3D`fdisk -l $DEVICE > 2>/dev/null | awk '/Disk identifier/{print > $3}'` csz=3D`fdisk -l $DEVICE 2>/dev/null | awk > '/Units =3D cylinders /{print $7}'` > eval `echo $infos | awk '{print "hpc=3D" $1 " > sec=3D" $3 " cyl=3D" $5}'` if [ -z "$hpc" -o -z > "$sec" -o -z "$cyl" -o -z "$csz" ]; then echo " > [ FAIL ]" > echo "$0: can't get infos for device > $DEVICE" >&2 rm -rf $TMPDOC > exit > fi > echo " [ OK ]" > > echo -n " initializing partition table " > # dd if=3D/dev/zero of=3D$DEVICE bs=3D$csz count=3D1 > >/dev/null 2>&1 dd if=3D$BT1 of=3D$DEVICE > >/dev/null 2>&1 round=3D128 > tocyl=3D`expr $hpc '*' $sec '*' $csz` > ret=3D`expr $MSize % $tocyl` > MSize=3D`expr $MSize / $tocyl` > test "$ret" -eq "0" || MSize=3D`expr $MSize + > 1` s2len=3D$MSize > s2off=3D`expr $cyl - $s2len - 1` > s1len=3D`expr $s2off - 1` > s1off=3D1 > sfdisk -DLqf $DEVICE >/dev/null 2>&1 < $s1off $s1len b > $s2off $s2len a5 * > EOF > echo " [ OK ]" > > echo -n " formatting FAT32 partition " > dd if=3D/dev/zero of=3D${DEVICE}1 bs=3D$csz > count=3D1 >/dev/null 2>&1 mkdosfs -i 42424242 -n > "Docs" -F 32 ${DEVICE}1 >/dev/null 2>&1 mount > -t vfat ${DEVICE}1 $TMPDOC || ERR=3D1 if [ "$ERR" > ]; then > echo " [ FAIL ]" > echo "$0: unable to mount ${DEVICE}1 on > $TMPDOC" rm -rf $TMPDOC > exit > fi > echo " [ OK ]" > > echo -n " copying documentation files " > cp -rp $DOCDIR/* $TMPDOC/ >/dev/null 2>&1 > || ERR=3D2 if [ "$ERR" ]; then > echo " [ FAIL ]" > echo "$0: unable to copy doc files" > ERR=3D > fi > umount ${DEVICE}1 > echo " [ OK ]" > > echo -n " copying system " > dd if=3D$ISO_FILE of=3D${DEVICE}2 status=3Dnoxfer > >/dev/null 2>&1 echo " [ OK ]" > > mbrsig $DEVICE 2>&1 | awk '{print "=20=20=20 > marking device with serial " $3 }' > echo " [ Device ready! ]" > echo "" > echo -n " Create new USB key ? [Y/N] : > " && read i test "$i" =3D "Y" -o "$i" =3D "y" -o > "$i" =3D "O" -o "$i" =3D "o" || i=3D test -z "$i" && > echo " [ leaving ]" && break echo " Please, > remove current USB key, insert new one and > press enter" read i > done > rmdir $TMPDOC > --EOF-- > > So, this is a "USB stick generator" I'm working > on. It seems to work. (I've not tested > everything, but the basis is OK) The stick is > correctly parted. > The documentation is copied. > My only problem is that it still don't wan't to > boot... > > At the beginning, I was trying to paste my ISO > file directly in ${DEVICE}2 Then, I found the > following shell script, which is supposed to > make my bootable image from my ISO file > I changed 2/3 things, but some of you may > recognize it anyway: > > --ISOtoIMG.sh-- > #!/bin/sh > MAKEFS=3Dmakefs > MKLABEL=3Dbsdlabel > BSDTAR=3Dtar > DD=3D"dd status=3Dnoxfer" > > make_freebsd_image() > { > local tree=3D$1 > local imagefile=3D$2 > local boot1=3D${tree}/boot/boot1 > local boot2=3D${tree}/boot/boot2 > > echo "convert tree $tree image $imagefile" > ${MAKEFS} -t ffs -o bsize=3D4096 -o fsize=3D512 > -f 50 ${imagefile} ${tree} > > >/dev/null 2>&1 > > ${MKLABEL} -w -f ${imagefile} auto >/dev/null > 2>&1 ${MKLABEL} -f ${imagefile} 2>/dev/null | > sed -e '/ c:/{p;s/c:/a:/;}' | \ ${MKLABEL} -R > -f ${imagefile} /dev/stdin >/dev/null 2>&1 > ${DD} if=3D${boot1} of=3D${imagefile} conv=3Dnotrunc > >/dev/null 2>&1 ${DD} if=3D${boot2} iseek=3D1 > ibs=3D276 2>/dev/null | \ ${DD} of=3D${imagefile} > oseek=3D1 obs=3D788 conv=3Dnotrunc >/dev/null 2>&1 } > > extract_image() > { > [ -f $1 ] || return > local tmp=3D"${tree}.tree" > [ -e ${tmp} ] && rm -rf ${tmp} > mkdir -p $tmp > echo "extracting $tree in $tmp" > (cd $tmp && ${BSDTAR} xf $tree) > tree=3D$tmp > } > > if [ -z "$1" ]; then > echo "$0: usage" >&2 > echo " $0 {ISO_input} | {system_root > IMG_output}" >&2 exit > fi > tree=3D`realpath $1` > [ "$2" ] && image=3D`realpath $2` || image=3D`echo > $tree | sed "s/.iso/.img/"` extract_image $tree > make_freebsd_image $tree $image > [ -d "$tmp" ] && (chmod -R +w $tmp && rm -rf > $tmp) --EOF-- > > This seems to work, too... > I'm just surprised: > root@granit:~/samuel# l -h /r00t/r00t-5.9.3.0* > -rw-r--r-- 1 root root 566M 2009-09-03 15:29 > /r00t/r00t-5.9.3.0.img -rw-r--r-- 1 root root > 526M 2009-08-08 06:58 /r00t/r00t-5.9.3.0.iso > new file is 40M heavier than our iso image... > > Also, in the first script, I tried to do the > first dd (initializing ${DEVICE}) with: > - if=3D$MBR > - if=3D$BT1 > - if=3D$BT2 > - if=3D/dev/zero > none of that worked... > > So. > Does someone understand what am I doing wrong?! > > > Thanks for you help! > > Samuel Mart=EDn Moro > CamTrace > {EPITECH.} tek4 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freeb >sd-questions To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Might want to try UNetbootin. Dimitri --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 17:06:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0AE9106566C for ; Thu, 3 Sep 2009 17:06:19 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id B17018FC21 for ; Thu, 3 Sep 2009 17:06:19 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MjFlK-0001vN-Lb; Thu, 03 Sep 2009 19:06:18 +0200 Received: from bowser ([192.168.0.1] helo=[192.168.0.6]) by mapper.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MjFl7-000209-FG; Thu, 03 Sep 2009 19:06:05 +0200 Message-ID: <4A9FF77D.6080504@mapper.nl> Date: Thu, 03 Sep 2009 19:06:05 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (X11/20090828) MIME-Version: 1.0 To: Arthur Chance References: <4A9B731E.9050400@mapper.nl> <4A9CBDBB.3060403@mapper.nl> <4F9C9299A10AE74E89EA580D14AA10A635E9C3@royal64.emp.zapto.org> <4A9F8F96.3090806@mapper.nl> <4A9FCC7E.3070209@qeng-ho.org> In-Reply-To: <4A9FCC7E.3070209@qeng-ho.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions Subject: Re: ZFS and DMA read error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 17:06:20 -0000 Arthur Chance wrote: > Mark Stapper wrote: > [snip] >> I ordered a "spare" drive so I'll wait until it arrives, replace the >> faulty drive with this one by dd-ing data from one to the other (I have >> only 4 SATA ports so I can't do "zpool replace"). > > zpool replace has two forms > > zpool replace pool old-device new-device > > and > > zpool replace pool device > > The latter is for when you pull the old drive and put the new one on > the same {S,P}ATA port because you've no free ports. I did that a > couple of weeks ago when one of my raidz drives fried (in its warranty > period!) and it worked like a dream. I did a zpool replace and then a > zpool scrub to make sure everything was OK because of this section of > the zpool man page: > > Scrubbing and resilvering are very similar operations. The differ- > ence is that resilvering only examines data that ZFS knows to be > out of date (for example, when attaching a new device to a mirror > or replacing an existing device), whereas scrubbing examines all > data to discover silent errors due to hardware faults or disk fail- > ure. > Thanks for the tip. I'll be sure to try that. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 18:09:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F82A106566B for ; Thu, 3 Sep 2009 18:09:30 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 577C68FC0C for ; Thu, 3 Sep 2009 18:09:30 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1MjGVQ-0004F3-PK>; Thu, 03 Sep 2009 19:53:56 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1MjGVQ-0001RY-Nr>; Thu, 03 Sep 2009 19:53:56 +0200 Message-ID: <4AA002B2.5060108@zedat.fu-berlin.de> Date: Thu, 03 Sep 2009 17:53:54 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: Lighttpd: (mod_fastcgi.c.1742) connect failed: Connection refused on unix:/tmp/lighttpd-fastcgi-php.socket X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 18:09:30 -0000 I deleted accidentally /usr/local/lib on a server but I was able to reinstall most of the software we need manually. After installing php5, several php5-XXX add ons and lighttpd, I get the appended error. The configuration for lighttpd is stuck with the same as before the accident. spawn_fastcgi ist installed as well as other php5 stuff. I'm helpless, Does anyone have any idea what's going wrong? Box is running FreeBSD 8.0-BETA3/AMD64 with compiled world of today. Software has been taken from ports within the past two days, so it should be up to date. Regards, Oliver P.S. Please respond also to my eMail address, thank you very much. 2009-09-03 19:47:49: (mod_access.c.135) -- mod_access_uri_handler called 2009-09-03 19:47:49: (mod_fastcgi.c.3644) handling it in mod_fastcgi 2009-09-03 19:47:49: (mod_fastcgi.c.1742) connect failed: Connection refused on unix:/tmp/lighttpd-fastcgi-php.socket-7 2009-09-03 19:47:49: (mod_fastcgi.c.2943) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2009-09-03 19:47:49: (mod_fastcgi.c.2481) unexpected end-of-file (perhaps the fastcgi process died): pid: 20516 socket: unix:/tmp/lighttpd-fastcgi-php.socket-7 2009-09-03 19:47:49: (mod_fastcgi.c.3299) response not received, request sent: 1010 on socket: unix:/tmp/lighttpd-fastcgi-php.socket-7 for /refdb/index.php , closing connection 2009-09-03 19:47:49: (response.c.126) Response-Header: HTTP/1.1 500 Internal Server Error Content-Type: text/html Content-Length: 369 Date: Thu, 03 Sep 2009 17:47:49 GMT Server: Lighttpd From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 19:02:43 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A366A1065679 for ; Thu, 3 Sep 2009 19:02:43 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 466E88FC18 for ; Thu, 3 Sep 2009 19:02:43 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id B54D21F091; Thu, 3 Sep 2009 15:02:42 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id F274536EB5; Thu, 3 Sep 2009 15:02:41 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjHZx-0003Wn-00; Thu, 03 Sep 2009 15:02:41 -0400 Date: Thu, 3 Sep 2009 15:02:41 -0400 From: stan To: Mel Flynn Message-ID: <20090903190241.GA13402@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <200909031731.45563.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903154453.GA7688@teddy.fas.com> <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 14:57:03 up 33 days, 19:58, 1 user, load average: 0.11, 0.08, 0.05 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 19:02:43 -0000 On Thu, Sep 03, 2009 at 05:54:37PM +0200, Mel Flynn wrote: > On Thursday 03 September 2009 17:44:53 stan wrote: > > On Thu, Sep 03, 2009 at 05:31:45PM +0200, Mel Flynn wrote: > > > On Thursday 03 September 2009 16:42:28 stan wrote: > > > > On Thu, Sep 03, 2009 at 04:22:43PM +0200, Mel Flynn wrote: > > > > > On Thursday 03 September 2009 15:41:07 stan wrote: > > > > > > On Thu, Sep 03, 2009 at 09:33:35AM -0400, stan wrote: > > > > > > > On Thu, Sep 03, 2009 at 09:22:56AM -0400, stan wrote: > > > > > > > > On Thu, Sep 03, 2009 at 01:43:15PM +0100, Matthew Seaman wrote: > > > > > > > > > stan wrote: > > > > > > > > > > On Thu, Sep 03, 2009 at 07:48:57AM -0400, stan wrote: > > > > > > > > > >> I have inherited a system that uses Cricket on FreeBSD to > > > > > > > > > >> do some data collection. I have set this up myself in the > > > > > > > > > >> distnat past, but this time I asked a contractor to set it > > > > > > > > > >> up. I no longer have access to this contractor, and the > > > > > > > > > >> toher day, we shut down the system this was running on, > > > > > > > > > >> and when we rebooted the system, cricket id not resume > > > > > > > > > >> collecting data. > > > > > > > > > >> > > > > > > > > > >> I don't see anyhting in /usr/local/etc/rc.d to start it > > > > > > > > > >> up, nor do I see anything in /etc/crontag. I don't seen > > > > > > > > > >> any processes owned by cricket running. > > > > > > > > > >> > > > > > > > > > >> In FreeBSD, how is this process noramally invoked? > > > > > > > > > > > > > > > > > > > > Sorry to reply to my own message, but I have more data. I > > > > > > > > > > did find > > > > > > > > > > > > > > > > > > > > -rw------- 1 root wheel 288 Jan 12 2009 > > > > > > > > > > /var/cron/tabs/cricke > > > > > > > > > > > > > > > > > > > > Which is, I am failry certain, what is _intended_ to invoke > > > > > > > > > > the cricket process. However, acording to the cricket logs, > > > > > > > > > > the last time I have an entry is Aug 29th, which was when > > > > > > > > > > the machine was shut down. So, I decided to try running > > > > > > > > > > this command by hand. Now, to do so I need to be the > > > > > > > > > > cricket user, so I tried to su - cricket. I was told that > > > > > > > > > > this user was not avaialble. Looking in /etc/passwd. I > > > > > > > > > > found that this users shell was listed as > > > > > > > > > > /usr/sbin/nologin. I edited /etc/paswd to change this to > > > > > > > > > > /nin/sh, but I still get the smae error message when I try > > > > > > > > > > to su to that user. > > > > > > > > > > > > > > > > > > > > What do I need to change to be able to su to this suer, and > > > > > > > > > > might this be the reason tha it's crontab entry is notbeing > > > > > > > > > > run? > > > > > > > > > > > > > > > > > > Try: > > > > > > > > > > > > > > > > > > # su -m cricket > > > > > > > > > > > > > > > > > > although the best way to examine and/or modify that user's > > > > > > > > > crontab is: > > > > > > > > > > > > > > > > > > # crontab -e -u cricket > > > > > > > > > > > > > > > > OK, I was able to execute the cricket collector caoomand bu > > > > > > > > using the su - format, and it ran corectly. > > > > > > > > > > > > > > > > Cany anyone sugest what to check to see why cron is not > > > > > > > > executing this command? I see no evidence of it's running in > > > > > > > > either the cricket logs' or cron's logs. > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > Repkying to my own message again :-( > > > > > > > > > > > > > > > > > > > > > OK, I found in the cron man page the following: > > > > > > > > > > > > > > Before running a command from a per-account crontab file, cron > > > > > > > checks the status of the account with pam(3) and skips the > > > > > > > command if the account is unavailable, e.g., locked out or > > > > > > > expired. > > > > > > > > > > > > > > So, now the question is, how do I unlock that user? > > > > > > > > > > > > This gets strnager. I found the pw cammand, which should do thatm > > > > > > but: > > > > > > > > > > > > pnoc# pw unlock cricket > > > > > > pw: user 'cricket' is not locked > > > > > > > > > > > > So, how come: > > > > > > > > > > > > pnoc# su - cricket > > > > > > This account is currently not available. > > > > > > > > > > Cause cricket doesn't have a valid home directory. However, you can > > > > > simply copy the /var/cron/tabs/cricket to /tmp. Remove the time > > > > > colums, then run: su -m cricket /usr/bin/env -i HOME=/nonexistent > > > > > PATH=/bin:/usr/bin \ /bin/sh /tmp/cricket > > > > > > > > > > That's the best approximation of how cron runs the commands. If you > > > > > don't see anything in the cron logs however, it may be an issue with > > > > > the timestamps specified not yielding any runs. Then it would help to > > > > > see the actual crontab file. > > > > > > > > Hmm, but I think it does : > > > > > > > > pnoc# grep cricket /etc/passwd > > > > cricket:*:141:80:Cricket Monitoring > > > > User:/usr/local/cricket:/usr/sbin/nologin > > > > > > /usr/sbin/nologin. I guess you edited master.passwd and didn't use the > > > proper tools (vipw or run pwd_mkdb after using a plain editor). > > > > > > > As far as cron logs, I am _now_ gettting an entry that looks like cron > > > > is executing the collector: > > > > > > > > Sep 3 10:40:00 pnoc /usr/sbin/cron[80979]: (cricket) CMD > > > > (/usr/local/cricket/cricket/collect-subtrees normal) > > > > > > > > But, still not getting anything in cricket's logs: > > > > > > > > ls: No match. > > > > pnoc# ls -l /usr/local/cricket/*logs > > > > total 2812 > > > > -rw-r--r-- 1 cricket www 74098 Sep 3 09:17 normal.0 > > > > > > > > The 9:17 time is from a manual run of the collector. > > > > > > > > I must admit, I am not certain waht to check next. > > > > > > Run: > > > su -m cricket /usr/bin/env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin > > > /usr/local/cricket/cricket/collect-subtrees normal > > > > OK, this is just slightly over my head, so let me be very specific about > > what I did: > > > > su -m cricket > > /usr/bin/env -i > > Just run the command above as one line, this does nothing. Check some manpages > while you're at it: > man env > man su > man 5 crontab > > It's almost certainly a PATH issue if what you did worked and setting the PATH > in the crontab file should fix it. Why it worked before, is probably not worth > investigating. This is just strange. I have moved /usr/local/cricket/cricket/collect-subtrees to /usr/local/cricket/cricket/collect-subtrees.pl and createed the following shell script as /usr/local/cricket/cricket/collect-subtrees pnoc# cat collect-subtrees #!/bin/sh echo STARTED >> /tmp/stan which perl >> /tmp/stan /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan echo Done >> /tmp/stan /tmp stan contains: pnoc# cat /tmp/stan STARTED /usr/bin/perl Done STARTED /usr/bin/perl Done So, cron is invoking the correct command, and perl can be found, but the original collect_subtrees perl script silently dies. I am convinced it's an environemt probkl`lem, I am just uncertain how to determine what. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 19:14:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7BAB106566C for ; Thu, 3 Sep 2009 19:14:10 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-309.bluehost.com (outbound-mail-309.bluehost.com [67.222.54.2]) by mx1.freebsd.org (Postfix) with SMTP id 8626C8FC21 for ; Thu, 3 Sep 2009 19:14:10 +0000 (UTC) Received: (qmail 25957 invoked by uid 0); 3 Sep 2009 19:14:09 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy6.bluehost.com with SMTP; 3 Sep 2009 19:14:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=KCYIgZlx9iXHc88UGmzh0CgqReE8wvrkpkpxUOBMZUvVqwlSiIFk4Pav57YL4couvzMmyJwzh0pKvs88XRvcOZgXGomZFnj9aApC9p8VPWA9X+qpIXpT1aekNJAVhhOO; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kokopelli.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MjHl2-0005gp-Sz for freebsd-questions@freebsd.org; Thu, 03 Sep 2009 13:14:09 -0600 Received: by kokopelli.hydra (sSMTP sendmail emulation); Thu, 3 Sep 2009 13:05:39 -0600 Date: Thu, 3 Sep 2009 13:05:39 -0600 From: Chad Perrin To: FreeBSD Message-ID: <20090903190539.GA19664@kokopelli.hydra> Mail-Followup-To: FreeBSD References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: bookkeeping software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 19:14:10 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 03, 2009 at 09:27:12AM -0400, Tsu-Fan Cheng wrote: > Hi, > I am looking for a port on 7.2R that can do general small family > bookkeeping, I am not running gnome or kde, does anyone have any > recommendation? thank you!! I find that finance/homebank is great for simple home finance accounting. It's definitely not the sort of thing you'd want to use for tax return preparation, but it works fine for tracking budgets and accounts. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Perrin's Principle of Exclusion: The strength of any system is inversely proportional to the restrictions on the power of tools allowed to the general public by that system. --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkqgE4MACgkQ9mn/Pj01uKV+oQCeO0z8K3pwSn+EL+JG6/ScvPpm MsQAmgJTpylG/nNxCLI4YYd1i+bN+3B5 =iWC1 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 19:25:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73E581065676 for ; Thu, 3 Sep 2009 19:25:09 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id CCABC8FC19 for ; Thu, 3 Sep 2009 19:25:08 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so798189fgg.13 for ; Thu, 03 Sep 2009 12:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=04XAKnP75OlkATdL94pM+O8kIWbEd/0SD9oVdWOHWOM=; b=ZA/H/sw/EUWyUHCAmZcaPWfwpjDRHERD0PP9pJDPlNePPV7JuUgSkuakyfRsW4Dn7G zs5TqWZh0L744fovVg40YnOJmympaLwRnxwT8OS7hqGITES0iEq2zE1DQ9hMjyn29AR8 0j3TRXbZ1poTaHinlpg46Ygv6O2TZJTqidaaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=idA6fB2UZGVW0SrfNfqG46ch2IkFWCavsdLUZrX78Ryzr8mCiZSZ21l0s0StlwMZ6V xPSLIqpTJSwhagGKNBEytuVqlkHTdy+txiXKo5i+1Dhg3yWiqRLu8UOZhmISLx+Oex53 AMUBIh/QPn0FaP85F7Sdis4DhcrkFFLQkkr2k= MIME-Version: 1.0 Received: by 10.86.238.30 with SMTP id l30mr4188523fgh.75.1252005905233; Thu, 03 Sep 2009 12:25:05 -0700 (PDT) In-Reply-To: <200909031219.57856.dyioulos@firstbhph.com> References: <200909031219.57856.dyioulos@firstbhph.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 3 Sep 2009 21:24:45 +0200 Message-ID: To: Dimitri Yioulos Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 19:25:09 -0000 I've already been told. But didn't tried it yet, my servers haven't X. I'll take a look on a test computer. But in the end, everything'll have to be done in the shellscript. Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 On Thu, Sep 3, 2009 at 6:19 PM, Dimitri Yioulos wro= te: > On Thursday 03 September 2009 11:35:34 am Samuel > Mart=EDn Moro wrote: > > Hello > > > > I'm having some troubles, trying to create > > bootable USB keys. I found (freebsd-hackers ML > > archives) a script, supposed to create the > > bootable image from my iso file. > > But, it still don't boot... (I may do it wrong) > > > > In details: > > -We distribute a FreeBSD (4.7, 5.4, 6.2 and > > 7.2) "custom" server. -We burn our install CD > > (and, in a few, our USB sticks) on a Ferdora 9 > > (sorry...) > > -USB sticks must contain a FAT32 partition > > (we'ld like to provide doc for windows users) > > > > Well, my english isn't so great... so I'll post > > my code (more understandable) > > > > --maker.sh-- > > #!/bin/sh > > ISO_DIR=3D/r00t > > ISO_PFIX=3Dr00t > > VERSION=3D5.9.3.0 > > ISO_FILE=3D$ISO_DIR/$ISO_PFIX-$VERSION.img > > DEVICE=3D > > TMPDOC=3D/mnt/tmpdoc > > DOCDIR=3D/root/samuel/docdir > > ERR=3D > > SFX=3D > > MBR=3D/root/samuel/mbr > > BT1=3D/root/samuel/boot1 > > BT2=3D/root/samuel/boot2 > > > > if [ -e "$1" ]; then > > DEVICE=3D$1 > > elif [ "$1" -a -e "/dev/$1" ]; then > > DEVICE=3D/dev/$1 > > elif [ "$1" ]; then > > echo "$0: incorrect device specified" >&2 > > exit > > else > > echo "$0: must specify device" >&2 > > exit > > fi > > for i in `mount | cut -d ' ' -f 1` > > do > > if [ "`echo $i | grep $DEVICE`" ]; then > > echo "$0: $i already mounted" >&2 > > echo " umount it manually or > > choose an other drive" >&2 exit > > fi > > done > > > > if [ -e "$TMPDOC" -a -d "$TMPDOC" ]; then > > echo "$0: removing $TMPDOC directory" >&2 > > rm -rf $TMPDOC > > elif [ -e "$TMPDOC" ]; then > > mv $TMPDOC $TMPDOC.old > > echo "$0: moved $TMPDOC to $TMPDOC.old" >&2 > > fi > > mkdir $TMPDOC > > > > if [ "$2" ]; then > > echo $2 | grep "\.img$" >/dev/null || > > SFX=3D".img" fi > > > > if [ -e "$2$SFX" ]; then > > ISO_FILE=3D$2$SFX > > elif [ "$2" -a -e "$ISO_DIR/$2$SFX" ]; then > > ISO_FILE=3D$ISO_DIR/$2 > > elif [ "$2" -a -e "$ISO_DIR/$ISO_PFIX-$2$SFX" > > ]; then ISO_FILE=3D"$ISO_DIR/$ISO_PFX-$2$SFX" > > else > > echo "$0: will use default file > > \`$ISO_FILE'" >&2 echo " as system > > image source" >&2 fi > > if [ -e "$ISO_FILE" ]; then > > MSize=3D`ls -l $ISO_FILE | awk '{print $5}'` > > else > > echo "$0: $ISO_FILE doesn't exist!" >&2 > > rm -rf $TMPDOC > > exit > > fi > > if [ -z "$MSize" -o "$MSize" -lt 1 ]; then > > echo "$0: bad image size (size=3D$MSize)" >&2 > > rm -rf $TMPDOC > > exit > > fi > > > > while : > > do > > echo " [ Working on $DEVICE ]" > > > > echo -n " determining device geometry " > > infos=3D`fdisk -l $DEVICE 2>/dev/null | grep > > "[0-9]* heads"` ident=3D`fdisk -l $DEVICE > > 2>/dev/null | awk '/Disk identifier/{print > > $3}'` csz=3D`fdisk -l $DEVICE 2>/dev/null | awk > > '/Units =3D cylinders /{print $7}'` > > eval `echo $infos | awk '{print "hpc=3D" $1 " > > sec=3D" $3 " cyl=3D" $5}'` if [ -z "$hpc" -o -z > > "$sec" -o -z "$cyl" -o -z "$csz" ]; then echo " > > [ FAIL ]" > > echo "$0: can't get infos for device > > $DEVICE" >&2 rm -rf $TMPDOC > > exit > > fi > > echo " [ OK ]" > > > > echo -n " initializing partition table " > > # dd if=3D/dev/zero of=3D$DEVICE bs=3D$csz count=3D1 > > >/dev/null 2>&1 dd if=3D$BT1 of=3D$DEVICE > > >/dev/null 2>&1 round=3D128 > > tocyl=3D`expr $hpc '*' $sec '*' $csz` > > ret=3D`expr $MSize % $tocyl` > > MSize=3D`expr $MSize / $tocyl` > > test "$ret" -eq "0" || MSize=3D`expr $MSize + > > 1` s2len=3D$MSize > > s2off=3D`expr $cyl - $s2len - 1` > > s1len=3D`expr $s2off - 1` > > s1off=3D1 > > sfdisk -DLqf $DEVICE >/dev/null 2>&1 < > $s1off $s1len b > > $s2off $s2len a5 * > > EOF > > echo " [ OK ]" > > > > echo -n " formatting FAT32 partition " > > dd if=3D/dev/zero of=3D${DEVICE}1 bs=3D$csz > > count=3D1 >/dev/null 2>&1 mkdosfs -i 42424242 -n > > "Docs" -F 32 ${DEVICE}1 >/dev/null 2>&1 mount > > -t vfat ${DEVICE}1 $TMPDOC || ERR=3D1 if [ "$ERR" > > ]; then > > echo " [ FAIL ]" > > echo "$0: unable to mount ${DEVICE}1 on > > $TMPDOC" rm -rf $TMPDOC > > exit > > fi > > echo " [ OK ]" > > > > echo -n " copying documentation files " > > cp -rp $DOCDIR/* $TMPDOC/ >/dev/null 2>&1 > > || ERR=3D2 if [ "$ERR" ]; then > > echo " [ FAIL ]" > > echo "$0: unable to copy doc files" > > ERR=3D > > fi > > umount ${DEVICE}1 > > echo " [ OK ]" > > > > echo -n " copying system " > > dd if=3D$ISO_FILE of=3D${DEVICE}2 status=3Dnoxfer > > >/dev/null 2>&1 echo " [ OK ]" > > > > mbrsig $DEVICE 2>&1 | awk '{print " > > marking device with serial " $3 }' > > echo " [ Device ready! ]" > > echo "" > > echo -n " Create new USB key ? [Y/N] : > > " && read i test "$i" =3D "Y" -o "$i" =3D "y" -o > > "$i" =3D "O" -o "$i" =3D "o" || i=3D test -z "$i" && > > echo " [ leaving ]" && break echo " Please, > > remove current USB key, insert new one and > > press enter" read i > > done > > rmdir $TMPDOC > > --EOF-- > > > > So, this is a "USB stick generator" I'm working > > on. It seems to work. (I've not tested > > everything, but the basis is OK) The stick is > > correctly parted. > > The documentation is copied. > > My only problem is that it still don't wan't to > > boot... > > > > At the beginning, I was trying to paste my ISO > > file directly in ${DEVICE}2 Then, I found the > > following shell script, which is supposed to > > make my bootable image from my ISO file > > I changed 2/3 things, but some of you may > > recognize it anyway: > > > > --ISOtoIMG.sh-- > > #!/bin/sh > > MAKEFS=3Dmakefs > > MKLABEL=3Dbsdlabel > > BSDTAR=3Dtar > > DD=3D"dd status=3Dnoxfer" > > > > make_freebsd_image() > > { > > local tree=3D$1 > > local imagefile=3D$2 > > local boot1=3D${tree}/boot/boot1 > > local boot2=3D${tree}/boot/boot2 > > > > echo "convert tree $tree image $imagefile" > > ${MAKEFS} -t ffs -o bsize=3D4096 -o fsize=3D512 > > -f 50 ${imagefile} ${tree} > > > > >/dev/null 2>&1 > > > > ${MKLABEL} -w -f ${imagefile} auto >/dev/null > > 2>&1 ${MKLABEL} -f ${imagefile} 2>/dev/null | > > sed -e '/ c:/{p;s/c:/a:/;}' | \ ${MKLABEL} -R > > -f ${imagefile} /dev/stdin >/dev/null 2>&1 > > ${DD} if=3D${boot1} of=3D${imagefile} conv=3Dnotrunc > > >/dev/null 2>&1 ${DD} if=3D${boot2} iseek=3D1 > > ibs=3D276 2>/dev/null | \ ${DD} of=3D${imagefile} > > oseek=3D1 obs=3D788 conv=3Dnotrunc >/dev/null 2>&1 } > > > > extract_image() > > { > > [ -f $1 ] || return > > local tmp=3D"${tree}.tree" > > [ -e ${tmp} ] && rm -rf ${tmp} > > mkdir -p $tmp > > echo "extracting $tree in $tmp" > > (cd $tmp && ${BSDTAR} xf $tree) > > tree=3D$tmp > > } > > > > if [ -z "$1" ]; then > > echo "$0: usage" >&2 > > echo " $0 {ISO_input} | {system_root > > IMG_output}" >&2 exit > > fi > > tree=3D`realpath $1` > > [ "$2" ] && image=3D`realpath $2` || image=3D`echo > > $tree | sed "s/.iso/.img/"` extract_image $tree > > make_freebsd_image $tree $image > > [ -d "$tmp" ] && (chmod -R +w $tmp && rm -rf > > $tmp) --EOF-- > > > > This seems to work, too... > > I'm just surprised: > > root@granit:~/samuel# l -h /r00t/r00t-5.9.3.0* > > -rw-r--r-- 1 root root 566M 2009-09-03 15:29 > > /r00t/r00t-5.9.3.0.img -rw-r--r-- 1 root root > > 526M 2009-08-08 06:58 /r00t/r00t-5.9.3.0.iso > > new file is 40M heavier than our iso image... > > > > Also, in the first script, I tried to do the > > first dd (initializing ${DEVICE}) with: > > - if=3D$MBR > > - if=3D$BT1 > > - if=3D$BT2 > > - if=3D/dev/zero > > none of that worked... > > > > So. > > Does someone understand what am I doing wrong?! > > > > > > Thanks for you help! > > > > Samuel Mart=EDn Moro > > CamTrace > > {EPITECH.} tek4 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freeb > >sd-questions To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > Might want to try UNetbootin. > > Dimitri > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 20:10:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C1110656C2 for ; Thu, 3 Sep 2009 20:10:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D85D78FC15 for ; Thu, 3 Sep 2009 20:10:16 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id A3A227E853; Thu, 3 Sep 2009 12:10:27 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 22:10:13 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903190241.GA13402@teddy.fas.com> In-Reply-To: <20090903190241.GA13402@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 20:10:17 -0000 On Thursday 03 September 2009 21:02:41 stan wrote: > pnoc# cat collect-subtrees > #!/bin/sh > > echo STARTED >> /tmp/stan > which perl >> /tmp/stan > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > echo Done >> /tmp/stan > > /tmp stan contains: > > pnoc# cat /tmp/stan > STARTED > /usr/bin/perl > Done > STARTED > /usr/bin/perl > Done > > So, cron is invoking the correct command, and perl can be found, but the > original collect_subtrees perl script silently dies. > > I am convinced it's an environemt probkl`lem, I am just uncertain how to > determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). file /usr/bin/perl should report if the symlink is broken. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 20:23:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AE04106568D for ; Thu, 3 Sep 2009 20:23:49 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id C726C8FC16 for ; Thu, 3 Sep 2009 20:23:48 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id EC9F41F0A6; Thu, 3 Sep 2009 16:23:47 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id D3A3F324CE; Thu, 3 Sep 2009 16:23:47 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjIqR-0004EB-00; Thu, 03 Sep 2009 16:23:47 -0400 Date: Thu, 3 Sep 2009 16:23:47 -0400 From: stan To: Mel Flynn Message-ID: <20090903202347.GA16108@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903190241.GA13402@teddy.fas.com> <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:19:42 up 33 days, 21:21, 1 user, load average: 0.07, 0.11, 0.08 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 20:23:49 -0000 On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > On Thursday 03 September 2009 21:02:41 stan wrote: > > > pnoc# cat collect-subtrees > > #!/bin/sh > > > > echo STARTED >> /tmp/stan > > which perl >> /tmp/stan > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > echo Done >> /tmp/stan > > > > /tmp stan contains: > > > > pnoc# cat /tmp/stan > > STARTED > > /usr/bin/perl > > Done > > STARTED > > /usr/bin/perl > > Done > > > > So, cron is invoking the correct command, and perl can be found, but the > > original collect_subtrees perl script silently dies. > > > > I am convinced it's an environemt probkl`lem, I am just uncertain how to > > determine what. > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl > upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the > perl script using system() function, with pathless commands (that is > environment). > file /usr/bin/perl should report if the symlink is broken. pnoc# file /usr/bin/perl /usr/bin/perl: symbolic link to `/usr/local/bin/perl5.8.9' pnoc# ls /usr/local/bin/perl5.8.9 /usr/local/bin/perl5.8.9 You did see where I had the replacement shell script for collect_subtrees do a perl --version into the logfile, right? To me, that's pretty convincing evidence that perl works. Plus, remeber that I can execute the collect_subtree perl script sucesfy`ully whenI su to the cricket user. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 20:44:00 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 327B61065676 for ; Thu, 3 Sep 2009 20:44:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 473AD8FC18 for ; Thu, 3 Sep 2009 20:43:57 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n83Kh7R1033168; Thu, 3 Sep 2009 13:43:10 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 3 Sep 2009 13:43:46 -0700 (PDT) Date: Thu, 3 Sep 2009 13:43:43 -0700 From: Gary Kline To: Jon Radel Message-ID: <20090903204343.GA5708@thought.org> References: <20090902234324.GA1735@thought.org> <4A9F078A.1050800@radel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A9F078A.1050800@radel.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 20:44:00 -0000 On Wed, Sep 02, 2009 at 08:02:18PM -0400, Jon Radel wrote: > Gary Kline wrote: > > > > guys, (of either gender) > > > > here's one that is a bit difficult to figure out how to ask, but > > here's my first shot: > > > > i'm looking for a file what contains string "S". the filename > > in this case has a zillion letters, but that beside the point. > > > > i can use grep to find "S" and grep gives me the file[s] that > > have the string. now, is there any easy way of reading that > > file, or deleting or otherwise munging that file? > > > > nutshell is that every time i reboot (into kde), kde wastes > > time/cpu spawning unwanted whatever: versions of konqueror, kttsd, > > ksayit, &c. [[i found these files in > > ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. > > rm'ing the bunch would get rid of the instantiate problem, but > > having a script to diddle with a found string "S" would be > > useful esp'ly if the filename of pathname were long. > > > > i'll mouse swipe the string and fname to prove my point. > > thanks for any help. > > > > gary > > > > ps: if scripting this is too grizzly i'll do it in C and do an > > inline post of src and example use. > > > > Do you mean something like > > rm `grep -l S *` Or, more specifically, maybe $ cmd `grep -lr "S" *` [??] I'll try that on the string I was looking for. Polytropon, I have only the vaguest clue what your suggestion was, sorry. To Adam, yeah, I have indeed removed these surplus kde apps, but the session file is still there each time. So the apps are reinstantianted every time. --I'm going to blow them away. gary > > or am I completely missing the point of what you're trying to do? > > -- > > --Jon Radel > jon@radel.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 20:45:54 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76473106566B for ; Thu, 3 Sep 2009 20:45:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 38A658FC0C for ; Thu, 3 Sep 2009 20:45:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n83KjrnG017160; Thu, 3 Sep 2009 14:45:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n83KjqcG017157; Thu, 3 Sep 2009 14:45:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 Sep 2009 14:45:52 -0600 (MDT) From: Warren Block To: stan Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 03 Sep 2009 14:45:53 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 20:45:54 -0000 > On Thursday 03 September 2009 21:02:41 stan wrote: > > > pnoc# cat collect-subtrees > > #!/bin/sh > > > > echo STARTED >> /tmp/stan > > which perl >> /tmp/stan > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > echo Done >> /tmp/stan > > > > /tmp stan contains: > > > > pnoc# cat /tmp/stan > > STARTED > > /usr/bin/perl > > Done > > STARTED > > /usr/bin/perl > > Done That 'which perl' may not really help any, since collect-subtrees runs perl from /usr/local/bin/perl. Although I'd expect an error if /usr/local/bin/perl was missing. You could change your test script to see: /usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:05:17 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4558106566C for ; Thu, 3 Sep 2009 21:05:17 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5988FC25 for ; Thu, 3 Sep 2009 21:05:17 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id D581A38E45; Thu, 3 Sep 2009 17:05:16 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id A134837792; Thu, 3 Sep 2009 17:05:16 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjJUa-0004Yq-00; Thu, 03 Sep 2009 17:05:16 -0400 Date: Thu, 3 Sep 2009 17:05:16 -0400 From: stan To: Warren Block Message-ID: <20090903210516.GA17399@teddy.fas.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 17:00:26 up 33 days, 22:02, 1 user, load average: 0.18, 0.18, 0.10 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:05:17 -0000 On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote: > >On Thursday 03 September 2009 21:02:41 stan wrote: > > > >> pnoc# cat collect-subtrees > >> #!/bin/sh > >> > >> echo STARTED >> /tmp/stan > >> which perl >> /tmp/stan > >> /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > >> echo Done >> /tmp/stan > >> > >> /tmp stan contains: > >> > >> pnoc# cat /tmp/stan > >> STARTED > >> /usr/bin/perl > >> Done > >> STARTED > >> /usr/bin/perl > >> Done > > That 'which perl' may not really help any, since collect-subtrees runs > perl from /usr/local/bin/perl. > > Although I'd expect an error if /usr/local/bin/perl was missing. You > could change your test script to see: > > /usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl > > -Warren Block * Rapid City, South Dakota USA Here is the new test script: #!/bin/sh echo started >> /tmp/stan /usr/bin/perl --version >> /tmp/stan echo "++++++" >> /tmp/stan /usr/bin/perl /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan echo "++++++" >> /tmp/stan echo done >> /tmp/stan And, here is tthe outptu file: pnoc# cat /tmp/stan started This is perl, v5.8.9 built for i386-freebsd-64int (with 1 registered patch, see perl -V for more detail) Copyright 1987-2008, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ++++++ ++++++ done When I su - to cricket. and run the collector, it takes a minute or so to run, and generates a lot of output to the screen. Also, wgen I do that, it's Cricket's logfile gets updated. Run from cron the logfile never changes. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:11:29 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49DA91065698 for ; Thu, 3 Sep 2009 21:11:29 +0000 (UTC) (envelope-from stanb@panix.com) Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id DED718FC36 for ; Thu, 3 Sep 2009 21:11:28 +0000 (UTC) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by l2mail1.panix.com (Postfix) with ESMTP id 8F8AB30 for ; Thu, 3 Sep 2009 16:52:17 -0400 (EDT) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id D1D171F095; Thu, 3 Sep 2009 16:52:16 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 9FA3434FFC; Thu, 3 Sep 2009 16:52:16 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjJI0-0004ST-00; Thu, 03 Sep 2009 16:52:16 -0400 Date: Thu, 3 Sep 2009 16:52:16 -0400 From: stan To: Warren Block Message-ID: <20090903205216.GA17111@teddy.fas.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:49:42 up 33 days, 21:51, 1 user, load average: 0.16, 0.10, 0.07 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:11:29 -0000 On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote: > >On Thursday 03 September 2009 21:02:41 stan wrote: > > > >> pnoc# cat collect-subtrees > >> #!/bin/sh > >> > >> echo STARTED >> /tmp/stan > >> which perl >> /tmp/stan > >> /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > >> echo Done >> /tmp/stan > >> > >> /tmp stan contains: > >> > >> pnoc# cat /tmp/stan > >> STARTED > >> /usr/bin/perl > >> Done > >> STARTED > >> /usr/bin/perl > >> Done > > That 'which perl' may not really help any, since collect-subtrees runs > perl from /usr/local/bin/perl. > Actually no: #!/usr/bin/perl -w That's the first line in collect-subtrees. And did you see when I added "perl --version" to the test script? But, I will try your sugestion, and report back. Thanks for the ehlp. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:41:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 349B41065679 for ; Thu, 3 Sep 2009 21:41:32 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id F033A8FC12 for ; Thu, 3 Sep 2009 21:41:31 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 63A027E818; Thu, 3 Sep 2009 13:41:42 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 23:41:28 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903202347.GA16108@teddy.fas.com> In-Reply-To: <20090903202347.GA16108@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:41:32 -0000 On Thursday 03 September 2009 22:23:47 stan wrote: > On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > > On Thursday 03 September 2009 21:02:41 stan wrote: > > > pnoc# cat collect-subtrees > > > #!/bin/sh > > > > > > echo STARTED >> /tmp/stan > > > which perl >> /tmp/stan > > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > > echo Done >> /tmp/stan > > > > > > /tmp stan contains: > > > > > > pnoc# cat /tmp/stan > > > STARTED > > > /usr/bin/perl > > > Done > > > STARTED > > > /usr/bin/perl > > > Done > > > > > > So, cron is invoking the correct command, and perl can be found, but > > > the original collect_subtrees perl script silently dies. > > > > > > I am convinced it's an environemt probkl`lem, I am just uncertain how > > > to determine what. > > > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink > > (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another > > cent on the perl script using system() function, with pathless commands > > (that is environment). Ok, one liner: su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ /usr/local/cricket/cricket/collect-subtrees.pl normal I've downloaded the 1.0.5 version, but can't quickly see where that would go wrong with this script. touch is in /usr/bin, so that should work. Any cron messages in /var/mail/cricket? -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:44:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82AED106566B for ; Thu, 3 Sep 2009 21:44:44 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 437158FC1A for ; Thu, 3 Sep 2009 21:44:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n83Lihfa017454; Thu, 3 Sep 2009 15:44:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n83LihjD017451; Thu, 3 Sep 2009 15:44:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 Sep 2009 15:44:43 -0600 (MDT) From: Warren Block To: stan In-Reply-To: <20090903205216.GA17111@teddy.fas.com> Message-ID: References: <20090903205216.GA17111@teddy.fas.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 03 Sep 2009 15:44:43 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:44:44 -0000 On Thu, 3 Sep 2009, stan wrote: > On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote: >>> On Thursday 03 September 2009 21:02:41 stan wrote: >>> >>>> pnoc# cat collect-subtrees >>>> #!/bin/sh >>>> >>>> echo STARTED >> /tmp/stan >>>> which perl >> /tmp/stan >>>> /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan >>>> echo Done >> /tmp/stan >>>> >>>> /tmp stan contains: >>>> >>>> pnoc# cat /tmp/stan >>>> STARTED >>>> /usr/bin/perl >>>> Done >>>> STARTED >>>> /usr/bin/perl >>>> Done >> >> That 'which perl' may not really help any, since collect-subtrees runs >> perl from /usr/local/bin/perl. >> > > Actually no: > > #!/usr/bin/perl -w > > That's the first line in collect-subtrees. I was looking at the port version of cricket. /usr/ports/net-mgmt/cricket/work/cricket-1.0.5/collect-subtrees starts with #!/usr/local/bin/perl -w ... -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 23:13:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53F251065670 for ; Thu, 3 Sep 2009 23:13:49 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2A9FD8FC08 for ; Thu, 3 Sep 2009 23:13:48 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n83NDlTm085754 for ; Thu, 3 Sep 2009 16:13:47 -0700 (PDT) Message-ID: <4AA04DAA.2010902@rawbw.com> Date: Thu, 03 Sep 2009 16:13:46 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to make netboot "copy" of an existent system? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:13:49 -0000 I have a spare machine that lacks hard drive. Is there an easy setup that would allow me to boot it via netboot and to be a "mirror" of another existing system: root and home directories should be NFS mounted from an existing system. In other words it should be just like the other system except for disks are NFS-mapped. Yuri From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 23:34:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50EB9106566B for ; Thu, 3 Sep 2009 23:34:09 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 23C608FC08 for ; Thu, 3 Sep 2009 23:34:08 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8ADAE7E853 for ; Thu, 3 Sep 2009 15:34:19 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 01:34:05 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090902072659.7829da56@scorpio.seibercom.net> In-Reply-To: <20090902072659.7829da56@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:34:09 -0000 On Wednesday 02 September 2009 13:26:59 Jerry wrote: > I have set up several 'alias' definitions in my .bashrc file. They are > honored when run as either a regular user or as root. However, when I > prefix a command with 'sudo', the alias is no longer honored. In other > words, the actual command is run;however, any flags that I was passing > to it via 'alias' are lost. How can I circumvent this annoyance. > > Example, I often use 'pico' from within 'xterm'. I set up an alias that > causes pico to use the mouse; i.e., pico -m which works fine as long as > I do not prefix the command with 'sudo' alias spico='/usr/local/bin/sudo pico -m' and be done with it. -- Mel From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 23:49:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1934B106566B for ; Thu, 3 Sep 2009 23:49:34 +0000 (UTC) (envelope-from sakison@gmail.com) Received: from mail-yw0-f187.google.com (mail-yw0-f187.google.com [209.85.211.187]) by mx1.freebsd.org (Postfix) with ESMTP id C8D8B8FC08 for ; Thu, 3 Sep 2009 23:49:33 +0000 (UTC) Received: by ywh17 with SMTP id 17so707834ywh.3 for ; Thu, 03 Sep 2009 16:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=uKsdxXYtCI+wEvtrgAHMxz4dXYd1wZItd2cYgVwP8+E=; b=Uqyzdj8M7ZGPMaGtMJ7Z30fprxksg2IB0mnZrG0fvVu5ALYxebVVLxlaS5Smw/KGUw EOnfv0W6feNdWijZy7Lr3qz9IspXNdB+UVScN6CplksR2RyNqU6kFWBbOuyPBAnpTnXU siztR8XhGkdMu/spD3MziFp8RKghXTZ2aLP2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=k4/QYzum8pQTOxJURbsRspwSDisD2WSazCKHnAt6+bin8v02Ip7ThxOz3Ga01NTIN4 I7n7KMqNTVR5AWmMP28sN9ulFx2zEmIyqW6i06pyJNZVeGCC6A3ZB8zPyITIR3FwSpeG AzAyYvM90iusigS5dyne2TdIwRJw+20naWX48= MIME-Version: 1.0 Received: by 10.231.40.227 with SMTP id l35mr9607816ibe.28.1252020311813; Thu, 03 Sep 2009 16:25:11 -0700 (PDT) Date: Thu, 3 Sep 2009 18:25:11 -0500 Message-ID: <159f04570909031625t16245fb9se24ee023566870c1@mail.gmail.com> From: Alan Shearer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Logging failed attempts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:49:34 -0000 Howdy, I was curious if there was a way to setup logging of *failed* attempts to login to a PPTP Server hosted on freebsd 7? I can only see successful logins. On a similar note is there a way to log successful and failed attempts to SSH into freebsd? Thanks for the help! Alan From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 23:52:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BADD6106566C for ; Thu, 3 Sep 2009 23:52:44 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 25D348FC1E for ; Thu, 3 Sep 2009 23:52:43 +0000 (UTC) Received: by ewy7 with SMTP id 7so414202ewy.7 for ; Thu, 03 Sep 2009 16:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Sc4F2HZ5p2miKBOZwJ/nJvhZf5dB2to2bh1AOaX39SI=; b=tf6tjAYESVdURl1rM/4DiYD0z+jpiyjiGuWNTZmJXoTRnidUMQKtCUWGyyPo6YDslU aD5PUOgLke28jGn7Ic6G8XQmrKfcAz8I9O+8MQVyWq9gj6KgzpAuRm1iVJxk5D8AtUcy dDSESZscUq11G0Q1DUT/8dJw8LMNNoJfJj+tI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iKB/kosudm/Fz2AvXX61qR+RIXr8n6sMJ/OsJWArfdUnZyw1Y9owVPmiJccDOiLD3f q8TOlpZKXp9QXZOOTrg3kMjy5a4iShXCljSNtvyN0WAQFX+U7qoiT/RsVekCv3CDrfKb JUT0Y0CxdvU7PjE9xAHd6m5qSIoaaz0AWsBow= MIME-Version: 1.0 Received: by 10.210.4.13 with SMTP id 13mr11379426ebd.45.1252020046059; Thu, 03 Sep 2009 16:20:46 -0700 (PDT) Date: Thu, 3 Sep 2009 20:20:46 -0300 Message-ID: From: Agus To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 23:52:44 -0000 Hi guys, What server, application do u know/recommend me for using as a ProxyPass / Reverse Proxy... The idea is to forward all requests to port 80 to this server and then from here according to the vhost send it to the actual server... For now i only need proxying.. dont think cacheing will be possible so im just looking for a pretty fast, light and stable app to do this on a freebsd 7... Thanks and ihope to hear some cool recommendations.. hehe Cheers, A From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 00:10:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3CA3106568D for ; Fri, 4 Sep 2009 00:10:37 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 8C6FC8FC08 for ; Fri, 4 Sep 2009 00:10:37 +0000 (UTC) Received: (qmail 27439 invoked from network); 4 Sep 2009 00:10:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=a8N8SKg2NGxfPe3U8M3S4We/PSDXoM2tdHk3X4gmzACheZn9rwOeUy8mUoIRGnEedDT2eCHWQ1T4ArCxbLQtbt5NDD2DCM8jzYuAGTkPa7J303X/gZzemaEnTzv5Gqdj3nXXlrLt6k0hS0dUWHdzbJbzy175Jwrt++ym7XcytTE= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 03 Sep 2009 17:10:36 -0700 PDT X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: D7nxwE8VM1lSnyP4b0nnvXTuo46Td3OFsOKmmy_r_g5U5l_xmKNNMBh0E5uJy2GScBC58PwaEBcViZj_Hto7OziKjIg1YXBRzdzxgDbG9AuCmPASSEtLRp3DHJsOLzQMGvmtTqjJzTaH.tJSOPIQBdCumoxQVxzNWmdL3ToKna4bY__Tvd_bpF5SsHOh2hYEWukogXPGB1XgYVD_iDMHzhgP.Koz31SVDhx5WH_diapeC.cQxWOtCo4ptGZSxBg1YA5waaS3h3cg8I4_u7R0dwds2jDNLN.Io69lZ7tk00M7UDO_50tmRSc.6i47eAOm7sAyu60cbfjoQzOBpZOEyU3ODtBn5g-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPA id 697E822825 for ; Thu, 3 Sep 2009 20:10:36 -0400 (EDT) Date: Thu, 3 Sep 2009 20:10:36 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090903201036.36486533@scorpio.seibercom.net> In-Reply-To: <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090902072659.7829da56@scorpio.seibercom.net> <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 00:10:38 -0000 On Fri, 4 Sep 2009 01:34:05 +0200 Mel Flynn wrote: > alias spico='/usr/local/bin/sudo pico -m' and be done with it. That is what I am currently doing; however,there are other commands that I want to use that are not available when used via sudo without modifying the alias. I did not realize that sudo had such a limitation. -- Jerry gesbbb@yahoo.com Recursion is the root of computation since it trades description for time. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 00:12:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52A871065676 for ; Fri, 4 Sep 2009 00:12:47 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 256278FC17 for ; Fri, 4 Sep 2009 00:12:46 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 0A6367E818 for ; Thu, 3 Sep 2009 16:12:58 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 02:12:44 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 00:12:47 -0000 On Friday 04 September 2009 01:20:46 Agus wrote: > What server, application do u know/recommend me for using as a > ProxyPass / Reverse Proxy... > > The idea is to forward all requests to port 80 to this server and then > from here according to the vhost send it to the actual server... For > now i only need proxying.. dont think cacheing will be possible so im > just looking for a pretty fast, light and stable app to do this on a > freebsd 7... > > Thanks and ihope to hear some cool recommendations.. hehe If lightweight, go with www/nginx. Features, go with www/squid or apache+mod_proxy. -- Mel From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 00:24:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD8BA106568B for ; Fri, 4 Sep 2009 00:24:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7000D8FC12 for ; Fri, 4 Sep 2009 00:24:50 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n840O3S3034799; Thu, 3 Sep 2009 17:24:04 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 3 Sep 2009 17:24:41 -0700 (PDT) Date: Thu, 3 Sep 2009 17:24:40 -0700 From: Gary Kline To: Polytropon Message-ID: <20090904002440.GA23859@thought.org> References: <20090902234324.GA1735@thought.org> <20090903020557.2df7c6bf.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903020557.2df7c6bf.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 00:24:50 -0000 On Thu, Sep 03, 2009 at 02:05:57AM +0200, Polytropon wrote: > On Wed, 2 Sep 2009 16:43:30 -0700, Gary Kline wrote: > > i'm looking for a file what contains string "S". the filename > > in this case has a zillion letters, but that beside the point. > > > > i can use grep to find "S" and grep gives me the file[s] that > > have the string. now, is there any easy way of reading that > > file, or deleting or otherwise munging that file? > > I would suggest one of my favourite tools, the Midnight Commander, > available via ports as misc/mc or misc/mc-lite - or from a > package. > > First you run the find dialog, Meta-? (Esc, ?, if you don't have > a Meta key). Enter file mask if needed, starting directory (usu- > ally .) and "S" for the search string. Then a list with the items > found will come up. > > In order to view a file from this list, press PF3 on a file. The > viewer will automatically skip to where "S" has been found in the > file. If you press ENTER on the file, it will be selected in one > of the panels, and you can move or delete it. > > > > > ps: if scripting this is too grizzly i'll do it in C and do an > > inline post of src and example use. > > If you exactly know what to do with the file, scripting might be > the easiest solution. The more interaction, the less optimum it > is. :-) you're right. originally, i was thinking of simplr /bin/rm. find a string, and move that file into some junk file or just remove it. then i thought about viewing it with more|vi. or cp'ing the file. etc. mv seems to have already been invented!! gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 01:58:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EAD1106566C for ; Fri, 4 Sep 2009 01:58:30 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D73EC8FC14 for ; Fri, 4 Sep 2009 01:58:28 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9690B7E853; Thu, 3 Sep 2009 17:58:39 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 03:58:24 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090902072659.7829da56@scorpio.seibercom.net> <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903201036.36486533@scorpio.seibercom.net> In-Reply-To: <20090903201036.36486533@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909040358.25774.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 01:58:30 -0000 On Friday 04 September 2009 02:10:36 Jerry wrote: > On Fri, 4 Sep 2009 01:34:05 +0200 > > Mel Flynn wrote: > > alias spico='/usr/local/bin/sudo pico -m' and be done with it. > > That is what I am currently doing; however,there are other commands > that I want to use that are not available when used via sudo without > modifying the alias. I did not realize that sudo had such a limitation. It doesn't. alias has the limitation. As far as alias is concerned, a command is the first thing on the command line, and for good reason, as you don't want it to look further along the command line and attempt to expand everything. So the shell only changes the command that is really run, when the first word matches an alias. Sudo or any app for that matter, never knew it was run through an alias. However.....reading through the bash manpage: If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion. So.....: $ alias sudo='/usr/local/bin/sudo ' $ alias pico='vim --version' $ sudo pico VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jul 21 2009 13:22:46) Included patches: 1-6, 8-35, 37-48, 50-70, 73, 75-87, 90-92, 94-100, 102-137, 139-149, 151-171, 173-190, 192-193, 195-203, 206-209 However....be aware of the consequences. If someone compromises your account, then setting: alias ls='/tmp/mkroot' and you running: sudo ls He just got root. -- Mel From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 04:31:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4AF5106566C for ; Fri, 4 Sep 2009 04:31:18 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 98F558FC1E for ; Fri, 4 Sep 2009 04:31:18 +0000 (UTC) Received: from [10.0.10.3] ([202.69.172.173]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Sep 2009 21:31:21 -0700 Message-ID: <4AA09809.1050402@a1poweruser.com> Date: Fri, 04 Sep 2009 12:31:05 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 04 Sep 2009 04:31:21.0666 (UTC) FILETIME=[8DE6D220:01CA2D18] X-Sender: fbsd1@a1poweruser.com Cc: FreeBSD Questions Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 04:31:18 -0000 Samuel Martнn Moro wrote: > Hello > > I'm having some troubles, trying to create bootable USB keys. > I found (freebsd-hackers ML archives) a script, supposed to create the > bootable image from my iso file. > But, it still don't boot... (I may do it wrong) > > In details: > -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. > -We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9 > (sorry...) > -USB sticks must contain a FAT32 partition (we'ld like to provide doc for > windows users) > > Well, my english isn't so great... so I'll post my code (more > understandable) > clip ---- I have same problem with getting a usb stick to boot. After much testing with different sticks and PC combinations have come to this conclusion. When usb hardware first can out they were created for usb 1.0 standard and at that same period PC's where using software drivers for usb support and the PC's bio's boot selection did not include option to boot from usb disk. As usb devices became more popular PC manufactures started adding USB firmware to their motherboards for usb 2.0 standard. From my research into usb 2.0 it only supports data recording and does not support booting function. About 2007 usb 2.2 standard came out and it supports an usb memory stick as bootable. In 2008 some manufactures of motherboards added usb 2.2 standard to their motherboards and bio's selection to boot from memory stick. To be bootable the first file on the the stick has to be the boot image. Haveing a ms fat partition first on the stick will never work unless you fill it with an bootable ms/windows or ms/dos system or the same kind of setup found on the cdrom1 release cd. Only usb 2.2 memory sticks are bootable on newer PC's that have usb 2.2 firmware on their motherboards and matching Bio's with selection for booting from usb 2.2 memory sticks. Please note that bio's booting selection for booting from USB disk is different than booting selection for booting from usb memory stick. I have posted many posts on this list about this subject and have not received any posts contrary to the above statement. The pending 8.0 release has a complete rewrite of the USB code and a new stick.img is being generated as part of the release install distribution's. I can dd the 8.0-stick.img file to an 2.0 stick and it never boots, but do the same thing to a 2.2 stick and it boots on all 3 of my PC manufactured since June 2008. Final Conclusion: Booting from a USB memory stick successfully is totally dependent on using new start-of-the-art hardware. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 05:11:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89B67106566C for ; Fri, 4 Sep 2009 05:11:51 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2B32A8FC14 for ; Fri, 4 Sep 2009 05:11:51 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id n845Asme024404; Fri, 4 Sep 2009 00:10:54 -0500 (CDT) Date: Fri, 4 Sep 2009 00:10:54 -0500 (CDT) From: Scott Bennett Message-Id: <200909040510.n845AsPU024402@mp.cs.niu.edu> To: dmw@coder.cl Cc: freebsd-questions@freebsd.org Subject: Re: cc -march questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 05:11:51 -0000 On Thu, 3 Sep 2009 10:28:09 -0400 Daniel Molina Wegener wrote: >2009/9/3 Scott Bennett > >> What exactly does "cc -march=prescott" enable cc to do? Does it >> include >> instruction scheduling for the pipeline structure of the Prescott CPUs? >> Does >> it include other options, e.g., "-mmmx -msse -msse2 -msse3"? >> Thanks in advance for any information on the above! >> > >According to the GCC manual page, it enables MMX, SSE, SSE2 and SSE3 >instruction set support. > >Try: >$ man 1 gcc >/prescott > Thanks much for your reply. This is very bizarre. I think I've looked at that page at least 50 times in the past few years and somehow never saw those lines. Sigh. :-} I've had CPUTYPE=prescott in my /etc/make.conf for a long time now, and I recently installed math/atlas-devel. I wonder if specifying CPUTYPE=prescott may have caused it to choose the wrong components to include in the final version of libalapack. If so, then I should rebuild it without CPUTYPE=prescott. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 05:21:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCF0106568F for ; Fri, 4 Sep 2009 05:21:00 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id B31E28FC13 for ; Fri, 4 Sep 2009 05:20:59 +0000 (UTC) Received: by ewy4 with SMTP id 4so608929ewy.36 for ; Thu, 03 Sep 2009 22:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BwfQpbqqB6KRQVDlXI0ENwI1w2h/iq1WrBIXiHBUyis=; b=Kr+AiFn6Z0EvaKrhs+pVrmVlyAP/wwWEYYKlA9GQzHf3dJyPAUwpzuSaZP/4LLGqMh s6FFV1KoQe+nxe75N0vha1K5IEprWnwxeolTyNih4fp5xuyQstANng9MkEjVUFYCyRpR 1+y0IdDQ57DNcaSyAI3KkY2O5AqNf3rZ9kVv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Cw6xaklgoSrGEZgpzDnoI56DmD1UyZSU16TLItp/H0Z8tEvUfo0y/OYQamqBQX6zZH 9izzmimFriJUlZTLM9hYDtpvbG/uabZkjnRtvly3HA+eojsLDN2IL72pCGHTH10xZrIB 20LwMMOj5DlY8Dbg0dHd6zgclBbcOoogGWvv0= MIME-Version: 1.0 Received: by 10.210.9.12 with SMTP id 12mr12005780ebi.3.1252041658721; Thu, 03 Sep 2009 22:20:58 -0700 (PDT) Date: Thu, 3 Sep 2009 23:20:58 -0600 Message-ID: <64c038660909032220xd97c8e0p8b2719c6dd4b7511@mail.gmail.com> From: Modulok To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: SANE epson.conf vs. epson2.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 05:21:00 -0000 There are two SANE backend configuration files for epson scanners, 'epson.conf' and 'epson2.conf'. How do I know which one to use for any given epson scanner? Does it matter? "The scanner model used was the EPSON Perfection 1650, so we know the scanner will use the epson2 backend." How did we know that? Thanks. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 06:34:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54A1A1065697 for ; Fri, 4 Sep 2009 06:34:17 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id E030E8FC15 for ; Fri, 4 Sep 2009 06:34:16 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so730894eyf.9 for ; Thu, 03 Sep 2009 23:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=14OJsq06kiHUNqV43YNkGH2ouxdZnVMYWVt0lFFmjsk=; b=j4jKR/H/WDCSIS0+2yEcR1SVcgi9hvJZHfnqLBvQrbDaVv0f0h0AmiOKqc/SKUybm9 7iv6JQigRnaKWqiOuOk/QpKuqNtxAMmuDeHp+NnmehHzLsetmYCyaIkrxBp6syW+eZB3 6DvLWvdYCqYtGfi6KeTBtg6kTFPisMk7KEKh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YFkbHH8m5ia8+eSeeaYf5z6H/4XsaJgFETA1a67H1vWtRaMCTqZ0yC11irLjR2moL4 mwd4GhTyDIVj+E4yMgLDROhWl/Mk7BGyvNW4kxYNXphX0f8a6DZvl6y6JD6IUtoWAM8u ctU2XMSDMfyj3h3cDhXnyPd36itrm87+YBi4U= MIME-Version: 1.0 Received: by 10.210.7.21 with SMTP id 21mr11822070ebg.75.1252046055892; Thu, 03 Sep 2009 23:34:15 -0700 (PDT) In-Reply-To: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Fri, 4 Sep 2009 03:34:15 -0300 Message-ID: From: Agus To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 06:34:17 -0000 2009/9/3 Mel Flynn : > On Friday 04 September 2009 01:20:46 Agus wrote: > >> What server, application do u know/recommend me for using as a >> ProxyPass / Reverse Proxy... >> >> The idea is to forward all requests to port 80 to this server and then >> from here according to the vhost send it to the actual server... For >> now i only need proxying.. dont think cacheing will be possible so im >> just looking for a pretty fast, light and stable app to do this on a >> freebsd 7... >> >> Thanks and ihope to hear some cool recommendations.. hehe > > If lightweight, go with www/nginx. Features, go with www/squid or > apache+mod_proxy. > -- > Mel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thanks Mel.... Yes im looking for a light, fast one for now..... no need to cache and weird redirections... so.. will follow your reco i think Thanks, From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 06:36:32 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19CB91065676 for ; Fri, 4 Sep 2009 06:36:32 +0000 (UTC) (envelope-from pirat@tint.or.th) Received: from mail.tint.or.th (ns2.tint.or.th [122.154.13.210]) by mx1.freebsd.org (Postfix) with SMTP id 127528FC1B for ; Fri, 4 Sep 2009 06:36:29 +0000 (UTC) Received: (qmail 26619 invoked from network); 4 Sep 2009 06:31:47 -0000 Received: from www.tint.or.th (HELO alpha.nst.or.th) (122.154.13.80) by mail.tint.or.th with SMTP; 4 Sep 2009 06:31:47 -0000 Received: from 10.3.1.25 (10.3.1.25 [10.3.1.25]) by webmail.tint.or.th (Horde Framework) with HTTP; Fri, 04 Sep 2009 13:17:42 +0700 Message-ID: <20090904131742.868640e7x5u2y6ti@webmail.tint.or.th> X-Priority: 3 (Normal) Date: Fri, 04 Sep 2009 13:17:42 +0700 From: =?utf-8?b?4LmE4Lie4Lij4Lix4LiKIA==?= =?utf-8?b?4Lio4Lij4Li14LmC4Lii4LiY4Liy?= To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) Cc: Subject: blogtk remove \n\r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 06:36:32 -0000 hi sirs, i face problems about posting into blog using blogtk. it seems that =20 blogtk chanages all hard <br /> into space. every time i edit =20 my blog i have to manually added <br /> at some point in the =20 text which is not quite comfortable. would anyone here has some hints on this kind of problem? thanks indeed for any helps and hints. with best regards, psr --=20 =E0=B8=A1=E0=B8=B0=E0=B9=84=E0=B8=9F =E0=B8=85=E0=B8=99=E0=B9=80=E0=B8=AB=E0= =B8=A5=E0=B8=B4=E0=B8=87=E0=B8=9F=E0=B9=89=E0=B8=B2 =E0=B8=A1=E0=B8=B0=E0=B8=82=E0=B8=B2=E0=B8=A1 =E0=B8=84=E0=B8=B4=E0=B8=99=E0= =B9=80=E0=B8=94=E0=B8=B4=E0=B8=99=E0=B8=94=E0=B8=99 http://makham.blogspot.com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 07:51:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C553F1065693 for ; Fri, 4 Sep 2009 07:51:58 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2388FC15 for ; Fri, 4 Sep 2009 07:51:57 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so47117fga.13 for ; Fri, 04 Sep 2009 00:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=Wu1lOI9ZQ4byQ4udlGxpFOTseqpLv6S/DhUWVOzr5lE=; b=neZMcHq8dOm8oT0w29jFs5iH/4xNWd982hXvPBUnKdJEARHdX9z/CH624pKNwyH6W7 mX77e0ybsyFjTAsFDvhBOz6M5VO6uk4COu9XBQPAo3CIo1ProGOkK/AA8k9cDbVaXVLp wrvEyRdY7Nr2u7Db3ixBY3Akw5ctqNh4b9A+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=t6CgHfQe2sIl1eQk84F1TM4HCegXoXVaWy5V+a0VvxgHGuRZBrVy8xGFUKI1VR85x1 C5hBUR8da+qd0gcNq/h1reJY1qG0urKjnOxoRJrcACAyLUvLmEP8ae6ICI6IHIB76mm7 QhOorHa6vfYz+BlveIdT7FIh63ocYbrkKRois= MIME-Version: 1.0 Received: by 10.86.221.25 with SMTP id t25mr4680944fgg.19.1252050717093; Fri, 04 Sep 2009 00:51:57 -0700 (PDT) In-Reply-To: <4AA09809.1050402@a1poweruser.com> References: <4AA09809.1050402@a1poweruser.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Fri, 4 Sep 2009 09:51:37 +0200 Message-ID: To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 07:51:58 -0000 In fact, we provide the servers and the keys. So we're sure everything will work. And also, our install CD is already able to create this kind of USB stick. It was a former co-worker who did it. I started mine looking its. But most of used commands haven't exact equivalent under linux (and I fucking hate sfdisk and counting in cylinders!) Here's an example of a generated stick: h2g2:~# fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=3D493 heads=3D255 sectors/track=3D63 (16065 blks/cyl) parameters to be used for BIOS calculations are: cylinders=3D493 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 63, size 6602652 (3223 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 410/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 6602715, size 1317330 (643 Meg), flag 80 (active) beg: cyl 411/ head 0/ sector 1; end: cyl 492/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: h2g2:~# Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 On Fri, Sep 4, 2009 at 6:31 AM, Fbsd1 wrote: > Samuel Mart=EDn Moro wrote: > >> Hello >> >> I'm having some troubles, trying to create bootable USB keys. >> I found (freebsd-hackers ML archives) a script, supposed to create the >> bootable image from my iso file. >> But, it still don't boot... (I may do it wrong) >> >> In details: >> -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. >> -We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9 >> (sorry...) >> -USB sticks must contain a FAT32 partition (we'ld like to provide doc fo= r >> windows users) >> >> Well, my english isn't so great... so I'll post my code (more >> understandable) >> >> > clip ---- > > I have same problem with getting a usb stick to boot. After much testing > with different sticks and PC combinations have come to this conclusion. > > When usb hardware first can out they were created for usb 1.0 standard an= d > at that same period PC's where using software drivers for usb support and > the PC's bio's boot selection did not include option to boot from usb dis= k. > As usb devices became more popular PC manufactures started adding USB > firmware to their motherboards for usb 2.0 standard. From my research int= o > usb 2.0 it only supports data recording and does not support booting > function. About 2007 usb 2.2 standard came out and it supports an usb mem= ory > stick as bootable. In 2008 some manufactures of motherboards added usb 2.= 2 > standard to their motherboards and bio's selection to boot from memory > stick. > > To be bootable the first file on the the stick has to be the boot image. > Haveing a ms fat partition first on the stick will never work unless you > fill it with an bootable ms/windows or ms/dos system or the same kind of > setup found on the cdrom1 release cd. > > Only usb 2.2 memory sticks are bootable on newer PC's that have usb 2.2 > firmware on their motherboards and matching Bio's with selection for boot= ing > from usb 2.2 memory sticks. Please note that bio's booting selection for > booting from USB disk is different than booting selection for booting fro= m > usb memory stick. I have posted many posts on this list about this subjec= t > and have not received any posts contrary to the above statement. > > The pending 8.0 release has a complete rewrite of the USB code and a new > stick.img is being generated as part of the release install distribution= 's. > I can dd the 8.0-stick.img file to an 2.0 stick and it never boots, but d= o > the same thing to a 2.2 stick and it boots on all 3 of my PC manufactured > since June 2008. > > Final Conclusion: Booting from a USB memory stick successfully is totally > dependent on using new start-of-the-art hardware. > > > > > > > > From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 08:39:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74AA21065679 for ; Fri, 4 Sep 2009 08:39:19 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 43DC68FC14 for ; Fri, 4 Sep 2009 08:39:18 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id F0FEA7E853; Fri, 4 Sep 2009 00:39:29 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 10:39:16 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <200908261250.00903.motoom@xs4all.nl> In-Reply-To: <200908261250.00903.motoom@xs4all.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909041039.16301.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Michiel Overtoom Subject: Re: KDE3 --> KDE4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 08:39:19 -0000 On Wednesday 26 August 2009 12:50:00 Michiel Overtoom wrote: > I never understood the need for transparent windows. If you're working in > a window you want to concentrate on its contents, not on stuff that's > happening beneath it. It breaks the flow. I think it's indicative of the > ritalin-generation of teens who can't concentrate for two minutes and need > to constantly tweet about nonsense. Geez, I'm getting old ;-) I felt the same way initially. However, I'm not old enough yet, to remember I can get used to things and now that I have, it doesn't bother me and at times it's convenient (f.e. when repositioning windows). Still, it's easy to turn off. I'm also using the "Flip Switch" to alt-tab windows, which is much more pleasant then having to read sometimes missing window titles/icons in a list. I can definitely do without Kontact's aggregation of message lists, other then that, after tweaking it, can't say that I miss KDE 3, even though I had the initial shocker you experienced. I also did a fair amount of tweaking after the first KDE3 install and I can't honestly remember if I took longer then or now. -- Mel From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 09:03:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C7EF106566B for ; Fri, 4 Sep 2009 09:03:36 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id D12E08FC16 for ; Fri, 4 Sep 2009 09:03:35 +0000 (UTC) Received: by ewy4 with SMTP id 4so717222ewy.36 for ; Fri, 04 Sep 2009 02:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oVku2D9VKXYXtjNNp8UuKHtO3F+CdADQxfcsj/VYkso=; b=DZLflFcRwxeOFiCAjIgFFE4jpIx0DFbN97tB+2dvqUP1eYdwYRD3KJRPJcfU00rHIe 4EZT6lfg5fi3p+v2zGy5ahV9s4sUF3qo+YrNQGkMpZOc06CTnpIDC5CM/S6tNhpAyu/D Nd48R+Xd8KZewjX+7AOEaxHUUPBo5TpsFbWQo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B8XOVQUdUd/0aC4km+a9+iGo25MiilRaG3Cbyr48Yk5fNYqFTCuUiBEqzOmJC2qZgz ppoj15AADYX+t/i2XtvicchNQWCKYsrbvWPJ3WnY55AhQIgCHfOQQZZvkD9g5qGboLxe Lk7YHd+z8QgiIbiIhCUtFsao/ots9IuXzsTrE= MIME-Version: 1.0 Received: by 10.211.132.3 with SMTP id j3mr12051117ebn.81.1252055014791; Fri, 04 Sep 2009 02:03:34 -0700 (PDT) Date: Fri, 4 Sep 2009 03:03:34 -0600 Message-ID: <64c038660909040203i586520aauc0299041c1d839d3@mail.gmail.com> From: Modulok To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: SANE configuration ... ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 09:03:36 -0000 I want a scanner. I found one I like. I then checked the SANE 'Supported Scanners' list. My scanner is there: "Perfection V300 Photo USB 0x04b8/0x0131 good requires DFSG non-free esci-interpreter-gt-f720
overseas version of the GT-F620" I'm not sure what the 'requires DFSG...' business is about, but lets get it working on FreeBSD. I followed the handbook section on scanners. After installing a few ports and tweaking a config file let's see if 'scanimage' knows about it: scanimage -L device `epson:libusb:/dev/usb3:/dev/ugen0' is a Epson flatbed scanner Yay! Let's scan something: scanimage -d epson:libusb:/dev/usb3:/dev/ugen0 > foo.pnm scanimage: rounded value of br-x from -32768 to 0 scanimage: rounded value of br-y from -32768 to 0 scanimage: sane_start: Invalid argument Maybe the backend just doesn't set a reasonable defaults for the image width/height? Let's try it manually! scanimage -x 640 -y 480 -d epson:libusb:/dev/usb3:/dev/ugen0 > foo.pnm scanimage: rounded value of br-x from 640 to -32768 scanimage: rounded value of br-y from 480 to -32768 scanimage: sane_start: Invalid argument Somewhere, something is horribly wrong. Maybe it has to do with that 'requires DFSG non-free esci-interpreter-gt-f720' business. What is that? Where do I get it and how do I use it? ... and more importantly, how do I go about getting this scanner to work? I'm willing to read and tweak, but I'm not sure what I'm supposed to tweak anymore. Thanks! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 10:13:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA236106566B for ; Fri, 4 Sep 2009 10:13:49 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7908FC08 for ; Fri, 4 Sep 2009 10:13:48 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so74694fga.13 for ; Fri, 04 Sep 2009 03:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=kjCogQmcSBbXWam3yYaETFFxBzSJNYRtXXRVAnSfLmI=; b=VrqfOk9TlE4L/Ojad0zKmPv5AyxlnA0u+GtkkV0tCiwVIR8iqFSZ/lotul9UE1tdQr 02muX2r3pc2Ckipg6/h7K536qzgh7I6mnxzrej0xpFpPoAKDw/Dgs8QWbfC6x3KSyrRR nfWg2BffdFpc18bTbzg6V5yBiCfOOcEDiaczo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=mV7OnkVYbjvRnoAnGQ7DyUQD5FOEPNYqj8SD7vgiKX+s1y/Drlc0OWWOB0CwKY7F2z hOy58N8OeH42IvwD7IQ3xObK+03OZpXzWbD/QwDDXCubQdCMT7aDD6XnJaZusPNWH5I6 3xs0u/ULo3nwJAWv96x/V3y6c0EHIWYaftQco= MIME-Version: 1.0 Received: by 10.86.22.12 with SMTP id 12mr4874399fgv.69.1252059228147; Fri, 04 Sep 2009 03:13:48 -0700 (PDT) In-Reply-To: References: <4AA09809.1050402@a1poweruser.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Fri, 4 Sep 2009 12:13:28 +0200 Message-ID: To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 10:13:50 -0000 Hello So, for the hexdump problem (files that begin differently), I found that status=3Dnoxfer isn't a correct dd option on FreeBSD... (yeah, and writting scripts with `>/dev/null 2>&1' isn't such a good idea...) I tested back, it failed again. I used a generated stick (by our FreeBSD script) to compare with mine. da0 (mine) / da1 (good) da0s2 and da1s2 are (nearly) the same for 8192b (the start of daXs2a) then, da0s2a is: 00001e80 00 00 00 04 00 ff ff ff ff 2f 7c 5c 2d 00 00 00 |........./|\-...| 00001e90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00002000 00 00 00 00 00 00 00 00 20 00 00 00 30 00 00 00 |........ ...0...| 00002010 38 00 00 00 48 00 00 00 00 00 00 00 ff ff ff ff |8...H...........| 00002020 b9 db a0 4a 58 af 11 00 7e a8 11 00 2b 00 00 00 |...JX...~...+...| and da1s2a is: 00001e80 00 00 00 04 00 ff ff ff ff 2f 7c 5c 2d 00 00 00 |........./|\-...| 00001e90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00002000 72 32 45 69 a2 45 71 4b d3 2c f5 2e e9 82 28 cd |r2Ei.EqK.,....(.| 00002010 b6 d4 02 b1 e2 34 51 36 76 c5 b5 22 4a 0e 4b aa |.....4Q6v.."J.K.| 00002020 b5 54 71 3e a5 c7 36 8a 52 b9 77 a9 18 6c f3 e9 |.Tq>..6.R.w..l..| I searched into my generated file, there's no "r2Ei". I'll post updates. (But if you can help ... ^^) Thanks! Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 On Fri, Sep 4, 2009 at 9:51 AM, Samuel Mart=EDn Moro wro= te: > In fact, we provide the servers and the keys. > So we're sure everything will work. > > And also, our install CD is already able to create this kind of USB stick= . > It was a former co-worker who did it. > I started mine looking its. But most of used commands haven't exact > equivalent under linux (and I fucking hate sfdisk and counting in > cylinders!) > > Here's an example of a generated stick: > h2g2:~# fdisk da0 > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=3D493 heads=3D255 sectors/track=3D63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=3D493 heads=3D255 sectors/track=3D63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) > start 63, size 6602652 (3223 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 410/ head 254/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 6602715, size 1317330 (643 Meg), flag 80 (active) > beg: cyl 411/ head 0/ sector 1; > end: cyl 492/ head 254/ sector 63 > The data for partition 3 is: > > The data for partition 4 is: > > h2g2:~# > > > > Samuel Mart=EDn Moro > CamTrace > {EPITECH.} tek4 > > > > On Fri, Sep 4, 2009 at 6:31 AM, Fbsd1 wrote: > >> Samuel Mart=EDn Moro wrote: >> >>> Hello >>> >>> I'm having some troubles, trying to create bootable USB keys. >>> I found (freebsd-hackers ML archives) a script, supposed to create the >>> bootable image from my iso file. >>> But, it still don't boot... (I may do it wrong) >>> >>> In details: >>> -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. >>> -We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9 >>> (sorry...) >>> -USB sticks must contain a FAT32 partition (we'ld like to provide doc f= or >>> windows users) >>> >>> Well, my english isn't so great... so I'll post my code (more >>> understandable) >>> >>> >> clip ---- >> >> I have same problem with getting a usb stick to boot. After much testing >> with different sticks and PC combinations have come to this conclusion. >> >> When usb hardware first can out they were created for usb 1.0 standard a= nd >> at that same period PC's where using software drivers for usb support an= d >> the PC's bio's boot selection did not include option to boot from usb di= sk. >> As usb devices became more popular PC manufactures started adding USB >> firmware to their motherboards for usb 2.0 standard. From my research in= to >> usb 2.0 it only supports data recording and does not support booting >> function. About 2007 usb 2.2 standard came out and it supports an usb me= mory >> stick as bootable. In 2008 some manufactures of motherboards added usb 2= .2 >> standard to their motherboards and bio's selection to boot from memory >> stick. >> >> To be bootable the first file on the the stick has to be the boot image. >> Haveing a ms fat partition first on the stick will never work unless yo= u >> fill it with an bootable ms/windows or ms/dos system or the same kind of >> setup found on the cdrom1 release cd. >> >> Only usb 2.2 memory sticks are bootable on newer PC's that have usb 2.2 >> firmware on their motherboards and matching Bio's with selection for boo= ting >> from usb 2.2 memory sticks. Please note that bio's booting selection for >> booting from USB disk is different than booting selection for booting fr= om >> usb memory stick. I have posted many posts on this list about this subje= ct >> and have not received any posts contrary to the above statement. >> >> The pending 8.0 release has a complete rewrite of the USB code and a new >> stick.img is being generated as part of the release install distributio= n's. >> I can dd the 8.0-stick.img file to an 2.0 stick and it never boots, but = do >> the same thing to a 2.2 stick and it boots on all 3 of my PC manufacture= d >> since June 2008. >> >> Final Conclusion: Booting from a USB memory stick successfully is totall= y >> dependent on using new start-of-the-art hardware. >> >> >> >> >> >> >> >> > From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 07:03:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71FD31065672 for ; Fri, 4 Sep 2009 07:03:21 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from mail-pz0-f184.google.com (mail-pz0-f184.google.com [209.85.222.184]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5348FC19 for ; Fri, 4 Sep 2009 07:03:21 +0000 (UTC) Received: by pzk14 with SMTP id 14so553055pzk.3 for ; Fri, 04 Sep 2009 00:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/AIzWd3DjkPgYWbTitZ+snvKCKxE1Vkkwgy/98bFfsU=; b=s5hlr8PIqvsES4HitDe5BVRHEbWzeGRfEqmCz7PFEUBtrFoWipWR/GKuYXJxCyRylp KQ9mJNXSeIWupWLw4G2uG5DGrTz5oEMNDlFuGhI+b83v+9JJd1At6WCO2oj9Mh8kLTb3 FMcDAu0Rp7KiPSj+0z14PyE8ZGEtvSr5d50VA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=D2RtmOtkDltc9EPuHJmbM8jgqYGz2Jvwi8b4WqUF1mUQ2T75vAJM0QGyBC56ozX+Xm Zn6v7S6cMvQGAdbDboshxh76Pce5VCdwsEZpQ/Fv/y94WaJtUh39ANqhCfPiFDCM/YYu fgLodahGjoNNHfkZrGsQemDHeVuhr50GC8NGA= MIME-Version: 1.0 Received: by 10.142.7.12 with SMTP id 12mr281868wfg.328.1252047800727; Fri, 04 Sep 2009 00:03:20 -0700 (PDT) In-Reply-To: <20090720105128.GA88495@ei.bzerk.org> References: <57200BF94E69E54880C9BB1AF714BBCB5DEA71@w2003s01.double-l.local> <200907200835.n6K8ZZ7D001753@banyan.cs.ait.ac.th> <20090720105553.a665479b.freebsd@edvax.de> <200907201017.n6KAHBmE003738@banyan.cs.ait.ac.th> <20090720105128.GA88495@ei.bzerk.org> Date: Fri, 4 Sep 2009 15:03:20 +0800 Message-ID: From: Ruel Luchavez To: Ruben de Groot , Ruel Luchavez , Olivier Nicole , Johan@double-l.nl, freebsd@edvax.de, freebsd-questions@freebsd.org X-Mailman-Approved-At: Fri, 04 Sep 2009 11:20:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Samba PDC with LDAP backend X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 07:03:21 -0000 On Mon, Jul 20, 2009 at 6:51 PM, Ruben de Groot wrote: > On Mon, Jul 20, 2009 at 06:22:50PM +0800, Ruel Luchavez typed: > > > > But to some one out their who has an idea to this > > > > you are very much WELCOME....:-) > > I think this was mentioned before, but did you have to edit > /usr/local/etc/smbldap-tools/smbldap.conf and > /usr/local/etc/smbldap-tools/smbldap_bind.conf > > Ruben > > Wewwwww...after a long weeks of searching I finally solve my own problem.. Lucky for me.. But, I have one question left.. How do you join the Windows xp client on the domain? Is there another tweak must be done? -- Regards, rHueL Happy BSD user... Country:Philippines From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 12:29:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FE32106566B for ; Fri, 4 Sep 2009 12:29:48 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 216AB8FC24 for ; Fri, 4 Sep 2009 12:29:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n84CTlTc020635; Fri, 4 Sep 2009 06:29:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n84CTlAj020632; Fri, 4 Sep 2009 06:29:47 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 4 Sep 2009 06:29:47 -0600 (MDT) From: Warren Block To: Modulok In-Reply-To: <64c038660909040203i586520aauc0299041c1d839d3@mail.gmail.com> Message-ID: References: <64c038660909040203i586520aauc0299041c1d839d3@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Fri, 04 Sep 2009 06:29:47 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: SANE configuration ... ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 12:29:48 -0000 On Fri, 4 Sep 2009, Modulok wrote: > I want a scanner. I found one I like. I then checked the SANE > 'Supported Scanners' list. My scanner is there: > > "Perfection V300 Photo USB 0x04b8/0x0131 good requires DFSG non-free > esci-interpreter-gt-f720
overseas version of the GT-F620" > > I'm not sure what the 'requires DFSG...' business is about Possibly the scanner requires a firmware download. The Handbook scanner example shows how to do that, but I think it's more involved with that scanner. It appears that Luigi Rizzo ported the required software; see http://www.avasys.jp/cgi-bin/lx/bbs/en/scanner-bbs/hyperbbs.cgi?mode=view;Code=5072 and the link to his port http://info.iet.unipi.it/~luigi/FreeBSD/20081230-epkowa-port.tgz -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 14:06:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E0AD1065670 for ; Fri, 4 Sep 2009 14:06:59 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id D18178FC12 for ; Fri, 4 Sep 2009 14:06:58 +0000 (UTC) Received: from inchoate.gsoft.com.au (ppp121-45-154-162.lns11.adl6.internode.on.net [121.45.154.162]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n84Dd26B006330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 4 Sep 2009 23:09:02 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 4 Sep 2009 23:08:48 +0930 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1252071543-1635-208" Content-Transfer-Encoding: binary Message-Id: <200909042308.56900.doconnor@gsoft.com.au> X-Spam-Score: -1.554 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Samuel =?utf-8?q?Mart=C3=ADn_Moro?= , freebsd-questions@freebsd.org Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 14:06:59 -0000 This is a multi-part message in MIME format... ------------=_1252071543-1635-208 Content-Type: text/plain; name="warning1.txt" Content-Disposition: inline; filename="warning1.txt" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) WARNING: This e-mail has been altered by MIMEDefang. Following this paragraph are indications of the actual changes made. For more information about your site's MIMEDefang policy, contact Postmaster . For more information about MIMEDefang, see: http://www.roaringpenguin.com/mimedefang/enduser.php3 An attachment named makeusb.sh was removed from this document as it constituted a security hazard. If you require this document, please contact the sender and arrange an alternate means of receiving it. ------------=_1252071543-1635-208 From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Subject: Re: Making bootable USB keys Date: Fri, 4 Sep 2009 23:08:48 +0930 User-Agent: KMail/1.9.10 Cc: Samuel =?utf-8?q?Mart=C3=ADn_Moro?= , freebsd-questions@freebsd.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5330086.0xA9gWm5I1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909042308.56900.doconnor@gsoft.com.au> --nextPart5330086.0xA9gWm5I1 Content-Type: multipart/mixed; boundary="Boundary-01=_phRoKBc8BkhUim6" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_phRoKBc8BkhUim6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 4 Sep 2009, Samuel Mart=EDn Moro wrote: > I'm having some troubles, trying to create bootable USB keys. > I found (freebsd-hackers ML archives) a script, supposed to create > the bootable image from my iso file. > But, it still don't boot... (I may do it wrong) > > In details: > -We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server. > -We burn our install CD (and, in a few, our USB sticks) on a Ferdora > 9 (sorry...) > -USB sticks must contain a FAT32 partition (we'ld like to provide doc > for windows users) > > Well, my english isn't so great... so I'll post my code (more > understandable) I use the attached script (on FreeBSD :) to prep a USB stick for=20 booting. I imagine you could munge it into your setup without too much trouble. --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Boundary-01=_phRoKBc8BkhUim6-- --nextPart5330086.0xA9gWm5I1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBKoRhw5ZPcIHs/zowRAjNqAJ9J21vz1JguijpSwmmNx6YTmvOl1gCgn734 1rRn5wDuZqPPTSSmiuSp0Kk= =+If5 -----END PGP SIGNATURE----- --nextPart5330086.0xA9gWm5I1-- ------------=_1252071543-1635-208-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 14:27:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C5D21065679; Fri, 4 Sep 2009 14:27:59 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A2BB98FC12; Fri, 4 Sep 2009 14:27:58 +0000 (UTC) Received: from inchoate.gsoft.com.au (ppp121-45-154-162.lns11.adl6.internode.on.net [121.45.154.162]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n84ERtvI007364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 4 Sep 2009 23:57:56 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Fri, 4 Sep 2009 23:57:41 +0930 User-Agent: KMail/1.9.10 References: <200909042308.56900.doconnor@gsoft.com.au> In-Reply-To: <200909042308.56900.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3204359.j9oQjvWtTP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909042357.50470.doconnor@gsoft.com.au> X-Spam-Score: -1.557 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Samuel =?utf-8?q?Mart=C3=ADn_Moro?= , freebsd-questions@freebsd.org Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 14:27:59 -0000 --nextPart3204359.j9oQjvWtTP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 4 Sep 2009, Daniel O'Connor wrote: > WARNING: This e-mail has been altered by MIMEDefang. Following this > paragraph are indications of the actual changes made. For more > information about your site's MIMEDefang policy, contact > Postmaster . For more information about > MIMEDefang, see: > > http://www.roaringpenguin.com/mimedefang/enduser.php3 > > An attachment named makeusb.sh was removed from this document as it > constituted a security hazard. If you require this document, please > contact the sender and arrange an alternate means of receiving it. Oops try this http://www.gsoft.com.au/~doconnor/makeusb.sh =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3204359.j9oQjvWtTP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBKoSPm5ZPcIHs/zowRAgQQAJ0TBwaFpG9Tn08ahfa20MABrobGhACcDNg0 ItmxZmLvkrK54edb5cgqdgk= =QAD7 -----END PGP SIGNATURE----- --nextPart3204359.j9oQjvWtTP-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 14:28:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A05011065694 for ; Fri, 4 Sep 2009 14:28:09 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8128FC3E for ; Fri, 4 Sep 2009 14:28:09 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id 5A71D1F096; Fri, 4 Sep 2009 10:28:08 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 45B7C34F14; Fri, 4 Sep 2009 10:28:08 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjZln-0001OM-00; Fri, 04 Sep 2009 10:28:07 -0400 Date: Fri, 4 Sep 2009 10:28:07 -0400 From: stan To: Mel Flynn Message-ID: <20090904142807.GA5339@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903202347.GA16108@teddy.fas.com> <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 10:25:40 up 34 days, 15:27, 1 user, load average: 0.09, 0.05, 0.01 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 14:28:09 -0000 On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: > On Thursday 03 September 2009 22:23:47 stan wrote: > > On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > > > On Thursday 03 September 2009 21:02:41 stan wrote: > > > > pnoc# cat collect-subtrees > > > > #!/bin/sh > > > > > > > > echo STARTED >> /tmp/stan > > > > which perl >> /tmp/stan > > > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > > > echo Done >> /tmp/stan > > > > > > > > /tmp stan contains: > > > > > > > > pnoc# cat /tmp/stan > > > > STARTED > > > > /usr/bin/perl > > > > Done > > > > STARTED > > > > /usr/bin/perl > > > > Done > > > > > > > > So, cron is invoking the correct command, and perl can be found, but > > > > the original collect_subtrees perl script silently dies. > > > > > > > > I am convinced it's an environemt probkl`lem, I am just uncertain how > > > > to determine what. > > > > > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink > > > (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another > > > cent on the perl script using system() function, with pathless commands > > > (that is environment). > > Ok, one liner: > su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ > /usr/local/cricket/cricket/collect-subtrees.pl normal > > I've downloaded the 1.0.5 version, but can't quickly see where that would go > wrong with this script. touch is in /usr/bin, so that should work. > Any cron messages in /var/mail/cricket? I am away from work today, and won't be back till Tuesday. I can't access this from home. I will try your test then. The only messages that are getting to /var/log/cron is just the one saying that the task was executed. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 15:04:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B6141065672 for ; Fri, 4 Sep 2009 15:04:24 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DB5108FC20 for ; Fri, 4 Sep 2009 15:04:23 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 494667E853; Fri, 4 Sep 2009 07:04:34 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 17:04:19 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090904142807.GA5339@teddy.fas.com> In-Reply-To: <20090904142807.GA5339@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909041704.19865.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 15:04:24 -0000 On Friday 04 September 2009 16:28:07 stan wrote: > On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: > > On Thursday 03 September 2009 22:23:47 stan wrote: > > > On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > > > > On Thursday 03 September 2009 21:02:41 stan wrote: > > > > > pnoc# cat collect-subtrees > > > > > #!/bin/sh > > > > > > > > > > echo STARTED >> /tmp/stan > > > > > which perl >> /tmp/stan > > > > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > > > > echo Done >> /tmp/stan > > > > > > > > > > /tmp stan contains: > > > > > > > > > > pnoc# cat /tmp/stan > > > > > STARTED > > > > > /usr/bin/perl > > > > > Done > > > > > STARTED > > > > > /usr/bin/perl > > > > > Done > > > > > > > > > > So, cron is invoking the correct command, and perl can be found, > > > > > but the original collect_subtrees perl script silently dies. > > > > > > > > > > I am convinced it's an environemt probkl`lem, I am just uncertain > > > > > how to determine what. > > > > > > > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink > > > > (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and > > > > another cent on the perl script using system() function, with > > > > pathless commands (that is environment). > > > > Ok, one liner: > > su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ > > /usr/local/cricket/cricket/collect-subtrees.pl normal > > > > I've downloaded the 1.0.5 version, but can't quickly see where that would > > go wrong with this script. touch is in /usr/bin, so that should work. Any > > cron messages in /var/mail/cricket? > > I am away from work today, and won't be back till Tuesday. I can't access > this from home. > > I will try your test then. The only messages that are getting to > /var/log/cron is just the one saying that the task was executed. Yea, the error messages end up in /var/mail/$USER or MAILTO variable if set in crontab. /var/log/maillog should have some tell tales. -- Mel From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 15:50:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2793106568D for ; Fri, 4 Sep 2009 15:50:12 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id C48B68FC13 for ; Fri, 4 Sep 2009 15:50:12 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id n84FoBMv047930 for ; Fri, 4 Sep 2009 08:50:11 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id n84FoB38013707 for ; Fri, 4 Sep 2009 08:50:11 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id n84FoBTD013706 for freebsd-questions@freebsd.org; Fri, 4 Sep 2009 08:50:11 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Fri, 4 Sep 2009 08:50:11 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20090904155011.GA13136@marvin.optimis.net> References: <20090902072659.7829da56@scorpio.seibercom.net> <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903201036.36486533@scorpio.seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903201036.36486533@scorpio.seibercom.net> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 15:50:13 -0000 On Thu, Sep 03, 2009 at 08:10:36PM -0400, Jerry wrote: > On Fri, 4 Sep 2009 01:34:05 +0200 Mel Flynn wrote: > > > alias spico='/usr/local/bin/sudo pico -m' and be done with it. Instead of an extra alias, why not export $VISUAL or $EDITOR, and rely on sudoedit(8)? > That is what I am currently doing; however,there are other commands > that I want to use that are not available when used via sudo without > modifying the alias. I did not realize that sudo had such a > limitation. It's not a "limitation". It's a feature. ;-) Re-read the sudo manpage. I'd be surprised if most of your aliases would ever require root privileges, and are anything but one-off shortcuts for your personal use. For those that do, I'd suggest replacing them with a function (or script) that tests for root privileges (using something like id(1)), and invokes sudo when appropriate. Otherwise, you may want to consider using 'su -m'. That will your current environment unmodified and all your existing aliases will remain available for use. -- George From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 16:04:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C4E51065670 for ; Fri, 4 Sep 2009 16:04:46 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 383388FC0A for ; Fri, 4 Sep 2009 16:04:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR004.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KPG00E86FBUAC00@VL-MO-MR004.ip.videotron.ca> for freebsd-questions@freebsd.org; Fri, 04 Sep 2009 12:04:43 -0400 (EDT) Message-id: <4AA13A9D.3030007@videotron.ca> Date: Fri, 04 Sep 2009 12:04:45 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-questions@freebsd.org Subject: conky, anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 16:04:46 -0000 Anybody have any luck with installing conky on 7.2? I get errors when configured with or without xmms2: with - file xmmxclient.4 not found without - conky.h:67:18: error: bmpx.h: no such file of directory... TIA From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 16:30:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8FDD1065676 for ; Fri, 4 Sep 2009 16:30:01 +0000 (UTC) (envelope-from randy.belk@gmail.com) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.211.180]) by mx1.freebsd.org (Postfix) with ESMTP id 67EAD8FC1D for ; Fri, 4 Sep 2009 16:30:01 +0000 (UTC) Received: by ywh10 with SMTP id 10so1847673ywh.7 for ; Fri, 04 Sep 2009 09:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=yfYWvNl2rr/p+jd9U7zUDH4I0VsoFyw+1BkUL6/gKO8=; b=tGONepaHguNs5NWcOcmjy4iHY/8fTVeJujIwrav7+mVgbQr+t+lWgFSK2gVzGhPJm/ UHdw7081SCf/UKji8oSPx2merMjGVwzXOPVHAXiRNvMfjykdEXWCia1sNXrlqocTIuS/ 3on4TdCzGxspOgIipvzl7OU0WA/mLgFzNlEvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=d014Jh4IRqup/hO8rSS3zhxFG/439amruWCoGx3AgDCUO/tdRJ2N7QZb9S05NxHtS7 yu7UXce1+o/mTFVM1a0l5jOCRMMx1tzdRlzB1Fb+88fFu+WDjYo5qoIRibNbB1vinBWQ CM2fJslrEz9wjW0fQvbilDe7V9RUK8/jSkzEE= MIME-Version: 1.0 Received: by 10.150.44.12 with SMTP id r12mr18894143ybr.2.1252079974811; Fri, 04 Sep 2009 08:59:34 -0700 (PDT) In-Reply-To: <20090904155011.GA13136@marvin.optimis.net> References: <20090902072659.7829da56@scorpio.seibercom.net> <200909040134.05992.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903201036.36486533@scorpio.seibercom.net> <20090904155011.GA13136@marvin.optimis.net> From: Randy Belk Date: Fri, 4 Sep 2009 10:59:12 -0500 Message-ID: <946140ad0909040859k519ddfcar5230e745966daec1@mail.gmail.com> To: George Davidovich , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: 'alias' + sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 16:30:01 -0000 On Fri, Sep 4, 2009 at 10:50 AM, George Davidovich wro= te: > On Thu, Sep 03, 2009 at 08:10:36PM -0400, Jerry wrote: >> On Fri, 4 Sep 2009 01:34:05 +0200 Mel Flynn wrote: >> >> > alias spico=3D'/usr/local/bin/sudo pico -m' and be done with it. > > Instead of an extra alias, why not export $VISUAL or $EDITOR, and rely > on sudoedit(8)? > >> That is what I am currently doing; however,there are other commands >> that I want to use that are not available when used via sudo without >> modifying the alias. I did not realize that sudo had such a >> limitation. > > It's not a "limitation". =A0It's a feature. =A0;-) =A0Re-read the sudo > manpage. > > I'd be surprised if most of your aliases would ever require root > privileges, and are anything but one-off shortcuts for your personal > use. > > For those that do, I'd suggest replacing them with a function (or > script) that tests for root privileges (using something like id(1)), and > invokes sudo when appropriate. > > Otherwise, you may want to consider using 'su -m'. =A0That will your > current environment unmodified and all your existing aliases will remain > available for use. > > -- > George > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > There is a way for what you are wanting to do. Make an alias for sudo that looks like this "sudo=3D'sudo -E (Your default = shell)" Since I use zsh my alias looks like this sudo=3D'sudo -E zsh' It perserves all of your aliases, paths, and everything else . --=20 - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use = BSD. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 18:12:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0444D1065670 for ; Fri, 4 Sep 2009 18:12:56 +0000 (UTC) (envelope-from pb@ludd.ltu.se) Received: from mother.ludd.ltu.se (mother.ludd.ltu.se [130.240.16.3]) by mx1.freebsd.org (Postfix) with ESMTP id 84B428FC14 for ; Fri, 4 Sep 2009 18:12:55 +0000 (UTC) Received: from sister.ludd.ltu.se (root@sister.ludd.ltu.se [130.240.16.77]) by mother.ludd.ltu.se (8.13.6+Sun/8.12.10) with ESMTP id n84I2ZM4005871 for ; Fri, 4 Sep 2009 20:02:35 +0200 (MEST) Received: from sister.ludd.ltu.se (pb@localhost [127.0.0.1]) by sister.ludd.ltu.se (8.13.6+Sun/8.12.2) with ESMTP id n84I2Zmw028298 for ; Fri, 4 Sep 2009 20:02:35 +0200 (MEST) Received: (from pb@localhost) by sister.ludd.ltu.se (8.13.6+Sun/8.13.6/Submit) id n84I2YYC028296 for freebsd-questions@freebsd.org; Fri, 4 Sep 2009 20:02:34 +0200 (MEST) From: Peter B Message-Id: <200909041802.n84I2YYC028296@sister.ludd.ltu.se> To: freebsd-questions@freebsd.org Date: Fri, 4 Sep 2009 20:02:34 +0200 (MEST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: One MAC, two IP with DHCP (dhclient) how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 18:12:56 -0000 In an enviroment where the ethernet network interface is connected to a public ethernet network (internet). And a IPv4 address assignment scheme is static. One can simple add primary IP by: ifconfig inet 1.2.3.4 And an additional aliases with: ifconfig inet 1.2.3.5 alias This alias IP can then be used within a jail(8) enviroment. So far all is perfectly fine. But in an enviroment where the primary IP is retrieved or set with DHCP by using: dhclient How does one request an additional IP beside the primary one ..? Setting an alias directly with ifconfig won't work because the upstream network won't route it. Should one set an explicit xid or Client ID somehow? and how is that done in such case? (option dhcp-client-identifier data-string; in dhclient.conf) From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 18:17:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9301106568D for ; Fri, 4 Sep 2009 18:17:28 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 64A3B8FC28 for ; Fri, 4 Sep 2009 18:17:28 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MjdLi-0001KV-Tj for freebsd-questions@freebsd.org; Fri, 04 Sep 2009 20:17:26 +0200 Received: from pool-68-239-64-150.res.east.verizon.net ([68.239.64.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Sep 2009 20:17:26 +0200 Received: from nightrecon by pool-68-239-64-150.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Sep 2009 20:17:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 04 Sep 2009 14:17:33 -0400 Lines: 44 Message-ID: References: <200909040510.n845AsPU024402@mp.cs.niu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-64-150.res.east.verizon.net Sender: news Subject: Re: cc -march questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 18:17:28 -0000 Scott Bennett wrote: > On Thu, 3 Sep 2009 10:28:09 -0400 Daniel Molina Wegener > > wrote: >>2009/9/3 Scott Bennett >> >>> What exactly does "cc -march=prescott" enable cc to do? Does it >>> include >>> instruction scheduling for the pipeline structure of the Prescott CPUs? >>> Does >>> it include other options, e.g., "-mmmx -msse -msse2 -msse3"? >>> Thanks in advance for any information on the above! >>> >> >>According to the GCC manual page, it enables MMX, SSE, SSE2 and SSE3 >>instruction set support. >> >>Try: >>$ man 1 gcc >>/prescott >> > Thanks much for your reply. This is very bizarre. I think I've > looked > at that page at least 50 times in the past few years and somehow never saw > those lines. Sigh. :-} > I've had CPUTYPE=prescott in my /etc/make.conf for a long time now, > and I recently installed math/atlas-devel. I wonder if specifying > CPUTYPE=prescott may have caused it to choose the wrong components to > include in the final version of libalapack. If so, then I should rebuild > it without CPUTYPE=prescott. > If you do: dmesg | grep Features you will get a list of what the processor supports. You may then examine the /usr/src/share/mk/bsd.cpu.mk file looking for a match. Yes it is somewhat arcane to read, but it does list all. Notice it refers to CPUTYPE. I usually use a line such as CPUTYPE?= athlon in my make.conf. Been doing it like this for years and never had any problem. And, of course, let's not forget the MAN pages :-) YMMV -Mike From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 19:06:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F1CC1065679 for ; Fri, 4 Sep 2009 19:06:21 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.freebsd.org (Postfix) with ESMTP id B12438FC13 for ; Fri, 4 Sep 2009 19:06:20 +0000 (UTC) Received: from mail3.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n84IhL2D017705; Fri, 4 Sep 2009 20:43:21 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail3.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id n84IhL6u005068; Fri, 4 Sep 2009 20:43:21 +0200 Received: (from localhost) by curry.mchp.siemens.de (8.14.3/8.14.3) id n84IhLHg002659; Date: Fri, 4 Sep 2009 20:43:21 +0200 From: Andre Albsmeier To: lyd mc Message-ID: <20090904184321.GA5684@curry.mchp.siemens.de> References: <490628.66452.qm@web52201.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <490628.66452.qm@web52201.mail.re2.yahoo.com> X-Echelon: X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 19:06:21 -0000 On Thu, 16-Apr-2009 at 18:00:26 +0000, lyd mc wrote: > Hi guys, > > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? > > I am using fresh installed Freebsd7.0 and 7.1. here is my configs. Did you solve the problem already? I had a similar issue and tracked it down to a really strange compiler bug... -Andre > > Under the home directory of the user (alydio.mc) > > .forward > ??? \alydio.mc, "|/usr/bin/vacation alydio.mc" > > .vacation.msg > ?? Subject: On vacation message > ?? From: alydio.mc@mydomain.com > ?? I'm on vacation and will not be reading my mail for a while. > ? Your mail will be dealt with when I return. > . > from postfix/sendmail logs: > > ...sniff > ?(delivered to command: /usr/bin/vacation alydio.mc) > > after this nothing will happened... no errors.... no warnings...? > > However the one I installed from ports (/usr/local/bin/vacation) works fine. > > > I want to use the freebsd base vacation program.? > > Please help. > > Thank you, > alydiomc > > > -- Micro$oft: When will your system crash today? From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 19:45:36 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CDFF1065695 for ; Fri, 4 Sep 2009 19:45:36 +0000 (UTC) (envelope-from JMutaguchi@enticelabs.com) Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF238FC1E for ; Fri, 4 Sep 2009 19:45:36 +0000 (UTC) Received: from 69.169.181.4.provo.static.broadweavenetworks.net ([69.169.181.4] helo=remote.enticelabs.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Mjdfo-000NLl-Ck for freebsd-questions@FreeBSD.org; Fri, 04 Sep 2009 18:38:12 +0000 Received: from SBS.enticelabs.local ([fe80::33ac:1da5:1f2f:4070]) by SBS.enticelabs.local ([fe80::33ac:1da5:1f2f:4070%11]) with mapi; Fri, 4 Sep 2009 12:38:10 -0600 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 69.169.181.4 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18vBIpdY7qNgDnzLWyZeXEMCr8DX5+VuDA= From: Jun Mutaguchi To: "freebsd-questions@FreeBSD.org" Date: Fri, 4 Sep 2009 12:38:09 -0600 Thread-Topic: Advertisement Inquiry Thread-Index: Acotjtl5lYpONzJwQfutkMfTIqMCTA== Message-ID: <14FED03E6FBE1B4D91A1F3A2F8C9739C01CF6592A5@SBS.enticelabs.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Advertisement Inquiry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 19:45:36 -0000 Hello, My name is Jun from EnticeLabs, and we are interested in advertising on net= workattacheddatastorage.com. Could you tell me who to contact? Thanks for your time, Jun Mutaguchi EnticeLabs, Inc. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 20:39:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602B1106568F for ; Fri, 4 Sep 2009 20:39:38 +0000 (UTC) (envelope-from h.skuhra@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id E109B8FC12 for ; Fri, 4 Sep 2009 20:39:37 +0000 (UTC) Received: by bwz2 with SMTP id 2so887514bwz.43 for ; Fri, 04 Sep 2009 13:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/kPQinUd9hE4gnmaJ8xkRT4PTWpsaKHAseBezJQ4V1Y=; b=gXEM+RvjuA88BohwXL58lI7hxsc1xbxCtcSzzkBOJ0pc3hBm03uDdWpGNuoyZRaMXU TyCmqOqpM/ugHcdld78ncwi7GgAM0/ul69nShanWMGB/GoumuBnx7/fNx/CN3nQ6VqG+ H3ylojg4OaW6mEHEbEMm7+HmSTzyFGiXMQ3jA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AeYumb1uHTipcoIZb59Gxc36Ogo4H2yKUNcM7GVMD7w8FnQJE7tFyK950c22syMUff 1YyEFxK2RYSZWKeOCuVGXm3d7/PdhjTD7U8GFPxiFLaz8EfoEb8muhvCUySNfJ2+FnDK zH6zJur4XNMlBTITgfrJNhEaELGKcspR+RtrU= MIME-Version: 1.0 Received: by 10.204.24.130 with SMTP id v2mr9477871bkb.33.1252096776694; Fri, 04 Sep 2009 13:39:36 -0700 (PDT) In-Reply-To: <4AA13A9D.3030007@videotron.ca> References: <4AA13A9D.3030007@videotron.ca> Date: Fri, 4 Sep 2009 22:39:36 +0200 Message-ID: From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary=00032555999e996d6c0472c67f9f Subject: Re: conky, anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 20:39:38 -0000 --00032555999e996d6c0472c67f9f Content-Type: text/plain; charset=UTF-8 2009/9/4 PJ : > Anybody have any luck with installing conky on 7.2? > I get errors when configured with or without xmms2: > with - file xmmxclient.4 not found > without - conky.h:67:18: error: bmpx.h: no such file of directory... > TIA Error 1: Apply attached patch Error 2: disable BMPX support. Neither multimedia/bmpx nor sysutils/conky installs/includes bmpx.h. - Herbert --00032555999e996d6c0472c67f9f Content-Type: application/octet-stream; name="conky.diff" Content-Disposition: attachment; filename="conky.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fz7e0bq81 LS0tIE1ha2VmaWxlLm9yaWcJMjAwOS0wOS0wNCAyMjoyODo0MS4wMDAwMDAwMDAgKzAyMDAKKysr IE1ha2VmaWxlCTIwMDktMDktMDQgMjI6MzY6MzkuMDAwMDAwMDAwICswMjAwCkBAIC03LDcgKzcs NyBAQAogCiBQT1JUTkFNRT0JY29ua3kKIFBPUlRWRVJTSU9OPQkxLjcuMS4xCi1QT1JUUkVWSVNJ T049CTIKK1BPUlRSRVZJU0lPTj0JMwogQ0FURUdPUklFUz0Jc3lzdXRpbHMKIE1BU1RFUl9TSVRF Uz0JU0YKIApAQCAtOTYsNyArOTYsNyBAQAogLmVuZGlmCiAKIC5pZiBkZWZpbmVkKFdJVEhfWE1N UzIpCi1MSUJfREVQRU5EUys9CQl4bW1zY2xpZW50LjQ6JHtQT1JUU0RJUn0vYXVkaW8veG1tczIK K0xJQl9ERVBFTkRTKz0JCXhtbXNjbGllbnQuNToke1BPUlRTRElSfS9hdWRpby94bW1zMgogQ09O RklHVVJFX0FSR1MrPQktLWVuYWJsZS14bW1zMgogLmVsc2UKIENPTkZJR1VSRV9BUkdTKz0JLS1k aXNhYmxlLXhtbXMyCg== --00032555999e996d6c0472c67f9f-- From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 21:28:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C0FF10656A5 for ; Fri, 4 Sep 2009 21:28:08 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3576C8FC18 for ; Fri, 4 Sep 2009 21:28:07 +0000 (UTC) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail2.panix.com (Postfix) with ESMTP id 4B2F138E41; Fri, 4 Sep 2009 17:28:07 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 32FFA349BC; Fri, 4 Sep 2009 17:28:07 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjgKE-00044I-00; Fri, 04 Sep 2009 17:28:06 -0400 Date: Fri, 4 Sep 2009 17:28:06 -0400 From: stan To: Mel Flynn Message-ID: <20090904212806.GA15488@teddy.fas.com> Mail-Followup-To: Mel Flynn , freebsd-questions@freebsd.org References: <20090903114857.GA635@teddy.fas.com> <200909032341.28748.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090904142807.GA5339@teddy.fas.com> <200909041704.19865.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909041704.19865.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 17:26:13 up 34 days, 22:28, 1 user, load average: 0.00, 0.05, 0.06 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: freebsd-questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 21:28:08 -0000 On Fri, Sep 04, 2009 at 05:04:19PM +0200, Mel Flynn wrote: > On Friday 04 September 2009 16:28:07 stan wrote: > > On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: > > > On Thursday 03 September 2009 22:23:47 stan wrote: > > > > On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: > > > > > On Thursday 03 September 2009 21:02:41 stan wrote: > > > > > > pnoc# cat collect-subtrees > > > > > > #!/bin/sh > > > > > > > > > > > > echo STARTED >> /tmp/stan > > > > > > which perl >> /tmp/stan > > > > > > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > > > > > > echo Done >> /tmp/stan > > > > > > > > > > > > /tmp stan contains: > > > > > > > > > > > > pnoc# cat /tmp/stan > > > > > > STARTED > > > > > > /usr/bin/perl > > > > > > Done > > > > > > STARTED > > > > > > /usr/bin/perl > > > > > > Done > > > > > > > > > > > > So, cron is invoking the correct command, and perl can be found, > > > > > > but the original collect_subtrees perl script silently dies. > > > > > > > > > > > > I am convinced it's an environemt probkl`lem, I am just uncertain > > > > > > how to determine what. > > > > > > > > > > I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink > > > > > (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and > > > > > another cent on the perl script using system() function, with > > > > > pathless commands (that is environment). > > > > > > Ok, one liner: > > > su -m cricket env -i HOME=/usr/local/cricket PATH=/bin:/usr/bin \ > > > /usr/local/cricket/cricket/collect-subtrees.pl normal > > > > > > I've downloaded the 1.0.5 version, but can't quickly see where that would > > > go wrong with this script. touch is in /usr/bin, so that should work. Any > > > cron messages in /var/mail/cricket? > > > > I am away from work today, and won't be back till Tuesday. I can't access > > this from home. > > > > I will try your test then. The only messages that are getting to > > /var/log/cron is just the one saying that the task was executed. > Yea, the error messages end up in /var/mail/$USER or MAILTO variable if set in > crontab. /var/log/maillog should have some tell tales. OK, I am thinking that I have a ,forward file in crickets hme directtory. I will check. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 22:40:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CECA8106566B for ; Fri, 4 Sep 2009 22:40:39 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id A7BD88FC16 for ; Fri, 4 Sep 2009 22:40:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KPG0091ZXNQ9GB0@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Fri, 04 Sep 2009 18:40:38 -0400 (EDT) Message-id: <4AA19769.8060907@videotron.ca> Date: Fri, 04 Sep 2009 18:40:41 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: "Herbert J. Skuhra" References: <4AA13A9D.3030007@videotron.ca> In-reply-to: Cc: freebsd-questions@freebsd.org Subject: Re: conky, anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 22:40:39 -0000 Herbert J. Skuhra wrote: > 2009/9/4 PJ : > >> Anybody have any luck with installing conky on 7.2? >> I get errors when configured with or without xmms2: >> with - file xmmxclient.4 not found >> without - conky.h:67:18: error: bmpx.h: no such file of directory... >> TIA >> > > Error 1: Apply attached patch > > Error 2: disable BMPX support. Neither multimedia/bmpx nor > sysutils/conky installs/includes bmpx.h. > Thanks, Herbert, I got rid of the all the dependencies except for the last three in the configure options and now it installed. Didn't need the dependencies as I never use them... should have learned from that dumb cat that died from curiosity. ;-) PJ From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 07:55:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73BF5106568D for ; Sat, 5 Sep 2009 07:55:55 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE1B8FC19 for ; Sat, 5 Sep 2009 07:55:54 +0000 (UTC) Received: by ewy4 with SMTP id 4so1501696ewy.36 for ; Sat, 05 Sep 2009 00:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XCKdKxfmHm+bp8zLC1mIbLM1g58Dv0fMINeGGb0iqIQ=; b=E27gCbLI7jvPvDQ10uuVJzODgKJDN4rwJ7+VIQsJp+fnN2CDSV+7BOZL4SDOH2v+Pj CiPASTLCRKSIvpaHXh1AVvvL7mKUqvhfD4DKOtwGo2DpzRQwHGbpHE0pvMTuspZMlXPW JtUrcR8Eafk9fKLAQWTAmoLL7j6BeMFZa6arg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=L395d68emihSdvzRa7gyTQRIbfQpcFG9ML9/SAJOL2RPQWTU8cj+fe8h/EnmdOXLXt XTvQ+20zevOmQcfF14+FdafNxiWbedyCLqb2sezEzVfa6WoLOx8UoSvrjfE3NBvQ/k3q dGM3ZMdfVUuo5MIWxT+QxCVPEbnYbP0CTR2kI= MIME-Version: 1.0 Received: by 10.210.32.28 with SMTP id f28mr1478068ebf.25.1252137354224; Sat, 05 Sep 2009 00:55:54 -0700 (PDT) In-Reply-To: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Sat, 5 Sep 2009 04:55:54 -0300 Message-ID: From: Agus To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 07:55:55 -0000 2009/9/3 Mel Flynn : > On Friday 04 September 2009 01:20:46 Agus wrote: > >> What server, application do u know/recommend me for using as a >> ProxyPass / Reverse Proxy... >> >> The idea is to forward all requests to port 80 to this server and then >> from here according to the vhost send it to the actual server... For >> now i only need proxying.. dont think cacheing will be possible so im >> just looking for a pretty fast, light and stable app to do this on a >> freebsd 7... >> >> Thanks and ihope to hear some cool recommendations.. hehe > > If lightweight, go with www/nginx. Features, go with www/squid or > apache+mod_proxy. > -- > Mel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thanks Mel... Now i've been reading a little and found that cherokee maybe a very good alternative also.... I also found that the performance will variate according to the syscall the server uses... i read about poll,etc.... how to know which syscalls does the servers support and which one is better/fastest? I will continue looking for this... Thanks a lot, Agusitn From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 09:04:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B54B91065670 for ; Sat, 5 Sep 2009 09:04:40 +0000 (UTC) (envelope-from uchimata@c7f.de) Received: from smtp.mail.uni-mannheim.de (smtp.mail.uni-mannheim.de [134.155.96.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3146E8FC0C for ; Sat, 5 Sep 2009 09:04:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTP id 27A3F10E673 for ; Sat, 5 Sep 2009 10:47:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-mannheim.de Received: from smtp.mail.uni-mannheim.de ([134.155.96.80]) by localhost (mail-r86.rz.uni-mannheim.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ShfzOSx5MqUg for ; Sat, 5 Sep 2009 10:47:02 +0200 (CEST) Received: from hlab.informatik.uni-mannheim.de (hlab.informatik.uni-mannheim.de [134.155.88.197]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTP id 7460210E7AF for ; Sat, 5 Sep 2009 10:46:47 +0200 (CEST) Received: (qmail 42363 invoked from network); 3 Sep 2009 18:50:57 +0200 Received: from phoebe-wlan.c7f.de (HELO ?10.10.10.2?) (uchimata@c7f.de@10.10.10.2) by hlab.informatik.uni-mannheim.de with AES256-SHA encrypted SMTP; 3 Sep 2009 18:50:57 +0200 Message-ID: <4A9FF3FB.4030208@c7f.de> Date: Thu, 03 Sep 2009 18:51:07 +0200 From: Matthias Luft User-Agent: Thunderbird 2.0.0.22 (X11/20090719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200909031219.57856.dyioulos@firstbhph.com> In-Reply-To: <200909031219.57856.dyioulos@firstbhph.com> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040206050307070303020506" Subject: Re: Making bootable USB keys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 09:04:40 -0000 This is a cryptographically signed message in MIME format. --------------ms040206050307070303020506 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dimitri Yioulos wrote: > Might want to try UNetbootin. There is also a similar script -- but the related tutorial is a german one: http://wiki.bsdforen.de/howto/cd_iso_to_usb so long, Matthias --------------ms040206050307070303020506 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIXDDCC BCEwggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQK ExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVy MSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBa Fw0xOTA2MzAyMzU5MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAw DgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEw ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U 1wBblSJ01CDrNI/W7MAxBAuZgeKmFNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB6 fL9KDhsAw4bpXCsxEXsM84IkQ4wcOItqaACa7txPeKvSxhObdq3u3ibo7wGvdA/BCaL2a869 080UME/15eOkyGKbghoDJzANAmVgTe3RCSMqljVYJ9N2xnG2kB3E7f81hn1vM7PbD8URwoqD oZRdQWvY0hD1TP3KUazZve+Sg7va64sWVlZDz+HVEz2mHycwzUlU28kTNJpxdcVs6qcLmPkh nSevPqM5OUhqjK3JmfvDEvK9AgMBAAGjgdkwgdYwcAYDVR0fBGkwZzBloGOgYYZfaHR0cDov L3BraS50ZWxlc2VjLmRlL2NnaS1iaW4vc2VydmljZS9hZl9Eb3dubG9hZEFSTC5jcmw/LWNy bF9mb3JtYXQ9WF81MDkmLWlzc3Vlcj1EVF9ST09UX0NBXzIwHQYDVR0OBBYEFEm3xs/oPR9/ 6kR7Eyn38QpwPt5kMB8GA1UdIwQYMBaAFDHDeRu69VPXF+CJei0XbAqzK50zMA4GA1UdDwEB /wQEAwIBBjASBgNVHRMBAf8ECDAGAQH/AgECMA0GCSqGSIb3DQEBBQUAA4IBAQA74Vp3wEgX 3KkY7IGvWonwvSiSpspZGBJw7Cjy565/lizn8l0ZMfYTK3S9vYCyufdnyTmieTvhERHua3iR M347XyYndVNljjNj7s9zw7CSI0khUHUjoR8Y4pSFPT8z6XcgjaK95qGFKUD2P3MyWA0Ja6ba hWzAP7uNZmRWJE6uDT8yNQFb6YyC2XJZT7GGhfF0hVblw/hc843uR7NTBXDn5U2KaYMo4RMJ hp5eyOpYHgwf+aTUWgRo/Sg+iwK2WLX2oSw3VwBnqyNojWOl75lrXP1LVvarQIc01BGSbOyH xQoLBzNytG8MHVQs2FHHzL8w00Ny8TK/jM5JY6gA9/IcMIIFXzCCBEegAwIBAgIECqxvSjAN BgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJERTETMBEGA1UEChMKREZOLVZlcmVpbjEQMA4G A1UECxMHREZOLVBLSTEkMCIGA1UEAxMbREZOLVZlcmVpbiBQQ0EgR2xvYmFsIC0gRzAxMB4X DTA3MDcwNTEzMjcyNFoXDTE5MDYzMDAwMDAwMFowgckxCzAJBgNVBAYTAkRFMRswGQYDVQQI ExJCYWRlbi1XdWVydHRlbWJlcmcxETAPBgNVBAcTCE1hbm5oZWltMR4wHAYDVQQKExVVbml2 ZXJzaXRhZXQgTWFubmhlaW0xFjAUBgNVBAsTDVJlY2hlbnplbnRydW0xKDAmBgNVBAMTH1JV TS1DQS1HIFplcnRpZml6aWVydW5nc2luc3RhbnoxKDAmBgkqhkiG9w0BCQEWGXJ1bS1jYUBy ei51bmktbWFubmhlaW0uZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCL7B3M X12aAEOV15YWTwIfFkOCPrdDgSIBuyGwLK0Hc3PXCG2MbHADWOvNydC+SKT2HXlNQ4bSApUY MHTv3JKXN3XZLOmokUQb2UXU/P659xjXRW06cdKoQwInJ2u3zw+1UslRXM8HuWYz+2nwyvl0 VERPO2I1W7Mtu2VX4yE1pPvSNhvVdY0BWXGYc3qQj3fT8sd829OD7IosqrzAZUSoFAif0zp7 WHn6U2A8TSdG0C3gFZrWAckS4xOH6/CxeEUrM/Yd0PqQ4ng+GoOpHLdavAQnolztdGTcm+Lx cHPMAtDv7buL6Ltyv17VUbW8gWryUs+p6uDesH1LrFTq8rVFAgMBAAGjggG7MIIBtzASBgNV HRMBAf8ECDAGAQH/AgEBMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUWSApQELW/o4HLro9h08y rWR2jgwwHwYDVR0jBBgwFoAUSbfGz+g9H3/qRHsTKffxCnA+3mQwJAYDVR0RBB0wG4EZcnVt LWNhQHJ6LnVuaS1tYW5uaGVpbS5kZTCBiAYDVR0fBIGAMH4wPaA7oDmGN2h0dHA6Ly9jZHAx LnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2NybC9jYWNybC5jcmwwPaA7oDmGN2h0 dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2NybC9jYWNybC5jcmww gaIGCCsGAQUFBwEBBIGVMIGSMEcGCCsGAQUFBzAChjtodHRwOi8vY2RwMS5wY2EuZGZuLmRl L2dsb2JhbC1yb290LWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBHBggrBgEFBQcwAoY7aHR0 cDovL2NkcDIucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0L2NhY2VydC5j cnQwDQYJKoZIhvcNAQEFBQADggEBABS2I/WClak0OZ9RKot1r5XtVXHFSIK/AfXhjQt5KlPH fLwXYw/fMRFUKU0E8UN4o7+qt9pxYKqWcyDguGYzZKZyD9PMSKJ3KGL7PQXVCvFuk5K2Sjhc J8JVW4ghtm30lZhMYEc2IcTJGOk2IvmR9waSVJ8kG5Pon52Ny28UEfTlwz6SsO64zDRRXV/i +0SWnHPMwV3qDeb7rNSB+VvClXLYHHLda4kQwM5gggimxWmAU1V5Ya4zB+equuo52OEeO//M X/TpokBe8xLN9C9+FD0GbEa5xdJfq/BOw62+22hy2cxWpWuPQSWok/YGB0/HclGy5N+gCzLk 2rA1FmImGQYwgga+MIIFpqADAgECAgQM/FYyMA0GCSqGSIb3DQEBBQUAMIHJMQswCQYDVQQG EwJERTEbMBkGA1UECBMSQmFkZW4tV3VlcnR0ZW1iZXJnMREwDwYDVQQHEwhNYW5uaGVpbTEe MBwGA1UEChMVVW5pdmVyc2l0YWV0IE1hbm5oZWltMRYwFAYDVQQLEw1SZWNoZW56ZW50cnVt MSgwJgYDVQQDEx9SVU0tQ0EtRyBaZXJ0aWZpemllcnVuZ3NpbnN0YW56MSgwJgYJKoZIhvcN AQkBFhlydW0tY2FAcnoudW5pLW1hbm5oZWltLmRlMB4XDTA4MDkyNjEyNDIxMVoXDTExMDky NjEyNDIxMVowgYoxCzAJBgNVBAYTAkRFMRswGQYDVQQIExJCYWRlbi1XdWVydHRlbWJlcmcx ETAPBgNVBAcTCE1hbm5oZWltMR4wHAYDVQQKExVVbml2ZXJzaXRhZXQgTWFubmhlaW0xEzAR BgNVBAsTCkluZm9ybWF0aWsxFjAUBgNVBAMTDU1hdHRoaWFzIEx1ZnQwggIiMA0GCSqGSIb3 DQEBAQUAA4ICDwAwggIKAoICAQDCF26vTGEJCaFLXNBm0t7dqlu4WyyjAsBpOxDYphCnxC4d svJjkX4WSzxon7u0BXaYARBnF45ZyU3gH9dRJlI/68C04F8vbCOPN6gymn+BNSf7LDpxCEhU q6SZ52aTqMP7DBryRojpHf23tjFt8TdysnTby54oNEFUIWHtgR9G48Yx9kK7ZVGtN3W/5Aol c+EcTNLTOgxpp30JRL73b3u1+3HepP94hl092JiBehqQ06KPkVhVnx77mXYoOlrcvdx3Hn0w 3Owb6pXWf6JFUYoFi8x+Cy9ZA3rEBY0gK6vuOrW7BS58H1DRUUPrNPaXoIueTEp8KzSqV3Lj lZvQo6aqlDC5ToSF5kqYRvmJ0U4PcPuUjtqK8tbYyERLsYE/QBkz6nJVWNyleWFhRRA9Ii0l 2ChnEbwCfXSH8Tq9C7B6piSd5n0/+Z9dyhcrv471NH3TbvE4evPCC5k9pj0AQkZ2JkO3axhF SpzH/DsBWWDfhegfloh3CfBdI/akzsFjI52t3K9yVGiMnbcz0XajZjQk5KvgsmhSMXQ1mLpY 39IPma3syYYCs53bIjoD6qZxUnYD2BK6F4rS2uav3pDdw5osPWsBJS/W9W4t7hgCfcd4NzsE Qzlfht6efIxAobavv9R9CyMN++H3iFldMpgQM6fGMvNlPgPKNXZ+WnyfKSmmkQIDAQABo4IB 6TCCAeUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBeAwKQYDVR0lBCIwIAYIKwYBBQUHAwIGCCsG AQUFBwMEBgorBgEEAYI3FAICMB0GA1UdDgQWBBTvMaFSOTTNTRaLwu5UO9w6MHaL6DAfBgNV HSMEGDAWgBRZIClAQtb+jgcuuj2HTzKtZHaODDArBgNVHREEJDAigSBtbHVmdEBpbmZvcm1h dGlrLnVuaS1tYW5uaGVpbS5kZTCBiwYDVR0fBIGDMIGAMD6gPKA6hjhodHRwOi8vY2RwMS5w Y2EuZGZuLmRlL3VuaS1tYW5uaGVpbS1jYS9wdWIvY3JsL2NhY3JsLmNybDA+oDygOoY4aHR0 cDovL2NkcDIucGNhLmRmbi5kZS91bmktbWFubmhlaW0tY2EvcHViL2NybC9jYWNybC5jcmww gaQGCCsGAQUFBwEBBIGXMIGUMEgGCCsGAQUFBzAChjxodHRwOi8vY2RwMS5wY2EuZGZuLmRl L3VuaS1tYW5uaGVpbS1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwSAYIKwYBBQUHMAKGPGh0 dHA6Ly9jZHAyLnBjYS5kZm4uZGUvdW5pLW1hbm5oZWltLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0 LmNydDANBgkqhkiG9w0BAQUFAAOCAQEAXbX3hS/DGanLPmFJ2+G0Q0+RR5E6NbEPJIeMAg0G BDN/0GRCJSbdUQ4cmCUjkKIaUxrzD5QhEptMQu3N+33jENhPFj/SLr0x5EsWG5hAIdKPj/W9 mftcxToElG2yE4C1N1cg9DMtJxeZQD/Uy9+O+6ZQO9FVkdyyyNVU/kN7t5agKTRrq3l0ysZF zpsa1Matyd8K3shzTXc2/rtUQTWj0hSZE/raXbpx0iomF15hV7ZtCwaXr0iohKx7C41Eg3As 4El1zNktg44ODkFFi7hkZ9LGGatdCJ/EPbxXCeVmy3uUqJ3YOvQ08b73M5Aa3zl8GlJ3tI95 1Ck4YSZ/BaUMLjCCBr4wggWmoAMCAQICBAz8VjIwDQYJKoZIhvcNAQEFBQAwgckxCzAJBgNV BAYTAkRFMRswGQYDVQQIExJCYWRlbi1XdWVydHRlbWJlcmcxETAPBgNVBAcTCE1hbm5oZWlt MR4wHAYDVQQKExVVbml2ZXJzaXRhZXQgTWFubmhlaW0xFjAUBgNVBAsTDVJlY2hlbnplbnRy dW0xKDAmBgNVBAMTH1JVTS1DQS1HIFplcnRpZml6aWVydW5nc2luc3RhbnoxKDAmBgkqhkiG 9w0BCQEWGXJ1bS1jYUByei51bmktbWFubmhlaW0uZGUwHhcNMDgwOTI2MTI0MjExWhcNMTEw OTI2MTI0MjExWjCBijELMAkGA1UEBhMCREUxGzAZBgNVBAgTEkJhZGVuLVd1ZXJ0dGVtYmVy ZzERMA8GA1UEBxMITWFubmhlaW0xHjAcBgNVBAoTFVVuaXZlcnNpdGFldCBNYW5uaGVpbTET MBEGA1UECxMKSW5mb3JtYXRpazEWMBQGA1UEAxMNTWF0dGhpYXMgTHVmdDCCAiIwDQYJKoZI hvcNAQEBBQADggIPADCCAgoCggIBAMIXbq9MYQkJoUtc0GbS3t2qW7hbLKMCwGk7ENimEKfE Lh2y8mORfhZLPGifu7QFdpgBEGcXjlnJTeAf11EmUj/rwLTgXy9sI483qDKaf4E1J/ssOnEI SFSrpJnnZpOow/sMGvJGiOkd/be2MW3xN3KydNvLnig0QVQhYe2BH0bjxjH2QrtlUa03db/k CiVz4RxM0tM6DGmnfQlEvvdve7X7cd6k/3iGXT3YmIF6GpDToo+RWFWfHvuZdig6Wty93Hce fTDc7BvqldZ/okVRigWLzH4LL1kDesQFjSArq+46tbsFLnwfUNFRQ+s09pegi55MSnwrNKpX cuOVm9CjpqqUMLlOhIXmSphG+YnRTg9w+5SO2ory1tjIREuxgT9AGTPqclVY3KV5YWFFED0i LSXYKGcRvAJ9dIfxOr0LsHqmJJ3mfT/5n13KFyu/jvU0fdNu8Th688ILmT2mPQBCRnYmQ7dr GEVKnMf8OwFZYN+F6B+WiHcJ8F0j9qTOwWMjna3cr3JUaIydtzPRdqNmNCTkq+CyaFIxdDWY uljf0g+ZrezJhgKzndsiOgPqpnFSdgPYEroXitLa5q/ekN3Dmiw9awElL9b1bi3uGAJ9x3g3 OwRDOV+G3p58jEChtq+/1H0LIw374feIWV0ymBAzp8Yy82U+A8o1dn5afJ8pKaaRAgMBAAGj ggHpMIIB5TAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF4DApBgNVHSUEIjAgBggrBgEFBQcDAgYI KwYBBQUHAwQGCisGAQQBgjcUAgIwHQYDVR0OBBYEFO8xoVI5NM1NFovC7lQ73DowdovoMB8G A1UdIwQYMBaAFFkgKUBC1v6OBy66PYdPMq1kdo4MMCsGA1UdEQQkMCKBIG1sdWZ0QGluZm9y bWF0aWsudW5pLW1hbm5oZWltLmRlMIGLBgNVHR8EgYMwgYAwPqA8oDqGOGh0dHA6Ly9jZHAx LnBjYS5kZm4uZGUvdW5pLW1hbm5oZWltLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMD6gPKA6hjho dHRwOi8vY2RwMi5wY2EuZGZuLmRlL3VuaS1tYW5uaGVpbS1jYS9wdWIvY3JsL2NhY3JsLmNy bDCBpAYIKwYBBQUHAQEEgZcwgZQwSAYIKwYBBQUHMAKGPGh0dHA6Ly9jZHAxLnBjYS5kZm4u ZGUvdW5pLW1hbm5oZWltLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBIBggrBgEFBQcwAoY8 aHR0cDovL2NkcDIucGNhLmRmbi5kZS91bmktbWFubmhlaW0tY2EvcHViL2NhY2VydC9jYWNl cnQuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQBdtfeFL8MZqcs+YUnb4bRDT5FHkTo1sQ8kh4wC DQYEM3/QZEIlJt1RDhyYJSOQohpTGvMPlCESm0xC7c37feMQ2E8WP9IuvTHkSxYbmEAh0o+P 9b2Z+1zFOgSUbbITgLU3VyD0My0nF5lAP9TL3477plA70VWR3LLI1VT+Q3u3lqApNGureXTK xkXOmxrUxq3J3wreyHNNdzb+u1RBNaPSFJkT+tpdunHSKiYXXmFXtm0LBpevSKiErHsLjUSD cCzgSXXM2S2Djg4OQUWLuGRn0sYZq10In8Q9vFcJ5WbLe5Sondg69DTxvvczkBrfOXwaUne0 j3nUKThhJn8FpQwuMYIFijCCBYYCAQEwgdIwgckxCzAJBgNVBAYTAkRFMRswGQYDVQQIExJC YWRlbi1XdWVydHRlbWJlcmcxETAPBgNVBAcTCE1hbm5oZWltMR4wHAYDVQQKExVVbml2ZXJz aXRhZXQgTWFubmhlaW0xFjAUBgNVBAsTDVJlY2hlbnplbnRydW0xKDAmBgNVBAMTH1JVTS1D QS1HIFplcnRpZml6aWVydW5nc2luc3RhbnoxKDAmBgkqhkiG9w0BCQEWGXJ1bS1jYUByei51 bmktbWFubmhlaW0uZGUCBAz8VjIwCQYFKw4DAhoFAKCCAowwGAYJKoZIhvcNAQkDMQsGCSqG SIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDkwOTAzMTY1MTA4WjAjBgkqhkiG9w0BCQQxFgQU 20rnoSNK2cPYWcmMpeKJEbx+1zwwXwYJKoZIhvcNAQkPMVIwUDALBglghkgBZQMEAQIwCgYI KoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqG SIb3DQMCAgEoMIHjBgkrBgEEAYI3EAQxgdUwgdIwgckxCzAJBgNVBAYTAkRFMRswGQYDVQQI ExJCYWRlbi1XdWVydHRlbWJlcmcxETAPBgNVBAcTCE1hbm5oZWltMR4wHAYDVQQKExVVbml2 ZXJzaXRhZXQgTWFubmhlaW0xFjAUBgNVBAsTDVJlY2hlbnplbnRydW0xKDAmBgNVBAMTH1JV TS1DQS1HIFplcnRpZml6aWVydW5nc2luc3RhbnoxKDAmBgkqhkiG9w0BCQEWGXJ1bS1jYUBy ei51bmktbWFubmhlaW0uZGUCBAz8VjIwgeUGCyqGSIb3DQEJEAILMYHVoIHSMIHJMQswCQYD VQQGEwJERTEbMBkGA1UECBMSQmFkZW4tV3VlcnR0ZW1iZXJnMREwDwYDVQQHEwhNYW5uaGVp bTEeMBwGA1UEChMVVW5pdmVyc2l0YWV0IE1hbm5oZWltMRYwFAYDVQQLEw1SZWNoZW56ZW50 cnVtMSgwJgYDVQQDEx9SVU0tQ0EtRyBaZXJ0aWZpemllcnVuZ3NpbnN0YW56MSgwJgYJKoZI hvcNAQkBFhlydW0tY2FAcnoudW5pLW1hbm5oZWltLmRlAgQM/FYyMA0GCSqGSIb3DQEBAQUA BIICACQA7YPYNJ914K1jO+NNpK42vvhS00J+auUTEa/Vl48nQCYEPauoprmT66t63k9JLzwa 37nBmJxw/KGFr1W/E2u2tfcPzkLLNJ7AkOSFOCqmaTi51xFM4lzCtuitY6e08dXFS88JsR3O UiHNwBwbrnYHwZi0meL0EePuBV6y0HedOav+Ds+96fXAPhX4v9uv3lELaFMP5pkczxyRLCrA QNJ+V45t1iTSY2bPXSDx2v/E3uTMs08i3kUKg/j2a9Xd+CviGuwviUJAjrGXZK7zRxDDYldZ E4htdYILS1mo9iZ43dNEW6Cn0X/E+vp8cPMhqKY7MVQOIHQ++LEufSx67yNWGtwYOyZApNGC 6eqKU3+sN2MDUVbcEEW3Y2Y56oTVbxNd3CNPUu0TOfCbjjyX1gBduAXsklvWLMu+pGPIyBaC bOXZyRoqeQZI9TpYSNpDEXsguwWkNnhUAmzhDGgUdyup/eZBG1Azy5hQ2aQGItYvonYshTm3 2CFQFKM16RZvN+W5xcxXXaIrBxZP+2enQgRWTlGcDjIcK8+/8c0+dbEdrM5QNmZxQ/T/CVbG 7wlnD1c8GHRQ3dw+QAulcVwUZMM0CH8L9tZIaEJckIxlKCVZwU+4KQjJpdaHmnkNeW5PcAmm bmZ3tr5e8GlZuc5h0Z+u+HYeTwM4tqIY2OzZLqWNAAAAAAAA --------------ms040206050307070303020506-- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 09:57:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87492106566B for ; Sat, 5 Sep 2009 09:57:54 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward11.yandex.ru (forward11.yandex.ru [95.108.130.93]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2F88FC0A for ; Sat, 5 Sep 2009 09:57:54 +0000 (UTC) Received: from smtp15.yandex.ru (smtp15.yandex.ru [95.108.130.69]) by forward11.yandex.ru (Yandex) with ESMTP id 68B14F48526 for ; Sat, 5 Sep 2009 13:57:52 +0400 (MSD) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp15.yandex.ru (Yandex) with ESMTPA id B238A4E2826D for ; Sat, 5 Sep 2009 13:57:45 +0400 (MSD) X-Nat-Received: from [192.168.9.80]:1128 [ident-empty] by SPAM FILTER: with TPROXY id 1252144694.58303 abuse-to kes-kes@yandex.ru Date: Sat, 5 Sep 2009 12:57:46 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1961641315.20090905125746@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1252144672 X-Yandex-Spam: 1 X-Yandex-Front: smtp15.yandex.ru Subject: How to correct *Failed sysctlbyname("net.inet.ip.fw.tables_max")* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 09:57:54 -0000 Hi vpn# ipfw table 12 list ipfw: Failed sysctlbyname("net.inet.ip.fw.tables_max") vpn# sysctl -a | grep net.inet.ip.fw net.inet.ip.fw.dyn_keepalive: 1 net.inet.ip.fw.dyn_short_lifetime: 5 net.inet.ip.fw.dyn_udp_lifetime: 10 net.inet.ip.fw.dyn_rst_lifetime: 1 net.inet.ip.fw.dyn_fin_lifetime: 1 net.inet.ip.fw.dyn_syn_lifetime: 20 net.inet.ip.fw.dyn_ack_lifetime: 300 net.inet.ip.fw.static_count: 46 net.inet.ip.fw.dyn_max: 4096 net.inet.ip.fw.dyn_count: 0 net.inet.ip.fw.curr_dyn_buckets: 256 net.inet.ip.fw.dyn_buckets: 256 net.inet.ip.fw.default_rule: 65535 net.inet.ip.fw.verbose_limit: 0 net.inet.ip.fw.verbose: 1 net.inet.ip.fw.debug: 1 net.inet.ip.fw.one_pass: 0 net.inet.ip.fw.autoinc_step: 100 net.inet.ip.fw.enable: 1 vpn# uname -a FreeBSD vpn.in 7.1-RELEASE-p7 FreeBSD 7.1-RELEASE-p7 #1: Sat Sep 5 00:26:18 EEST 2009 kes@vpn.in:/usr/obj/usr/src/sys/KES_KERN_v71 i386 I just upgrade from 7.0. Sources are RELENG_7_1 Hot to solve this problem? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 16:33:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C176106566B for ; Sat, 5 Sep 2009 16:33:05 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id D60E08FC0C for ; Sat, 5 Sep 2009 16:33:04 +0000 (UTC) Received: by ewy4 with SMTP id 4so1679202ewy.36 for ; Sat, 05 Sep 2009 09:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=RSati+RuguCuiylUFwxQ+ClTV1UZX1qK7RvsF3Hy1Lo=; b=FTa9TvSl6GBjfa2dslq6tVcZ7M1VuWryN5c+mg9h4Pz8xzz01Ra1fQeNz13QQeTXSA Rz1//vas2uScChBTomY5f7p67mYGtvLDlkCUS+/5VWY5DAPiSRZeqQTurAjMBh6STXkj aLNA+dLczDzLGwkeDVMxvkj9Ts2KvLJ2YI9SU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tqF6bC7lhdTkAP8GoIIl8lWxS3FyehiEc1dDZOB/7DHDd3FxA0Y43bZgsGKMMbCh/o +mjgTGGex64SAq02Rt9GIYSRejCHUvzCKQf8XqE8twDoUnzzb2SOoF+7ZoV1nRIcLdWP oVDLM4MGDcVchIMQA6whFTOwVJ6YgmipOdvZw= MIME-Version: 1.0 Received: by 10.211.130.15 with SMTP id h15mr1911541ebn.82.1252168383539; Sat, 05 Sep 2009 09:33:03 -0700 (PDT) Date: Sat, 5 Sep 2009 10:33:03 -0600 Message-ID: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> From: Modulok To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 16:33:05 -0000 List, I'm not even sure such a tool exists, but it's worth asking: I'm looking for a pseudo-checksum tool for use with catalogging images. For example, a strict checksum algorithm, like the sha family, will produce a dramatically different checksum for two files which differ by only a single bit. I'm looking for something where two images images, which are similar, get a proportionally similar checksum. When I speak of similarities I'm referring to their image patterns. i.e two images of differing sizes, which are otherwise identical, would produce very similar checksums. So the closer the checksums are, the more similar two given images are. Does anyone know of anything like this? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 17:03:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE32106568B for ; Sat, 5 Sep 2009 17:03:32 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7842F8FC13 for ; Sat, 5 Sep 2009 17:03:32 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 58CD97E853; Sat, 5 Sep 2009 09:03:43 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 5 Sep 2009 19:03:28 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Agus Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 17:03:32 -0000 On Saturday 05 September 2009 09:55:54 Agus wrote: > 2009/9/3 Mel Flynn : > > On Friday 04 September 2009 01:20:46 Agus wrote: > >> What server, application do u know/recommend me for using as a > >> ProxyPass / Reverse Proxy... > >> > >> The idea is to forward all requests to port 80 to this server and then > >> from here according to the vhost send it to the actual server... For > >> now i only need proxying.. dont think cacheing will be possible so im > >> just looking for a pretty fast, light and stable app to do this on a > >> freebsd 7... > >> > >> Thanks and ihope to hear some cool recommendations.. hehe > > > > If lightweight, go with www/nginx. Features, go with www/squid or > > apache+mod_proxy. > > -- > > Mel > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > Thanks Mel... Now i've been reading a little and found that cherokee > maybe a very good alternative also.... I also found that the > performance will variate according to the syscall the server uses... i > read about poll,etc.... how to know which syscalls does the servers > support and which one is better/fastest? kqueue is preferred on *BSD, since it's able to aggregate multiple filter matches into one event if they happen to occur in a close time frame. This reduces copyout from kernel to userland. It also used to be true that poll is a busywait, but I think that has been corrected. If you're interested, the original design document for kqueue is available here: http://people.freebsd.org/~jlemon/papers/kqueue.pdf -- Mel From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 18:16:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6098106566B for ; Sat, 5 Sep 2009 18:16:06 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 942AC8FC16 for ; Sat, 5 Sep 2009 18:16:06 +0000 (UTC) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA12.westchester.pa.mail.comcast.net with comcast id d5pV1c0040bG4ec5C6G6n4; Sat, 05 Sep 2009 18:16:06 +0000 Received: from comcast.net ([98.203.142.76]) by OMTA03.westchester.pa.mail.comcast.net with comcast id d6G51c0041f6R9u3P6G5fu; Sat, 05 Sep 2009 18:16:06 +0000 Received: by comcast.net (sSMTP sendmail emulation); Sat, 05 Sep 2009 11:16:03 -0700 Date: Sat, 5 Sep 2009 11:16:03 -0700 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20090905181603.GA387@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <64c038660909050933h25a91edcw56688993f5557ad2@mail.gmail.com> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Is there such thing as a 'soft checksum' tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 18:16:07 -0000 On Sat 05 Sep 2009 at 09:33:03 PDT Modulok wrote: >List, > >I'm not even sure such a tool exists, but it's worth asking: > >I'm looking for a pseudo-checksum tool for use with catalogging >images. For example, a strict checksum algorithm, like the sha family, >will produce a dramatically different checksum for two files which >differ by only a single bit. I'm looking for something where two >images images, which are similar, get a proportionally similar >checksum. When I speak of similarities I'm referring to their image >patterns. i.e two images of differing sizes, which are otherwise >identical, would produce very similar checksums. So the closer the >checksums are, the more similar two given images are. > >Does anyone know of anything like this? libpuzzle might be what you're looking for. There's a tool called ftwin that uses libpuzzle to find duplicate or only-slightly-modified files. http://libpuzzle.pureftpd.org/project/libpuzzle http://jok.is-a-geek.net/ftwin.php Both of these are in the portstree. ;-)