From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 00:03:32 2011 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 6C8CF106566B for ; Sun, 9 Jan 2011 00:03:32 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id D8B078FC14 for ; Sun, 9 Jan 2011 00:03:31 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.629, required 5, ALL_TRUSTED -1.00, BAYES_00 -1.90, FSL_RU_URL 2.27) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0903AhT029777 Received: from gkeramidas-glaptop.linux.gr (217-162-216-74.dclient.hispeed.ch [217.162.216.74]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0903AhT029777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 9 Jan 2011 02:03:16 +0200 From: keramida@freebsd.org (Giorgos Keramidas) To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= References: <155307659.20110108231807@yandex.ru> <1801316867.20110108234124@yandex.ru> Date: Sun, 09 Jan 2011 01:03:06 +0100 In-Reply-To: <1801316867.20110108234124@yandex.ru> (=?utf-8?B?ItCa0L7QvdGM?= =?utf-8?B?0LrQvtCyINCV0LLQs9C10L3QuNC5Iidz?= message of "Sat, 8 Jan 2011 23:41:24 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: How to clean 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: Sun, 09 Jan 2011 00:03:32 -0000 On Sat, 8 Jan 2011 23:41:24 +0200, =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0= =B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 wrote: > GK> On Sat, 8 Jan 2011 23:18:07 +0200, =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0= =BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 wr= ote: >>> Hi >>> System have many programs. >>> Wanna to upgrade to new version of FBSD >>> >>> Is it possible to clean system from garbage (all programs, files, >>> header files, except configuration files) >>> like installing FBSD from CD? >>> >>> is there cmd? >>> make clean-system > > GK> No, there's no such command. If you are looking for a way to 'deinst= all > GK> all ports & packages' though, it may be as easy as: > > GK> 1. Remove all the currently installed ports: > > GK> # rm -fr /usr/local > GK> # mkdir /usr/local && cd /usr/local > GK> # mtree -deU < /etc/mtree/BSD.local.dist > > GK> 2. Remove all the information about 'installed packages', because you > GK> don't have any of these anymore: > > GK> # rm -fr /var/db/pkg/* > > GK> 3. Optionally, if you are going to reconfigure all your ports from > GK> scratch, remove the saved port configuration options: > > GK> # rm -fr /var/db/ports/* > > I have tried: pkg_delete -a > but many files are left in /usr/bin /usr/sbin ... ((( > also there are files from old 7.2 system, now I have 9.0 Packages should never install stuff in /usr/bin and /usr/sbin. Ports should *only* install files in /usr/local/... There are a few ports that includes options to override base-system files in /usr but these are the exception. If you have been upgrading from source from 7.2 then you should also have a look at the `/usr/src/UPDATING' file; especially at the help about the 'make delete-old' targets of the source makefiles. Most of the cruft left behind from old, obsolete stuff can be deleted by running # cd /usr/src # make delete-old and following the prompts. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 00:28:49 2011 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 4E3711065670 for ; Sun, 9 Jan 2011 00:28:49 +0000 (UTC) (envelope-from rwboyer@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 38DA38FC12 for ; Sun, 9 Jan 2011 00:28:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.10.113] ([38.102.24.43]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LEQ00MOHBYAOI60@asmtp030.mac.com> for freebsd-questions@freebsd.org; Sat, 08 Jan 2011 16:27:49 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101080121 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-08_08:2011-01-07, 2011-01-08, 1970-01-01 signatures=0 From: Robert Boyer Date: Sat, 08 Jan 2011 19:27:45 -0500 Message-id: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1081) Subject: Help with nanobsd.sh?? 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, 09 Jan 2011 00:28:49 -0000 I am trying nanobsd for the first time under 8.1 and have two fairly basic questions before I go about solving a few issues in my usual brute-force and wrong way. 1)Using a box stock system with a fresh install and the default nanobsd.sh with default configuration everything looks like it builds fine right up until.... 02:11:50 ## build diskimage 02:11:50 ### log: /usr/obj/nanobsd.full//_.di /usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full of course my working file systems are not full - far from it. I think it's talking about some disk images that the script is creating - what the heck? How can this be with the default config? 2)Is there an option to run nanobsd.sh without cleaning the obj directories? Really don't want to rebuild world and kernel from scratch for a couple of different packages in custom configs - let alone do it for solving build issues. Thanks RB From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 00:33:42 2011 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 61AB7106564A for ; Sun, 9 Jan 2011 00:33:42 +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 231668FC14 for ; Sun, 9 Jan 2011 00:33:41 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p090XfgQ048564; Sat, 8 Jan 2011 17:33:41 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p090Xeia048561; Sat, 8 Jan 2011 17:33:41 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 8 Jan 2011 17:33:40 -0700 (MST) From: Warren Block To: RW In-Reply-To: <20110108233740.322f7665@gumby.homeunix.com> Message-ID: References: <66353398.20110108234322@yandex.ru> <20110108220931.000061d2@unknown> <20110108233740.322f7665@gumby.homeunix.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.6 (wonkity.com [127.0.0.1]); Sat, 08 Jan 2011 17:33:41 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: error while compile port 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, 09 Jan 2011 00:33:42 -0000 On Sat, 8 Jan 2011, RW wrote: > On Sat, 8 Jan 2011 22:09:31 +0000 > Bruce Cran wrote: > >> On Sat, 8 Jan 2011 23:43:22 +0200 >> ??????? ??????? wrote: >> >>> cd /usr/ports// >>> make -j 16 install >> >> Don't do that then :) >> >> Ports which are marked MAKE_JOBS_SAFE will automatically be built >> using -j as far as I know. > > > They are also doing very different things. MAKE_JOBS_SAFE applies -j to > GNU make, which is invoked to do the actual compiling of > third-party software. make -j 16 install applies -j to BSD make, which > is used to implement the ports system itself. gmake isn't used by every port, AFAIK. But I can't quite come up with a clear way of saying that I think -j applies to the top-level make (the one running the ports system) while MAKE_JOBS_SAFE/MAKE_JOBS_NUMBER is applied to the make(s) actually building the port. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 00:53:07 2011 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 BB920106566C for ; Sun, 9 Jan 2011 00:53:07 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 691988FC12 for ; Sun, 9 Jan 2011 00:53:07 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.193]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 7A9D25C21 for ; Sun, 9 Jan 2011 10:58:03 +1000 (EST) Message-ID: <4D29063A.2050303@herveybayaustralia.com.au> Date: Sun, 09 Jan 2011 10:50:02 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101227 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: WPA Supplicant issue (maybe) 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, 09 Jan 2011 00:53:07 -0000 On 01/09/11 08:28, Chris Brennan wrote: > On Sat, Jan 8, 2011 at 5:22 PM, Paul B Mahol wrote: > > >> I do not know your AP setup so I can not answer this. Perhaps AP use >> DHCP and you want to bridge wired and wireless device? >> >> > It's a fairly straight forward setup, right now I just want to independently > route on both devices, I am debating on setting them up so wired will > failover to wireless when it's unplugged. Thanks for the initial tip but I > need to put this one down for now lol. > Default route is only set once- I had this trouble in the beginning as well. If you boot on wired or wifi, the route is set to that interface. You need run route change to reset it to the interface you want to use. So either set it manually, setup a script that runs in devd.conf, or better yet: switch to using lagg0 :) I have and it works beautifully! HTH From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 02:07:28 2011 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 49E32106564A for ; Sun, 9 Jan 2011 02:07:28 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2524E8FC14 for ; Sun, 9 Jan 2011 02:07:27 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 219C7E80D81; Sat, 8 Jan 2011 18:07:26 -0800 (PST) Date: Sat, 8 Jan 2011 18:07:26 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110109020723.GA27376@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: blogs:: got it! 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, 09 Jan 2011 02:07:28 -0000 Yesterday, I surfed around for what-a-blog-IS, and now have roughly three-halves clue. A "blog" is a periodic web-column written by a person {generally} on a single topic. Romance, Adventure, Sex, Philosophy, Religion, Strawberries, Pets, are possible topics. I have found several blog postings in searching for facts on certain obscure topics. Wondered why many of these had the same general format, but beyond that, didn't care enough to investigate further. At any rate, I have grabbed the latest wordpress port and installed it in /usr/local/web/*. I did the mysql database bit and stopped to check out what I might be getting into. Considering that my blog would be pretty much empty, I'd be getting in pretty deep! And no help in promoting my book and its anti-heroes. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 02:18:03 2011 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 8A23B1065693 for ; Sun, 9 Jan 2011 02:18:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 18DC98FC16 for ; Sun, 9 Jan 2011 02:18:02 +0000 (UTC) Received: by wyf19 with SMTP id 19so18777294wyf.13 for ; Sat, 08 Jan 2011 18:18:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=pjUEnGh2XQKqgtz3zpHcT9WrqYkdQ4291gaExkdKcwc=; b=w4t51dGu0e4ZflLizzSGOoKEejnoy5oiwpHzERvGS9jZsoy47AyEDDDWye9dlzA5ng Ij39uChCm/IbxgnMyY4JVYeuD1eLv6F+qIrE4UtBmePYH3cwxA9A4mJWgHNn70DWf609 8cq5PSWz8HI7L2gDo6MGiayHzIzdjvJCi/nUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=OB3b+wH3jrWRO7YPD4PydMyP90R/Sw08wrd43a3gEYTYXLSfj+hThB4zW+yuMCqEKl SHG4xXvSIPG5gJNEhI+eAMUwu2kPFGDfGUSC7sO/4DU2lprXn4oepTWnD5w4e4S3jpVU JPq1K8ZMIeJyA1fRlDYOMHSx0ps6WObQAY3Nw= Received: by 10.227.155.66 with SMTP id r2mr2300090wbw.73.1294539481949; Sat, 08 Jan 2011 18:18:01 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id 11sm18917125wbj.1.2011.01.08.18.18.00 (version=SSLv3 cipher=RC4-MD5); Sat, 08 Jan 2011 18:18:01 -0800 (PST) Date: Sun, 9 Jan 2011 02:17:58 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110109021758.68641f42@gumby.homeunix.com> In-Reply-To: References: <66353398.20110108234322@yandex.ru> <20110108220931.000061d2@unknown> <20110108233740.322f7665@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: error while compile port 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, 09 Jan 2011 02:18:03 -0000 On Sat, 8 Jan 2011 17:33:40 -0700 (MST) Warren Block wrote: > > They are also doing very different things. MAKE_JOBS_SAFE applies > > -j to GNU make, which is invoked to do the actual compiling of > > third-party software. make -j 16 install applies -j to BSD make, > > which is used to implement the ports system itself. > > gmake isn't used by every port, AFAIK. I'd always assumed that most ports would be sufficiently gnucentric to make gmake the norm (if only as the path of least-resistance), but it appears to be the opposite. It ain't what you don't know, ... > But I can't quite come up > with a clear way of saying that I think -j applies to the top-level > make (the one running the ports system) while > MAKE_JOBS_SAFE/MAKE_JOBS_NUMBER is applied to the make(s) actually > building the port. I don't know much about make, but I presume it's because MAKEFLAGS is rewritten and the options are passed down as explicit arguments to [g]make. -j is a little odd though, because it need to work over all the make processes. It doesn't really matter because passing -j to the top-level isn't supported. It's an unfortunate consequence of the ports system being encoded in makefiles that people lose track of the distinction between the two levels. In Gentoo the upper layer is scripting, and everyone understands that -j just applies to the third-party makefiles. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 03:06:18 2011 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 507FF106564A for ; Sun, 9 Jan 2011 03:06:18 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D568D8FC19 for ; Sun, 9 Jan 2011 03:06:17 +0000 (UTC) Received: by ewy24 with SMTP id 24so8606044ewy.13 for ; Sat, 08 Jan 2011 19:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=r43BCHoZ77youJvhitbspcCDAoZEYP5TCvnMGgvlXYk=; b=Y5JkyFVY733t09qXzA/SX3jblgnhUhbWD2cyvJpA8qFvhc5TWpJ8+JNZZ5Y32IYMR1 6zC0RDYQ6sfMfIsDPGli2xdrIgyUMgrXd0Sx2IAbZ67WpPsx21TwApisMcFrGNcSrta/ 3JLvuAF4lEVE2roFHIWY1jFgF+Zzot3wJUnHc= 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=REnhzwwuwmvh2KrIcKmKiI9T3l/XNg/7rm88bBVqI7IbmxpyBbGroDT/IKy0x1bU4i Ir5yuEgEZUg0aJx1qvPUDzWA2THHHVdOCks3LW6v4oIqPpvKS+ovwBLPAcbt9I5dqnP0 bYIrNDXecQ3moypPHYYKC5yfrlIoqpU/mnJWE= MIME-Version: 1.0 Received: by 10.14.133.16 with SMTP id p16mr1016973eei.31.1294542376576; Sat, 08 Jan 2011 19:06:16 -0800 (PST) Received: by 10.14.48.75 with HTTP; Sat, 8 Jan 2011 19:06:16 -0800 (PST) In-Reply-To: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> References: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> Date: Sat, 8 Jan 2011 22:06:16 -0500 Message-ID: From: Outback Dingo To: Robert Boyer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Help with nanobsd.sh?? 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, 09 Jan 2011 03:06:18 -0000 looks like NANO_MEDIASIZE=1200000 in nanobsd.sh is too small possibly On Sat, Jan 8, 2011 at 7:27 PM, Robert Boyer wrote: > I am trying nanobsd for the first time under 8.1 and have two fairly basic > questions before I go about solving a few issues in my usual brute-force and > wrong way. > > 1)Using a box stock system with a fresh install and the default nanobsd.sh > with default configuration everything looks like it builds fine right up > until.... > > 02:11:50 ## build diskimage > 02:11:50 ### log: /usr/obj/nanobsd.full//_.di > > /usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full > > > of course my working file systems are not full - far from it. I think it's > talking about some disk images that the script is creating - what the heck? > How can this be with the default config? > > > 2)Is there an option to run nanobsd.sh without cleaning the obj > directories? Really don't want to rebuild world and kernel from scratch for > a couple of different packages in custom configs - let alone do it for > solving build issues. > > > Thanks > > RB > _______________________________________________ > 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 Sun Jan 9 03:12:59 2011 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 8E61D106566C; Sun, 9 Jan 2011 03:12:59 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 524B98FC12; Sun, 9 Jan 2011 03:12:59 +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 p093CuDK033264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Jan 2011 19:12:57 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p093CuOK033263; Sat, 8 Jan 2011 19:12:56 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01118; Sat, 8 Jan 11 19:00:42 PST Date: Sat, 08 Jan 2011 19:00:13 -0800 From: perryh@pluto.rain.com To: keramida@freebsd.org Message-Id: <4d2924bd.w3RjbQ6Gr1l4UUMc%perryh@pluto.rain.com> References: <155307659.20110108231807@yandex.ru> <1801316867.20110108234124@yandex.ru> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kes-kes@yandex.ru, freebsd-questions@freebsd.org Subject: Re: How to clean 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: Sun, 09 Jan 2011 03:12:59 -0000 keramida@freebsd.org (Giorgos Keramidas) wrote: > Packages should never install stuff in /usr/bin and /usr/sbin. > Ports should *only* install files in /usr/local/... There are a > few ports that includes options to override base-system files in > /usr but these are the exception. The doc ports install into /usr (granted, not /usr/bin nor /usr/sbin AFAIK) by default. I would not be at all surprised if a few others did also. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 03:30:09 2011 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 2F8C6106564A for ; Sun, 9 Jan 2011 03:30:09 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BF0D78FC0C for ; Sun, 9 Jan 2011 03:30:08 +0000 (UTC) Received: by wwf26 with SMTP id 26so18357574wwf.31 for ; Sat, 08 Jan 2011 19:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0yh4QDrasEOTM5u6kmEB4rirwAWTPQ/EOVLGzB+V7OQ=; b=P5Z569eqsBZp9UKzvanF52QHZQA7qlUZ95FQSL3n5K/lCNGIIIcxC72++VADEFeCul k9bqRbIauWyxg4OAPe5X4L5ph9Ep93G9bu4Ks8BWWYDfv/9lcKakbFSGvNvz9qrF1ND7 tDa1PmRxOuoSbttGGRuekhRM0Ln1vHO7sNWxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jxfH5Dvi6JCUsZbMVG5JDvbwhhyYAT7SpWa5iWfpHd3z2FvL/Q/DdmBMFO9lW7Ra5+ kCmcDx1/WnayPGRdPt/8NS+w+UdZVv9yip42D097lOwjz8jioHNCAeIXt7LGI2vAhgxD wkbX0D1ehxjLnOwv0yns+CtKI5lfUPH13kuEk= MIME-Version: 1.0 Received: by 10.227.146.9 with SMTP id f9mr1329697wbv.209.1294543807621; Sat, 08 Jan 2011 19:30:07 -0800 (PST) Received: by 10.227.20.73 with HTTP; Sat, 8 Jan 2011 19:30:07 -0800 (PST) Date: Sat, 8 Jan 2011 20:30:07 -0700 Message-ID: From: Modulok To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 09 Jan 2011 03:30:09 -0000 List, Is there a command that lets me send standard input to two different places at the same time? (i.e. non-sequentially.) Think of it like a pipe character, but with a 'Y' branch instead. Basically, I want to record standard input to a log file, but also send it to another command for processing. For example, let's assume we have a command called 'branch' and it copies standard input to the standard input of all arguments. We could use it like this: cat foo.txt | branch '/bin/echo > log1.txt' '/bin/echo > log2.txt' The first 'cat' would read the file, pass it to our theoretical 'branch' command, which would then start two subprocesses, passing the input to both of them. The result result would be two copies of the file. (Obviously making copies of files is not my primary goal, just an example.) I guess another way of explaining it would be two write the same stdin to two named pipes and then have two different programs read from each pipe, getting the same output. I can probably write something in Python, but thought I'd ask first. Thanks! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:13:36 2011 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 7022A106566B for ; Sun, 9 Jan 2011 04:13:36 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 122008FC15 for ; Sun, 9 Jan 2011 04:13:35 +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 p094DXvQ046285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Jan 2011 20:13:33 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p094DXla046284; Sat, 8 Jan 2011 20:13:33 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01271; Sat, 8 Jan 11 20:01:30 PST Date: Sat, 08 Jan 2011 20:01:00 -0800 From: perryh@pluto.rain.com To: outbackdingo@gmail.com Message-Id: <4d2932fc.AcUgWWD+xqVVlg2Z%perryh@pluto.rain.com> References: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> In-Reply-To: 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, rwboyer@mac.com Subject: Re: Help with nanobsd.sh?? 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, 09 Jan 2011 04:13:36 -0000 Outback Dingo wrote: > looks like NANO_MEDIASIZE=1200000 in nanobsd.sh is too small possibly IOW nanobsd will no longer fit on a 5.25" floppy? I'm _shocked_ :) A bit more seriously, it would be nice if it will still fit on a 3.5" floppy -- there are likely quite a few of those still in use. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:16:33 2011 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 343701065696 for ; Sun, 9 Jan 2011 04:16:33 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B9A668FC15 for ; Sun, 9 Jan 2011 04:16:32 +0000 (UTC) Received: by ewy24 with SMTP id 24so8612981ewy.13 for ; Sat, 08 Jan 2011 20:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=cGdjn7EcFfMuSt9uv+ejCfBy3m9ByURVlHKNutG3g+E=; b=KRJr5WH4xWUlX3O8ibsGXS2x25w7kPITsg7NHOpuD95qq07aGw7rDZaPOnOtRXIkHK EcJVsHj92wfFDKHiGeG/hfLprDiv7/FlJLUTGIUdFoye8JnW8QzrHAmfvVNSbX42fIM0 CsMHzSXcJ4Cwmef2IqGDC5lhYKUfTr4HkOq+g= 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=qZZjZx2d3n+VZ9x8aZ+Ufh2KeQ3Ay58cjoBfjv7MU9CLV5WC7zsgeO2YZZO4KHsxAi x5lw+To06bHzoi2F9zFaOQe6yrarqMo4ijGtWvOtrYfd7u7qacFX4RiItwjTcRny5WFx G7v+w1BVxc9BA/PVBsfer56N5PyUHbHiKxCs0= MIME-Version: 1.0 Received: by 10.213.33.205 with SMTP id i13mr755455ebd.47.1294546591579; Sat, 08 Jan 2011 20:16:31 -0800 (PST) Received: by 10.14.48.75 with HTTP; Sat, 8 Jan 2011 20:16:31 -0800 (PST) In-Reply-To: <4d2932fc.AcUgWWD+xqVVlg2Z%perryh@pluto.rain.com> References: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> <4d2932fc.AcUgWWD+xqVVlg2Z%perryh@pluto.rain.com> Date: Sat, 8 Jan 2011 23:16:31 -0500 Message-ID: From: Outback Dingo To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, rwboyer@mac.com Subject: Re: Help with nanobsd.sh?? 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, 09 Jan 2011 04:16:33 -0000 wow really... can u even buy even 1.44 anymore? confirmed i set mine to 1600000 and it works.. the daring im sure could try 1440000 LOL On Sat, Jan 8, 2011 at 11:01 PM, wrote: > Outback Dingo wrote: > > > looks like NANO_MEDIASIZE=1200000 in nanobsd.sh is too small possibly > > IOW nanobsd will no longer fit on a 5.25" floppy? I'm _shocked_ :) > > A bit more seriously, it would be nice if it will still fit on a > 3.5" floppy -- there are likely quite a few of those still in use. > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:17:24 2011 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 40DAC106566B for ; Sun, 9 Jan 2011 04:17:24 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id DAD288FC18 for ; Sun, 9 Jan 2011 04:17:23 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id p093cMSD001381; Sat, 8 Jan 2011 22:38:22 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sat, 8 Jan 2011 22:38:22 -0500 (EST) From: Chris Hill To: Modulok 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; format=flowed Cc: "questions@freebsd.org" Subject: Re: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 09 Jan 2011 04:17:24 -0000 On Sat, 8 Jan 2011, Modulok wrote: > Is there a command that lets me send standard input to two different > places at the same time? (i.e. non-sequentially.) Think of it like a > pipe character, but with a 'Y' branch instead. Basically, I want to > record standard input to a log file, but also send it to another > command for processing. tee(1)? [snip] -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:18:19 2011 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 B94D41065694 for ; Sun, 9 Jan 2011 04:18:19 +0000 (UTC) (envelope-from prvs=0983a871a0=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 478C88FC1B for ; Sun, 9 Jan 2011 04:18:18 +0000 (UTC) Received: (qmail 34019 invoked from network); 9 Jan 2011 03:51:37 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 9 Jan 2011 03:51:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:vbr-info; s=af00.4d2930c7.k1101; i=johnl@user.iecc.com; bh=9JuiNLeUxy/yhF3FRFu26JoCOqBaN2jxVzApv49ieVw=; b=dkBrcZqklHCYE5L1PDdiYTFRzJxIVX3fPoph46oGiHLL7O1nzcwpmprSltlwSZAu5V1WfUC+B2lASwSofNRYihXbl4wJkbMR+Zil09A3umwbipFBOgquLDe/cD4jDEVtHZR8baHRI9iN9OL2M2LbYGG3gqlea4YQUoRNgkmstxE= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 9 Jan 2011 03:51:35 -0000 Message-ID: <20110109035135.44799.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: modulok@gmail.com Subject: Re: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 09 Jan 2011 04:18:19 -0000 >Is there a command that lets me send standard input to two different >places at the same time? (i.e. non-sequentially.) Think of it like a >pipe character, but with a 'Y' branch instead. Basically, I want to >record standard input to a log file, but also send it to another >command for processing. $ man tee R's, John From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 04:33:00 2011 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 6E8C3106564A for ; Sun, 9 Jan 2011 04:33:00 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC758FC08 for ; Sun, 9 Jan 2011 04:32:59 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 08 Jan 2011 23:04:21 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr17.lnh.mail.rcn.net (MOS 4.1.9-GA) with ESMTP id ARC59428; Sat, 8 Jan 2011 23:04:21 -0500 Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 08 Jan 2011 23:04:21 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19753.13252.905702.741555@jerusalem.litteratus.org> Date: Sat, 8 Jan 2011 23:04:20 -0500 To: Modulok In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Cc: "questions@freebsd.org" Subject: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 09 Jan 2011 04:33:00 -0000 Modulok writes: > Is there a command that lets me send standard input to two different > places at the same time? (i.e. non-sequentially.) Think of it like a > pipe character, but with a 'Y' branch instead. Basically, I want to > record standard input to a log file, but also send it to another > command for processing. man tee? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 05:07:32 2011 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 795E71065679 for ; Sun, 9 Jan 2011 05:07:32 +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 05E178FC14 for ; Sun, 9 Jan 2011 05:07:31 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 10006511; Sat, 08 Jan 2011 23:07:31 -0500 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 10006514; Sat, 08 Jan 2011 23:07:22 -0500 Message-ID: <4D29347A.3030808@radel.com> Date: Sat, 08 Jan 2011 23:07:22 -0500 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Modulok References: In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070901060207080200060806" 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 09 Jan 2011 05:07:32 -0000 This is a cryptographically signed message in MIME format. --------------ms070901060207080200060806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 1/8/11 10:30 PM, Modulok wrote: > List, > > Is there a command that lets me send standard input to two different > places at the same time? (i.e. non-sequentially.) Think of it like a > pipe character, but with a 'Y' branch instead. Basically, I want to > record standard input to a log file, but also send it to another > command for processing. > Think T, not Y, and then type man tee which I suspect does exactly what you want. --=20 --Jon Radel jon@radel.com --------------ms070901060207080200060806-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 09:03:15 2011 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 C7D7D1065673 for ; Sun, 9 Jan 2011 09:03:15 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 8539F8FC0A for ; Sun, 9 Jan 2011 09:03:15 +0000 (UTC) Received: from localhost (unknown [199.48.147.44]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 052855A95 for ; Sun, 9 Jan 2011 11:45:23 +0300 (MSK) Date: Sun, 9 Jan 2011 12:02:56 +0300 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20110109090256.GA12548@external.screwed.box> References: <20101229165603.2092.qmail@joyce.lan> <4D1B7BA8.9050400@janh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Cannot build openjdk6 on Fbsd 8.1 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, 09 Jan 2011 09:03:15 -0000 You'll never silence the voice of the voiceless, freebsd-questions! 2011/01/08 15:34:50 -0500 "John R. Levine" => To Jan Henrik Sylvester : JRL> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory either you have no such file at all, or your compiler can not find it. for first case you sould install the package that contains it. for the second you should add the corresponding -I/path flag for your CFLAGS or the similar variable. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 09:59:10 2011 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 B7CBB106566C for ; Sun, 9 Jan 2011 09:59:10 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3A08FC15 for ; Sun, 9 Jan 2011 09:59:09 +0000 (UTC) Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p099wxeY011171; Sun, 9 Jan 2011 09:59:03 GMT Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id p099wxHA011167; Sun, 9 Jan 2011 09:58:59 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 9882133C1F; Sun, 9 Jan 2011 09:58:58 +0000 (GMT) Date: Sun, 9 Jan 2011 09:58:58 +0000 From: Frank Shute To: "John R. Levine" Message-ID: <20110109095858.GA47905@orange.esperance-linux.co.uk> References: <20101229165603.2092.qmail@joyce.lan> <4D1B7BA8.9050400@janh.de> 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-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-PRERELEASE amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: Cannot build openjdk6 on Fbsd 8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 09:59:10 -0000 On Sat, Jan 08, 2011 at 03:34:50PM -0500, John R. Levine wrote: > > >java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox. > > I'm trying to build openjdk6, and I get this error message. Any > suggestions? > > R's, > John > > IcedTeaPluginUtils.cc IcedTeaScriptablePluginObject.cc > In file included from IcedTeaJavaRequestProcessor.h:46, > from IcedTeaJavaRequestProcessor.cc:41: > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > In file included from IcedTeaJavaRequestProcessor.h:46, > from IcedTeaScriptablePluginObject.h:49, > from IcedTeaNPPlugin.cc:51: > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > IcedTeaNPPlugin.cc:56:31: error: nsIPluginInstance.h: No such file or > directory > IcedTeaNPPlugin.cc:57:35: error: nsIPluginInstancePeer.h: No such file or > directory > IcedTeaNPPlugin.cc:58:31: error: nsIPluginTagInfo2.h: No such file or > directory > IcedTeaNPPlugin.cc:62:30: error: nsICookieService.h: No such file or > directory > IcedTeaNPPlugin.cc:63:26: error: nsIDNSRecord.h: No such file or directory > IcedTeaNPPlugin.cc:64:27: error: nsIDNSService.h: No such file or > directory > IcedTeaNPPlugin.cc:65:24: error: nsINetUtil.h: No such file or directory > IcedTeaNPPlugin.cc:66:26: error: nsIProxyInfo.h: No such file or directory > IcedTeaNPPlugin.cc:67:37: error: nsIProtocolProxyService.h: No such file > or directory > IcedTeaNPPlugin.cc:68:38: error: nsIScriptSecurityManager.h: No such file > or directory > IcedTeaNPPlugin.cc:71:22: error: nsNetCID.h: No such file or directory > In file included from IcedTeaJavaRequestProcessor.h:46, > from IcedTeaScriptablePluginObject.h:49, > from IcedTeaPluginRequestProcessor.cc:41: > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > In file included from IcedTeaPluginUtils.cc:39: > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > In file included from IcedTeaJavaRequestProcessor.h:46, > from IcedTeaScriptablePluginObject.h:49, > from IcedTeaScriptablePluginObject.cc:41: > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > You have to install Firefox first. It contains that header. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 11:13:52 2011 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 8DA081065672 for ; Sun, 9 Jan 2011 11:13:52 +0000 (UTC) (envelope-from markiyan.kushnir@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5464D8FC13 for ; Sun, 9 Jan 2011 11:13:52 +0000 (UTC) Received: by iwn39 with SMTP id 39so18744512iwn.13 for ; Sun, 09 Jan 2011 03:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PU3a3F26Kdn1e7DxoG+5d4U06n8j15r9MMIt1OvRbW4=; b=XVOowrdAQO0QsLxbx2PJ1gsbUXiPWxYDWWIEaVlsYedSQda6+6hluvxkmSCD92oY6V rrI1fwL1wJycR32v+CLDdQMbNx9ltJfslUUk1N2CF3z46U/cK3w9qKaDm4FdOS93ra2C wqpRVPvJ9QERpSLai1aBKIeVkCVlfWyRfHWCk= 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=nmfZPZvwsiSpRYEDt2jMlkdO8nPynoRnDybWnaw+c9z554A9XQzR1T+8FoosbZXP3f Ys44vCkNhHORtUcX2xmdeJEJD7zi9qS46+uzyVo0Kn5a47g4F3ypbAZbeKU1i5u+wAT9 JTHwxX8CwppJhe8cGPl91+LDSWXV0PkIkF6JE= MIME-Version: 1.0 Received: by 10.231.15.133 with SMTP id k5mr26779119iba.187.1294570127843; Sun, 09 Jan 2011 02:48:47 -0800 (PST) Received: by 10.231.147.131 with HTTP; Sun, 9 Jan 2011 02:48:47 -0800 (PST) In-Reply-To: References: <155307659.20110108231807@yandex.ru> Date: Sun, 9 Jan 2011 12:48:47 +0200 Message-ID: From: Markiyan Kushnir To: Giorgos Keramidas Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: quoted-printable Cc: =?KOI8-U?B?68/O2MvP1yDl18fFzsnK?= , freebsd-questions@freebsd.org Subject: Re: How to clean 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: Sun, 09 Jan 2011 11:13:52 -0000 2011/1/8 Giorgos Keramidas : > On Sat, 8 Jan 2011 23:18:07 +0200, =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE= =C9=CA wrote: >> Hi >> System have many programs. >> Wanna to upgrade to new version of FBSD >> >> Is it possible to clean system from garbage (all programs, files, >> header files, except configuration files) >> like installing FBSD from CD? >> >> is there cmd? >> make clean-system > > No, there's no such command. =9AIf you are looking for a way to 'deinstal= l > all ports & packages' though, it may be as easy as: > > 1. Remove all the currently installed ports: > > =9A =9A# rm -fr /usr/local > =9A =9A# mkdir /usr/local && cd /usr/local > =9A =9A# mtree -deU < /etc/mtree/BSD.local.dist > Deleting /usr/local will also delete /usr/local/etc -- which might be not what the OP expects given the "except configuration files". I would still follow the pkg_delete path, along with some other actions: - if you have fusefs, ntfs-3g, linprocfs, etc in your /etc/fstab -- unmount and comment out temporarily - if you have third party services in your /etc/rc.conf[.local] -- stop and comment out - if you have third party modules in /boot/loader.conf -- the same thing % pkg_delete -adf % rm -R /usr/local/lib/compat/pkg % rm -R /var/db/pkg/* # if anything was left there % rm -R /var/db/ports/* #if you want to clean up your ports' configurations % rm -R /usr/ports/distfiles/* # not sure if you need it, but I do it in some cases... % rm -R /usr/obj Check /usr/local and /usr/compat to see if you want to remove anything from there manually. You might want to clean up /usr/local/include, /usr/compat/linux/var, /usr/compat/linux/usr/local, /usr/local/bin (?), /usr/local/info ... etc. OTOH, I always preserve /usr/local/lib/X11/fonts -- I have some custom fonts stored there, /usr/local/share/stardict -- custom dictionaries I want to survive across upgrade ... etc. I also place in /etc/mergemaster.rc something I want to preserve: /etc/master.passwd /etc/group /etc/ppp/ppp.conf /etc/syslog.conf /etc/sysctl.conf /etc/hosts /etc/namedb/named.conf Regarding this last item, it might not always be the best way to do, since sometimes it might be necessary to upgrade some of the default settings in these files. Then you can build and install the base system and the ports you need. Almost all of these steps are easy to automate. Thanks, Markiyan. > 2. Remove all the information about 'installed packages', because you > =9A don't have any of these anymore: > > =9A =9A# rm -fr /var/db/pkg/* > > 3. Optionally, if you are going to reconfigure all your ports from > =9A scratch, remove the saved port configuration options: > > =9A =9A# rm -fr /var/db/ports/* > > _______________________________________________ > 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 Sun Jan 9 15:13:27 2011 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 C42CC106566C for ; Sun, 9 Jan 2011 15:13:27 +0000 (UTC) (envelope-from prvs=0983a871a0=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD438FC16 for ; Sun, 9 Jan 2011 15:13:26 +0000 (UTC) Received: (qmail 18121 invoked from network); 9 Jan 2011 15:13:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=46c8.4d29d096.k1101; i=johnl@submit.iecc.com; bh=9MxBfys1zdKB2whh/XdS/RZKPzoVBOsTWrP8u5cN0a0=; b=cUXeGICTFktMIQTf1yJ745rk8MLeHJbnoQX9J/zBrhzkTFYv4TWok+E3EtI35l6HUyqrfqhxFY3W9jrr75X9FtKUsaQfV1H/BmGkauc1njwKhKjSk3uPk5sKtB0l+0xNi2FDpfnQ3kIs1/3tnetE8bOVkcO8VazerJwj4mTeI0I= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd johnl@64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 9 Jan 2011 15:13:04 -0000 Date: 9 Jan 2011 10:13:24 -0500 Message-ID: From: "John R. Levine" To: "Frank Shute" In-Reply-To: <20110109095858.GA47905@orange.esperance-linux.co.uk> References: <20101229165603.2092.qmail@joyce.lan> <4D1B7BA8.9050400@janh.de> <20110109095858.GA47905@orange.esperance-linux.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Cannot build openjdk6 on Fbsd 8.1 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, 09 Jan 2011 15:13:27 -0000 >> IcedTeaPluginUtils.cc IcedTeaScriptablePluginObject.cc >> In file included from IcedTeaJavaRequestProcessor.h:46, >> from IcedTeaJavaRequestProcessor.cc:41: >> IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > You have to install Firefox first. It contains that header. I have firefox-3.6.13,1 installed. Must be something else missing. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 15:38:59 2011 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 05469106564A for ; Sun, 9 Jan 2011 15:38:59 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id B64398FC08 for ; Sun, 9 Jan 2011 15:38:58 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:356c:daf:ee13:13d1] ([IPv6:2607:f3e0:0:4:356c:daf:ee13:13d1]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p09Fcudj057574 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 9 Jan 2011 10:38:56 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4D29D68F.8070309@sentex.net> Date: Sun, 09 Jan 2011 10:38:55 -0500 From: Mike Tancsa User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Robert Boyer References: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> In-Reply-To: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: Help with nanobsd.sh?? 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, 09 Jan 2011 15:38:59 -0000 On 1/8/2011 7:27 PM, Robert Boyer wrote: > I am trying nanobsd for the first time under 8.1 and have two fairly basic questions before I go about solving a few issues in my usual brute-force and wrong way. > > 1)Using a box stock system with a fresh install and the default nanobsd.sh with default configuration everything looks like it builds fine right up until.... > > 02:11:50 ## build diskimage > 02:11:50 ### log: /usr/obj/nanobsd.full//_.di > > /usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full Hi, I usually create a .conf file to override some of the defaults, including making a larger media size to match my CF as well as larger image size. eg. some of the options I have in base.conf BOOT_COMCONSOLE_SPEED=115200 BOOT_PXELDR_ALWAYS_SERIAL=1 NANO_DATASIZE=80960 NANO_PMAKE="make -j 5" NANO_KERNEL=nano5501 NANO_MEDIASIZE=1800000 NANO_NAME=alix NANO_SRC=/usr/src NANO_IMAGES=2 CONF_BUILD=' NO_PAM=YES ' then to build, I will do a sh ./nanobsd.sh -c base.conf > > 2)Is there an option to run nanobsd.sh without cleaning the obj directories? Really don't want to rebuild world and kernel from scratch for a couple of different packages in custom configs - let alone do it for solving build issues. Yes -b or -n just less the file to see the other options. Its just a giant shell script ---Mike From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 16:12:00 2011 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 57DB3106566C for ; Sun, 9 Jan 2011 16:12:00 +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 1CA1A8FC0A for ; Sun, 9 Jan 2011 16:11:59 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p09GBwv9058608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Jan 2011 10:11:59 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p09GBwks027152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Jan 2011 10:11:58 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p09GBwht027151; Sun, 9 Jan 2011 10:11:58 -0600 (CST) (envelope-from dan) Date: Sun, 9 Jan 2011 10:11:58 -0600 From: Dan Nelson To: Frank Shute Message-ID: <20110109161158.GD75125@dan.emsphone.com> References: <20101229165603.2092.qmail@joyce.lan> <4D1B7BA8.9050400@janh.de> <20110109095858.GA47905@orange.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110109095858.GA47905@orange.esperance-linux.co.uk> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Sun, 09 Jan 2011 10:11:59 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: "John R. Levine" , freebsd-questions@freebsd.org Subject: Re: Cannot build openjdk6 on Fbsd 8.1 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, 09 Jan 2011 16:12:00 -0000 In the last episode (Jan 09), Frank Shute said: > On Sat, Jan 08, 2011 at 03:34:50PM -0500, John R. Levine wrote: > > > > >java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox. > > > > I'm trying to build openjdk6, and I get this error message. Any > > suggestions? > > > > IcedTeaPluginUtils.cc IcedTeaScriptablePluginObject.cc > > In file included from IcedTeaJavaRequestProcessor.h:46, > > from IcedTeaJavaRequestProcessor.cc:41: > > IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory > > You have to install Firefox first. It contains that header. The nsThreadUtils.h file on my system was installed by the www/libxul port, and java/openjdk6 depends on that when WITH_WEB is set, so it should already be installed on your system as well. If for some reason libxul isn't installed, try manually installing it, then re-run the openjdk6 build. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 16:46:33 2011 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 5F09A106564A for ; Sun, 9 Jan 2011 16:46:33 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id DE1AD8FC20 for ; Sun, 9 Jan 2011 16:46:32 +0000 (UTC) Received: (qmail 94220 invoked from network); 9 Jan 2011 16:46:28 -0000 Received: from atom.alexdupre.com (HELO ?192.168.178.12?) (sysadmin@alexdupre.com@192.168.178.12) by lab.alexdupre.com with ESMTPSA; 9 Jan 2011 16:46:28 -0000 Message-ID: <4D29E664.7000300@FreeBSD.org> Date: Sun, 09 Jan 2011 17:46:28 +0100 From: Alex Dupre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 MIME-Version: 1.0 To: FreeBSD References: <20110105064956.22d5382f@scorpio> In-Reply-To: <20110105064956.22d5382f@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Jerry Subject: Re: mysql-5.5.8 & Postfix/Dovecot 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, 09 Jan 2011 16:46:33 -0000 Jerry ha scritto: > I have seen it posted here and on the Dovecot forum that upgrading to > mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Fixed. -- Alex Dupre From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 17:56:33 2011 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 F0CC9106564A for ; Sun, 9 Jan 2011 17:56:33 +0000 (UTC) (envelope-from prvs=0983a871a0=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 86DB78FC13 for ; Sun, 9 Jan 2011 17:56:33 +0000 (UTC) Received: (qmail 47370 invoked from network); 9 Jan 2011 17:56:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=b909.4d29f6d0.k1101; i=johnl@submit.iecc.com; bh=ot8ebNJBX8TjVel2PcFt1SdUv5ZCOUWnz3LD5dmD5Us=; b=ZA1a9RHC/3HTwMAAQyYbqMaVpCgoCvh6Ok/4+AilYxwOx23M/YKV+D7zDAe1D1nVkuSRW7pkETpSTJ57kwUGOJUAFxBSK5BWVJixdgYVJhv+qDJawg7WNYrWsYL8EEDSrsetVxtYoZPSQoLQ6Cg4GFr09/Fj+LVFII5GdnLpNaI= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd johnl@64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 9 Jan 2011 17:56:10 -0000 Date: 9 Jan 2011 12:56:30 -0500 Message-ID: From: "John R. Levine" To: "Dan Nelson" In-Reply-To: <20110109161158.GD75125@dan.emsphone.com> References: <20101229165603.2092.qmail@joyce.lan> <4D1B7BA8.9050400@janh.de> <20110109095858.GA47905@orange.esperance-linux.co.uk> <20110109161158.GD75125@dan.emsphone.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Frank Shute , freebsd-questions@freebsd.org Subject: Re: Cannot build openjdk6 on Fbsd 8.1 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, 09 Jan 2011 17:56:34 -0000 > The nsThreadUtils.h file on my system was installed by the www/libxul port, > and java/openjdk6 depends on that when WITH_WEB is set, so it should already > be installed on your system as well. If for some reason libxul isn't > installed, try manually installing it, then re-run the openjdk6 build. That was it. I had libxul installed, but version 1.9.0 rather than the current 1.9.2. After a portupgrade, openjdk6 builds OK. I suppose I should file a bug report that the openjdk6 should note the version dependency on libxul. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 18:47:43 2011 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 E12FE1065679 for ; Sun, 9 Jan 2011 18:47:43 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [77.88.61.49]) by mx1.freebsd.org (Postfix) with ESMTP id 215538FC18 for ; Sun, 9 Jan 2011 18:47:39 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward10.mail.yandex.net (Yandex) with ESMTP id D780E1F50191 for ; Sun, 9 Jan 2011 21:47:19 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1294598839; bh=AuTTywrGbP2xgGmGu1IwSZOuUFzEtnxTsh8rJrYvFBA=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=DFh+qDOH5/uzNhbRkf7sJIqx+Vt1V+6xgR54TB8D3HPzK/6f4aa+Yowdag2IZRzs9 VD1Moyd/PkzOLp4DUMUlmfTC2JzLKUqz9O92+FAJ54fU/uUID8T12+hirz9XVoIQzf 8P5dK1wtikfix1IOQ9FkoyxVcLUZKqrcxRH82LQM= Received: from HOMEUSER (unknown [77.93.52.5]) by smtp6.mail.yandex.net (Yandex) with ESMTPA id A4625328089 for ; Sun, 9 Jan 2011 21:47:19 +0300 (MSK) Date: Sun, 9 Jan 2011 20:47:20 +0200 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: <1959166.20110109204720@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: warn messages 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, 09 Jan 2011 18:47:44 -0000 is this critical to have those messages: pkg_add biabam-0.9.7_2.tbz pkg_add: warning: package 'bash-4.1.9' requires 'gettext-0.18.1.1', but 'gettext-0.18_1' is installed pkg_add: warning: package 'biabam-0.9.7_2' requires 'gettext-0.18.1.1', but 'gettext-0.18_1' is installed is here some risk of something will not work or I may ignore those messages? Thank you -- Ñ óâàæåíèåì, Êîíüêîâ mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 19:25:51 2011 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 3640F106566B for ; Sun, 9 Jan 2011 19:25:51 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B6FE78FC16 for ; Sun, 9 Jan 2011 19:25:50 +0000 (UTC) Received: by wwf26 with SMTP id 26so18703063wwf.31 for ; Sun, 09 Jan 2011 11:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=6f5GHyDpAUcwz7aIyYmLmLfDnWF5AzycuXztI54VWt4=; b=ujZRCv8FbPHJvSNLuny6Fl4iPEGH6f3Xi1ebEhteeafKlDaKowQB21OJq5AecQ2MId GJbVuMAqVNCH+acta7QtiZDrBFMH18VEGCMUcAQNnRITN2kAd9hDVm/yhukFZYtBshKy E9SpGmImKnFtp3RHKnCYkQj8SsQJ81UKX0De0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=b1C3ugDgSyyTvzBw01pLqGUGiiEUjY8cpY5zLowe4A9e1N4scoZU+KtFpyFW7bwjrL a/O3sYZz2I+xURnqQWdqOIaG57bxvXWrLb/Kx+qT2vzhHcNQ0K8sLke7aPk49GQYWOjF N6O5x5HCfmWOpXPXcIjE9J+PUD1EgAqD1Y92A= Received: by 10.227.128.70 with SMTP id j6mr17766465wbs.16.1294601138954; Sun, 09 Jan 2011 11:25:38 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id f35sm19466824wbf.2.2011.01.09.11.25.37 (version=SSLv3 cipher=RC4-MD5); Sun, 09 Jan 2011 11:25:37 -0800 (PST) Message-ID: <4D2A0BA5.4060806@gmail.com> Date: Sun, 09 Jan 2011 20:25:25 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101212 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1959166.20110109204720@yandex.ru> In-Reply-To: <1959166.20110109204720@yandex.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: warn messages 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, 09 Jan 2011 19:25:51 -0000 On 09/01/2011 19:47, Êîíüêîâ Åâãåíèé wrote: > is this critical to have those messages: > pkg_add biabam-0.9.7_2.tbz > pkg_add: warning: package 'bash-4.1.9' requires 'gettext-0.18.1.1', but 'gettext-0.18_1' is installed > pkg_add: warning: package 'biabam-0.9.7_2' requires 'gettext-0.18.1.1', but 'gettext-0.18_1' is installed > > is here some risk of something will not work or I may ignore those > messages? > > Thank you > I don't think it's dangerous. The gettext version is 0.18 in any case so it should works. If you're afraid you can still upgrade the package biabam with the port and it will automatically pull the new gettext dependency version. Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 21:20:24 2011 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 2654710656C0 for ; Sun, 9 Jan 2011 21:20:23 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 681928FC13 for ; Sun, 9 Jan 2011 21:20:23 +0000 (UTC) Received: by wwf26 with SMTP id 26so18748907wwf.31 for ; Sun, 09 Jan 2011 13:20:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=q8wV/9tvTD9D6YdtWyuj67l4UNgvaqlV/dQFHIpPepU=; b=Wq2XZv6jAI27pJpRAZfX4X+I3K+bCmmU4UXSuf9oWBmVIsyzNPzYQi1aVtsJBxVmaW g6loSGg+AT0rAlOVJK1hHurANuHYFuAXI6hGQ99tbsfq56WsPF7D1GcCZykFQFnCXh0l IwZBZ5xNvuBmDwwTvV3hswlQZfqwWXtEQrowA= 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=f6ZUkivZyjQLzJ/WR5Y1GiUWIH3y26o/ZXrTeCNbVL+JN70+CzLhyM/0lJvQiH6DhG q00G74oKhxdY8vixwSzKDu3OFVhdMUvBQK0qANqQVmyRIG5EvpOCG6tRXmBBCBXOwJwx cCdNuu96upHN+XAU/4UpUDZsMs2pXDgFb0Y2M= MIME-Version: 1.0 Received: by 10.216.245.203 with SMTP id o53mr1199004wer.14.1294606346364; Sun, 09 Jan 2011 12:52:26 -0800 (PST) Received: by 10.216.229.73 with HTTP; Sun, 9 Jan 2011 12:52:26 -0800 (PST) In-Reply-To: <16949_1294438428_4D27901C_16949_495_1_D9B37353831173459FDAA836D3B43499A7AF9102@WADPMBXV0.waddell.com> References: <16949_1294438428_4D27901C_16949_495_1_D9B37353831173459FDAA836D3B43499A7AF9102@WADPMBXV0.waddell.com> Date: Sun, 9 Jan 2011 20:52:26 +0000 Message-ID: From: krad To: Gary Gatten Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" , Aleksandr Miroslav Subject: Re: which syslog??? (rsyslog? syslog-ng? or default?) 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, 09 Jan 2011 21:20:24 -0000 On 7 January 2011 22:13, Gary Gatten wrote: > PS: rsyslog can use standard syslog.conf entries, or it has extensions that > enable more cool stuff. > > G > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto: > owner-freebsd-questions@freebsd.org] On Behalf Of Aleksandr Miroslav > Sent: Friday, January 07, 2011 3:09 PM > To: freebsd-questions@freebsd.org > Subject: which syslog??? (rsyslog? syslog-ng? or default?) > > I have some boxes (about 40) that I was tasked with creating a > centralized logging infrastructure for. I see in ports that we have > several different versions of rsyslog, and syslog-ng. > > Is there any reason to use one or the other? Or should I just use the > syslog that come with the base OS? > > thanks, > Alex > _______________________________________________ > 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" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
> > _______________________________________________ > 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" > Ive used syslog-ng for central logging in the past. It support tcp, encryption and logging to a db. To be honest though the most useful feature was that you can expand log files paths to include the date and hostname. This makes backing up of the files far more efficient as you dont have to use newsyslog to rotate them, which is a good thing for backups especially if you use rsync From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 21:26:53 2011 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 D8F44106564A for ; Sun, 9 Jan 2011 21:26:53 +0000 (UTC) (envelope-from rwboyer@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id C25298FC13 for ; Sun, 9 Jan 2011 21:26:53 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.10.113] ([38.102.24.43]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LER000C3Y84TL90@asmtp029.mac.com> for freebsd-questions@freebsd.org; Sun, 09 Jan 2011 13:26:34 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101090109 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-09_07:2011-01-07, 2011-01-09, 1970-01-01 signatures=0 From: Robert Boyer Date: Sun, 09 Jan 2011 16:26:28 -0500 Message-id: To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1081) Subject: USB and 8.1 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, 09 Jan 2011 21:26:53 -0000 I am running release 9.1 under VMware Fusion and it works great - except.... No USB connections on any USB bus work at all - the kernel sees the connect but then encounters an error and disables the device immediately. Searched around a bit but didn't find anything definitive. Seems like this would be a fairly common thing? Any ideas on how to make freebsd USB work under VMware? RB From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 01:08:48 2011 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 7B0D9106566C for ; Mon, 10 Jan 2011 01:08:48 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 12F1D8FC12 for ; Mon, 10 Jan 2011 01:08:47 +0000 (UTC) Received: by wwf26 with SMTP id 26so18881624wwf.31 for ; Sun, 09 Jan 2011 17:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=AyUGXJfEKUrU1e76KqFu7ZJ/UzOxo2nyWrf6oLKMafc=; b=PcM95BQDKnUxNhWPDXvoFYZFik9qPu4C75/3rl2wVsgeFNQTr+zlJgDQLPYr1Bxwv1 rDFKTAzbC/wRpeTfIVn/4v5y0dBM8k0HBmVvUi4SNaNYDVysjTvEajh8k/isdMKGRNkW 4iZPBuirlPqLz6XFrKbE4EdJAoKOHFluml8ck= 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=KKMKXMLc5v07MoPhTuG3hnRLepIxnDQK+rn2hPcPv8fkCbK8r2Cx9auWQ0Vh9hQwJ+ jWvsGNpVCCG0Ny37pz4ax00b77S2DThdC1i2iWmTwfpyAAsAMSVZaEFCL09O721svwoZ MeMG09Yhl40dIEW+x8vYMWnOXPbYEVeaAHeLg= MIME-Version: 1.0 Received: by 10.227.155.145 with SMTP id s17mr18327708wbw.29.1294621726952; Sun, 09 Jan 2011 17:08:46 -0800 (PST) Received: by 10.227.20.73 with HTTP; Sun, 9 Jan 2011 17:08:46 -0800 (PST) In-Reply-To: References: Date: Sun, 9 Jan 2011 18:08:46 -0700 Message-ID: From: Modulok To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Is there a 'Y' (i.e. branch) version of a command pipe? 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, 10 Jan 2011 01:08:48 -0000 On 1/8/11, Modulok wrote: > List, > > Is there a command that lets me send standard input to two different > places at the same time? (i.e. non-sequentially.) Think of it like a > pipe character, but with a 'Y' branch instead. Basically, I want to > record standard input to a log file, but also send it to another > command for processing. > > For example, let's assume we have a command called 'branch' and it > copies standard input to the standard input of all arguments. We could > use it like this: > > cat foo.txt | branch '/bin/echo > log1.txt' '/bin/echo > log2.txt' > > The first 'cat' would read the file, pass it to our theoretical > 'branch' command, which would then start two subprocesses, passing the > input to both of them. The result result would be two copies of the > file. (Obviously making copies of files is not my primary goal, just > an example.) > > I guess another way of explaining it would be two write the same stdin > to two named pipes and then have two different programs read from each > pipe, getting the same output. > > I can probably write something in Python, but thought I'd ask first. > Thanks! > -Modulok- > Thanks guys! I'll look into the tee(1) command as suggested. You guys rock :) -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 01:33:38 2011 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 8F2041065673 for ; Mon, 10 Jan 2011 01:33:38 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2F48C8FC21 for ; Mon, 10 Jan 2011 01:33:37 +0000 (UTC) Received: by eyf6 with SMTP id 6so8558594eyf.13 for ; Sun, 09 Jan 2011 17:33:37 -0800 (PST) Received: by 10.213.31.209 with SMTP id z17mr20582927ebc.12.1294623217011; Sun, 09 Jan 2011 17:33:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Sun, 9 Jan 2011 17:33:16 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Sun, 9 Jan 2011 20:33:16 -0500 Message-ID: To: Robert Boyer Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: USB and 8.1 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, 10 Jan 2011 01:33:38 -0000 On Sun, Jan 9, 2011 at 4:26 PM, Robert Boyer wrote: > I am running release 9.1 under VMware Fusion and it works great - > except.... > > No USB connections on any USB bus work at all - the kernel sees the connect > but then encounters an error and disables the device immediately. > > Searched around a bit but didn't find anything definitive. Seems like this > would be a fairly common thing? Any ideas on how to make freebsd USB work > under VMware? > 9.1 or 9.0? Or did you mean 8.1? As for USB, did you enable the bus infrastructure in VMWare? You need to tell it to pass your real USB Bus System to the VM and make it available. Note that that device will become unavailable on the HOST then. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 21:19:03 2011 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 30419106566B for ; Sun, 9 Jan 2011 21:19:03 +0000 (UTC) (envelope-from abletony84@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E1BA58FC1A for ; Sun, 9 Jan 2011 21:19:02 +0000 (UTC) Received: by gwj21 with SMTP id 21so8885926gwj.13 for ; Sun, 09 Jan 2011 13:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=D1qX3D7AGc8HigW5eDXWelS5kWNlVubPWL8INaEZGow=; b=Xlzrbvzfk6avFcIxeuJbPX+w+ttEnkBOPanWax6yaecxHbROzONaQdBtL4+wTTviyH fJPC934HN4tZdDUDkQncm0oq0f+D+yaTmFJWr8wtgsJdXLRgTDwYpWZKED7L1dZUlykD m18T/Mp1PYPYuLsiFbXx45YfHgBPkcCT5X6xI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=be4d7LUMUV6TX53NXwqstcsp71zzy0rYjUpjDOgWA+5xG4Eun2Gza9E45DQJqcbZLz JILxezGI45i8QstdjvDdoFVip86niULz8cJsbPg9dyHu6E790hnDhBKZycyJiJgXaBBu 7oWmfxJO398oBbcaphPEmYVkA9PMLqCxhPzCw= MIME-Version: 1.0 Received: by 10.151.154.21 with SMTP id g21mr27105096ybo.199.1294607942122; Sun, 09 Jan 2011 13:19:02 -0800 (PST) Received: by 10.150.192.20 with HTTP; Sun, 9 Jan 2011 13:19:02 -0800 (PST) Date: Sun, 9 Jan 2011 22:19:02 +0100 Message-ID: From: Tony Maserati To: obrien@cs.ucdavis.edu, obrien@FreeBSD.org, questions@freebsd.org X-Mailman-Approved-At: Mon, 10 Jan 2011 01:34:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Just wanted to install vim - had to spend entire day building X11 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, 09 Jan 2011 21:19:03 -0000 Hi, I'm just curious - what's the point of including X11 as a dependency to vim? And then making a vim-lite port (which you usually discover after installing X11). How about making it vim and vim-x11 instead? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 01:38:24 2011 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 5903C10656B5 for ; Mon, 10 Jan 2011 01:38:24 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id E86DA8FC1F for ; Mon, 10 Jan 2011 01:38:23 +0000 (UTC) Received: by eyf6 with SMTP id 6so8559366eyf.13 for ; Sun, 09 Jan 2011 17:38:22 -0800 (PST) Received: by 10.213.10.207 with SMTP id q15mr8313468ebq.38.1294623502660; Sun, 09 Jan 2011 17:38:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Sun, 9 Jan 2011 17:38:02 -0800 (PST) In-Reply-To: <4D29063A.2050303@herveybayaustralia.com.au> References: <4D29063A.2050303@herveybayaustralia.com.au> From: Chris Brennan Date: Sun, 9 Jan 2011 20:38:02 -0500 Message-ID: To: Da Rock Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: WPA Supplicant issue (maybe) 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, 10 Jan 2011 01:38:24 -0000 On Sat, Jan 8, 2011 at 7:50 PM, Da Rock < freebsd-questions@herveybayaustralia.com.au> wrote: > Default route is only set once- I had this trouble in the beginning as > well. If you boot on wired or wifi, the route is set to that interface. You > need run route change to reset it to the interface you want to use. > > So either set it manually, setup a script that runs in devd.conf, or better > yet: switch to using lagg0 :) I have and it works beautifully! > so would I just do defaultrouter_nfe0="192.168.0.1" defaultrouter_wlan0="192.168.0.1" Pardon the n00bishness here, but what is lagg0? Got a link? From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 01:39:32 2011 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 E9A3D106567A for ; Mon, 10 Jan 2011 01:39:32 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 874DE8FC24 for ; Mon, 10 Jan 2011 01:39:32 +0000 (UTC) Received: by eyf6 with SMTP id 6so8559547eyf.13 for ; Sun, 09 Jan 2011 17:39:31 -0800 (PST) Received: by 10.213.105.205 with SMTP id u13mr1396137ebo.25.1294623571383; Sun, 09 Jan 2011 17:39:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Sun, 9 Jan 2011 17:39:11 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Sun, 9 Jan 2011 20:39:11 -0500 Message-ID: To: Tony Maserati Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: obrien@cs.ucdavis.edu, questions@freebsd.org, obrien@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 01:39:33 -0000 On Sun, Jan 9, 2011 at 4:19 PM, Tony Maserati wrote: > Hi, > > I'm just curious - what's the point of including X11 as a dependency to > vim? > And then making a vim-lite port (which you usually discover after > installing > X11). How about making it vim and vim-x11 instead? > It's because of gVIM .... throw WITHOUT_X11=true into /etc/make.conf next time :D hth/c- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 02:07:23 2011 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 DDAAD106564A for ; Mon, 10 Jan 2011 02:07:23 +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 9A9FD8FC0A for ; Mon, 10 Jan 2011 02:07:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 204BF1E6A6; Mon, 10 Jan 2011 03:07:19 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0A27Iid010519; Mon, 10 Jan 2011 03:07:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 10 Jan 2011 03:07:18 +0100 From: Polytropon To: Chris Brennan Message-Id: <20110110030718.2edf4a31.freebsd@edvax.de> In-Reply-To: References: <4D29063A.2050303@herveybayaustralia.com.au> 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: WPA Supplicant issue (maybe) 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, 10 Jan 2011 02:07:23 -0000 On Sun, 9 Jan 2011 20:38:02 -0500, Chris Brennan wrote: > Pardon the n00bishness here, but what is lagg0? Got a link? THIS! IS! FREEBSD!!! :-) On FreeBSD, in difference to many "modern" Linusi, you have excellent documentation. If you see some interface you don't know yet, try % apropos lagg or just right away % man lagg and you'll see that lagg is the "link aggregation and link failover interface". You see that all the documentation is already installed on your system, accessible at every time, no need for an Internet connection. FreeBSD's high quality manpages do contain entries for the system binaries, kernel interfaces, library functions, device drivers, configuration files and many maintenance procedures. Some quality ports of everyday average desktop software do follow this approach (see "man mplayer", "man xmms", "man opera"), but many don't (see = don't see "man firefox", "man thunderbird", or almost any KDE program, where documentation is traditionally left to the users, or left out, or redirected at the web, a forum or a wiki, usually outdated). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 02:13:28 2011 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 5321B1065670 for ; Mon, 10 Jan 2011 02:13:28 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE2878FC1C for ; Mon, 10 Jan 2011 02:13:27 +0000 (UTC) Received: by ewy24 with SMTP id 24so8839820ewy.13 for ; Sun, 09 Jan 2011 18:13:26 -0800 (PST) Received: by 10.213.10.207 with SMTP id q15mr8329039ebq.38.1294625606225; Sun, 09 Jan 2011 18:13:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Sun, 9 Jan 2011 18:13:06 -0800 (PST) In-Reply-To: <20110110030718.2edf4a31.freebsd@edvax.de> References: <4D29063A.2050303@herveybayaustralia.com.au> <20110110030718.2edf4a31.freebsd@edvax.de> From: Chris Brennan Date: Sun, 9 Jan 2011 21:13:06 -0500 Message-ID: To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: WPA Supplicant issue (maybe) 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, 10 Jan 2011 02:13:28 -0000 On Sun, Jan 9, 2011 at 9:07 PM, Polytropon wrote: > On Sun, 9 Jan 2011 20:38:02 -0500, Chris Brennan > wrote: > > Pardon the n00bishness here, but what is lagg0? Got a link? > > THIS! IS! FREEBSD!!! :-) > > Better to have asked then to not ask and remain ignorant. > On FreeBSD, in difference to many "modern" Linusi, you have > excellent documentation. If you see some interface you don't > know yet, try > > % apropos lagg > > or just right away > > % man lagg > > and you'll see that lagg is the "link aggregation and link > failover interface". > > You see that all the documentation is already installed on > your system, accessible at every time, no need for an > Internet connection. > > FreeBSD's high quality manpages do contain entries for the > system binaries, kernel interfaces, library functions, > device drivers, configuration files and many maintenance > procedures. Some quality ports of everyday average desktop > software do follow this approach (see "man mplayer", > "man xmms", "man opera"), but many don't (see = don't > see "man firefox", "man thunderbird", or almost any KDE > program, where documentation is traditionally left to > the users, or left out, or redirected at the web, a > forum or a wiki, usually outdated). :-) > > So I see ... my question is this then ... I've got http://www.freebsd.org/doc/handbook/network-aggregation.html open as well and it's using the examples fxp0 and fxp1 ... are these example interfaces and I would substitute my real, physical devices? That being said ... do I add the driver created device (bwn0) or do I add wlan0? Or both plus my wired device? That part isn't all that clear to me. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 05:22:14 2011 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 9B396106564A for ; Mon, 10 Jan 2011 05:22:14 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3368FC08 for ; Mon, 10 Jan 2011 05:22:13 +0000 (UTC) Received: by fxm16 with SMTP id 16so18528600fxm.13 for ; Sun, 09 Jan 2011 21:22:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.103.198 with SMTP id l6mr4798954fao.99.1294635498845; Sun, 09 Jan 2011 20:58:18 -0800 (PST) Received: by 10.223.79.77 with HTTP; Sun, 9 Jan 2011 20:58:18 -0800 (PST) Date: Sun, 9 Jan 2011 23:58:18 -0500 Message-ID: From: Carl Chave To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 10 Jan 2011 05:22:14 -0000 Posting the below for input. The bulk of this is from a guide that Morgan Wesstr=F6m posted to this list. Some of it is taken from the root on ZFS wiki entries on freebsd.org. Some from a pjd post here: http://blogs.freebsdish.org/pjd/2010/08/06/from-sysinstall-to-zfs-only-conf= iguration/ And then there's this that Svein Skogen posted to the list: I usually (today) set up something similar. I sysinstall FreeBSD onto a CF card with the "one-big-root" method, then create a zpool (on spinning-metal-storage) where I create the usr, tmp, var fs'es, tar|tar the originals over and fix the mountpoint info on the zfs'es. Then I add swap on a zvol (since I don't know how to properly use a kernel dump, I don't need swap to store it). I'm setting up a new home server and I always agonize over partitioning. So the steps below install the base system with zfs root on a usb stick and /tmp /usr /var and swap on mirrored sata drives. I've tested these steps and everything works but before I press on with actually configuring and using the server, does anybody have any input on whether I should or shouldn't do it this way? ZFS best practices suggests that having elements of the root filesystem on different pools is a bad idea. So that might be strike 1. Memory Stick ------------ / /bin /boot /dev /etc /lib /libexec /media /mnt /proc /rescue /root /sbin /sys --> /usr/src/sys Hard disk zpool --------------- /tmp /usr /var swap on zvol Separate zfs datasets --------------------- /tmp /usr /usr/home /usr/local /usr/obj /usr/ports /usr/ports/distfiles /usr/ports/packages /usr/src /var /var/log /var/audit /var/tmp Install Procedure (Mostly by Morgan Wesstr=F6m) --------------------------------------------------------------------- Select your country and keyboard layout. Enter the Fixit environment and use the live filesystem on your DVD. Your usb memory stick will most likely be da0 but you can (and should) check it with "camcontrol devlist" before you continue. Create a new GPT partitioning scheme: # gpart create -s gpt da0 Create a 64KiB partition for the zfs bootcode starting at LBA 1920: # gpart add -b 1920 -s 128 -t freebsd-boot da0 Create a zfs partition spanning the remainder of the usb memory stick and give it a label we can refer to: # gpart add -t freebsd-zfs -l FreeBSDonUSB da0 (The starting LBA for the first partition is there to align the partitions to the flash memory's erase block size. This is particularly important for the main zfs partition. The main partition above will start at exactly 1MiB (LBA 2048) which will align it to any erase block size used today. This alignment is also of great importance if you use this guide to install FreeBSD to one of the newer harddrives using 4096 byte sectors.) Install the protective MBR to LBA 0 and the zfs bootcode to the first parti= tion: # gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsboot -i 1 da0 Create /boot/zfs (for zpool.cache) and load the zfs kernel modules: # mkdir /boot/zfs # kldload /dist/boot/kernel/opensolaris.ko # kldload /dist/boot/kernel/zfs.ko Create a zfs pool and set its bootfs property: # zpool create zrootusb /dev/gpt/FreeBSDonUSB # zpool set bootfs=3Dzrootusb zrootusb Switch to fletcher4 checksums and turn off access time modifications: # zfs set checksum=3Dfletcher4 zrootusb # zfs set atime=3Doff zrootusb Create zfs mirrored data pool on SATA disks # zpool create zdata mirror /dev/ad4 /dev/ad6 # zfs set canmount=3Doff zdata # zfs set mountpoint=3D/zrootusb zdata # zfs set checksum=3Dfletcher4 zdata # zfs create zdata/tmp # zfs create zdata/usr # zfs create zdata/usr/home # zfs create zdata/usr/local # zfs create zdata/usr/obj # zfs create zdata/usr/ports # zfs create zdata/usr/ports/distfiles # zfs create zdata/usr/ports/packages # zfs create zdata/usr/src # zfs create zdata/var # zfs create zdata/var/log # zfs create zdata/var/audit # zfs create zdata/var/tmp Create swap zvol on zdata pool # zfs create -V 5G zdata/swap # zfs set org.freebsd:swap=3Don zdata/swap # zfs set checksum=3Doff zdata/swap Extract at a minimum, base and the generic kernel: # cd /dist/8.1-RELEASE/base # DESTDIR=3D/zrootusb ./install.sh # cd ../kernels # DESTDIR=3D/zrootusb ./install.sh generic Delete the empty, default kernel directory and move the generic kernel into its place: # rmdir /zrootusb/boot/kernel # mv /zrootusb/boot/GENERIC /zrootusb/boot/kernel Make sure the zfs modules are loaded at boot: # cat > /zrootusb/boot/loader.conf zfs_load=3D"YES" vfs.root.mountfrom=3D"zfs:zrootusb" kern.cam.boot_delay=3D10000 ^d Create /etc/rc.conf. Adjust and add to your own needs: # cat > /zrootusb/etc/rc.conf hostname=3D"sodserve" sshd_enable=3D"YES" zfs_enable=3D"YES" ^d Setup your time zone: # cp /zrootusb/usr/share/zoneinfo/EST5EDT /zrootusb/etc/localtime Create an empty fstab to avoid startup warnings: # touch /zrootusb/etc/fstab Set the root password in the new environment: # cd / # chroot /zrootusb /bin/sh # passwd root # exit Copy zpool.cache: # cp /boot/zfs/zpool.cache /zrootusb/boot/zfs Unmount filesystems and set mountpoints: # zfs unmount -a # zfs set mountpoint=3Dlegacy zrootusb # zfs set mountpoint=3D/ zdata Exit SYSINSTALL and reboot. You now have a fully functional and bootable FreeBSD installation on your usb memory stick. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:05:55 2011 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 B036F106566B for ; Mon, 10 Jan 2011 08:05:55 +0000 (UTC) (envelope-from gaubrig@yahoo.com) Received: from web114714.mail.gq1.yahoo.com (web114714.mail.gq1.yahoo.com [98.136.183.141]) by mx1.freebsd.org (Postfix) with SMTP id 779368FC08 for ; Mon, 10 Jan 2011 08:05:55 +0000 (UTC) Received: (qmail 244 invoked by uid 60001); 10 Jan 2011 07:39:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294645154; bh=kEpD3HVYv0h9vRNd1+egQz+/liTOOemZitrDmDanKrg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=vLILrPTNnAuIKdHWCA4uZZRvi79Oqa7sp7gWl8YJT70sT6gWaxR+nFYAUIbSKql346ECb1lPlkzyvQdUyUOUk35CaVh7hL2l8rsw01wwA42zvDWS8U/rzo67frKFJhqF6tzjaowySgxWn69z+VtNGCMQ5CBVvM9Vw2Gj38LBsB8= 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=XlnE5Km4+cGbQy/XxiZK2cqgG8Ev5iJQX3RTvxrTDKqB9BS6W2pelpU1p6EHkxgevhObATdcNVD0/Xtuks6r2CD2CZbyFX3XC4kDmew7V8n6TY2siPWRpSfXG45OlZpxqA7T+GqZbv8xtrvZ5cHBNbFbOppOxh3ljZRnAcSVGSM=; Message-ID: <787739.97010.qm@web114714.mail.gq1.yahoo.com> X-YMail-OSG: 1WV3xGAVM1nQ3VCzbOHpKLXaO9DvOhCMwZ4E0X1HJeuXDkH n3eCCwrhXltSxl7OBl4KtuNR_gbGgWN8FGSpjYdhuC_JcOzAw5BqMZ4raG4R at_R4sEL4BuslqhL37o9aOvHvX7LSYQ_OF92DnGjr5Ukkl.PEhQUhQmnK1iV PfKD_bJnbVfKtVKsjnLOj0BK7ICy_U6Xx9uF3xLMlzSAeW5.TWPXV6UY2pHg Yl5wZuaGEcd__oj4WKtjpBP4DU3UOSkQTq7WDBgYM75dUQZS0izmwZftqda9 2JAjbodSw3tyI1scmnfgukXQqkvQQbSU.lgl0UcMT3FSGZsFybV6zvplauYR PQ8cJTg9KjYOIEk_7SonmJukHFUxPRSdi.tDrTUC2FuQFPxRKGUlcG5ZxgHi Ke5AeYjxuU9Y- Received: from [120.29.194.165] by web114714.mail.gq1.yahoo.com via HTTP; Sun, 09 Jan 2011 23:39:14 PST X-Mailer: YahooMailRC/553 YahooMailWebService/0.8.107.285259 Date: Sun, 9 Jan 2011 23:39:14 -0800 (PST) From: Gaurang Pandya To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: FreeBSD DomU over NetBSD Dom0 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, 10 Jan 2011 08:05:56 -0000 Hi, Has anyone managed to get FreeBSD DomU worked over NetBSD Dom0, I am having real hard time with it. I had created an image as given in http://forums.freebsd.org/showthread.php?t=10268 , the same image works well under CentOS 5.5 Dom0, but under NetBSD 5.1 with PAE DOM0 kernel (with some customizations to allow PF and ALTQ) , and Xen 3.3.2, its showing following issues. 1. FreeBSD DOMU fails to boot and ends up with following error message. start_init: trying /sbin/init g_vfs_done():ad0s1a[READ(offset=263159808, length=2048)]error = 5 Jan 6 13:56:20 init: can't exec /bin/sh for /etc/rc: Input/output error Enter full pathname of shell or RETURN for /bin/sh: 2. I am frequently getting following message on console [XEN] hypervisor wallclock nudged; nudging TOD. Now I see a solution for second problem but thats for Linux no where I got info to fix it under NetBSD. Here is content of my DomU config file. kernel = "/virt/freebsd-kernel" memory = 164 name = "freebsd" disk = [ 'file:/virt/freebsd-fst-ad0s1a-rc-conf.img,hda1,w' ] extra = "boot_verbose=1" extra += ",vfs.root.mountfrom=ufs:/dev/ad0s1a" extra += ",kern.hz=100" I also get this message during DomU boot up, just in case if it helps.. lo0: bpf attached xbd0: 250MB at device/vbd/769 on xenbus0 xbd0: attaching as ad0 GEOM: new disk ad0 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0s1a Can any one help me fix these.. Thanks & Regards, Gaurang. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:23:12 2011 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 F21DE106564A for ; Mon, 10 Jan 2011 08:23:12 +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 A3A8A8FC08 for ; Mon, 10 Jan 2011 08:23:12 +0000 (UTC) Received: from fwd10.aul.t-online.de (fwd10.aul.t-online.de ) by mailout11.t-online.de with smtp id 1PcCnG-0008OO-I1; Mon, 10 Jan 2011 09:07:58 +0100 Received: from amd.catfish.ddns.org (XGGBTuZCrhqkGj7XNWA4kLoqnqtNQOBilFET47N9flbRxrhqfsCy74WfMxxbAXuZlD@[79.218.61.11]) by fwd10.aul.t-online.de with esmtp id 1PcCnD-0taLxI0; Mon, 10 Jan 2011 09:07:55 +0100 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 p0A88CeN060120 for ; Mon, 10 Jan 2011 09:08:12 +0100 (CET) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id p0A88CNT060119 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 09:08:12 +0100 (CET) (envelope-from monkel) Date: Mon, 10 Jan 2011 09:08:09 +0100 From: Sabine Baer To: freebsd-questions@freebsd.org Message-ID: <20110110080809.GA59900@amd.catfish.ddns.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D29063A.2050303@herveybayaustralia.com.au> <20110110030718.2edf4a31.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110110030718.2edf4a31.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-ID: XGGBTuZCrhqkGj7XNWA4kLoqnqtNQOBilFET47N9flbRxrhqfsCy74WfMxxbAXuZlD X-TOI-MSGID: 317efadc-b0ae-4d2f-a678-293b424e8380 Subject: FreeBSD on ARM (was: WPA Supplicant issue (maybe)) 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, 10 Jan 2011 08:23:13 -0000 On Mon, Jan 10, 2011 at 03:07:18AM +0100, Polytropon wrote: > THIS! IS! FREEBSD!!! :-) > > On FreeBSD, in difference to many "modern" Linusi, [...] Fine. Is there a FreeBSD for an netbook with an ARM-processor (wm8505)? I asked the freebsd-arm-Mailing List, but as I am an very stupid User only, my question might have been as such, very as such. Of course I didn't get an answer. I tried crosscompiling with one of those files in /usr/src/sys/arm/conf/ an it ran through without a failure. But I have no machine to boot that. So well, there _is_ a Debian GNU/Linux for that machine, it's running now. I haven't enough experience with Debian for to say "it's not good', but I really would prefer a FreeBSD thereon. So, is there any documentation within a FreeBSD on a PC which I've missed perhaps? Google brough me no help either. Sabine -- Campaign for a Non-Browser Specific WWW: http://www.anybrowser.org From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:31:01 2011 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 F0DD61065697 for ; Mon, 10 Jan 2011 08:31:01 +0000 (UTC) (envelope-from wajdan314@gmail.com) Received: from mail-yi0-f58.google.com (mail-yi0-f58.google.com [209.85.218.58]) by mx1.freebsd.org (Postfix) with ESMTP id B69958FC22 for ; Mon, 10 Jan 2011 08:31:01 +0000 (UTC) Received: by yie13 with SMTP id 13so14442685yie.13 for ; Mon, 10 Jan 2011 00:31:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.83.13 with SMTP id g13mr387460agb.11.1294647675656; Mon, 10 Jan 2011 00:21:15 -0800 (PST) Received: by o14g2000prn.googlegroups.com with HTTP; Mon, 10 Jan 2011 00:21:15 -0800 (PST) Date: Mon, 10 Jan 2011 00:21:15 -0800 (PST) In-Reply-To: X-IP: 118.107.128.56 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.16) Gecko/20101130 Firefox/3.5.16,gzip(gfe) Message-ID: <7f2db1f0-1b37-45cd-98f8-148ed425785a@o14g2000prn.googlegroups.com> From: Usman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 10 Jan 2011 08:31:02 -0000 http://www.ajkservers.co.uk They support FreeBSD :) On Dec 29 2010, 3:02=A0pm, n j wrote: > Hello, > > I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any > input coming from a positive personal experience will be most > appreciated. > > So far the most likely candidate seems to behttp://www.nqhost.com/unmeter= ed-xen-vds.html. If anyone ever dealt > with them, please share. > > TIA, > -- > Nino > _______________________________________________ > freebsd-questi...@freebsd.org mailing listhttp://lists.freebsd.org/mailma= n/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:56:33 2011 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 6406E106566B for ; Mon, 10 Jan 2011 08:56:33 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB6668FC1C for ; Mon, 10 Jan 2011 08:56:32 +0000 (UTC) Received: by eyf6 with SMTP id 6so8636482eyf.13 for ; Mon, 10 Jan 2011 00:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=G6RCejjuUKztvozTw2O3Ri0swBr8eFRgnTIMUe9OWvA=; b=cTFWyknIUhBvc0pG5zzRsWtj2ii+R0eF1oLbvpnSc7TlvVjRS1yHjGp4oLaGXxEdGV Z2ZB+kfIgn7gGD3WZMKeG/TQA8GPwROJrd2YdIBQq6AX++ZrCyR+XYPMjb3M0wkiQTf9 Vld2MxfQrZHegDN95EJ4CgdsUQ6rVgKW/YrO8= 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=LwXsN/3dkdQ82FltFhp31/b5ylghURAQ3PUVsHX6q7ufxl84loYIDuUcu+R8oivNbK mi6DMTbzckdsH0g9hcKHOoMSXSnXxNjKQeHf+cblSlR2Z7f50jSmB0vsOO8H2D6zoOho mZqyXW8JoJVMiWefIYMqRki4FNB8WmpK56gd4= Received: by 10.213.28.69 with SMTP id l5mr21852497ebc.13.1294649791772; Mon, 10 Jan 2011 00:56:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.22.79 with HTTP; Mon, 10 Jan 2011 00:56:11 -0800 (PST) In-Reply-To: <7f2db1f0-1b37-45cd-98f8-148ed425785a@o14g2000prn.googlegroups.com> References: <7f2db1f0-1b37-45cd-98f8-148ed425785a@o14g2000prn.googlegroups.com> From: n j Date: Mon, 10 Jan 2011 09:56:11 +0100 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 10 Jan 2011 08:56:33 -0000 On Mon, Jan 10, 2011 at 9:21 AM, Usman wrote: > http://www.ajkservers.co.uk > They support FreeBSD :) FreeBSD is indeed listed as supported OS, but for every hosting plan, the virtualization is stated as "OpenVZ". To my understanding, you can't run FreeBSD on OpenVZ. BTW, in the end I decided to go with http://www.nqhost.com/. I read a lot of bad reviews on them, but their prices are really low and so far I had no problems with my VPS. I haven't put the machine under any serious load yet, though. Regards, -- Nino From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:57:24 2011 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 E962910656A3 for ; Mon, 10 Jan 2011 08:57:24 +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 A22C08FC23 for ; Mon, 10 Jan 2011 08:57:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PcDZ4-0006Qo-G7 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 09:57:22 +0100 Received: from 70.67.160.177 ([70.67.160.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 09:57:22 +0100 Received: from prad by 70.67.160.177 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 09:57:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: prad Date: Mon, 10 Jan 2011 00:57:05 -0800 Lines: 18 Message-ID: <87zkr9kufy.fsf@towardsfreedom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 70.67.160.177 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:llYcRobuNykm8ayhbCRFSc8uHM4= Subject: sqlite3 and sqlite34 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, 10 Jan 2011 08:57:25 -0000 i'm still on freebsd 7.2 and am wanting to try sqlite. however, in the ftp-archive.freebsd.org repository i see these two versions both of which i can install and seem to work: sqlite3-3.6.11.tbz (this has a non sqlite34-3.4.2.tbz one site said something about 3 having a non-severe problem while this page says: Remove sqlite3-threads and add sqlite34 http://www.freshports.org/databases/Makefile could someone please tell me which one is recommended? i couldn't find anything through google about their differences. -- in friendship, prad From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 09:20:50 2011 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 9357E1065695; Mon, 10 Jan 2011 09:20:50 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0CEBD8FC15; Mon, 10 Jan 2011 09:20:49 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0A96RMv030438 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0A96RMv030438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Jan 2011 11:06:35 +0200 From: Giorgos Keramidas To: Tony Maserati References: Date: Mon, 10 Jan 2011 10:06:27 +0100 In-Reply-To: (Tony Maserati's message of "Sun, 9 Jan 2011 22:19:02 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: obrien@cs.ucdavis.edu, questions@freebsd.org, obrien@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 09:20:50 -0000 On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati wrote: > Hi, > > I'm just curious - what's the point of including X11 as a dependency > to vim? And then making a vim-lite port (which you usually discover > after installing X11). How about making it vim and vim-x11 instead? Maybe because gvim is really *much* nicer than plain console-based vim sessions. The vim-lite port exists for those cases when you really want to install just plain good ol' vim without all the bells and whistles. You can also install editors/vim with WITHOUT_X11='true' to avoid the pulling of all this X11 stuff. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 09:31:26 2011 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 B6F4F106564A for ; Mon, 10 Jan 2011 09:31:26 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 222758FC15 for ; Mon, 10 Jan 2011 09:31:25 +0000 (UTC) Received: by wyf19 with SMTP id 19so19587620wyf.13 for ; Mon, 10 Jan 2011 01:31:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=rrBO/AUJSbHtWROawgWioWjkmYAPpMUOS6//Xx1kV+4=; b=NuPuKsJLsWh4v5/+gdQlMPRJ5UB2EVC8Ld39/IxwBdHkMTtl9VNENLO9VYcLV4aIRn CAcHLKNem6GP8AkD/c6dri2T/EYeTrpKlXSTxdP/rklSW5XbKZ+70iqB/46UwgaQeiiN u+z4FpaLCqWC+iLg8GMo9fvGe1BEBno55Xyis= 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=twyB+4Si/90CKR3iQz3C18UIZlheua9BKoRmIt3j2x6WIgRJhHAPW02DlCHttLlUYi dDQS9pwcs4+CPywAuKKVzqRmQaEReghiwZp7t39kdyknCaoBPe4nYGdAtTi6uaNNYwW6 eTAfhpQyw6OAwh8UkK6jFCs6eSIV8E0PM3BRs= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr1611369wec.29.1294651884843; Mon, 10 Jan 2011 01:31:24 -0800 (PST) Received: by 10.216.229.73 with HTTP; Mon, 10 Jan 2011 01:31:24 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 09:31:24 +0000 Message-ID: From: krad To: Carl Chave 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: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 10 Jan 2011 09:31:26 -0000 On 10 January 2011 04:58, Carl Chave wrote: > Posting the below for input. The bulk of this is from a guide that > Morgan Wesstr=F6m posted to this list. Some of it is taken from the > root on ZFS wiki entries on freebsd.org. Some from a pjd post here: > > http://blogs.freebsdish.org/pjd/2010/08/06/from-sysinstall-to-zfs-only-co= nfiguration/ > > And then there's this that Svein Skogen posted to the list: > > I usually (today) set up something similar. I sysinstall FreeBSD onto a > CF card with the "one-big-root" method, then create a zpool (on > spinning-metal-storage) where I create the usr, tmp, var fs'es, tar|tar > the originals over and fix the mountpoint info on the zfs'es. Then I add > swap on a zvol (since I don't know how to properly use a kernel dump, I > don't need swap to store it). > > I'm setting up a new home server and I always agonize over > partitioning. So the steps below install the base system with zfs > root on a usb stick and /tmp /usr /var and swap on mirrored sata > drives. > I've tested these steps and everything works but before I press on > with actually configuring and using the server, does anybody have any > input on whether I should or shouldn't do it this way? ZFS best > practices suggests that having elements of the root filesystem on > different pools is a bad idea. So that might be strike 1. > > Memory Stick > ------------ > / > /bin > /boot > /dev > /etc > /lib > /libexec > /media > /mnt > /proc > /rescue > /root > /sbin > /sys --> /usr/src/sys > > Hard disk zpool > --------------- > /tmp > /usr > /var > swap on zvol > > Separate zfs datasets > --------------------- > /tmp > /usr > /usr/home > /usr/local > /usr/obj > /usr/ports > /usr/ports/distfiles > /usr/ports/packages > /usr/src > /var > /var/log > /var/audit > /var/tmp > > Install Procedure (Mostly by Morgan Wesstr=F6m) > --------------------------------------------------------------------- > Select your country and keyboard layout. > > Enter the Fixit environment and use the live filesystem on your DVD. > > Your usb memory stick will most likely be da0 but you can (and should) > check it with "camcontrol devlist" before you continue. > > Create a new GPT partitioning scheme: > # gpart create -s gpt da0 > > Create a 64KiB partition for the zfs bootcode starting at LBA 1920: > # gpart add -b 1920 -s 128 -t freebsd-boot da0 > > Create a zfs partition spanning the remainder of the usb memory stick > and give it a label we can refer to: > # gpart add -t freebsd-zfs -l FreeBSDonUSB da0 > > (The starting LBA for the first partition is there to align the > partitions to the flash memory's erase block size. This is > particularly important for the main zfs partition. The main partition > above will start at exactly 1MiB (LBA 2048) which will align it to any > erase block size used today. This alignment is also of great > importance if you use this guide to install FreeBSD to one of the > newer harddrives using 4096 byte sectors.) > > Install the protective MBR to LBA 0 and the zfs bootcode to the first > partition: > # gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsboot -i 1 da0 > > Create /boot/zfs (for zpool.cache) and load the zfs kernel modules: > # mkdir /boot/zfs > # kldload /dist/boot/kernel/opensolaris.ko > # kldload /dist/boot/kernel/zfs.ko > > Create a zfs pool and set its bootfs property: > # zpool create zrootusb /dev/gpt/FreeBSDonUSB > # zpool set bootfs=3Dzrootusb zrootusb > > Switch to fletcher4 checksums and turn off access time modifications: > # zfs set checksum=3Dfletcher4 zrootusb > # zfs set atime=3Doff zrootusb > > Create zfs mirrored data pool on SATA disks > # zpool create zdata mirror /dev/ad4 /dev/ad6 > # zfs set canmount=3Doff zdata > # zfs set mountpoint=3D/zrootusb zdata > # zfs set checksum=3Dfletcher4 zdata > # zfs create zdata/tmp > # zfs create zdata/usr > # zfs create zdata/usr/home > # zfs create zdata/usr/local > # zfs create zdata/usr/obj > # zfs create zdata/usr/ports > # zfs create zdata/usr/ports/distfiles > # zfs create zdata/usr/ports/packages > # zfs create zdata/usr/src > # zfs create zdata/var > # zfs create zdata/var/log > # zfs create zdata/var/audit > # zfs create zdata/var/tmp > > Create swap zvol on zdata pool > # zfs create -V 5G zdata/swap > # zfs set org.freebsd:swap=3Don zdata/swap > # zfs set checksum=3Doff zdata/swap > > Extract at a minimum, base and the generic kernel: > # cd /dist/8.1-RELEASE/base > # DESTDIR=3D/zrootusb ./install.sh > # cd ../kernels > # DESTDIR=3D/zrootusb ./install.sh generic > > Delete the empty, default kernel directory and move the generic kernel > into its place: > # rmdir /zrootusb/boot/kernel > # mv /zrootusb/boot/GENERIC /zrootusb/boot/kernel > > Make sure the zfs modules are loaded at boot: > # cat > /zrootusb/boot/loader.conf > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:zrootusb" > kern.cam.boot_delay=3D10000 > ^d > > Create /etc/rc.conf. Adjust and add to your own needs: > # cat > /zrootusb/etc/rc.conf > hostname=3D"sodserve" > sshd_enable=3D"YES" > zfs_enable=3D"YES" > ^d > > Setup your time zone: > # cp /zrootusb/usr/share/zoneinfo/EST5EDT /zrootusb/etc/localtime > > Create an empty fstab to avoid startup warnings: > # touch /zrootusb/etc/fstab > > Set the root password in the new environment: > # cd / > # chroot /zrootusb /bin/sh > # passwd root > # exit > > Copy zpool.cache: > # cp /boot/zfs/zpool.cache /zrootusb/boot/zfs > > Unmount filesystems and set mountpoints: > # zfs unmount -a > # zfs set mountpoint=3Dlegacy zrootusb > # zfs set mountpoint=3D/ zdata > > > Exit SYSINSTALL and reboot. You now have a fully functional and > bootable FreeBSD installation on your usb memory stick. > _______________________________________________ > 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" > on thing you may consider doing is mirroring the way opensolaris does its boot environments. This makes it easy to flip flop back between os versions for testing or if things go wrong. eg from my home system # zfs list | grep be system/be 4.09G 123G 29.5K /system/be system/be/root20101123 2.63G 123G 1.76G legacy system/be/root20101218 1.47G 123G 992M legacy # grep vfs /boot/loader.conf; zpool get bootfs system vfs.root.mountfrom=3D"zfs:system/be/root20101218" vfs.root.mountfrom.options=3Drw NAME PROPERTY VALUE SOURCE system bootfs system/be/root20101218 local After I have done a build world and kernel I run this script. Sending and receiving isnt 100% necessary, but I find it cleaner than snapping and cloning as it doesnt end up in dependencies. Although it does eat up more disk space (assuming no dedup) but then we aren't talking huge amounts of disk space # cat /usr/local/scripts/install_world #!/usr/local/bin/bash if [ $UID !=3D 0 ] ; then echo your not root !! ; exit 1 fi date=3D`date '+%Y%m%d'` oroot=3D`grep "vfs.root.mountfrom=3D\"zfs:system/" /boot/loader.conf | sed = -e "s#^.*\"zfs:system/be/##" -e "s#\"##"` nroot=3D"root$date" snap=3D"autoup-$RANDOM" zpool=3Dsystem export DESTDIR=3D/$zpool/be/$nroot if [ "$oroot" =3D "$nroot" ] ; then echo "i cant update twice in one day"; exit 1 fi echo building in $zpool/be/$nroot zfs snapshot $zpool/be/$oroot@$snap && \ zfs send $zpool/be/$oroot@$snap | zfs receive -vv $zpool/be/$nroot && \ cd /usr/src && \ make installkernel && \ make installworld && \ sed -i -e "s#$zpool/be/$oroot#$zpool/be/$nroot#" /$zpool/be/$nroot/boot/loader.conf && \ echo -en "\n\nNow run these two commands to make the changes live, and reboot zfs set mountpoint=3Dlegacy $zpool/be/$nroot zpool set bootfs=3D$zpool/be/$nroot $zpool\n\n" From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 09:31:42 2011 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 D77B110656A6 for ; Mon, 10 Jan 2011 09:31:42 +0000 (UTC) (envelope-from wajdan314@gmail.com) Received: from mail-pz0-f58.google.com (mail-pz0-f58.google.com [209.85.210.58]) by mx1.freebsd.org (Postfix) with ESMTP id B803C8FC20 for ; Mon, 10 Jan 2011 09:31:42 +0000 (UTC) Received: by pzk12 with SMTP id 12so8462768pzk.13 for ; Mon, 10 Jan 2011 01:31:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.86.1 with SMTP id o1mr258910wfl.57.1294647534091; Mon, 10 Jan 2011 00:18:54 -0800 (PST) Received: by m20g2000prc.googlegroups.com with HTTP; Mon, 10 Jan 2011 00:18:54 -0800 (PST) Date: Mon, 10 Jan 2011 00:18:54 -0800 (PST) In-Reply-To: X-IP: 118.107.128.56 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.16) Gecko/20101130 Firefox/3.5.16,gzip(gfe) Message-ID: <1a4bb96f-ee64-457b-97e4-fb8003070468@m20g2000prc.googlegroups.com> From: Usman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 10 Jan 2011 09:31:42 -0000 http://www.ajkservers.co.uk They support freeBSD :) God Luck On Dec 29 2010, 6:02=A0pm, n j wrote: > Hello, > > I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any > input coming from a positive personal experience will be most > appreciated. > > So far the most likely candidate seems to behttp://www.nqhost.com/unmeter= ed-xen-vds.html. If anyone ever dealt > with them, please share. > > TIA, > -- > Nino > _______________________________________________ > freebsd-questi...@freebsd.org mailing listhttp://lists.freebsd.org/mailma= n/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 10:41:02 2011 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 ACE16106564A for ; Mon, 10 Jan 2011 10:41:02 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD748FC13 for ; Mon, 10 Jan 2011 10:41:01 +0000 (UTC) Received: by fxm16 with SMTP id 16so18704970fxm.13 for ; Mon, 10 Jan 2011 02:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=gmTNwrXzToFod2yNElY9Z+U5LIU/i9rBwDOB5eOcT5k=; b=wDYEX0c+A7E0Q7FMO46JRzeMlciTixlzIz6Q1MKpoFgYmf01OFHyweMUUqxTQtCTeP xz3ShtW/GrFmUjvwP967U8ufWLIq4ZC9hl+7/ojIRWGEKvPAJmF0RHMgwXNkmcGbswWB +DjtbVQLF2yAb+dBaqg9YxpUXCGe2m2rY2ELA= 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=q0UZ10u9kHwESAd352JtNYo27Pdg2zq0dBWh0/tpnXdVNurxrvlWV5V8JD5NBiDsVV E2kFNxCy8QAvHamxzpyUIZKYpPdjTt5/jjvN590sqVSEiPMSGn46P/X+Y7kL1Ux5eVCE CpB2Tbetp1TXf+Eaoaggia0WasGWDuZbdpJQQ= MIME-Version: 1.0 Received: by 10.223.81.76 with SMTP id w12mr3509975fak.26.1294654168509; Mon, 10 Jan 2011 02:09:28 -0800 (PST) Received: by 10.223.112.71 with HTTP; Mon, 10 Jan 2011 02:09:28 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 08:09:28 -0200 Message-ID: From: Friedrich Locke To: Aleksandr Miroslav Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: which syslog??? (rsyslog? syslog-ng? or default?) 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, 10 Jan 2011 10:41:02 -0000 Go for algr, i can't do wrong. On Fri, Jan 7, 2011 at 7:08 PM, Aleksandr Miroslav wrote: > I have some boxes (about 40) that I was tasked with creating a > centralized logging infrastructure for. I see in ports that we have > several different versions of rsyslog, and syslog-ng. > > Is there any reason to use one or the other? Or should I just use the > syslog that come with the base OS? > > thanks, > Alex > _______________________________________________ > 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 Jan 10 11:56:45 2011 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 68F04106566B; Mon, 10 Jan 2011 11:56:45 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id D5F608FC17; Mon, 10 Jan 2011 11:56:44 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0ABuPSg008009 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0ABuPSg008009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Jan 2011 13:56:31 +0200 From: keramida@freebsd.org (Giorgos Keramidas) To: Tony Maserati References: Date: Mon, 10 Jan 2011 12:56:25 +0100 In-Reply-To: (Tony Maserati's message of "Mon, 10 Jan 2011 12:43:13 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: obrien@cs.ucdavis.edu, questions@freebsd.org, obrien@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 11:56:45 -0000 On Mon, 10 Jan 2011 12:43:13 +0100, Tony Maserati wrote: >On Mon, Jan 10, 2011 at 10:06 AM, Giorgos Keramidas wrote: >>On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati wrote: >>> I'm just curious - what's the point of including X11 as a dependency >>> to vim? And then making a vim-lite port (which you usually discover >>> after installing X11). How about making it vim and vim-x11 instead? >> >> Maybe because gvim is really *much* nicer than plain console-based vim >> sessions. >> >> The vim-lite port exists for those cases when you really want to install >> just plain good ol' vim without all the bells and whistles. You can also >> install editors/vim with WITHOUT_X11='true' to avoid the pulling of all >> this X11 stuff. > > I hear that - but if I want gvim I'll install gvim. What it's doing > here is installing something I didn't ask for, well actually, it's > fooling me into giving me something I don't need. The tricky bit is that there's no gvim port. There are two choices one can make when porting software like this: * Add a default port that installs the 'full experience', and a second meta-port that has options suitable for minimalists. * Add a default port that is minimal, and a meta-port that can pull in all the necessary bits for the full-blown user experience. I agree that it's confusing to remember which port has chosen which option, but there isn't much a porter (e.g. obrien in this case) can do to satisfy *both* groups of users. I'm sorry that you had to install software that you don't really need and I can help you clean up by saving your installed ports as 'binary packages' and re-installing just the bits that you _really_ want to have around. Other than that, I don't know if there's any way to change the status quo of the vim ports to be able to satisfy automatically both types of user needs. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 12:19:19 2011 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 9B261106566C for ; Mon, 10 Jan 2011 12:19:19 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3398FC13 for ; Mon, 10 Jan 2011 12:19:18 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkAHAL6AKk1UXebj/2dsb2JhbACWMI4Oc7tkhUwE Received: from outmx01.plus.net ([84.93.230.227]) by relay.ptn-ipout01.plus.net with ESMTP; 10 Jan 2011 11:50:40 +0000 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx01.plus.net with esmtp (Exim) id 1PcGGl-0007FK-S5 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 11:50:40 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.72) (envelope-from ) id 1PcGGk-00017s-H9 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 11:50:38 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 10 Jan 2011 11:50:38 +0000 User-Agent: KMail/1.9.10 References: <4D26F58D.3040208@ifdnrg.com> <4D26FB50.5010506@infracaninophile.co.uk> In-Reply-To: <4D26FB50.5010506@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201101101150.38357.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: Upgrade path from STABLE to RELEASE 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, 10 Jan 2011 12:19:19 -0000 On Friday 07 January 2011, Matthew Seaman wrote: > Your choices are to backup and reinstall using a release version, > or to grab the latest -STABLE or -RELEASE sources and upgrade by > compiling from source. =A0Note that last option still won't allow you > to use freebsd-update subsequently: you have to stick with the > binaries from the install media for that to work. This has got me puzzled. I appreciate that freebsd-update won't update=20 the sources so an attempt to recompile after using freebsd-update to=20 change between versions will lead to trouble unless the new sources are=20 also downloaded but I'd assumed that freebsd-update would manage to=20 update the binaries irrespective of whether they'd been installed as=20 binary downloads or compiled locally. My present system started as 8.0-RELEASE, installed as a binary from=20 DVD. I subsequently used csup to upgrade through 8.1-STABLE and=20 8.1-RELEASE. I've been using freebsd-update to keep 8.1-RELEASE up to=20 date with the latest security patches. I didn't see any error messages=20 when I ran freebsd-update so I assumed that everything went fine. Is=20 there something I've overlooked and should I recompile from source to=20 be safe? =2D-=20 Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 13:05:06 2011 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 00CEE1065670 for ; Mon, 10 Jan 2011 13:05:05 +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 A5AA48FC0A for ; Mon, 10 Jan 2011 13:05:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PcHQm-0001JS-Js for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 14:05:04 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 14:05:04 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 14:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 10 Jan 2011 14:00:47 +0100 Lines: 18 Message-ID: References: <87zkr9kufy.fsf@towardsfreedom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <87zkr9kufy.fsf@towardsfreedom.com> X-Enigmail-Version: 1.1.2 Subject: Re: sqlite3 and sqlite34 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, 10 Jan 2011 13:05:06 -0000 On 10/01/2011 09:57, prad wrote: > i'm still on freebsd 7.2 and am wanting to try sqlite. > however, in the ftp-archive.freebsd.org repository i see these two > versions both of which i can install and seem to work: > > sqlite3-3.6.11.tbz (this has a non > sqlite34-3.4.2.tbz > > one site said something about 3 having a non-severe problem while this > page says: > Remove sqlite3-threads and add sqlite34 > http://www.freshports.org/databases/Makefile > > could someone please tell me which one is recommended? > i couldn't find anything through google about their differences. The current version of sqlite3 in ports is 3.7.3, there is generally no reason why you should use an older version. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 08:29:55 2011 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 B4771106564A for ; Mon, 10 Jan 2011 08:29:55 +0000 (UTC) (envelope-from wajdan314@gmail.com) Received: from mail-yw0-f58.google.com (mail-yw0-f58.google.com [209.85.213.58]) by mx1.freebsd.org (Postfix) with ESMTP id 7A22F8FC17 for ; Mon, 10 Jan 2011 08:29:55 +0000 (UTC) Received: by ywt2 with SMTP id 2so20317295ywt.13 for ; Mon, 10 Jan 2011 00:29:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.75.15 with SMTP id x15mr391357aga.42.1294647590555; Mon, 10 Jan 2011 00:19:50 -0800 (PST) Received: by 37g2000prx.googlegroups.com with HTTP; Mon, 10 Jan 2011 00:19:50 -0800 (PST) Date: Mon, 10 Jan 2011 00:19:50 -0800 (PST) In-Reply-To: X-IP: 118.107.128.56 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.16) Gecko/20101130 Firefox/3.5.16,gzip(gfe) Message-ID: From: Usman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 10 Jan 2011 13:07:55 +0000 Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 10 Jan 2011 08:29:55 -0000 Try http://www.ajkservers.co.uk On Dec 29 2010, 6:02=A0pm, n j wrote: > Hello, > > I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any > input coming from a positive personal experience will be most > appreciated. > > So far the most likely candidate seems to behttp://www.nqhost.com/unmeter= ed-xen-vds.html. If anyone ever dealt > with them, please share. > > TIA, > -- > Nino > _______________________________________________ > freebsd-questi...@freebsd.org mailing listhttp://lists.freebsd.org/mailma= n/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 11:43:14 2011 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 88EEF106566C; Mon, 10 Jan 2011 11:43:14 +0000 (UTC) (envelope-from abletony84@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD678FC0C; Mon, 10 Jan 2011 11:43:13 +0000 (UTC) Received: by ywp6 with SMTP id 6so8085572ywp.13 for ; Mon, 10 Jan 2011 03:43:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=CrNa2S6BMvHwEAHlFyjKc2dpUDMq0sgUq+pFhwSPtRc=; b=SdLyHWV1e+X7A5Dhq0kxgepIDemhHOPK2umnRyinG1O9AEfMErWPgu5Y53ZMmXOWdH XNE+SlVEa8jlJ9109VYxT7hIraOTsj/vcAAjqqChPfq61DymnFc/7XtygbkLaBHN23MP qhwGkb0mNCAvCFQW+BGrOd+3OG6sGYlMPjtQc= 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=oG8fG4tNbb5NYQKW7zKpPK4c6Y1fvhfxZ/IVqX+S/MTCuiXqL2LE8ElB/59QsEiS1W knn5zrBibf/D020vGRLJhwBC+/fLN/SFgsZfZOqPRWyX9S8baiW5ZWwEWpGgvwFPnRIs /FFfZ+Sk1eMOEkv2wjeZx0oMWaKDw47WyZblg= MIME-Version: 1.0 Received: by 10.151.98.19 with SMTP id a19mr23664410ybm.28.1294659793099; Mon, 10 Jan 2011 03:43:13 -0800 (PST) Received: by 10.150.192.20 with HTTP; Mon, 10 Jan 2011 03:43:13 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 12:43:13 +0100 Message-ID: From: Tony Maserati To: Giorgos Keramidas X-Mailman-Approved-At: Mon, 10 Jan 2011 13:08:16 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: obrien@cs.ucdavis.edu, questions@freebsd.org, obrien@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 11:43:14 -0000 I hear that - but if I want gvim I'll install gvim. What it's doing here is installing something I didn't ask for, well actually, it's fooling me into giving me something I don't need. Thanks. On Mon, Jan 10, 2011 at 10:06 AM, Giorgos Keramidas < keramida@ceid.upatras.gr> wrote: > On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati > wrote: > > Hi, > > > > I'm just curious - what's the point of including X11 as a dependency > > to vim? And then making a vim-lite port (which you usually discover > > after installing X11). How about making it vim and vim-x11 instead? > > Maybe because gvim is really *much* nicer than plain console-based vim > sessions. > > The vim-lite port exists for those cases when you really want to install > just plain good ol' vim without all the bells and whistles. You can also > install editors/vim with WITHOUT_X11='true' to avoid the pulling of all > this X11 stuff. > > From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 13:30:35 2011 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 4A7F4106566C for ; Mon, 10 Jan 2011 13:30:35 +0000 (UTC) (envelope-from abandon.every.hope@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 023C18FC1C for ; Mon, 10 Jan 2011 13:30:34 +0000 (UTC) Received: by ywp6 with SMTP id 6so8118279ywp.13 for ; Mon, 10 Jan 2011 05:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=UIlEBjK/arBdBFlTppnHOEAu5Q2w4RxR/O//FZpRGSU=; b=wNi4AzNG4IJTh3aXfOJYwrOwfRrBLww1e8HAFU/OygeLMo+WqIxDgiCdF0UAhrqiQA GG/GsLtVB60KFHjY5DKNLMrkq1zKXO0fjYZ/5IKL/GVzXH9N1U2vwBdlfXBEUVh85sK4 S658wvJ9gc+xaPt8gMndylmUr6Te+9cKwu8TM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=FAvHlopCyPJc9rG0zMEScxIiN3vfcsduI7ltd4LBioowTVlX0NAF8SGjDzodBdnJNs epLK3qyx+MYcgtg70l/hysjVO+/THAsxaWLCQ+6Dw/3cX5R0PJU3t1EbjeGYwF9Vzac+ rfRoTnsN8dac7iYO0/IFXdxTZE7pU4A8DXWYs= Received: by 10.90.32.16 with SMTP id f16mr6058838agf.202.1294664562685; Mon, 10 Jan 2011 05:02:42 -0800 (PST) Received: from [10.100.91.28] ([206.74.148.2]) by mx.google.com with ESMTPS id 2sm37552655anw.18.2011.01.10.05.02.41 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 05:02:41 -0800 (PST) Message-ID: <4D2B036B.40503@gmail.com> Date: Mon, 10 Jan 2011 08:02:35 -0500 From: Ed Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 13:30:35 -0000 This seems bizarre. Logically, it would seem better to do a split like vim (bare vim - what you would expect) and xvim (vim with X11) similar to how emacs does emacs/xemacs. On 1/10/2011 4:06 AM, Giorgos Keramidas wrote: > On Sun, 9 Jan 2011 22:19:02 +0100, Tony Maserati wrote: >> Hi, >> >> I'm just curious - what's the point of including X11 as a dependency >> to vim? And then making a vim-lite port (which you usually discover >> after installing X11). How about making it vim and vim-x11 instead? > Maybe because gvim is really *much* nicer than plain console-based vim > sessions. > > The vim-lite port exists for those cases when you really want to install > just plain good ol' vim without all the bells and whistles. You can also > install editors/vim with WITHOUT_X11='true' to avoid the pulling of all > this X11 stuff. > > _______________________________________________ > 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 Jan 10 13:48:37 2011 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 99D421065670 for ; Mon, 10 Jan 2011 13:48:37 +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 9B84D8FC18 for ; Mon, 10 Jan 2011 13:48:36 +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=A5nHJi7a/PcOzKre3ngaYB7f9iQsGbAe3kuYYaN8OzVTqKhKIlSHCBa1TCiMGoRhy10bLA6gzuUbMfUIQ5eNfFpy/tUaKT6azFYj9YWkgSlmIM9oX/nYHxHXsOgUtIZW; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:52123) by b.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69-patched (FreeBSD)) (envelope-from ) id 1PcI6n-000BJW-7q for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 15:48:29 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Mon, 10 Jan 2011 15:48:28 +0200 User-Agent: KMail/1.9.10 References: <4D2B036B.40503@gmail.com> In-Reply-To: <4D2B036B.40503@gmail.com> 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: 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: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 13:48:37 -0000 On Monday 10 January 2011 15:02:35 Ed Smith wrote: > This seems bizarre. Logically, it would seem better to do a split like > vim (bare vim - what you would expect) and xvim (vim with X11) similar > to how emacs does emacs/xemacs. Er, no. xemacs is a fork of emacs. emacs has X-related dependencies unless you make it WITHOUT_X11. Jonathan From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 14:14:16 2011 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 AAD42106564A for ; Mon, 10 Jan 2011 14:14:16 +0000 (UTC) (envelope-from jpg@daemon.gnix.co.uk) Received: from daemon.gnix.co.uk (griffin.gnix.co.uk [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF088FC0A for ; Mon, 10 Jan 2011 14:14:15 +0000 (UTC) Received: from daemon.gnix.co.uk (localhost [127.0.0.1]) by daemon.gnix.co.uk (8.14.4/8.14.4) with ESMTP id p0AEJZJN005523 for ; Mon, 10 Jan 2011 14:19:35 GMT (envelope-from jpg@daemon.gnix.co.uk) Received: (from jpg@localhost) by daemon.gnix.co.uk (8.14.4/8.14.4/Submit) id p0AEJZ32005522 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 14:19:35 GMT (envelope-from jpg) Date: Mon, 10 Jan 2011 14:19:35 +0000 From: Jamie Paul Griffin To: freebsd-questions@freebsd.org Message-ID: <20110110141934.GA5447@daemon.gnix.co.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://gnix.co.uk/jpg-pubkey.asc X-Operating-System: FreeBSD 8.1-RELEASE-p2 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 14:14:16 -0000 > I hear that - but if I want gvim I'll install gvim. What it's doing here is > installing something I didn't ask for, well actually, it's fooling me into > giving me something I don't need. or you could just use the original vi that comes with the base system if you just want a console editor. It's better than vim if you ask me anyway. jamie From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 14:14:50 2011 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 02B89106564A for ; Mon, 10 Jan 2011 14:14:50 +0000 (UTC) (envelope-from firas@fkraiem.org) Received: from itsuki.fkraiem.org (itsuki.fkraiem.org [88.191.117.61]) by mx1.freebsd.org (Postfix) with ESMTP id BD7C18FC1A for ; Mon, 10 Jan 2011 14:14:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by itsuki.fkraiem.org (Postfix) with ESMTP id 24AA11F3E2 for ; Mon, 10 Jan 2011 13:55:37 +0000 (UTC) Message-ID: <4D2B0FD9.6080600@fkraiem.org> Date: Mon, 10 Jan 2011 14:55:37 +0100 From: Firas Kraiem User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D2B036B.40503@gmail.com> In-Reply-To: <4D2B036B.40503@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 14:14:50 -0000 On 10/01/11 14:02, Ed Smith wrote: > This seems bizarre. Logically, it would seem better to do a split like > vim (bare vim - what you would expect) and xvim (vim with X11) similar > to how emacs does emacs/xemacs. Totally different thing. The emacs port install GNU Emacs; the xemacs port installs XEmacs. They are completely separate projects. Vim, on the other hand, is one project, and the GUI is part of it. There is no such thing as "xvim". (Also I believe the emacs port installs GNU Emacs *with a GUI*, the no-GUI version is at emacs-nox11). Firas > > On 1/10/2011 4:06 AM, Giorgos Keramidas wrote: >> On Sun, 9 Jan 2011 22:19:02 +0100, Tony >> Maserati wrote: >>> Hi, >>> >>> I'm just curious - what's the point of including X11 as a dependency >>> to vim? And then making a vim-lite port (which you usually discover >>> after installing X11). How about making it vim and vim-x11 instead? >> Maybe because gvim is really *much* nicer than plain console-based vim >> sessions. >> >> The vim-lite port exists for those cases when you really want to install >> just plain good ol' vim without all the bells and whistles. You can also >> install editors/vim with WITHOUT_X11='true' to avoid the pulling of all >> this X11 stuff. >> >> _______________________________________________ >> 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" > > _______________________________________________ > 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 Jan 10 14:31:34 2011 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 2E98D106566B for ; Mon, 10 Jan 2011 14:31:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B057B8FC15 for ; Mon, 10 Jan 2011 14:31:33 +0000 (UTC) Received: by wwf26 with SMTP id 26so19378267wwf.31 for ; Mon, 10 Jan 2011 06:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=Dlu76ax61YYD41V/0IHlfmubjyVudUka79D0BI1hZ7k=; b=OglDKIhESyF4Rj9+u+R2x23yAs1y+z3L6rWe8IsWRmHNWj4S8UsPYurnkO2qen4T/L m5kPWwvjr/34WFNmKe2mboyZjtk05ieBoB6WqUH8/uDafsv+nK1Y8ag6PpzJpkePwEmj cPxEjsQFXSa8TYW+vljy9+4GARV3t0MpzmIss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=QjmgbIyzGRn9czHyT+z4FCd/qAX/RQipKy1YRDYqA5hgfVidQbpr0n4FiRBYokL3wf C8MXqpC8kJkrljtpvcwMDVDi8Q44PdfpA1eItUJ1fcFCJjq0w9ge/XGCphNgL3Poi3cz TZYYThLxyqYCZimLE8Qym/27yZGinDIy9XtC4= Received: by 10.227.172.7 with SMTP id j7mr2643744wbz.199.1294669892305; Mon, 10 Jan 2011 06:31:32 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id t5sm14111482wes.33.2011.01.10.06.31.29 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 06:31:30 -0800 (PST) Date: Mon, 10 Jan 2011 14:31:27 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110110143127.099477c9@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 14:31:34 -0000 On Mon, 10 Jan 2011 12:43:13 +0100 Tony Maserati wrote: > I hear that - but if I want gvim I'll install gvim. What it's doing > here is installing something I didn't ask for, well actually, it's > fooling me into giving me something I don't need. It's not as if gvim is something separate. gvim is just a symlink to vim that gets installed when vim is built with GUI support. It seems a sensible arrangement; desktops already have Xorg, servers that have no need of it should have WITHOUT_X11 set globally. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 14:36:16 2011 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 5BE2D106564A for ; Mon, 10 Jan 2011 14:36:16 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id DC1C88FC0C for ; Mon, 10 Jan 2011 14:36:15 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p0AEaDrm041701; Mon, 10 Jan 2011 14:36:14 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D2B195D.8060206@qeng-ho.org> Date: Mon, 10 Jan 2011 14:36:13 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101218 Thunderbird/3.0.11 MIME-Version: 1.0 To: n j References: <7f2db1f0-1b37-45cd-98f8-148ed425785a@o14g2000prn.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 10 Jan 2011 14:36:16 -0000 On 01/10/11 08:56, n j wrote: > On Mon, Jan 10, 2011 at 9:21 AM, Usman wrote: >> http://www.ajkservers.co.uk >> They support FreeBSD :) > > FreeBSD is indeed listed as supported OS, but for every hosting plan, > the virtualization is stated as "OpenVZ". To my understanding, you > can't run FreeBSD on OpenVZ. In case anyone else is thinking about using ajkservers, they definitely do *not* support FBSD. Their VPS plan page lists 5 Linux distros only. Usman would appear to be a troll. -- "Although the wombat is real and the dragon is not, few know what a wombat looks like, but everyone knows what a dragon looks like." -- Avram Davidson, _Adventures in Unhistory_ From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 14:41:48 2011 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 6152A1065698 for ; Mon, 10 Jan 2011 14:41:48 +0000 (UTC) (envelope-from O.Seibert@cs.ru.nl) Received: from rustug.science.ru.nl (rustug.science.ru.nl [131.174.16.158]) by mx1.freebsd.org (Postfix) with ESMTP id D8A8D8FC14 for ; Mon, 10 Jan 2011 14:41:47 +0000 (UTC) Received: from kookpunt.science.ru.nl (kookpunt.science.ru.nl [131.174.30.61]) by rustug.science.ru.nl (8.13.7/5.31) with ESMTP id p0AEMAH9011395 for ; Mon, 10 Jan 2011 15:22:10 +0100 (MET) Received: from twoquid.cs.ru.nl (twoquid.cs.ru.nl [131.174.142.38]) by kookpunt.science.ru.nl (8.13.7/5.31) with ESMTP id p0AEM4mv012801; Mon, 10 Jan 2011 15:22:04 +0100 (MET) Received: by twoquid.cs.ru.nl (Postfix, from userid 4100) id 31BA92E061; Mon, 10 Jan 2011 15:22:04 +0100 (CET) Date: Mon, 10 Jan 2011 15:22:04 +0100 From: Olaf Seibert To: freebsd-questions@freebsd.org Message-ID: <20110110142204.GF24111@twoquid.cs.ru.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Spam-Score: -1.799 () ALL_TRUSTED,BAYES_50 X-Scanned-By: MIMEDefang 2.63 on 131.174.30.61 Subject: Installing port x11-toolkits/gtk20 fails mysteriously 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, 10 Jan 2011 14:41:48 -0000 I just updated my ports tree (portsnap fetch; portstap update) a few hours ago, in order to update webkit. I'm using portmaster to do that. One of the things it wants to update is gtk-2.20.1_2 to gtk-2.22.1_1. It builds ok, but then when installing, it ends like this: test -z "/usr/local/lib" || /usr/local/bin/gmkdir -p "/usr/local/lib" /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --mode=install /usr/ bin/install -c -o root -g wheel libgtk-x11-2.0.la '/usr/local/lib' gnome-libtool: install: warning: relinking `libgtk-x11-2.0.la' gnome-libtool: install: (cd /usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk; /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --tag CC --mode=relink cc -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe -fno-strict-aliasing -Wall -versio n-info 2200:1:2200 -export-dynamic -export-symbols-regex "^[^_].*" -rpath /usr/local/lib -L/usr/local/lib -o libgtk-x11-2.0.la gtkquery.lo gtksearchengine.lo gtksearchenginesimple.lo fnmatch.lo gtkaboutdialog.lo gtkaccelgroup.lo gtkaccellabel.lo gtkaccelmap.lo gtkaccessible.lo gtkaction.lo gtkactiongroup.lo gtkactivatable.lo ... ../gdk/libgdk-x11-2.0.la -pthread -L/usr/local/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpng -lz -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 ) grep: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory sed: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory gnome-libtool: relink: `/usr/local/lib/libgdk_pixbuf-2.0.la' is not a valid libtool archive gnome-libtool: install: error: relink `libgtk-x11-2.0.la' with the above command before installing it gmake[4]: *** [install-libLTLIBRARIES] Error 1 gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk' gmake[3]: *** [install-am] Error 2 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk' gmake[2]: *** [install-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk' gmake: *** [install-recursive] Error 1 *** Error code 2 Stop in /usr/ports/x11-toolkits/gtk20. *** Error code 1 Stop in /usr/ports/x11-toolkits/gtk20. ===>>> A backup package for gtk-2.20.1_2 should be located in /usr/ports/packages/portmaster-backup ===>>> Installation of gtk-2.22.1_1 (x11-toolkits/gtk20) failed ===>>> Aborting update Indeed, the file /usr/local/lib/libgdk_pixbuf-2.0.la does not exist. Any ideas? I read this list via the Gmane list->news->web gateway. -Olaf. -- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 15:10:54 2011 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 12B26106566B for ; Mon, 10 Jan 2011 15:10:54 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 81BF28FC12 for ; Mon, 10 Jan 2011 15:10:53 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0AFAcoQ018131 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0AFAcoQ018131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Jan 2011 17:10:44 +0200 From: Giorgos Keramidas To: Ed Smith References: <4D2B036B.40503@gmail.com> Date: Mon, 10 Jan 2011 16:10:38 +0100 In-Reply-To: <4D2B036B.40503@gmail.com> (Ed Smith's message of "Mon, 10 Jan 2011 08:02:35 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 15:10:54 -0000 On Mon, 10 Jan 2011 08:02:35 -0500, Ed Smith wrote: > This seems bizarre. Logically, it would seem better to do a split like > vim (bare vim - what you would expect) and xvim (vim with X11) similar > to how emacs does emacs/xemacs. XEmacs[1] is not 'Emacs with X11 support', but a very different editor. The main GNU Emacs port (editors/emacs) does include support for X11, and it's actually a lot more pleasant to use under X window. [1] http://xemacs.org/ Its name is certainly slightly confusing now that people have gotten accustomed to all the 'foo' vs. 'xfoo' ports, but the XEmacs editor has been around for a *long* time, so let's not confuse it for something very different from what it is :) From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 15:51:32 2011 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 B4FAF106564A for ; Mon, 10 Jan 2011 15:51:32 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7B9DC8FC16 for ; Mon, 10 Jan 2011 15:51:32 +0000 (UTC) Received: from 97-113-166-177.tukw.qwest.net ([97.113.166.177] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PcK1l-0003WJ-P8 for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 07:51:27 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 10 Jan 2011 07:51:25 -0800 Date: Mon, 10 Jan 2011 07:51:25 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110110155125.GA30668@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20110110142204.GF24111@twoquid.cs.ru.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20110110142204.GF24111@twoquid.cs.ru.nl> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Installing port x11-toolkits/gtk20 fails mysteriously 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, 10 Jan 2011 15:51:32 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Olaf Seibert on Monday, 10 January 2011: > I just updated my ports tree (portsnap fetch; portstap update) a few > hours ago, in order to update webkit. I'm using portmaster to do that. >=20 > One of the things it wants to update is gtk-2.20.1_2 to gtk-2.22.1_1. > It builds ok, but then when installing, it ends like this: >=20 > test -z "/usr/local/lib" || /usr/local/bin/gmkdir -p "/usr/local/lib" > /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --mode=3Dinst= all /usr/ > bin/install -c -o root -g wheel libgtk-x11-2.0.la '/usr/local/lib' > gnome-libtool: install: warning: relinking `libgtk-x11-2.0.la' > gnome-libtool: install: (cd /usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.= 1/gtk;=20 > /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --tag CC --mode= =3Drelink cc -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe -fno-strict-aliasing= -Wall -versio > n-info 2200:1:2200 -export-dynamic -export-symbols-regex "^[^_].*" -rpath= /usr/local/lib -L/usr/local/lib -o libgtk-x11-2.0.la gtkquery.lo gtksearch= engine.lo gtksearchenginesimple.lo fnmatch.lo gtkaboutdialog.lo gtkaccelgro= up.lo gtkaccellabel.lo gtkaccelmap.lo gtkaccessible.lo gtkaction.lo gtkacti= ongroup.lo gtkactivatable.lo ... ../gdk/libgdk-x11-2.0.la -pthread -L/usr/l= ocal/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -= lcairo -lgdk_pixbuf-2.0 -lpng -lz -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm = -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.= 0 )=20 > grep: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory > sed: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory > gnome-libtool: relink: `/usr/local/lib/libgdk_pixbuf-2.0.la' is not a val= id libtool archive=20 > gnome-libtool: install: error: relink `libgtk-x11-2.0.la' with the above = command before installing it > gmake[4]: *** [install-libLTLIBRARIES] Error 1 > gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22= .1/gtk' > gmake[3]: *** [install-am] Error 2 > gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22= .1/gtk' > gmake[2]: *** [install-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22= .1/gtk' > gmake[1]: *** [install] Error 2 > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.22= .1/gtk' > gmake: *** [install-recursive] Error 1 > *** Error code 2 >=20 > Stop in /usr/ports/x11-toolkits/gtk20. > *** Error code 1 >=20 > Stop in /usr/ports/x11-toolkits/gtk20. >=20 > =3D=3D=3D>>> A backup package for gtk-2.20.1_2 should > be located in /usr/ports/packages/portmaster-backup >=20 > =3D=3D=3D>>> Installation of gtk-2.22.1_1 (x11-toolkits/gtk20) failed > =3D=3D=3D>>> Aborting update >=20 >=20 > Indeed, the file /usr/local/lib/libgdk_pixbuf-2.0.la does not exist. >=20 > Any ideas? >=20 > I read this list via the Gmane list->news->web gateway. > -Olaf. > --=20 =46rom /usr/ports/UPDATING: 20101120: AFFECTS: users of x11-toolkits/gtk20 and x11-toolkits/gtkmm24 AUTHOR: FreeBSD GNOME Team In the GNOME 2.32 release. gdk-pixbuf2 has been split off from gtk20, and atkmm has been split off from gtkmm24. To upgrade please use the following instructions: Portmaster users: # pkg_delete -f gtkmm-2.20\* gtk-2.20\* # portmaster -a Portupgrade users: # pkgdb -fF # pkg_deinstall -fO gtkmm-2.20\* gtk-2.20\* # portupgrade -aOW --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNKyr9AAoJEIpckszW26+RzpcH/3oVc90T+yezRhEMhk78vqZe JfNwJE/6f0mg4P73mjCYGPq0hTk1UquufcOCFBtv0bmhbp1Cmo7tlLmSEn+cY66D JUvNv+HRozoFjSiSVSKRKzy5wvQyWH6ybD2CkRmCEbf7NvQ0Od7kBE0cDsjkdq14 HfAZs/8SmGvBU7igJ4hR5aFeIoejSID5GbBLQeQ3c8mxf0uychvM86EHFtKD69Le Thetazsk1ckmE7URu6i5XdGoOUOWnnb0f214jFtAilI4SSIhzWwUDjVv532oGMeu jYmUcO8SmsayYXVXomqGq/3XbKRPMWrLlgYLMfgUQ6s36qliYUxfCZcmdmlXnnY= =DgXX -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:01:02 2011 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 152CC106566B; Mon, 10 Jan 2011 16:01:02 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 588B18FC1B; Mon, 10 Jan 2011 16:01:00 +0000 (UTC) Received: by eyf6 with SMTP id 6so8804670eyf.13 for ; Mon, 10 Jan 2011 08:01:00 -0800 (PST) Received: by 10.213.31.209 with SMTP id z17mr21114300ebc.12.1294675259837; Mon, 10 Jan 2011 08:00:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Mon, 10 Jan 2011 08:00:39 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Mon, 10 Jan 2011 11:00:39 -0500 Message-ID: To: Giorgos Keramidas Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: obrien@cs.ucdavis.edu, Tony Maserati , questions@freebsd.org, obrien@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 16:01:02 -0000 On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas wrote: > I'm sorry that you had to install software that you don't really need > and I can help you clean up by saving your installed ports as 'binary > packages' and re-installing just the bits that you _really_ want to have > around. Other than that, I don't know if there's any way to change the > status quo of the vim ports to be able to satisfy automatically both > types of user needs. > > My not a 'make config' target that asks weather we want vim/gvim/xvim (if X isn't installed?) C- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:19:16 2011 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 AE912106564A for ; Mon, 10 Jan 2011 16:19:16 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 730FE8FC22 for ; Mon, 10 Jan 2011 16:19:16 +0000 (UTC) Received: from 97-113-166-177.tukw.qwest.net ([97.113.166.177] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PcKSd-00039u-28 for questions@freebsd.org; Mon, 10 Jan 2011 08:19:12 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 10 Jan 2011 08:19:11 -0800 Date: Mon, 10 Jan 2011 08:19:11 -0800 From: Chip Camden To: questions@freebsd.org Message-ID: <20110110161911.GC30668@libertas.local.camdensoftware.com> Mail-Followup-To: questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RIYY1s2vRbPFwWeW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 16:19:16 -0000 --RIYY1s2vRbPFwWeW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Chris Brennan on Monday, 10 January 2011: > On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas = wrote: >=20 > > I'm sorry that you had to install software that you don't really need > > and I can help you clean up by saving your installed ports as 'binary > > packages' and re-installing just the bits that you _really_ want to have > > around. Other than that, I don't know if there's any way to change the > > status quo of the vim ports to be able to satisfy automatically both > > types of user needs. > > > > > My not a 'make config' target that asks weather we want vim/gvim/xvim (if= X > isn't installed?) >=20 > C- > _______________________________________________ > 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" Yes! +1 And while you're at it, add the options for Ruby/Perl/Python support, instead of having to add WITH_RUBY=3Dyes, etc. to make.conf. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --RIYY1s2vRbPFwWeW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNKzF/AAoJEIpckszW26+ROokIAID6WzMdH5nXaHHBKVUZ2oQq AqvrB87MxfKt4FEVGVM/Uvxb4wD+pvTLgPZfk9qH04itHU1CMX8m1LL/FxA+DncN muLBUdl0kQDCJ1BbRkMpqrwCCHYHEI33lKjPB4TPn02H7rXO3otE9P5DtHfJ36EJ cE1K/KmBPLKhkJFxfK1aiu9/AlDCbO7FhTFl/XbL0KAVT/ze111oxMJE3YmQwD1+ ycBOfC6Qs2Uot7udzy0qfg1ZCuiwbgtsZrDtr5Ifz3cTPno0yL2NZ4p/bZuYsEvd KtUkEdvk44kj2sTMoSWph01TxId3xlVFGTjGYsHh/WCHfr9+rWmTRxhLIzQCG54= =4Pq7 -----END PGP SIGNATURE----- --RIYY1s2vRbPFwWeW-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:42:10 2011 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 6AC46106566B for ; Mon, 10 Jan 2011 16:42:10 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id E95C28FC19 for ; Mon, 10 Jan 2011 16:42:09 +0000 (UTC) Received: by ewy24 with SMTP id 24so9123653ewy.13 for ; Mon, 10 Jan 2011 08:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=8xfWjFsyFqLfH/N8G8QH4pTt5wgH95qIuzbFmCL1ge4=; b=XHiaVHLgtim09N8ODbma6K5gwjIGtWEAbRI1y5orl6ndlS3cR2t3YzY4OLUDXIeF8j /ILPLIzburruSB+uXHRDCeJIsXjafX+VpnxKLRroRR5LM3/LMzBV6crBclgjblsASyTE tTmeXv4AJ38Ot14Sh1TIyYohPh7H0Hw8/1mdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=PL+1v2uzmeVUkInT0SF3eqdziKsdClJrh1QEf1NCYbVjEEyk+lR9QKxiq1xmz8djZU 4COBkRotN57Z1Kv44vMX8sH54W7xHYElYr34RtsnYm/oBAJMBSrpyH9E/kOvXYqyykFG meJBiPohnVH02cfS71B1xDwNfKsAFemC9D7P0= Received: by 10.216.89.204 with SMTP id c54mr1880512wef.109.1294677728729; Mon, 10 Jan 2011 08:42:08 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n18sm14182452wee.16.2011.01.10.08.42.06 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 08:42:07 -0800 (PST) Date: Mon, 10 Jan 2011 16:42:04 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110110164204.4895fff0@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 16:42:10 -0000 On Mon, 10 Jan 2011 11:00:39 -0500 Chris Brennan wrote: > On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas > wrote: > > > I'm sorry that you had to install software that you don't really > > need and I can help you clean up by saving your installed ports as > > 'binary packages' and re-installing just the bits that you _really_ > > want to have around. Other than that, I don't know if there's any > > way to change the status quo of the vim ports to be able to satisfy > > automatically both types of user needs. > > > > > My not a 'make config' target that asks weather we want vim/gvim/xvim > (if X isn't installed?) There's already a slave port From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:46:14 2011 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 5D6001065673 for ; Mon, 10 Jan 2011 16:46:14 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 311AB8FC1E for ; Mon, 10 Jan 2011 16:46:13 +0000 (UTC) Received: from 97-113-166-177.tukw.qwest.net ([97.113.166.177] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PcK6t-0005C4-69 for questions@freebsd.org; Mon, 10 Jan 2011 07:56:44 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 10 Jan 2011 07:56:43 -0800 Date: Mon, 10 Jan 2011 07:56:43 -0800 From: Chip Camden To: questions@freebsd.org Message-ID: <20110110155643.GB30668@libertas.local.camdensoftware.com> Mail-Followup-To: questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 16:46:14 -0000 --5I6of5zJg18YgZEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Giorgos Keramidas on Monday, 10 January 2011: >=20 > Maybe because gvim is really *much* nicer than plain console-based vim > sessions. >=20 How can that be the case, when gvim is an X11 program? I've used both -- give me good old console-based vim any day. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --5I6of5zJg18YgZEa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNKyw7AAoJEIpckszW26+R6eMIAKLSBbiAwNQGWnR9JpO8OsJj 1aIEdmkn9xt149K8X3GcKux0qJyTHblDtIoYGQ1VByh3RlqArovgcGsfr1KvyLRt E/QCwuLWCucHoB0Cx7u3KQOzLgQg/Eg03RWyQD8XmHbyb16mQoMcaO4HwtwyzD/p fp0x5/bJ9XTFdqHHXrB5/nrUxX5qHxJAng2eTVdxHDc11sw1419t4nQrU/oc37O/ A5pwCfiWzdcr3EplWTuJi4pLjOu8QeDQkTdcIMAX9smll91aLXgpcY/fzBz7uJPD aLQqSuVQrENGsi7s0hrRAEfw8dfCUvizZxjLwq1qMomrqusQEZAXC9orIUq92Yo= =ePn4 -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 17:03:45 2011 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 AB849106566B for ; Mon, 10 Jan 2011 17:03:45 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 378848FC1B for ; Mon, 10 Jan 2011 17:03:44 +0000 (UTC) Received: by wwi17 with SMTP id 17so1793907wwi.1 for ; Mon, 10 Jan 2011 09:03:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=yFSMkJkYaG4dgSe0WCnudR+gbRpj5yv47fw3F5Tl1L0=; b=qDxilU1zdWUUBFC9fuLFD+rBpGatLCSLI+sSgaEGOv4PbmN+QJ9nJo6d8ZzrX1CEPp MqZa5PCDtXfQhCgFRJToBWrYRAP4JbMhWKoni8cS3k7ytwQUBsEln1nzP5Pi8Kp9QaP6 5ZHia8EoWwSZxmEUUTKjKw9U4a9Ui7vcQu/5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=rDq0ELigjbTHoMhtG+BMoJ3q4ecxqAeIeSU/OPZM3e0/bvRQemvqSSomJwz6ugj0VA MuuFgJg61jnRcFhQtCsMn5t8oLA2mo49ZZdabnDi128btqe2BuZgYkwIPzfWwpjTmjNA L7gFsvcOk1YOZA8Zc/1EOclD8QFFu3Va1xZ34= Received: by 10.227.69.195 with SMTP id a3mr2956201wbj.138.1294678932406; Mon, 10 Jan 2011 09:02:12 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id f35sm20213502wbf.2.2011.01.10.09.02.07 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 09:02:10 -0800 (PST) Message-ID: <4D2B3B82.3060402@gmail.com> Date: Mon, 10 Jan 2011 18:01:54 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101212 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 17:03:45 -0000 On 09/01/2011 22:19, Tony Maserati wrote: > Hi, > > I'm just curious - what's the point of including X11 as a dependency to vim? > And then making a vim-lite port (which you usually discover after installing > X11). How about making it vim and vim-x11 instead? > > Thanks. > _______________________________________________ > 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" You must wait that the vim maintainer want to switch to the OPTIONS framework. Actually he does not want to do it. He prefers to be alone to use the old KNOB system just to do `not like all other people`. So because you can't make a convenient `make config` you need to read the makefile or installing ports-mgmt/lsknobs, run lsknobs in the current port path and then set every knob you want in /etc/make.conf But be careful ! Because make.conf is used by every port you should use ports-mgmt/portconf to write only vim knob in /usr/local/etc/ports.conf like : editors/vim: WITHOUT_X11. Isn't that convenient? :-) -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:56:09 2011 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 405E3106564A for ; Mon, 10 Jan 2011 16:56:09 +0000 (UTC) (envelope-from markand@live.fr) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 06A018FC1E for ; Mon, 10 Jan 2011 16:56:08 +0000 (UTC) Received: from BLU0-SMTP153 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 10 Jan 2011 08:56:08 -0800 X-Originating-IP: [84.102.21.65] X-Originating-Email: [markand@live.fr] Message-ID: Received: from Melon.malikania.fr ([84.102.21.65]) by BLU0-SMTP153.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 10 Jan 2011 08:56:06 -0800 Date: Mon, 10 Jan 2011 17:55:53 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101212 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jan 2011 16:56:07.0099 (UTC) FILETIME=[462588B0:01CBB0E7] X-Mailman-Approved-At: Mon, 10 Jan 2011 17:08:20 +0000 Subject: gpart bootcode manually 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, 10 Jan 2011 16:56:09 -0000 Hello, Because I wanted to crypt a /home partition, I tried to make my partition and slice using gpart in the fixit environment. There is the partition I've made : Fixit # gpart show ad0 => 63 625142385 ad0 MBR (298G) 63 625142385 1 freebsd [active] (298G) Fixit # gpart show ad0s1 => 0 625142385 ad0s1 BSD (298G) 0 63 - free - (32K) 63 1048576 1 freebsd-ufs (512M) 1048639 4194304 2 freebsd-swap (2.0G) 5242943 524288 4 freebsd-ufs (256M) 5767231 524288 5 freebsd-ufs (256M) 6291519 20971520 6 freebsd-ufs (10G) 27263039 597879346 7 freebsd-ufs (285G) To install the boot1, I tried this : gpart bootcode -b /mnt2/boot/boot1 ad2s1 gpart bootcode -b /mnt2/boot/boot1 ad2 But nothing happens, there is not the / spinning, just a blinking underscore. What did I wrong ? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 17:18:33 2011 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 CC78E106566B for ; Mon, 10 Jan 2011 17:18:33 +0000 (UTC) (envelope-from O.Seibert@cs.ru.nl) Received: from kookpunt.science.ru.nl (kookpunt.science.ru.nl [131.174.30.61]) by mx1.freebsd.org (Postfix) with ESMTP id 6DDE18FC1A for ; Mon, 10 Jan 2011 17:18:33 +0000 (UTC) Received: from twoquid.cs.ru.nl (twoquid.cs.ru.nl [131.174.142.38]) by kookpunt.science.ru.nl (8.13.7/5.31) with ESMTP id p0AHITHV016137; Mon, 10 Jan 2011 18:18:29 +0100 (MET) Received: by twoquid.cs.ru.nl (Postfix, from userid 4100) id B8CE42E061; Mon, 10 Jan 2011 18:18:29 +0100 (CET) Date: Mon, 10 Jan 2011 18:18:29 +0100 From: Olaf Seibert To: freebsd-questions@freebsd.org Message-ID: <20110110171829.GG24111@twoquid.cs.ru.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Spam-Score: 0.213 () ALL_TRUSTED,BAYES_50,FAKE_REPLY_C X-Scanned-By: MIMEDefang 2.63 on 131.174.30.61 Subject: Re: Installing port x11-toolkits/gtk20 fails mysteriously 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, 10 Jan 2011 17:18:33 -0000 Chip Camden camdensoftware.com> wrote: > Portmaster users: > > # pkg_delete -f gtkmm-2.20\* gtk-2.20\* > # portmaster -a I tried that, but this was the result: # pkg_delete -f gtkmm-2.20\* gtk-2.20\* pkg_delete: no such package 'gtkmm-2.20*' installed pkg_delete: no such package 'gtk-2.20*' installed I also don't (seem to) have 'atkmm-*' or 'gtkmm*'. Fortunately all this is in a chroot so it doesn't affect my installed system. I do have a /usr/ports/packages/All/gdk-pixbuf-2.22.1.tbz file and "pkg_info *gdk*" thinks it is installed. # pkg_info *gdk* Information for gdk-pixbuf-2.22.1: Comment: A graphic library for GTK+ Description: The GdkPixBuf library provides a number of features: - Image loading facilities. - Rendering of a GdkPixBuf into various formats: drawables (windows, pixmaps), GdkRGB buffers. - A cache interface WWW: http://developer.gnome.org/arch/imaging/gdkpixbuf.html Looking inside that tar file shows the desired file. pkg_add wanted -f to install it, since it claimed that pkg_add: package 'gdk-pixbuf-2.22.1' or its older version already installed Weid. But at least it works now. So thanks! (sorry for not threading properly, but gmane doesn't seem to tell me the msgid). -Olaf. -- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 17:27:12 2011 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 4B6EF106566C for ; Mon, 10 Jan 2011 17:27:12 +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 0C2178FC13 for ; Mon, 10 Jan 2011 17:27:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p0AHR480079818; Mon, 10 Jan 2011 10:27:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p0AHR4Ng079815; Mon, 10 Jan 2011 10:27:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 10 Jan 2011 10:27:04 -0700 (MST) From: Warren Block To: Olaf Seibert In-Reply-To: <20110110142204.GF24111@twoquid.cs.ru.nl> Message-ID: References: <20110110142204.GF24111@twoquid.cs.ru.nl> 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.6 (wonkity.com [127.0.0.1]); Mon, 10 Jan 2011 10:27:04 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Installing port x11-toolkits/gtk20 fails mysteriously 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, 10 Jan 2011 17:27:12 -0000 On Mon, 10 Jan 2011, Olaf Seibert wrote: > I just updated my ports tree (portsnap fetch; portstap update) a few > hours ago, in order to update webkit. I'm using portmaster to do that. > > One of the things it wants to update is gtk-2.20.1_2 to gtk-2.22.1_1. > It builds ok, but then when installing, it ends like this: > > test -z "/usr/local/lib" || /usr/local/bin/gmkdir -p "/usr/local/lib" > /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --mode=install /usr/ > bin/install -c -o root -g wheel libgtk-x11-2.0.la '/usr/local/lib' > gnome-libtool: install: warning: relinking `libgtk-x11-2.0.la' > gnome-libtool: install: (cd /usr/ports/x11-toolkits/gtk20/work/gtk+-2.22.1/gtk; > /bin/sh /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --tag CC --mode=relink cc -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pipe -fno-strict-aliasing -Wall -versio > n-info 2200:1:2200 -export-dynamic -export-symbols-regex "^[^_].*" -rpath /usr/local/lib -L/usr/local/lib -o libgtk-x11-2.0.la gtkquery.lo gtksearchengine.lo gtksearchenginesimple.lo fnmatch.lo gtkaboutdialog.lo gtkaccelgroup.lo gtkaccellabel.lo gtkaccelmap.lo gtkaccessible.lo gtkaction.lo gtkactiongroup.lo gtkactivatable.lo ... ../gdk/libgdk-x11-2.0.la -pthread -L/usr/local/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpng -lz -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 ) > grep: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory > sed: /usr/local/lib/libgdk_pixbuf-2.0.la: No such file or directory > gnome-libtool: relink: `/usr/local/lib/libgdk_pixbuf-2.0.la' is not a valid libtool archive This makes me think /usr/ports/UPDATING, entry 20101208. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 17:31:04 2011 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 E40191065672 for ; Mon, 10 Jan 2011 17:31:04 +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 A568C8FC20 for ; Mon, 10 Jan 2011 17:31:04 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p0AHV30U079838; Mon, 10 Jan 2011 10:31:03 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p0AHV3cn079835; Mon, 10 Jan 2011 10:31:03 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 10 Jan 2011 10:31:03 -0700 (MST) From: Warren Block To: David Demelier 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; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Mon, 10 Jan 2011 10:31:03 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: gpart bootcode manually 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, 10 Jan 2011 17:31:05 -0000 On Mon, 10 Jan 2011, David Demelier wrote: > Because I wanted to crypt a /home partition, I tried to make my partition and > slice using gpart in the fixit environment. > > There is the partition I've made : > > Fixit # gpart show ad0 > => 63 625142385 ad0 MBR (298G) > 63 625142385 1 freebsd [active] (298G) > > Fixit # gpart show ad0s1 > => 0 625142385 ad0s1 BSD (298G) > 0 63 - free - (32K) > 63 1048576 1 freebsd-ufs (512M) > 1048639 4194304 2 freebsd-swap (2.0G) > 5242943 524288 4 freebsd-ufs (256M) > 5767231 524288 5 freebsd-ufs (256M) > 6291519 20971520 6 freebsd-ufs (10G) > 27263039 597879346 7 freebsd-ufs (285G) > > To install the boot1, I tried this : > > gpart bootcode -b /mnt2/boot/boot1 ad2s1 > gpart bootcode -b /mnt2/boot/boot1 ad2 > > But nothing happens, there is not the / spinning, just a blinking underscore. > What did I wrong ? If you didn't do 'sysctl kern.geom.debugflags=16', it should give a warning. But maybe not in that case. I'd think it's a mistake to install bootcode to a slice, but gpart says you can do it provided you use -p and -i. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:06:08 2011 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 09A6E106564A for ; Mon, 10 Jan 2011 18:06:08 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id D32DA8FC1E for ; Mon, 10 Jan 2011 18:06:06 +0000 (UTC) Received: (qmail invoked by alias); 10 Jan 2011 17:39:26 -0000 Received: from port-92-206-122-142.dynamic.qsc.de (EHLO core2duo) [92.206.122.142] by mail.gmx.net (mp050) with SMTP; 10 Jan 2011 18:39:26 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1/aOgxJBbvaViML3o08qVLZdswuciyVctGCq5za3M +U6MEkeoOvHrjl Date: Mon, 10 Jan 2011 18:39:18 +0100 From: Andreas Rudisch To: Tony Maserati Message-Id: <20110110183918.ffea56df.cyb.@gmx.net> In-Reply-To: References: X-Mailer: Sylpheed 3.0.3 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__10_Jan_2011_18_39_18_+0100_.Fy2mG7StCwddNj7" X-Y-GMX-Trusted: 0 Cc: questions@freebsd.org Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 18:06:08 -0000 --Signature=_Mon__10_Jan_2011_18_39_18_+0100_.Fy2mG7StCwddNj7 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 9 Jan 2011 22:19:02 +0100 Tony Maserati wrote: > Hi, >=20 > I'm just curious - what's the point of including X11 as a dependency to v= im? > And then making a vim-lite port (which you usually discover after install= ing > X11). How about making it vim and vim-x11 instead? I guess the next time you should simply install: /usr/ports/editors/vim-lit= e/ Andreas. -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Mon__10_Jan_2011_18_39_18_+0100_.Fy2mG7StCwddNj7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAk0rREcACgkQ8P3NNypXNWV28wCfYeAD5b13v4Mt30jXlTV6eSKO N1YAniK8BItlTrBj4y9wAcPmIKiiLmig =+LhG -----END PGP SIGNATURE----- --Signature=_Mon__10_Jan_2011_18_39_18_+0100_.Fy2mG7StCwddNj7-- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:06:55 2011 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 56F4D1065675 for ; Mon, 10 Jan 2011 18:06:55 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 0B67B8FC1F for ; Mon, 10 Jan 2011 18:06:54 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.3) with ESMTP id p0AHeVIf026271 for ; Mon, 10 Jan 2011 11:40:31 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201101101740.p0AHeVIf026271@x.it.okstate.edu> To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26269.1294681231.1@dc.cis.okstate.edu> Date: Mon, 10 Jan 2011 11:40:31 -0600 From: Martin McCormick Subject: Can one Download Old 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: Mon, 10 Jan 2011 18:06:55 -0000 Is there a safe site to find the rsync package for FreeBSD6.3? We still have a few 6.3 systems around because the commercial backup client we have for an enterprise-wide solution will not install on FreeBSD8.1? This is one of those times when we are fighting the war with what we presently have rather than what we wish we had. I must restore the /dev directory on a 6.3 system and rsync would have done it hours ago but I didn't know that the few remaining 6.3 systems didn't have it installed. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:10:50 2011 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 62C3F106566B for ; Mon, 10 Jan 2011 18:10:50 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5898FC13 for ; Mon, 10 Jan 2011 18:10:50 +0000 (UTC) Received: from [192.82.228.132] (port=63255 helo=dt) by postoffice.vicor.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1PcMCd-0000nm-KM; Mon, 10 Jan 2011 10:10:49 -0800 From: "Devin Teske" To: "'Martin McCormick'" , "'FreeBSD Questions'" References: <201101101740.p0AHeVIf026271@x.it.okstate.edu> In-Reply-To: <201101101740.p0AHeVIf026271@x.it.okstate.edu> Date: Mon, 10 Jan 2011 10:10:35 -0800 Organization: Vicor, Inc. Message-ID: <004501cbb0f1$aed98910$0c8c9b30$@vicor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJL84vE8u0tNEAI2YZ/DmkrCRAXVJLJ/Bpw Content-Language: en-us X-Scan-Signature: 2c2fa32ec32421ebe53dc33a2342c479 X-Scan-Host: postoffice.vicor.com Cc: Subject: RE: Can one Download Old 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: Mon, 10 Jan 2011 18:10:50 -0000 ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELE ASE/packages/All Have fun. -- Devin -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Martin McCormick Sent: Monday, January 10, 2011 9:41 AM To: FreeBSD Questions Subject: Can one Download Old Packages? Is there a safe site to find the rsync package for FreeBSD6.3? We still have a few 6.3 systems around because the commercial backup client we have for an enterprise-wide solution will not install on FreeBSD8.1? This is one of those times when we are fighting the war with what we presently have rather than what we wish we had. I must restore the /dev directory on a 6.3 system and rsync would have done it hours ago but I didn't know that the few remaining 6.3 systems didn't have it installed. 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" From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:20:49 2011 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 BBA79106566B for ; Mon, 10 Jan 2011 18:20:49 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 70C878FC0A for ; Mon, 10 Jan 2011 18:20:49 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.3) with ESMTP id p0AIKm7M027065 for ; Mon, 10 Jan 2011 12:20:48 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201101101820.p0AIKm7M027065@x.it.okstate.edu> To: "'FreeBSD Questions'" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27063.1294683648.1@dc.cis.okstate.edu> Date: Mon, 10 Jan 2011 12:20:48 -0600 From: Martin McCormick Subject: Re: Can one Download Old 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: Mon, 10 Jan 2011 18:20:49 -0000 "Devin Teske" writes: > ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELE > ASE/packages/All > > Have fun. Thanks. I was on the right server but took a wrong turn. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:23:09 2011 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 7BF06106566B for ; Mon, 10 Jan 2011 18:23:09 +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 3706C8FC17 for ; Mon, 10 Jan 2011 18:23:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PcMOZ-0006PK-Uf for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 19:23:07 +0100 Received: from 70.67.160.177 ([70.67.160.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 19:23:07 +0100 Received: from prad by 70.67.160.177 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jan 2011 19:23:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: prad Date: Mon, 10 Jan 2011 10:22:56 -0800 Lines: 12 Message-ID: <87hbdgfwjj.fsf@towardsfreedom.com> References: <87zkr9kufy.fsf@towardsfreedom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 70.67.160.177 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:ely10JlePmpf0jTvviMqIJLtRiM= Subject: Re: sqlite3 and sqlite34 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, 10 Jan 2011 18:23:09 -0000 Ivan Voras writes: > The current version of sqlite3 in ports is 3.7.3, there is generally > no reason why you should use an older version. > ok i thought i needed to stick to things that i can get from the 7.2 archive. i don't have the ports tree installed, but it's good to know i can just go with 3.7.3! -- in friendship, prad From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 18:55:36 2011 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 28BD8106566B for ; Mon, 10 Jan 2011 18:55:36 +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 E2C898FC1B for ; Mon, 10 Jan 2011 18:55:35 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p0AItVPt012656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Jan 2011 12:55:31 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id p0AItV0Q094755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Jan 2011 12:55:31 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p0AItUYW094754; Mon, 10 Jan 2011 12:55:30 -0600 (CST) (envelope-from dan) Date: Mon, 10 Jan 2011 12:55:30 -0600 From: Dan Nelson To: Martin McCormick Message-ID: <20110110185530.GE75125@dan.emsphone.com> References: <201101101740.p0AHeVIf026271@x.it.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101101740.p0AHeVIf026271@x.it.okstate.edu> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 10 Jan 2011 12:55:31 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: FreeBSD Questions Subject: Re: Can one Download Old 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: Mon, 10 Jan 2011 18:55:36 -0000 In the last episode (Jan 10), Martin McCormick said: > Is there a safe site to find the rsync package for FreeBSD6.3? We > still have a few 6.3 systems around because the commercial backup client > we have for an enterprise-wide solution will not install on FreeBSD8.1? > > This is one of those times when we are fighting the war with what we > presently have rather than what we wish we had. > > I must restore the /dev directory on a 6.3 system and rsync would > have done it hours ago but I didn't know that the few remaining 6.3 > systems didn't have it installed. Actually, /dev has been managed by the devfs virtual filesystem driver since FreeBSD 5 (maybe even before that), so a reboot should repopulate /dev with the correct data. There shouldn't be anything that rsync would be able to sync. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 20:11:29 2011 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 22007106564A for ; Mon, 10 Jan 2011 20:11:29 +0000 (UTC) (envelope-from sayedtdm@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9CB608FC1A for ; Mon, 10 Jan 2011 20:11:28 +0000 (UTC) Received: by ewy24 with SMTP id 24so9282529ewy.13 for ; Mon, 10 Jan 2011 12:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=XfiOV7zWqvqqcCRS9g9QcMUoMhGFZBaHfAQGVJyL5Zo=; b=w9rcOHl/k2gs0a4rFWLvIJ3Sh2LlVWvKvUkzKM3UYgkRZhhFBrptyvAF+YuPGc/mrr nG3WDkoV05HuyW/+IysiYwuOctItMJGweLS7FKegVz25RmeWBoJOHvssb1OjNxAO6ebH c6OEJWbn3SDJdQkMrocqDWJ3oN4wwBwMA3e98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; b=vIvlf5yBpfT2naNbMIPGkHrgdflZnDAyHYwFiD4/3h6V+SLii/G582qvQ0689vMsMS AmmyKe7g6JurvKw5vb1gKH769gD/pCBh+rfEQNcf1UZ4JLskCX8Vep0cDbfywqokp15g FFlywZgVNqTP4Ap8BLazsP5lz/V6hwZvsPtj4= Received: by 10.103.168.1 with SMTP id v1mr2039940muo.79.1294690285678; Mon, 10 Jan 2011 12:11:25 -0800 (PST) Received: from MyBackypPC ([188.248.170.214]) by mx.google.com with ESMTPS id l3sm729615fan.0.2011.01.10.12.11.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 12:11:23 -0800 (PST) From: "Sayed Nimer" To: References: <20110106195131.7D3D410656B5@hub.freebsd.org> <04ca01cbae35$ace5c470$06b14d50$@com> <04f801cbae83$1c3427c0$549c7740$@com> In-Reply-To: Date: Mon, 10 Jan 2011 23:09:42 +0300 Message-ID: <06a001cbb102$540d4d80$fc27e880$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acuui9eJ5lkRv87LRXKdq16by9A9pQAAagnAAJzrsrA= Content-Language: ar-sa Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: Manage Bind9 through the web, PowerDNS crash my system at startup 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, 10 Jan 2011 20:11:29 -0000 Hello, My problem (PowerDNS crash my system at startup) have been solved by correcting the configuration of PowerDNS as follow: Edit /usr/local/etc/pdns/pdns.conf and be sure that : daemon=yes guardian=yes Thanks with best wishes. Hello, I was looking for a solution to manage Bind9 DNS server through a web so I can add/edit zone. I thought PowerDNS/PowerAdmin would be a good solution for my requirements. I successfully installed both PowerDNS/PowerAdmin and tested them was working fine. When I restart my box I found PowerDNS crash my system giving many errors can't find mysqlserver. Any suggestions for the requirement to manage Bind9 through the web, or the PowerDNS problem. Thanks and have a nice day. Have you tried making sure that the MySQL daemon is started /BEFORE/ PowerDNS and Apache is started? Hello, Thank you for your reply. I thought you put your hand in my exact problem. When I start PowerDNS from command line using "/usr/local/etc/rc.d/pdns onestart" its running smooth. To make auto startup I just put this line pdns_enable="YES" to the end of /etc/rc.conf. Can you please highlight to me how and where to add the instruction for auto startup of PowerDNS to be sure it's starting after Mysql. Thank, and have a nice day. _______________________________________________ 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" look at the require and provide lines of the rc scripts hello, this snap of my rc.conf sshd_enable="YES" ntpdate_enable="YES" apache22_enable="YES" named_enable="NO" mysql_enable="YES" mysql_dbdir="/usr/local/etc/mysql" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" pdns_enable="YES" Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:13:31 2011 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 E12A6106566B for ; Mon, 10 Jan 2011 21:13:31 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id 834D78FC22 for ; Mon, 10 Jan 2011 21:13:31 +0000 (UTC) Received: (qmail 26953 invoked by uid 89); 10 Jan 2011 20:46:48 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2011 20:46:48 -0000 Received: (qmail 26899 invoked by uid 89); 10 Jan 2011 20:46:31 -0000 Received: from unknown (HELO www-52-2.vfemail.net) (vfemail@172.16.100.52) by FreeQueue with SMTP; 10 Jan 2011 20:46:31 -0000 Received: (qmail 35520 invoked by uid 89); 10 Jan 2011 20:46:39 -0000 Received: by simscan 1.4.0 ppid: 35513, pid: 35517, t: 0.2002s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.52 with ESMTPA; 10 Jan 2011 20:46:39 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 10 Jan 2011 15:43:42 -0500 To: freebsd-questions@freebsd.org From: peter@vfemail.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20110110211331.E12A6106566B@hub.freebsd.org> Subject: File Listing 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, 10 Jan 2011 21:13:32 -0000 Is there one single-line command I can execute that will list every file in every directory on my FreeBSD box? I've been fussing with the ls and du commands, but the output is never quite complete. ------------------------------------------------- This message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts! 15GB disk! No bandwidth quotas! From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:16:52 2011 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 6C9EE10656A8 for ; Mon, 10 Jan 2011 21:16:52 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9EC8FC16 for ; Mon, 10 Jan 2011 21:16:51 +0000 (UTC) Received: by eyf6 with SMTP id 6so9038625eyf.13 for ; Mon, 10 Jan 2011 13:16:51 -0800 (PST) Received: by 10.213.10.207 with SMTP id q15mr513256ebq.38.1294694210957; Mon, 10 Jan 2011 13:16:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Mon, 10 Jan 2011 13:16:30 -0800 (PST) In-Reply-To: <87hbdgfwjj.fsf@towardsfreedom.com> References: <87zkr9kufy.fsf@towardsfreedom.com> <87hbdgfwjj.fsf@towardsfreedom.com> From: Chris Brennan Date: Mon, 10 Jan 2011 16:16:30 -0500 Message-ID: To: prad Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: sqlite3 and sqlite34 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, 10 Jan 2011 21:16:52 -0000 On Mon, Jan 10, 2011 at 1:22 PM, prad wrote: > i don't have the ports tree installed > portsnap fetch extract then cd to /usr/ports and 'make search name=name[1]', find the port you want, cd to it and install w/ 'make install clean' [1] name being the name of a port, such as sqlite From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:18:12 2011 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 1CB2B10656AA for ; Mon, 10 Jan 2011 21:18:12 +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 E5D658FC19 for ; Mon, 10 Jan 2011 21:18:11 +0000 (UTC) Received: from overdrive.ws.pitbpa0.priv.collaborativefusion.com (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 F2FB1F7419; Mon, 10 Jan 2011 16:18:10 -0500 (EST) Date: Mon, 10 Jan 2011 16:18:10 -0500 From: Bill Moran To: peter@vfemail.net Message-Id: <20110110161810.abab2044.wmoran@potentialtech.com> In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org> References: <20110110211331.E12A6106566B@hub.freebsd.org> Organization: Bill Moran X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: File Listing 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, 10 Jan 2011 21:18:12 -0000 In response to peter@vfemail.net: > > Is there one single-line command I can execute that will list every file in every directory on my FreeBSD box? I've been fussing with the ls and du commands, but the output is never quite complete. ls -aR / will give you a complete listing, assuming you have permissions to all the directories. You can add other options if you want to change the formatting of the output. You can also do 'find /', the output of which may be more appealing, depending on what you're trying to accomplish. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:19:37 2011 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 1276C1065675 for ; Mon, 10 Jan 2011 21:19:37 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id EF2528FC19 for ; Mon, 10 Jan 2011 21:19:36 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp027.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LET00KDRSK2FY30@asmtp027.mac.com> for freebsd-questions@freebsd.org; Mon, 10 Jan 2011 13:19:15 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-10_09:2011-01-10, 2011-01-10, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101100107 From: Chuck Swiger In-reply-to: <20110110211331.E12A6106566B@hub.freebsd.org> Date: Mon, 10 Jan 2011 13:19:14 -0800 Message-id: <9ED07C3D-3AC9-4C0D-9A53-D1441C057466@mac.com> References: <20110110211331.E12A6106566B@hub.freebsd.org> To: peter@vfemail.net X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: File Listing 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, 10 Jan 2011 21:19:37 -0000 On Jan 10, 2011, at 12:43 PM, peter@vfemail.net wrote: > Is there one single-line command I can execute that will list every file in every directory on my FreeBSD box? I've been fussing with the ls and du commands, but the output is never quite complete. du -a / find / -type f # remove the "-type f" argument if you want every file, instead of just "normal" files Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:21:48 2011 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 210221065698 for ; Mon, 10 Jan 2011 21:21:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id E177A8FC12 for ; Mon, 10 Jan 2011 21:21:47 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id C4A7CE804E9; Mon, 10 Jan 2011 13:21:46 -0800 (PST) Date: Mon, 10 Jan 2011 13:21:46 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110110212143.GA8276@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Which php?? 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, 10 Jan 2011 21:21:48 -0000 Which php52 port do I need to run with wordpress? There are a slew of them po ports. tia. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:26:41 2011 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 8D158106564A for ; Mon, 10 Jan 2011 21:26:41 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA558FC08 for ; Mon, 10 Jan 2011 21:26:40 +0000 (UTC) Received: by ewy24 with SMTP id 24so9326645ewy.13 for ; Mon, 10 Jan 2011 13:26:40 -0800 (PST) Received: by 10.213.105.205 with SMTP id u13mr2233878ebo.25.1294694799874; Mon, 10 Jan 2011 13:26:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Mon, 10 Jan 2011 13:26:19 -0800 (PST) In-Reply-To: <20110110212143.GA8276@thought.org> References: <20110110212143.GA8276@thought.org> From: Chris Brennan Date: Mon, 10 Jan 2011 16:26:19 -0500 Message-ID: To: Gary Kline Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 10 Jan 2011 21:26:41 -0000 On Mon, Jan 10, 2011 at 4:21 PM, Gary Kline wrote: > Which php52 port do I need to run with wordpress? There are a > slew of them po ports. > > tia. > IIRC, worpress is rather lightweight in setting it up, I don't think you *need* any although you might find some that enhance your Wordpress experience. It should warn you of any missing php extentions ... (which is what I think you mean). If you are looking for the actualy php package then lang/php52 will install that, you can then do lang/php52-extensions to install what ext's you may need/want. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:32:09 2011 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 26E9D1065693 for ; Mon, 10 Jan 2011 21:32:09 +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 A9F0D8FC1F for ; Mon, 10 Jan 2011 21:32:08 +0000 (UTC) X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0B0209.4D2B7AD7.0088,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.51.8.114) by cp-out9.libero.it (8.5.133) id 4D1210CD02F21362; Mon, 10 Jan 2011 22:32:07 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.4/8.14.4) with ESMTP id p0ALW35K080812; Mon, 10 Jan 2011 22:32:03 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4D2B7AD3.6090604@netfence.it> Date: Mon, 10 Jan 2011 22:32:03 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> In-Reply-To: <20110110212143.GA8276@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.1.2.13 Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 10 Jan 2011 21:32:09 -0000 On 01/10/11 22:21, Gary Kline wrote: > Which php52 port do I need to run with wordpress? There are a > slew of them po ports. > > tia. > Never tried it myself, but... %cd /usr/ports/www/wordpress/ %make pretty-print-run-depends-list This port requires package(s) "apache-2.2.17_1 apr-devrandom-gdbm-db43-1.4.2.1.3.10 db43-4.3.29_1 expat-2.0.1_1 freetype2-2.4.4 gdbm-1.8.3_3 jpeg-8_3 kbproto-1.0.4 libICE-1.0.6,1 libSM-1.1.1_3,1 libX11-1.3.3_1,1 libXau-1.0.5 libXaw-1.0.7,1 libXdmcp-1.0.3 libXext-1.1.1,1 libXmu-1.0.5,1 libXp-1.0.0,1 libXpm-3.5.7 libXt-1.0.7 libiconv-1.13.1_1 libpthread-stubs-0.3_3 libxcb-1.7 libxml2-2.7.8_1 mysql-client-5.0.91 pcre-8.11 perl-5.8.9_4 php52-5.2.17 php52-gd-5.2.17 php52-mysql-5.2.17 php52-pcre-5.2.17 php52-tokenizer-5.2.17 php52-xml-5.2.17 php52-zip-5.2.17 pkg-config-0.25_1 png-1.4.5 printproto-1.0.4 t1lib-5.1.2_1,1 xextproto-7.1.1 xproto-7.0.16" to run. bye av. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:47:01 2011 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 0FBBB1065674 for ; Mon, 10 Jan 2011 21:47:01 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A338C8FC3D for ; Mon, 10 Jan 2011 21:47:00 +0000 (UTC) Received: by fxm16 with SMTP id 16so19342273fxm.13 for ; Mon, 10 Jan 2011 13:46:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.103.3 with SMTP id i3mr4665884fao.137.1294696015592; Mon, 10 Jan 2011 13:46:55 -0800 (PST) Received: by 10.223.79.77 with HTTP; Mon, 10 Jan 2011 13:46:55 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 16:46:55 -0500 Message-ID: From: Carl Chave To: krad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 10 Jan 2011 21:47:01 -0000 > echo -en "\n\nNow run these two commands to make the changes live, and > reboot > =A0zfs set mountpoint=3Dlegacy $zpool/be/$nroot > =A0zpool set bootfs=3D$zpool/be/$nroot $zpool\n\n" Thanks for the input krad. It would be nice to easily switch back and forth but aren't you still stuck if everything blows up on that first reboot? In order to switch back to the known working dataset you've got to get to a fixit prompt to set the correct bootfs property right? From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:07:31 2011 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 A0D5B1065674 for ; Mon, 10 Jan 2011 22:07:31 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 2D31C8FC23 for ; Mon, 10 Jan 2011 22:07:30 +0000 (UTC) Received: from [192.168.1.65] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0AM7T2C049067 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 10 Jan 2011 22:07:30 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2B8320.1090501@ifdnrg.com> Date: Mon, 10 Jan 2011 22:07:28 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> In-Reply-To: <20110110212143.GA8276@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 10 Jan 2011 22:07:31 -0000 On 10/01/2011 21:21, Gary Kline wrote: > Which php52 port do I need to run with wordpress? There are a > slew of them po ports. > > tia. > php5.2 is the last release before its eol'd. there may be some tweaking, but you'd be better getting it working with 5.3 (lang/php5) now rather than later... Paul. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:17:57 2011 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 66E6A106564A for ; Mon, 10 Jan 2011 22:17:57 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1D818FC18 for ; Mon, 10 Jan 2011 22:17:56 +0000 (UTC) Received: by wyf19 with SMTP id 19so20240019wyf.13 for ; Mon, 10 Jan 2011 14:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=+da+HLoHe/r42o3hIFoQf/dF2n32nEOwkqjWS8nJ0qQ=; b=UYAcW2BZkIBod6aLukOOu6IA80WYpxsl3r/eKVcgV69Y89GZqd4OrjWPn6KlvgmLgV LmTOj9boxnVoZmQFEhfU7D/tKVY/zDU3HzYslI4cNw1hDKu6eGxjZAmdMFjt/3hJONjC 1Aiip3IxRZ2LpqnvKkB71fQhYHz3Ln2T+GMpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=SSC7qK2WtkklfSIygjEzfD5DchDeZqeoA1wLM6//rvieaSBAdcb4hmYb0vMtdphG5K /EnBICCDAyEtOgW00qlmW8uoWK7nMvfBiWZcw95UHY97N3G8OihxN3mhaG8MM9zRRP6K 3FVHZyh4oyO8p6qnkA+tzAiWLBb/mKMUX1uZE= Received: by 10.216.160.1 with SMTP id t1mr2319480wek.2.1294697863605; Mon, 10 Jan 2011 14:17:43 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id o33sm14364316wej.37.2011.01.10.14.17.41 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 14:17:42 -0800 (PST) Date: Mon, 10 Jan 2011 22:17:39 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110110221739.4311dc70@gumby.homeunix.com> In-Reply-To: <20110110164204.4895fff0@gumby.homeunix.com> References: <20110110164204.4895fff0@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Just wanted to install vim - had to spend entire day building X11 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, 10 Jan 2011 22:17:57 -0000 On Mon, 10 Jan 2011 16:42:04 +0000 RW wrote: > On Mon, 10 Jan 2011 11:00:39 -0500 > Chris Brennan wrote: > > > On Mon, Jan 10, 2011 at 6:56 AM, Giorgos Keramidas > > wrote: > > > > > I'm sorry that you had to install software that you don't really > > > need and I can help you clean up by saving your installed ports as > > > 'binary packages' and re-installing just the bits that you > > > _really_ want to have around. Other than that, I don't know if > > > there's any way to change the status quo of the vim ports to be > > > able to satisfy automatically both types of user needs. > > > > > > > > My not a 'make config' target that asks weather we want > > vim/gvim/xvim (if X isn't installed?) > > There's already a slave port FWIW I just had a look and for me there is practically no difference. The additional direct dependencies are commonplace desktop dependency ports, and the vim binary shrinks from 1.7MB to 1.4MB, just 298kB. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:21:28 2011 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 D06A01065670 for ; Mon, 10 Jan 2011 22:21:28 +0000 (UTC) (envelope-from frlinux@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 52C7C8FC0A for ; Mon, 10 Jan 2011 22:21:27 +0000 (UTC) Received: by wwi17 with SMTP id 17so2052325wwi.1 for ; Mon, 10 Jan 2011 14:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SiHE+IeIV5nX563p1PVc2HIv1lO5UUhuFysS1fzYtrY=; b=CfM+emIkVS/uBLTO5RpcicrMUrAZKC1365LbTodqX4oXam87TphXXIRoY5awpLMzdl N7mitUE9722IDcBAOKEL12h2xUJfUTgOHB02xiA0UuaRr8uIySnW5I7zyMjiy9tAHzLi szDVrtrxKAGQ8pTI5SdAUsSymIYbOHD+0zRSQ= 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=mbWwo0WlKTO74daLcuvN963VSB9oHP4Pmcozlmx2X+VmCfAf16cSbl6QDk/4JhFD+T kSapxxOBEUbyV8YgIsmTlxVt3i7PFvyzwIOUke+MAFdOKka/F4p0JqgSM++AW2HGEX1b YfFy4Z9jvBzPEILHRTvjljTvZiwtqPhPvCGQk= MIME-Version: 1.0 Received: by 10.227.157.73 with SMTP id a9mr442509wbx.154.1294698086588; Mon, 10 Jan 2011 14:21:26 -0800 (PST) Received: by 10.227.203.133 with HTTP; Mon, 10 Jan 2011 14:21:26 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 22:21:26 +0000 Message-ID: From: FRLinux To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: problem booting a new server 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: Mon, 10 Jan 2011 22:21:28 -0000 On Fri, Jan 7, 2011 at 3:37 PM, FRLinux wrote: > When booting, i get to the screen where I can select which boot > process i want for FreeBSD (normal, without ACPI, debug, single, > etc...). Regardless of the option I select, it starts flickering the > rotating cursor (\|/-) then freezes completely with no information. I'll respond to myself on this, turns out that if we wait between one and one minute thirty, boot actually happens without any error... I'll include a dmesg just for the record: Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-RC1 #0: Wed Dec 22 17:34:20 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2399.98-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206c2 Family = 6 Model = 2c Stepping = 2 Features=0xbfebfbff Features2=0x29ee3ff AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant real memory = 8589934592 (8192 MB) avail memory = 8150986752 (7773 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 18 cpu5 (AP): APIC ID: 19 cpu6 (AP): APIC ID: 20 cpu7 (AP): APIC ID: 21 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard lapic0: Forcing LINT1 to edge trigger kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 28 at device 1.0 on pci0 pci1: on pcib1 igb0: port 0x2020-0x203f mem 0xb3a20000-0xb3a3ffff,0xb3a44000-0xb3a47fff irq 40 at device 0.0 on pci1 igb0: Using MSIX interrupts with 5 vectors igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: Ethernet address: 00:15:17:fd:1e:54 igb1: port 0x2000-0x201f mem 0xb3a00000-0xb3a1ffff,0xb3a40000-0xb3a43fff irq 28 at device 0.1 on pci1 igb1: Using MSIX interrupts with 5 vectors igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: Ethernet address: 00:15:17:fd:1e:55 pcib2: irq 24 at device 3.0 on pci0 pci2: on pcib2 pcib3: irq 30 at device 7.0 on pci0 pci3: on pcib3 3ware device driver for 9000 series storage controllers, version: 3.80.06.003 twa0: <3ware 9000 series Storage Controller> port 0x1000-0x10ff mem 0xb0000000-0xb1ffffff,0xb3900000-0xb3900fff irq 30 at device 0.0 on pci3 twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-24M8, 24 ports, Firmware FE9X 4.10.00.007, BIOS BE9X 4.08.00.002 pcib4: irq 32 at device 9.0 on pci0 pci4: on pcib4 pci0: at device 16.0 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 17.0 (no driver attached) pci0: at device 17.1 (no driver attached) pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) pci0: at device 22.0 (no driver attached) pci0: at device 22.1 (no driver attached) pci0: at device 22.2 (no driver attached) pci0: at device 22.3 (no driver attached) pci0: at device 22.4 (no driver attached) pci0: at device 22.5 (no driver attached) pci0: at device 22.6 (no driver attached) pci0: at device 22.7 (no driver attached) uhci0: port 0x30e0-0x30ff irq 19 at device 26.0 on pci0 uhci0: [ITHREAD] usbus0: on uhci0 uhci1: port 0x30c0-0x30df irq 19 at device 26.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0x30a0-0x30bf irq 19 at device 26.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 ehci0: mem 0xb3b22000-0xb3b223ff irq 19 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 pcib5: irq 16 at device 28.0 on pci0 pci5: on pcib5 pcib6: irq 16 at device 28.4 on pci0 pci6: on pcib6 vgapci0: mem 0xb2000000-0xb2ffffff,0xb3800000-0xb3803fff,0xb3000000-0xb37fffff irq 16 at device 0.0 on pci6 uhci3: port 0x3080-0x309f irq 16 at device 29.0 on pci0 uhci3: [ITHREAD] usbus4: on uhci3 uhci4: port 0x3060-0x307f irq 16 at device 29.1 on pci0 uhci4: [ITHREAD] usbus5: on uhci4 uhci5: port 0x3040-0x305f irq 16 at device 29.2 on pci0 uhci5: [ITHREAD] usbus6: on uhci5 ehci1: mem 0xb3b21000-0xb3b213ff irq 16 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib7: at device 30.0 on pci0 pci7: on pcib7 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3108-0x310f,0x3114-0x3117,0x3100-0x3107,0x3110-0x3113,0x3020-0x303f mem 0xb3b20000-0xb3b207ff irq 18 at device 31.2 on pci0 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI v1.20 controller with 6 3Gbps ports, PM not supported ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atrtc0: port 0x70-0x71,0x74-0x77 irq 8 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart1: [FILTER] qpi0: on motherboard pcib8: pcibus 255 on qpi0 pci255: on pcib8 orm0: at iomem 0xc0000-0xc7fff,0xcb000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcefff on isa0 atkbd: unable to set the command byte. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to set the command byte. ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 est4: on cpu4 p4tcc4: on cpu4 est5: on cpu5 p4tcc5: on cpu5 est6: on cpu6 p4tcc6: on cpu6 est7: on cpu7 p4tcc7: on cpu7 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ad4: 143089MB at ata2-master UDMA100 SATA 3Gb/s ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 ad6: 143089MB at ata3-master UDMA100 SATA 3Gb/s GEOM: ad6: partition 2 does not start on a track boundary. GEOM: ad6: partition 2 does not end on a track boundary. GEOM: ad6: partition 1 does not start on a track boundary. GEOM: ad6: partition 1 does not end on a track boundary. acd0: DVDR at ata4-master UDMA100 SATA 1.5Gb/s uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen5.2: at usbus5 ar0: writing of DDF metadata is NOT supported yet ar0: 142097MB status: READYda0 at twa0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 19073380MB (39062282240 512 byte sectors: 255H 63S/T 2431514C) ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic20: Forcing LINT1 to edge trigger SMP: AP CPU #6 Launched! lapic19: Forcing LINT1 to edge trigger SMP: AP CPU #5 Launched! lapic21: Forcing LINT1 to edge trigger SMP: AP CPU #7 Launched! lapic3: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! lapic18: Forcing LINT1 to edge trigger SMP: AP CPU #4 Launched! lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 ukbd0: on usbus5 kbd2 at ukbd0 ums0: on usbus5 GEOM: ar0s1: geometry does not match label (16h,63s != 255h,63s). ums0: 3 buttons and [XYZ] coordinates ID=0 Root mount waiting for: usbus3 uhub_reattach_port: port 5 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 5 Trying to mount root from ufs:/dev/ad4s1a ugen2.2: at usbus2 ukbd1: on usbus2 kbd3 at ukbd1 ums1: on usbus2 ums1: 3 buttons and [Z] coordinates ID=0 Cheers, Steph From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 23:14:14 2011 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 C7823106564A for ; Mon, 10 Jan 2011 23:14:14 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D90A8FC18 for ; Mon, 10 Jan 2011 23:14:13 +0000 (UTC) Received: by wyf19 with SMTP id 19so20288089wyf.13 for ; Mon, 10 Jan 2011 15:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=OtPEwCegGh7KjXB3TDBtAfZh+OUB04y8UaaihTita7c=; b=gbNReR7YSZY+rpLebAYk27N5egLeFBOqCvwleaERwDDcYsKymVEvKJwLXhnBJLeLBh kZ+xzRe3h+NXt0rfrquUytpuTUAgqMlFvfG0hUFfOrTm0m9JA0NQy9s3fxhiXVTjCY+9 cfRPWqTSvMgJIkD3Kl0SqCj4TqvE3qGeL6cVE= 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=fcnDPsJZkOD9X8pzVzHk/NPZE2hhQLigaEnNY1nAIoGBTxBXGxvt8Dye0EMlWBrRSc qj5YrhZuZcaFQltsJF8yBWeKX8LyHCU1CRzMcO8m6pXNCA/lOggzLMBR4EA7bwooTbIN alNmO19aHaK8z5hpXBJhxx1GaeSM9g72AaxDc= MIME-Version: 1.0 Received: by 10.227.146.9 with SMTP id f9mr3266545wbv.209.1294701253146; Mon, 10 Jan 2011 15:14:13 -0800 (PST) Received: by 10.227.20.73 with HTTP; Mon, 10 Jan 2011 15:14:13 -0800 (PST) In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org> References: <20110110211331.E12A6106566B@hub.freebsd.org> Date: Mon, 10 Jan 2011 16:14:13 -0700 Message-ID: From: Modulok To: peter@vfemail.net Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: File Listing 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, 10 Jan 2011 23:14:14 -0000 On 1/10/11, peter@vfemail.net wrote: > > Is there one single-line command I can execute that will list every file in > every directory on my FreeBSD box? I've been fussing with the ls and du > commands, but the output is never quite complete. You might look into the 'tree(1)' command. It's a third party package that can be installed as: # pkg_add -r tree It has lots of flags to list files in various ways. By default it lists all files in a tree-like format like this: tree -a /etc . |-- X11 |-- aliases -> mail/aliases |-- amd.map |-- apmd.conf |-- auth.conf |-- bluetooth | |-- hcsecd.conf | |-- hosts | `-- protocols |-- crontab ... and so on... You can also list files with full paths without indents and such. See man tree after its installed. Another example: tree -aif /etc /etc /etc/X11 /etc/aliases -> mail/aliases /etc/amd.map /etc/apmd.conf /etc/auth.conf /etc/bluetooth /etc/bluetooth/hcsecd.conf /etc/bluetooth/hosts /etc/bluetooth/protocols There's also switches for how to handle symbolic links and staying on one file system, depth limits, file limits, etc. -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 23:29:44 2011 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 C4DB3106567A for ; Mon, 10 Jan 2011 23:29:44 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 62B7C8FC29 for ; Mon, 10 Jan 2011 23:29:44 +0000 (UTC) Received: by eyf6 with SMTP id 6so9098370eyf.13 for ; Mon, 10 Jan 2011 15:29:43 -0800 (PST) Received: by 10.213.36.2 with SMTP id r2mr13959552ebd.51.1294702183161; Mon, 10 Jan 2011 15:29:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Mon, 10 Jan 2011 15:29:22 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Mon, 10 Jan 2011 18:29:22 -0500 Message-ID: To: FRLinux Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: problem booting a new server 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: Mon, 10 Jan 2011 23:29:44 -0000 On Mon, Jan 10, 2011 at 5:21 PM, FRLinux wrote: > On Fri, Jan 7, 2011 at 3:37 PM, FRLinux wrote: > > When booting, i get to the screen where I can select which boot > > process i want for FreeBSD (normal, without ACPI, debug, single, > > etc...). Regardless of the option I select, it starts flickering the > > rotating cursor (\|/-) then freezes completely with no information. > > I'll respond to myself on this, turns out that if we wait between one > and one minute thirty, boot actually happens without any error... > > I'll include a dmesg just for the record: > Where during the boot process does this happeb? From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 23:41:05 2011 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 4C8E7106564A for ; Mon, 10 Jan 2011 23:41:05 +0000 (UTC) (envelope-from frlinux@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D68EC8FC08 for ; Mon, 10 Jan 2011 23:41:04 +0000 (UTC) Received: by wwf26 with SMTP id 26so19850345wwf.31 for ; Mon, 10 Jan 2011 15:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=7um0vYms3+SBsG2fGvon6SdLlqFoiZzls6fy1HD7XRM=; b=n9Yktb7PryUI4uHX2vsbTcNF0McROxCsfKIW82xqTc+AdGsfSdZnA7SealrXfLU/oA Szp89kaBmgA8iv4dFz6Ev1YswHw+EukqOtJTUTVne9u1gnqeOHHNyLBvILCtTd1hS/d0 gmv09HaTQexMlQ6KOeLEsCkrw8QL2vRrUjp/Y= 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=QxNy9IUmPWN5tep2VXq502/q0ldnSa/bkcYFgHDSfzE6TSUk5TObkf3iMIVqOLBZem jqY8hLKiePoH8v2snccw66Zx/nk2CbBgYmMXH3cISK6C/Cn+Fzr/+Y+6xTm/JHZrYmRM 400agEh7ld24ZbPmlg1JH0NGolyURmxiG2vfo= MIME-Version: 1.0 Received: by 10.227.138.21 with SMTP id y21mr19250889wbt.212.1294702863630; Mon, 10 Jan 2011 15:41:03 -0800 (PST) Received: by 10.227.203.133 with HTTP; Mon, 10 Jan 2011 15:41:03 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 23:41:03 +0000 Message-ID: From: FRLinux To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: problem booting a new server 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: Mon, 10 Jan 2011 23:41:05 -0000 On Mon, Jan 10, 2011 at 11:29 PM, Chris Brennan wrote: > Where during the boot process does this happeb? As soon as you select any of the options of the boot (normal boot, boot without ACPI, boot single mode, etc...). It sits there for about 1mn to 1mn30 and then boots fine. We put the second server in production today, same CPU type and motherboard, same behavior. Cheers, Steph From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 23:55:39 2011 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 72EAB106566C for ; Mon, 10 Jan 2011 23:55:39 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3458FC12 for ; Mon, 10 Jan 2011 23:55:38 +0000 (UTC) Received: by eyf6 with SMTP id 6so9104284eyf.13 for ; Mon, 10 Jan 2011 15:55:38 -0800 (PST) Received: by 10.213.109.9 with SMTP id h9mr2327735ebp.38.1294703737861; Mon, 10 Jan 2011 15:55:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Mon, 10 Jan 2011 15:55:17 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Mon, 10 Jan 2011 18:55:17 -0500 Message-ID: To: FRLinux Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: problem booting a new server 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: Mon, 10 Jan 2011 23:55:39 -0000 On Mon, Jan 10, 2011 at 6:41 PM, FRLinux wrote: > On Mon, Jan 10, 2011 at 11:29 PM, Chris Brennan > wrote: > > Where during the boot process does this happeb? > > As soon as you select any of the options of the boot (normal boot, > boot without ACPI, boot single mode, etc...). It sits there for about > 1mn to 1mn30 and then boots fine. We put the second server in > production today, same CPU type and motherboard, same behavior. > A stab in the dark here tells me a slow device ... but what, I do not know. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 23:59:03 2011 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 E2059106564A for ; Mon, 10 Jan 2011 23:59:03 +0000 (UTC) (envelope-from frlinux@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 754CA8FC0C for ; Mon, 10 Jan 2011 23:59:03 +0000 (UTC) Received: by wwf26 with SMTP id 26so19861973wwf.31 for ; Mon, 10 Jan 2011 15:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3IRZH33SSarz7hBdUZPkV+OqYitvYxzWzpzz5Uk8Nik=; b=OsXzuFWn6g0QMWwRNtTxEFe7l9y3PLo/ZAeIC7SOKFHIwbJWBKnWYzA269QpvcgGqg RmK4anfF/ACEpYEd1rQgvMreo4ObdqLEUep94elt5pTOHiMd11GlXTdBqfTsegi8X7yL xy18Q6P/geeAd8P6TQQddb1QCdms011FLd4z4= 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=rO5FUXIq8BwBI7hGT6Mm70EkB+KT3IzR/IqVlNYmUZPeRnhLFGjveT9qfqyvNQ7SWM p+1Vu7pPJU92PmEnp/R2KEYfF4JgvX1vhnkmTajOUbp8h3j+yMYKsMqxxeOvnPpe6qUK WnTvv80JBhvFEzLCSP5Bg7MfYhi39K6Yruw8c= MIME-Version: 1.0 Received: by 10.227.180.134 with SMTP id bu6mr19109907wbb.183.1294703942408; Mon, 10 Jan 2011 15:59:02 -0800 (PST) Received: by 10.227.203.133 with HTTP; Mon, 10 Jan 2011 15:59:02 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Jan 2011 23:59:02 +0000 Message-ID: From: FRLinux To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: problem booting a new server 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: Mon, 10 Jan 2011 23:59:04 -0000 On Mon, Jan 10, 2011 at 11:55 PM, Chris Brennan wrote: > A stab in the dark here tells me a slow device ... but what, I do not know. Yes, apparently, could well be the CDROM drive, it's a laptop format one (slim). Someone responded to me off-list mentioning the same problem happened to him. 1mn delay is no big deal on servers being rebooted every 2 months or so, besides I get to use FreeBSD on them since they work perfectly bar this delay. Cheers, Steph From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 06:16:32 2011 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 252B61065675 for ; Tue, 11 Jan 2011 06:16:32 +0000 (UTC) (envelope-from led@ledinside.com) Received: from esmtp.dramx.com (esmtp.sramx.com [218.32.192.82]) by mx1.freebsd.org (Postfix) with ESMTP id F3EF48FC17 for ; Tue, 11 Jan 2011 06:16:28 +0000 (UTC) Received: from ledinside.com (unknown [192.168.2.14]) by esmtp.dramx.com (Postfix) with ESMTP id 68E8246810 for ; Tue, 11 Jan 2011 14:16:03 +0800 (CST) Received: from [192.168.2.115] by dramexchange.com (MDaemon PRO v9.6.2) with ESMTP id md50002803589.msg for ; Tue, 11 Jan 2011 14:14:16 +0800 To: freebsd-questions@freebsd.org From: LEDinside.com Date: Tue, 11 Jan 2011 14:14:01 +0800 X-LibVersion: 3.3.2 Message-ID: <20110111061401.24509.105998391.swift@dx-gutuma.dramx.com> X-Spam-Processed: dramx.com, Tue, 11 Jan 2011 14:14:16 +0800 (not processed: spam filter heuristic analysis disabled) X-Return-Path: led@ledinside.com X-Envelope-From: led@ledinside.com X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Outlook of LED industry Trend in 2011 / Save 10% by 2011/1/31 / LEDinside Market Intelligence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "LEDinside.com" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 06:16:32 -0000 According to LEDinside, total revenue of global packagers in 2010 reached $12.8 billion with an annual growth rate of 57%. In regional performance, Korean output value in particular, increased at an exceptional rate - the main reason behind the growth was that large conglomerates that own television brands such as Samsung and LG provided the necessary support to drive the growth of Korea's LED industry. Looking forward into 2011, LED-backlit TV and LED lighting markets are still the main driving force for the LED demand, and LEDinside estimates that there is still substantial room for further growth. From the perspective of market supply, LED manufacturers have undergone aggressive capacity expansion in 2010. Therefore, it is foreseeable that in 2011, the industry will witness explosive growth in both supply and demand. Nonetheless, only the manufacturers which are able to maintain quality while keeping costs low can outperform others in the competitive industry. WW LED Revenue in 2010: $12.8bn Breakdown By Region Take advantage of our special rates and save 10% by 2011/1/31* Silver Gold Customized Report Current Rate New Rate Current Rate New Rate US$ 3,000 US$ 3,300 US$ 12,000 US$ 13,200 Price Varies *registration and payment needs to be completed on or before 2011/1/31 LEDinside's Market Intelligence program offers extensive research reports on the LED industry, prices and market trends, which will help you gain insights into the rapidly changing LED industry. 2011 is a new and dynamic year for LED industry, and LEDinside offers 3 extensive and in-depth reports that covers the High Brightness LED Market (gold report), price and market trend (silver report) and customized reports. Worldwide LED Market Forecast and Summary 01. Worldwide LED Demand 02. Worldwide LED Supply Forecast 03. Cost Analysis Compare to Traditional Light Source 04. Price Forecast in White LED Quarterly Price Information - Netbook / Notebook Application - Mobile Backlight Application - Large-size Backlight(TV/Monitor)Application - Lighting(High Power)Application Quarterly Market Trend - Lighting Market Overview and Forecast - Backlight Market Overview and Forecast Real-time Market Update - Show Reports - Product Applications - Technology Development - Others Download silver sample reports: ("[1]3Q10 LED price sample report )"("[2]4Q09 market trend sample report)" The LED market is a rapidly moving industry, and to provide LED players with the most updated information, LEDinside's customized report provides the latest information on the upstream, midstream, LED chip price, and demand to reflect the market trend and technology. The latest report from LEDinside is "Report on 2010 China's LED chip industry". [3]For more information on this report, please click here. For more details on LEDinside membership, please download ("[4]Market Intelligence introduction kit )" Visit us at [5]http://www.ledinside.com/LEDinside_membership_2010_en Contact us a t [6]account@ledinside.com | +886-2-77026888 Ann Chang ext. 665 | Joanne Wu ext. 972 References 1. http://www.ledinside.com.tw/sites/www.ledinside.com.tw/files/3Q_prs.xls 2. http://www.ledinside.com.tw/sites/www.ledinside.com.tw/files/4Q09mrs.pdf 3. http://www.ledinside.com/led_china_epi_rank_2010_en 4. http://www.ledinside.com.tw/sites/www.ledinside.com.tw/files/LEDinside_mis.pdf 5. http://www.ledinside.com/LEDinside_membership_2010_en 6. mailto:account@ledinside.com From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 08:54:50 2011 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 1236D106566B for ; Tue, 11 Jan 2011 08:54:50 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C5F3D8FC0A for ; Tue, 11 Jan 2011 08:54:49 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Pca07-0006oR-Q9 for freebsd-questions@freebsd.org; Tue, 11 Jan 2011 09:54:48 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id p0B8sp25002000 for ; Tue, 11 Jan 2011 09:54:51 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id p0B8speI001999 for freebsd-questions@freebsd.org; Tue, 11 Jan 2011 09:54:51 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 11 Jan 2011 09:54:51 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110111085451.GA1953@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Subject: microSD card in FreeBSD 8-CURRENT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 08:54:50 -0000 Hello, Inserting a microSD card (with an adapter) into my Dell M4400 laptop gives no messages in /var/log/messages, even after kldload'ing mmc.ko and mmcsd.ko... What I am missing? The card itself works fine in some other Linux laptop. I also checked the BIOS and the slot is enabled. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:09:22 2011 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 61377106566B for ; Tue, 11 Jan 2011 09:09:22 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id E68CE8FC14 for ; Tue, 11 Jan 2011 09:09:21 +0000 (UTC) Received: by wwi17 with SMTP id 17so2469554wwi.1 for ; Tue, 11 Jan 2011 01:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GbUXvVr/4xAEp+3E6oXuXLTeiikMvktaXK29puqoCPo=; b=mi2Gyo+TJL9+De6y3cHEjT/gWc8PZPbKnGuu/ErOLT4z71ycTQ13BawcKDdAe17FbK WDhmJSKa1s4/B6Icx5bu/FKdaYrmwIJ2PvV+UyogXvxyH18VOQH0V8EzWMvB8CzAQwUb TildS9ePusJFXigMC+qXQZSStezY7KksORw4A= 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=WHiI719QDYgwCuLPIpTCKBWWAL/nDPLRhkr8fJIagbKexJN1C2k6TUOdO1a9KaVgVG naheFEgtoSX0s6qrEAKdEo+oExayRhvtGzDnp0YVfa7MIyIMGStrqg0Vgjp+Q7ubS+uU mJNzUJjpYQSsfEGzgaSdivuB3absDgU8i5hQQ= MIME-Version: 1.0 Received: by 10.216.17.201 with SMTP id j51mr656090wej.44.1294736960669; Tue, 11 Jan 2011 01:09:20 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:09:20 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:09:20 +0000 Message-ID: From: krad To: Carl Chave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 11 Jan 2011 09:09:22 -0000 On 10 January 2011 21:46, Carl Chave wrote: > > > echo -en "\n\nNow run these two commands to make the changes live, and > > reboot > > zfs set mountpoint=legacy $zpool/be/$nroot > > zpool set bootfs=$zpool/be/$nroot $zpool\n\n" > > Thanks for the input krad. It would be nice to easily switch back and > forth but aren't you still stuck if everything blows up on that first > reboot? In order to switch back to the known working dataset you've > got to get to a fixit prompt to set the correct bootfs property right? > unfortunatly at the moment yes, but all you have to do is reset the bootfs property. It would be nice id you could do something from within the boot loader similar to variables you can pass in grub with opensolaris From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:19:49 2011 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 6F15B106566C for ; Tue, 11 Jan 2011 09:19:49 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 013618FC26 for ; Tue, 11 Jan 2011 09:19:48 +0000 (UTC) Received: by wyf19 with SMTP id 19so20658340wyf.13 for ; Tue, 11 Jan 2011 01:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=nkJuJbHnv8RY2uiOcIEOGKL4U75bXi/SXsw8XVi9bow=; b=tXDjrz/C7fPzVadsKr6yE38XVlTnHC6Ybx2IrZg/E8bQPGocSCs976/0MlDbPG5VAJ 28/WXvSlxEo0d5ThT9zJ8WTQFTWiioGWigvfRdUh82bvBjvxrvvXiHS58T+5N2kh1ck0 eBiNqPqxBeYPvrMnBr/CaCCU/AQHyKH0mKhY0= 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=e/HOaMIs2ny7uKTBOd1FZInmhrlQg6vyd0IdOF1WndK3jccGU3a4F9kbLGeWtTqBHj 3BeNNYg4vZxNjlLQv/QFop9StOp8OzErfuk4UqPBYkJFxDXM8E6wKVldA4HcGlC6w4LQ 28PoDR0eravXtu0zGIcMflihbzUQgU+jL3z24= MIME-Version: 1.0 Received: by 10.216.162.13 with SMTP id x13mr2814864wek.14.1294737587901; Tue, 11 Jan 2011 01:19:47 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:19:47 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:19:47 +0000 Message-ID: From: krad To: Carl Chave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 11 Jan 2011 09:19:49 -0000 On 11 January 2011 09:09, krad wrote: > > > On 10 January 2011 21:46, Carl Chave wrote: > >> >> > echo -en "\n\nNow run these two commands to make the changes live, and >> > reboot >> > zfs set mountpoint=legacy $zpool/be/$nroot >> > zpool set bootfs=$zpool/be/$nroot $zpool\n\n" >> >> Thanks for the input krad. It would be nice to easily switch back and >> forth but aren't you still stuck if everything blows up on that first >> reboot? In order to switch back to the known working dataset you've >> got to get to a fixit prompt to set the correct bootfs property right? >> > > > unfortunatly at the moment yes, but all you have to do is reset the bootfs > property. It would be nice id you could do something from within the boot > loader similar to variables you can pass in grub with opensolaris > having said that as long as the loader works you should be able to reset the rootfs variable From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 09:23:08 2011 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 E6074106564A for ; Tue, 11 Jan 2011 09:23:08 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 74F9A8FC08 for ; Tue, 11 Jan 2011 09:23:08 +0000 (UTC) Received: by wwf26 with SMTP id 26so20196173wwf.31 for ; Tue, 11 Jan 2011 01:23:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3+EX7rACQqx6Q1GfVIzIny7a6JFe/T56VpBNoiLhZ+k=; b=ryMiam00gpmSx2j5O6UJ5APqCE7+d4kg2i22Cug77lXOWIxn1i5Vdfco6jSXYx9i+E 9yMzg5ebbRt9EtZ/ch8MvoxwlrBWMW0QqZ+iccmgSV9YH6R0ldHPPfc1yaFIy85SVLuE 9A7m1x5A2D3ZQTJ3UcLk6Ep5tuM0flryIJwac= 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=Z3lZ1QJwmVbhCYNCZPZd6WsrlATc6LdGwMZ4GvMsHD3uU0Z3ABt5Uvsyxvb/wnJ+Kt c3ihpj9fi3sdRrjXlTEQf+cDDY6T2fSWhJn78eFlhyiphd0thfF/ZEeXAKrb3kn6VyBo CjgDLEa4ot7ZtMd3PpHHHpf12+iR9W1zyrf3M= MIME-Version: 1.0 Received: by 10.216.0.140 with SMTP id 12mr4560657web.29.1294737787299; Tue, 11 Jan 2011 01:23:07 -0800 (PST) Received: by 10.216.229.73 with HTTP; Tue, 11 Jan 2011 01:23:07 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 09:23:07 +0000 Message-ID: From: krad To: Carl Chave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: ZFS + GPT with root on memory stick and mirrored SATA drives 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, 11 Jan 2011 09:23:09 -0000 On 11 January 2011 09:19, krad wrote: > > > On 11 January 2011 09:09, krad wrote: > >> >> >> On 10 January 2011 21:46, Carl Chave wrote: >> >>> >>> > echo -en "\n\nNow run these two commands to make the changes live, and >>> > reboot >>> > zfs set mountpoint=legacy $zpool/be/$nroot >>> > zpool set bootfs=$zpool/be/$nroot $zpool\n\n" >>> >>> Thanks for the input krad. It would be nice to easily switch back and >>> forth but aren't you still stuck if everything blows up on that first >>> reboot? In order to switch back to the known working dataset you've >>> got to get to a fixit prompt to set the correct bootfs property right? >>> >> >> >> unfortunatly at the moment yes, but all you have to do is reset the bootfs >> property. It would be nice id you could do something from within the boot >> loader similar to variables you can pass in grub with opensolaris >> > > > having said that as long as the loader works you should be able to reset > the rootfs variable > some similar stuff here. http://anonsvn.h3q.com/projects/freebsd-patches/wiki/manageBE From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 10:06:23 2011 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 12A07106564A for ; Tue, 11 Jan 2011 10:06:23 +0000 (UTC) (envelope-from hskuhra@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id D5CFE8FC08 for ; Tue, 11 Jan 2011 10:06:22 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 3DC8E202F5 for ; Tue, 11 Jan 2011 04:46:23 -0500 (EST) Received: from web1.messagingengine.com ([10.202.2.211]) by compute3.internal (MEProxy); Tue, 11 Jan 2011 04:46:23 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=fJX8yIdp2UDgrQve5HoBTiIdP8c=; b=McHXF2m8Loxb67hjLJubvVHb2Dt21+WaAwUW/Wv08eY94KgvcUvN4AQ+J+7Ejuh9tOXDHIdRZ93qR3HeQjUIwHre5iotj8wWQLF1vYPQ3F2/9yzrtTtT0CnpR3Cr0sLc86IsRbLGFuX2lXCwVilYs9RdEkuYeklRQWfkBgKIk18= Received: by web1.messagingengine.com (Postfix, from userid 99) id 19AAB7804BA; Tue, 11 Jan 2011 04:46:23 -0500 (EST) Message-Id: <1294739183.16851.1414577433@webmail.messagingengine.com> X-Sasl-Enc: lLI5IqozTHxo3goNNA8vhvqpCrKGqpNJz/A9wYgsf5lP 1294739183 From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: References: <86k4is872b.fsf@red.stonehenge.com> <20101230001817.00007082@unknown><867hes8612.fsf@red.stonehenge.com> Date: Tue, 11 Jan 2011 10:46:23 +0100 Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 11 Jan 2011 10:06:23 -0000 On Thu, 30 Dec 2010 02:21 +0100, "n j" wrote: > If you know of any other FreeBSD VPS providers, please share. At the moment I am running a XEN/HVM VPS from: http://www.syscentral.de -Herbert From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 10:12:30 2011 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 E2E6610656A6 for ; Tue, 11 Jan 2011 10:12:30 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 7F8CB8FC13 for ; Tue, 11 Jan 2011 10:12:29 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAPO0K02kD30E/2dsb2JhbAAMg3ybULJojiODFIFEdASOIg Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 11 Jan 2011 10:43:25 +0100 Message-ID: <4D2C263D.6050501@ulb.ac.be> Date: Tue, 11 Jan 2011 10:43:25 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: multipart/mixed; boundary="------------010906090602060109000305" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Corrupted MAC on input. Disconnecting: Packet corrupt 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, 11 Jan 2011 10:12:31 -0000 This is a multi-part message in MIME format. --------------010906090602060109000305 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I'm facing a very strange problem on a machine: When I unzip a file (I'm 100% sure the file is not corrupted) and I get the following: jcigar@frodon ~ % ssh 10.0.0.225 Password: jcigar@dev ~ % unzip elgg-1.7.6.zip Archive: elgg-1.7.6.zip creating: elgg-1.7.6/ creating: elgg-1.7.6/engine/ inflating: elgg-1.7.6/engine/settings.example.php creating: elgg-1.7.6/engine/handlers/ creating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js inflating: elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm Corrupted MAC on input. Disconnecting: Packet corrupt jcigar@frodon ~ % The system is running 8.2-RC1 (amd64). I had the same problem under 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I upgraded to 8.2-RC1) The card is: age0@pci0:2:0:0: class=0x020000 card=0x82261043 chip=0x10481969 rev=0xb0 hdr=0x00 vendor = 'Attansic (Now owned by Atheros)' device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)' class = network subclass = ethernet Any idea what could be the problem ? Thanks, Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------010906090602060109000305-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 13:12:23 2011 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 07341106566B for ; Tue, 11 Jan 2011 13:12:23 +0000 (UTC) (envelope-from mrhungry@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 969698FC12 for ; Tue, 11 Jan 2011 13:12:22 +0000 (UTC) Received: by qwj9 with SMTP id 9so20090850qwj.13 for ; Tue, 11 Jan 2011 05:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Ljj42nKwuHzSVVEF9pAPEz6z7/pXnxZGvek47HVdaG4=; b=YJpk6nIs1xDgOXC7/y2FYtIoctJs3VVP6eqz0GMk1aty8SMDVGlDaveUfmY26f2JFP kKFbKbTV/BiRUFQdMNAAjuBuz2KnWoZZAn+LlhLhcthM1Q9Xo6YJ7DHFVoMKBueGZNzs qMl14vyGe51+zsNtCH/peTiJ1VoDzbbnGzvH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qNLXxfA+c1oIukKwBof7pYgCllH5pMLlYqP38D6GGbdBRMHZroLG9pduLVoL8MVtr4 FdBVNVrPu0pAy+APhnoZzwRw1lGy4eBFWcpRQpp0JnFFo2/Tn39TBfcNQ0gpgRAytmyg z2m9z+9X8AJeOafKV3nIq/afr1ztvIO+yUBzw= MIME-Version: 1.0 Received: by 10.229.74.129 with SMTP id u1mr4817405qcj.82.1294749978948; Tue, 11 Jan 2011 04:46:18 -0800 (PST) Received: by 10.229.236.20 with HTTP; Tue, 11 Jan 2011 04:46:18 -0800 (PST) Date: Tue, 11 Jan 2011 15:46:18 +0300 Message-ID: From: Roman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problem installing rrdtool 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, 11 Jan 2011 13:12:23 -0000 Hello, As I try to install rrdtool from ports collection, the installation gets stuck with the following erorr: # make install ===> rrdtool-1.4.4 depends on executable: gmake - found ===> rrdtool-1.4.4 depends on file: /usr/local/bin/perl5.8.9 - found ===> rrdtool-1.4.4 depends on package: libtool>=2.2 - found ===> rrdtool-1.4.4 depends on file: /usr/local/bin/intltool-extract - found ===> rrdtool-1.4.4 depends on shared library: freetype.9 - found ===> rrdtool-1.4.4 depends on shared library: cairo.2 - found ===> rrdtool-1.4.4 depends on shared library: png.6 - found ===> rrdtool-1.4.4 depends on shared library: xml2 - found ===> rrdtool-1.4.4 depends on shared library: pangocairo-1.0.0 - not found ===> Verifying install for pangocairo-1.0.0 in /usr/ports/x11-toolkits/pango ===> Building for pango-1.28.3 gmake all-recursive gmake[1]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3' Making all in pango gmake[2]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' gmake all-recursive gmake[3]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' Making all in opentype gmake[4]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype' Making all in mini-fribidi gmake[4]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi' gmake[4]: Entering directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' CC libpangocairo_1_0_la-pangocairo-context.lo In file included from pangocairo-context.c:24: pangocairo.h:26:19: error: cairo.h: No such file or directory In file included from pangocairo-context.c:24: pangocairo.h:58: error: expected ')' before '*' token pangocairo.h:69: error: expected ')' before 'fonttype' pangocairo.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pango_cairo_font_map_get_font_type' pangocairo.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo.h:90: error: expected ')' before '*' token pangocairo.h:94: warning: type defaults to 'int' in declaration of 'cairo_font_options_t' pangocairo.h:94: error: expected ';', ',' or ')' before '*' token pangocairo.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo.h:102: error: expected declaration specifiers or '...' before 'PangoCairoShapeRendererFunc' pangocairo.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pango_cairo_context_get_shape_renderer' pangocairo.h:110: error: expected ')' before '*' token pangocairo.h:111: error: expected ')' before '*' token pangocairo.h:112: error: expected ')' before '*' token pangocairo.h:118: error: expected ')' before '*' token pangocairo.h:121: error: expected ')' before '*' token pangocairo.h:124: error: expected ')' before '*' token pangocairo.h:126: error: expected ')' before '*' token pangocairo.h:129: error: expected ')' before '*' token pangocairo.h:138: error: expected ')' before '*' token pangocairo.h:141: error: expected ')' before '*' token pangocairo.h:143: error: expected ')' before '*' token pangocairo.h:146: error: expected ')' before '*' token In file included from pangocairo-context.c:25: pangocairo-private.h:43: error: expected specifier-qualifier-list before 'cairo_font_type_t' pangocairo-private.h:70: error: expected specifier-qualifier-list before 'cairo_matrix_t' pangocairo-private.h:81: error: expected specifier-qualifier-list before 'cairo_scaled_font_t' pangocairo-private.h:97: error: expected specifier-qualifier-list before 'cairo_font_face_t' pangocairo-private.h:105: error: expected declaration specifiers or '...' before 'cairo_t' pangocairo-private.h:113: warning: type defaults to 'int' in declaration of 'cairo_font_options_t' pangocairo-private.h:113: error: expected ';', ',' or ')' before '*' token pangocairo-private.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo-private.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo-context.c:36: error: expected specifier-qualifier-list before 'cairo_font_options_t' pangocairo-context.c: In function 'free_context_info': pangocairo-context.c:48: error: 'PangoCairoContextInfo' has no member named 'set_options' pangocairo-context.c:49: warning: implicit declaration of function 'cairo_font_options_destroy' pangocairo-context.c:49: error: 'PangoCairoContextInfo' has no member named 'set_options' pangocairo-context.c:50: error: 'PangoCairoContextInfo' has no member named 'surface_options' pangocairo-context.c:51: error: 'PangoCairoContextInfo' has no member named 'surface_options' pangocairo-context.c:52: error: 'PangoCairoContextInfo' has no member named 'merged_options' pangocairo-context.c:53: error: 'PangoCairoContextInfo' has no member named 'merged_options' pangocairo-context.c:55: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_notify' pangocairo-context.c:56: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_notify' pangocairo-context.c:56: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_data' pangocairo-context.c: At top level: pangocairo-context.c:86: error: expected ')' before '*' token pangocairo-context.c:159: error: expected ')' before '*' token pangocairo-context.c:226: warning: type defaults to 'int' in declaration of 'cairo_font_options_t' pangocairo-context.c:226: error: expected ';', ',' or ')' before '*' token pangocairo-context.c:263: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo-context.c:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token pangocairo-context.c:324: error: expected declaration specifiers or '...' before 'PangoCairoShapeRendererFunc' pangocairo-context.c: In function 'pango_cairo_context_set_shape_renderer': pangocairo-context.c:334: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_notify' pangocairo-context.c:335: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_notify' pangocairo-context.c:335: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_data' pangocairo-context.c:337: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_func' pangocairo-context.c:337: error: 'func' undeclared (first use in this function) pangocairo-context.c:337: error: (Each undeclared identifier is reported only once pangocairo-context.c:337: error: for each function it appears in.) pangocairo-context.c:338: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_data' pangocairo-context.c:339: error: 'PangoCairoContextInfo' has no member named 'shape_renderer_notify' pangocairo-context.c: At top level: pangocairo-context.c:361: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pango_cairo_context_get_shape_renderer' pangocairo-context.c:403: error: expected ')' before '*' token pangocairo-context.c:439: error: expected ')' before '*' token pangocairo-context.c:465: error: expected ')' before '*' token gmake[4]: *** [libpangocairo_1_0_la-pangocairo-context.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.28.3' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11-toolkits/pango. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. Any idea what might be the problem? Thanks, From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 14:01:51 2011 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 3A9E11065679 for ; Tue, 11 Jan 2011 14:01:51 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B7FF18FC0A for ; Tue, 11 Jan 2011 14:01:50 +0000 (UTC) Received: by bwz12 with SMTP id 12so12717194bwz.13 for ; Tue, 11 Jan 2011 06:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=t3fzdkG4YYtWXViFaMeTZ3nTPYQrSI1padxfaBnJob8=; b=DoAuShWJSlte5n58WXPZFrZ0gyjrCkd1Vg8wyZxIJNJSp/GrF7xeV/cHS9g+G46eJh tmI/2jc9Nspd1Z0E6xrY08UjUeOK861SekdbNPatQ8YxxKYME9fl38gpU4v1b25+Yg3W PZgI5d48clDHK23pfsM9v8T5hpYFEFG4Z90J0= 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=cgVK0WBMaX5ss8p4zfpUEOx6ASHgMOniwoHiwmT6ep+vB7ASK/O9gbjfpmVIe2UQTJ mlhnFXVih1jsjgbmn78FwXqYHGDKeG9DzpS7fFo57kn2yh91xc7vbT5x0tBEWpCXNuH6 Y8bw8jhxaf+nJJZKRg4V9Lu6fwckVRkBz8IYc= MIME-Version: 1.0 Received: by 10.204.78.72 with SMTP id j8mr3334160bkk.113.1294754509535; Tue, 11 Jan 2011 06:01:49 -0800 (PST) Received: by 10.204.84.145 with HTTP; Tue, 11 Jan 2011 06:01:49 -0800 (PST) In-Reply-To: <1294739183.16851.1414577433@webmail.messagingengine.com> References: <86k4is872b.fsf@red.stonehenge.com> <20101230001817.00007082@unknown> <867hes8612.fsf@red.stonehenge.com> <1294739183.16851.1414577433@webmail.messagingengine.com> Date: Tue, 11 Jan 2011 09:01:49 -0500 Message-ID: From: Diego Arias To: "Herbert J. Skuhra" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Any recommendations for FreeBSD VPS hosting? 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, 11 Jan 2011 14:01:51 -0000 On Tue, Jan 11, 2011 at 4:46 AM, Herbert J. Skuhra wrote: > On Thu, 30 Dec 2010 02:21 +0100, "n j" wrote: > > > If you know of any other FreeBSD VPS providers, please share. > > At the moment I am running a XEN/HVM VPS from: > > http://www.syscentral.de > > -Herbert > > > _______________________________________________ > 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" > Running XEN on Elite Data Hosting (Now Server-Logix) Its a really small machine but its ok. 2 years with them, -- Still Going Strong!!! From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 14:11:16 2011 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 76C28106566B for ; Tue, 11 Jan 2011 14:11:16 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 120BF8FC13 for ; Tue, 11 Jan 2011 14:11:15 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtgBADPtK02kD30E/2dsb2JhbAAMg3ySHokyswqOIoMUgUR0BIoahAg Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 11 Jan 2011 15:11:15 +0100 Message-ID: <4D2C6502.4080906@ulb.ac.be> Date: Tue, 11 Jan 2011 15:11:14 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D2C263D.6050501@ulb.ac.be> In-Reply-To: <4D2C263D.6050501@ulb.ac.be> Content-Type: multipart/mixed; boundary="------------040906070600040204010808" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Corrupted MAC on input. Disconnecting: Packet corrupt 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, 11 Jan 2011 14:11:16 -0000 This is a multi-part message in MIME format. --------------040906070600040204010808 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 01/11/2011 10:43, Julien Cigar wrote: > Hello, > > I'm facing a very strange problem on a machine: When I unzip a file (I'm > 100% sure the file is not corrupted) and I get the following: > > jcigar@frodon ~ % ssh 10.0.0.225 > Password: > jcigar@dev ~ % unzip elgg-1.7.6.zip > Archive: elgg-1.7.6.zip > creating: elgg-1.7.6/ > creating: elgg-1.7.6/engine/ > inflating: elgg-1.7.6/engine/settings.example.php > creating: elgg-1.7.6/engine/handlers/ > creating: > elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ > inflating: > elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js > > inflating: > elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js > > inflating: > elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm > > Corrupted MAC on input. > Disconnecting: Packet corrupt > jcigar@frodon ~ % > > The system is running 8.2-RC1 (amd64). I had the same problem under > 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I > upgraded to 8.2-RC1) > > The card is: > age0@pci0:2:0:0: class=0x020000 card=0x82261043 chip=0x10481969 rev=0xb0 > hdr=0x00 > vendor = 'Attansic (Now owned by Atheros)' > device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)' > class = network > subclass = ethernet > > Any idea what could be the problem ? > > Thanks, > Julien OK, I dug a bit and found the problem ... I have 4 memory slots on the motherboard : D C B A When I put a memory stick in A _or_ C it works When I put memory sticks in A _and_ C it works too However, when I put memory sticks in A _and_ B or A _and_ B _and_ C it fails ... (dual channel) Could it be a bug... or a broken Bios ? > > > > _______________________________________________ > 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" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------040906070600040204010808-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 14:26:26 2011 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 4C3B81065672 for ; Tue, 11 Jan 2011 14:26:26 +0000 (UTC) (envelope-from pdegoeje@service2media.com) Received: from mail91.messagelabs.com (mail91.messagelabs.com [194.106.220.35]) by mx1.freebsd.org (Postfix) with ESMTP id 98D938FC08 for ; Tue, 11 Jan 2011 14:26:25 +0000 (UTC) X-VirusChecked: Checked X-Env-Sender: pdegoeje@service2media.com X-Msg-Ref: server-3.tower-91.messagelabs.com!1294755984!15924842!5 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [217.28.130.38] Received: (qmail 29286 invoked from network); 11 Jan 2011 14:26:24 -0000 Received: from hostedexchange.hostedservice.com (HELO outlook.hostedservice2.net) (217.28.130.38) by server-3.tower-91.messagelabs.com with RC4-SHA encrypted SMTP; 11 Jan 2011 14:26:24 -0000 Received: from pieter-dev.localnet (217.114.102.131) by smtp.hostedservice2.net (192.168.16.121) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 11 Jan 2011 14:26:13 +0000 From: Pieter de Goeje Organization: Service2Media To: Date: Tue, 11 Jan 2011 15:26:22 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) References: <20110110211331.E12A6106566B@hub.freebsd.org> In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <201101111526.22843.pdegoeje@service2media.com> Cc: peter@vfemail.net Subject: Re: File Listing 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, 11 Jan 2011 14:26:26 -0000 On Monday 10 January 2011 21:43:42 peter@vfemail.net wrote: > Is there one single-line command I can execute that will list every file in > every directory on my FreeBSD box? I've been fussing with the ls and du > commands, but the output is never quite complete. find / Cheers, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 14:29:14 2011 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 8E0111065672 for ; Tue, 11 Jan 2011 14:29:14 +0000 (UTC) (envelope-from mrhungry@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52B3E8FC15 for ; Tue, 11 Jan 2011 14:29:14 +0000 (UTC) Received: by iyb26 with SMTP id 26so19552246iyb.13 for ; Tue, 11 Jan 2011 06:29:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=7p5NNvxo5n8wOoZ5uaiJ3aBljeseHCwExRvTOsh4BN0=; b=aoTTO+TqpJqZC0JyQQLEFMC7z6AFVPIFFW7aRDkjZCorSzzXM+ZdmMvdmP6yagLPm5 nEyaY8AY/4s9dTlI+nvTc4nACBp6ETkcjwrFcHVS7Lp8PiifOurTbAqSfdf2jhmhtQzG WC3ttnvF7TAI9mnygjmJUnp7l4vPUwVnEb5SA= 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=lZFg3W0wnAxgU8AJBaHPcbchccZ0F6Q6aLTK3IYhZ8KuorAg37XDAe8KBojsLXHYQN 6AqGg07o0914ZBGkkvqqkVSh9iFfrQb0HQ3gtD+ApHQLnBnK0W6zKPYqDQxK78V7IbK5 PjpIETwRM+ZKivHolUTg940S6xW0sYVsEZs/c= MIME-Version: 1.0 Received: by 10.42.213.5 with SMTP id gu5mr5827500icb.240.1294756153830; Tue, 11 Jan 2011 06:29:13 -0800 (PST) Received: by 10.42.178.199 with HTTP; Tue, 11 Jan 2011 06:29:13 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 17:29:13 +0300 Message-ID: From: Roman To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: problem installing rrdtool 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, 11 Jan 2011 14:29:14 -0000 The problem is solved. Turned out there was a problem after updating the installed ports. Here's what portmanager was complaining about after the update: ======================================================================== skipping cairo-1.8.8,1 /graphics/cairo until dependency libGL-7.4.4 updated skipping libGL-7.4.4 /graphics/libGL until dependency libdrm-2.4.12_1 updated skipping libdrm-2.4.12_1 /graphics/libdrm marked IGNORE reason: failed during make ------------------------------------------------------------------------ After reinstalling libdrm and cairo, rrdtool was installed with no problerms. Sorry for bothering. On Tue, Jan 11, 2011 at 3:46 PM, Roman wrote: > Hello, > > As I try to install rrdtool from ports collection, the installation gets > stuck with the following erorr: > > # make install > ===> rrdtool-1.4.4 depends on executable: gmake - found > ===> rrdtool-1.4.4 depends on file: /usr/local/bin/perl5.8.9 - found > ===> rrdtool-1.4.4 depends on package: libtool>=2.2 - found > ===> rrdtool-1.4.4 depends on file: /usr/local/bin/intltool-extract - > found > ===> rrdtool-1.4.4 depends on shared library: freetype.9 - found > ===> rrdtool-1.4.4 depends on shared library: cairo.2 - found > ===> rrdtool-1.4.4 depends on shared library: png.6 - found > ===> rrdtool-1.4.4 depends on shared library: xml2 - found > ===> rrdtool-1.4.4 depends on shared library: pangocairo-1.0.0 - not > found > ===> Verifying install for pangocairo-1.0.0 in > /usr/ports/x11-toolkits/pango > ===> Building for pango-1.28.3 > gmake all-recursive > gmake[1]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3' > Making all in pango > gmake[2]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > gmake all-recursive > gmake[3]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > Making all in opentype > gmake[4]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype' > gmake[4]: Nothing to be done for `all'. > gmake[4]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype' > Making all in mini-fribidi > gmake[4]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi' > gmake[4]: Nothing to be done for `all'. > gmake[4]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi' > gmake[4]: Entering directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > CC libpangocairo_1_0_la-pangocairo-context.lo > In file included from pangocairo-context.c:24: > pangocairo.h:26:19: error: cairo.h: No such file or directory > In file included from pangocairo-context.c:24: > pangocairo.h:58: error: expected ')' before '*' token > pangocairo.h:69: error: expected ')' before 'fonttype' > pangocairo.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'pango_cairo_font_map_get_font_type' > pangocairo.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > pangocairo.h:90: error: expected ')' before '*' token > pangocairo.h:94: warning: type defaults to 'int' in declaration of > 'cairo_font_options_t' > pangocairo.h:94: error: expected ';', ',' or ')' before '*' token > pangocairo.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > pangocairo.h:102: error: expected declaration specifiers or '...' before > 'PangoCairoShapeRendererFunc' > pangocairo.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'pango_cairo_context_get_shape_renderer' > pangocairo.h:110: error: expected ')' before '*' token > pangocairo.h:111: error: expected ')' before '*' token > pangocairo.h:112: error: expected ')' before '*' token > pangocairo.h:118: error: expected ')' before '*' token > pangocairo.h:121: error: expected ')' before '*' token > pangocairo.h:124: error: expected ')' before '*' token > pangocairo.h:126: error: expected ')' before '*' token > pangocairo.h:129: error: expected ')' before '*' token > pangocairo.h:138: error: expected ')' before '*' token > pangocairo.h:141: error: expected ')' before '*' token > pangocairo.h:143: error: expected ')' before '*' token > pangocairo.h:146: error: expected ')' before '*' token > In file included from pangocairo-context.c:25: > pangocairo-private.h:43: error: expected specifier-qualifier-list before > 'cairo_font_type_t' > pangocairo-private.h:70: error: expected specifier-qualifier-list before > 'cairo_matrix_t' > pangocairo-private.h:81: error: expected specifier-qualifier-list before > 'cairo_scaled_font_t' > pangocairo-private.h:97: error: expected specifier-qualifier-list before > 'cairo_font_face_t' > pangocairo-private.h:105: error: expected declaration specifiers or '...' > before 'cairo_t' > pangocairo-private.h:113: warning: type defaults to 'int' in declaration of > 'cairo_font_options_t' > pangocairo-private.h:113: error: expected ';', ',' or ')' before '*' token > pangocairo-private.h:117: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > pangocairo-private.h:133: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > pangocairo-context.c:36: error: expected specifier-qualifier-list before > 'cairo_font_options_t' > pangocairo-context.c: In function 'free_context_info': > pangocairo-context.c:48: error: 'PangoCairoContextInfo' has no member named > 'set_options' > pangocairo-context.c:49: warning: implicit declaration of function > 'cairo_font_options_destroy' > pangocairo-context.c:49: error: 'PangoCairoContextInfo' has no member named > 'set_options' > pangocairo-context.c:50: error: 'PangoCairoContextInfo' has no member named > 'surface_options' > pangocairo-context.c:51: error: 'PangoCairoContextInfo' has no member named > 'surface_options' > pangocairo-context.c:52: error: 'PangoCairoContextInfo' has no member named > 'merged_options' > pangocairo-context.c:53: error: 'PangoCairoContextInfo' has no member named > 'merged_options' > pangocairo-context.c:55: error: 'PangoCairoContextInfo' has no member named > 'shape_renderer_notify' > pangocairo-context.c:56: error: 'PangoCairoContextInfo' has no member named > 'shape_renderer_notify' > pangocairo-context.c:56: error: 'PangoCairoContextInfo' has no member named > 'shape_renderer_data' > pangocairo-context.c: At top level: > pangocairo-context.c:86: error: expected ')' before '*' token > pangocairo-context.c:159: error: expected ')' before '*' token > pangocairo-context.c:226: warning: type defaults to 'int' in declaration of > 'cairo_font_options_t' > pangocairo-context.c:226: error: expected ';', ',' or ')' before '*' token > pangocairo-context.c:263: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > pangocairo-context.c:289: error: expected '=', ',', ';', 'asm' or > '__attribute__' before '*' token > pangocairo-context.c:324: error: expected declaration specifiers or '...' > before 'PangoCairoShapeRendererFunc' > pangocairo-context.c: In function 'pango_cairo_context_set_shape_renderer': > pangocairo-context.c:334: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_notify' > pangocairo-context.c:335: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_notify' > pangocairo-context.c:335: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_data' > pangocairo-context.c:337: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_func' > pangocairo-context.c:337: error: 'func' undeclared (first use in this > function) > pangocairo-context.c:337: error: (Each undeclared identifier is reported > only once > pangocairo-context.c:337: error: for each function it appears in.) > pangocairo-context.c:338: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_data' > pangocairo-context.c:339: error: 'PangoCairoContextInfo' has no member > named 'shape_renderer_notify' > pangocairo-context.c: At top level: > pangocairo-context.c:361: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'pango_cairo_context_get_shape_renderer' > pangocairo-context.c:403: error: expected ')' before '*' token > pangocairo-context.c:439: error: expected ')' before '*' token > pangocairo-context.c:465: error: expected ')' before '*' token > gmake[4]: *** [libpangocairo_1_0_la-pangocairo-context.lo] Error 1 > gmake[4]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/ports/x11-toolkits/pango/work/pango-1.28.3' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/pango. > *** Error code 1 > > Stop in /usr/ports/databases/rrdtool. > *** Error code 1 > > Stop in /usr/ports/databases/rrdtool. > > Any idea what might be the problem? > > Thanks, > > -- Roman Kutsel From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 14:41:10 2011 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 0B7FB106566B for ; Tue, 11 Jan 2011 14:41:10 +0000 (UTC) (envelope-from alexander.konotop@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8EBB18FC0C for ; Tue, 11 Jan 2011 14:41:09 +0000 (UTC) Received: by ewy24 with SMTP id 24so9644743ewy.13 for ; Tue, 11 Jan 2011 06:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=o9TVAGUJJrceHb3RfpjE/pnkA0uvxCnlk31y0/Vbi6o=; b=btJ79fSPCMmlRhJApl4Nz6ClBqtVgnWkJ6DUcARsok6ry98cW4HtE+pRPf5zdaOE3F teypjZ7TmwalphA84iINwhRgml1FwHT/UvhJ7UWChxMbYp4pCYykXngkpvIH9a7zW6Pz qQ8gy/V7lgWOXJrBe/pjSqc5dgzK/zYK2o2DI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=StBukgOkti3UyKl3kPGgUrs5EYNWYHI0OOSROM6iu6M91HV9WsPijbJ3NCsb4tltVv aULoytxDocbZGSJUf9/5bv4qypSdsa36GxQlW/SYUwAgvafV6IcHEjuWkamxijsmd36m nt/vsuUn+BLsnyzotGBzzsRwctnjr4DhQBe/I= Received: by 10.216.205.94 with SMTP id i72mr2838468weo.71.1294756867307; Tue, 11 Jan 2011 06:41:07 -0800 (PST) Received: from jager (139-65-95-178.pool.ukrtel.net [178.95.65.139]) by mx.google.com with ESMTPS id o33sm14764256wej.37.2011.01.11.06.41.05 (version=SSLv3 cipher=RC4-MD5); Tue, 11 Jan 2011 06:41:06 -0800 (PST) Date: Tue, 11 Jan 2011 16:41:02 +0200 From: Alexander Konotop To: freebsd-questions@freebsd.org Message-ID: <20110111164102.151f102c@jager> In-Reply-To: <201101111526.22843.pdegoeje@service2media.com> References: <20110110211331.E12A6106566B@hub.freebsd.org> <201101111526.22843.pdegoeje@service2media.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 11 Jan 2011 14:53:06 +0000 Subject: Re: File Listing 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, 11 Jan 2011 14:41:10 -0000 ÷ Tue, 11 Jan 2011 15:26:22 +0100 Pieter de Goeje ÐÉÛÅÔ: > On Monday 10 January 2011 21:43:42 peter@vfemail.net wrote: > > Is there one single-line command I can execute that will list every > > file in every directory on my FreeBSD box? I've been fussing with > > the ls and du commands, but the output is never quite complete. > > find / > > Cheers, > Pieter de Goeje > _______________________________________________ > 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 Jan 11 14:56:29 2011 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 0D2B4106564A for ; Tue, 11 Jan 2011 14:56:29 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5A98FC19 for ; Tue, 11 Jan 2011 14:56:28 +0000 (UTC) Received: by ewy24 with SMTP id 24so9654221ewy.13 for ; Tue, 11 Jan 2011 06:56:27 -0800 (PST) Received: by 10.213.34.193 with SMTP id m1mr112253ebd.25.1294757787409; Tue, 11 Jan 2011 06:56:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Tue, 11 Jan 2011 06:56:07 -0800 (PST) In-Reply-To: <20110111164102.151f102c@jager> References: <20110110211331.E12A6106566B@hub.freebsd.org> <201101111526.22843.pdegoeje@service2media.com> <20110111164102.151f102c@jager> From: Chris Brennan Date: Tue, 11 Jan 2011 09:56:07 -0500 Message-ID: To: Alexander Konotop Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: File Listing 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, 11 Jan 2011 14:56:29 -0000 MjAxMS8xLzExIEFsZXhhbmRlciBLb25vdG9wIDxhbGV4YW5kZXIua29ub3RvcEBnbWFpbC5jb20+ Cgo+ICDQndC10YIsINC90LUg0YHQvNC+0YLRgNC10Lsg0LXRidGRLiDQktC10YfQtdGA0L7QvCDQ stC30LPQu9GP0L3Rgy4KPgo+CldoYXQ/Cg== From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 15:00:57 2011 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 01AB31065672 for ; Tue, 11 Jan 2011 15:00:57 +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 B664E8FC0C for ; Tue, 11 Jan 2011 15:00:56 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 0E0FA295ED; Tue, 11 Jan 2011 16:00:52 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0BF0qM7001595; Tue, 11 Jan 2011 16:00:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 11 Jan 2011 16:00:51 +0100 From: Polytropon To: Chris Brennan Message-Id: <20110111160051.80badc10.freebsd@edvax.de> In-Reply-To: References: <20110110211331.E12A6106566B@hub.freebsd.org> <201101111526.22843.pdegoeje@service2media.com> <20110111164102.151f102c@jager> 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: File Listing 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, 11 Jan 2011 15:00:57 -0000 On Tue, 11 Jan 2011 09:56:07 -0500, Chris Brennan wrote: > 2011/1/11 Alexander Konotop > > > Ðет, не Ñмотрел ещё. Вечером взглÑну. > > > > > What? No, didn't look again, evening... is dark? MbI roBOPNM nO-PYCCKN. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 15:48:26 2011 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 02F201065698 for ; Tue, 11 Jan 2011 15:48:26 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BB64A8FC17 for ; Tue, 11 Jan 2011 15:48:25 +0000 (UTC) Received: by iwn39 with SMTP id 39so20647316iwn.13 for ; Tue, 11 Jan 2011 07:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=zON761cIrY4boHcqcX1XgHEg8y4AXluNuw4t6n7IOTQ=; b=JFI/q3lpBousqEU7+XoU/qCn11prXwwOmrKXmhEvsBv8R5T6XhF5eVGsSfvje44/Qg MhPX8yda+/kawSL1xadaMIl9g0PaH8O32vxpl5+PI7mqpAwEAD66MKypTybopvHsV6UU Tm9QXe1odVw8/mg9KUkrnHCk9ohJDSWRjjU+w= 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=cbzOZ9+bnAx3gkO2dbpaCygVpSUyR4hrqOPsmgaSfafjAgucGxeoK/vAQS9lv8+63j PqnFlzSHDqTUcXxILPwq5/B4rsdeLVLKFFvw5RqKfwTGsDG0axsSf6qED879Rpoucaf0 0F652+vlJUszKIJOlteRP0Vmg8c/1WwV4MMRM= MIME-Version: 1.0 Received: by 10.231.39.200 with SMTP id h8mr30342678ibe.150.1294760904869; Tue, 11 Jan 2011 07:48:24 -0800 (PST) Received: by 10.231.79.197 with HTTP; Tue, 11 Jan 2011 07:48:24 -0800 (PST) In-Reply-To: <4D2C6502.4080906@ulb.ac.be> References: <4D2C263D.6050501@ulb.ac.be> <4D2C6502.4080906@ulb.ac.be> Date: Tue, 11 Jan 2011 10:48:24 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Julien Cigar Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Corrupted MAC on input. Disconnecting: Packet corrupt 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, 11 Jan 2011 15:48:26 -0000 On Tue, Jan 11, 2011 at 9:11 AM, Julien Cigar wrote: > On 01/11/2011 10:43, Julien Cigar wrote: > >> Hello, >> >> I'm facing a very strange problem on a machine: When I unzip a file (I'm >> 100% sure the file is not corrupted) and I get the following: >> >> jcigar@frodon ~ % ssh 10.0.0.225 >> Password: >> jcigar@dev ~ % unzip elgg-1.7.6.zip >> Archive: elgg-1.7.6.zip >> creating: elgg-1.7.6/ >> creating: elgg-1.7.6/engine/ >> inflating: elgg-1.7.6/engine/settings.example.php >> creating: elgg-1.7.6/engine/handlers/ >> creating: >> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ >> inflating: >> >> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/= en_dlg.js >> >> inflating: >> >> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor= _plugin.js >> >> inflating: >> >> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotio= ns.htm >> >> Corrupted MAC on input. >> Disconnecting: Packet corrupt >> jcigar@frodon ~ % >> >> The system is running 8.2-RC1 (amd64). I had the same problem under >> 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I >> upgraded to 8.2-RC1) >> >> The card is: >> age0@pci0:2:0:0: class=3D0x020000 card=3D0x82261043 chip=3D0x10481969 re= v=3D0xb0 >> hdr=3D0x00 >> vendor =3D 'Attansic (Now owned by Atheros)' >> device =3D 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)' >> class =3D network >> subclass =3D ethernet >> >> Any idea what could be the problem ? >> >> Thanks, >> Julien >> > > OK, I dug a bit and found the problem ... > > I have 4 memory slots on the motherboard : D C B A > When I put a memory stick in A _or_ C it works > When I put memory sticks in A _and_ C it works too > However, when I put memory sticks in A _and_ B or A _and_ B _and_ C it > fails ... (dual channel) > > Could it be a bug... or a broken Bios ? > > >> >> In main boards , memory channels mainly are colored pair-wise , for example Red-Blue , Red-Blue . One of the colors is Zero channel , the other 1 channel . For Intel 1366 pin sockets , there are 3 pairs : for example , Red-Blue , Red-Blue , Red-Blue . When memory chips are installed , first zero channels should be filled , then one channels , as in increasing order . Placing memory chips arbitrarily will get a non-working main board , which is NOT a bug , but production principle . Another principle is when more than one chip is installed , they should be the SAME in pair-wise , for example Red channels having the same size , Blu= e channels having the same size as Mega or Giga bytes , and they should have same Mega-Hertz speed . The more complete and correct information may be obtained from your main board manual . Another point is =C2=B4Supported memory=C2=B4 chips list . W= hen you want to use memory chips , it is necessary to study main board supported chips list and select among them . It seems that your memory chips are correctly selected , but please insert them as instructed by the main board manual . In other combinations , working is accidental and I do not know there may be other problems associated incorrect placement . Personally I never insert chips in a way other than defined in manual . Some main boards may check correctness of insertions and it my give failure indicator beeps , but some main boards may not check , but will not work as you expected : Everything is working as single ones , but they are not working in combination . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 16:25:08 2011 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 2EDA71065673 for ; Tue, 11 Jan 2011 16:25:08 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C7B808FC13 for ; Tue, 11 Jan 2011 16:25:07 +0000 (UTC) Received: by wyf19 with SMTP id 19so21072749wyf.13 for ; Tue, 11 Jan 2011 08:25:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.72.6 with SMTP id k6mr1095826wbj.220.1294763106572; Tue, 11 Jan 2011 08:25:06 -0800 (PST) Received: by 10.227.2.129 with HTTP; Tue, 11 Jan 2011 08:25:06 -0800 (PST) Date: Tue, 11 Jan 2011 11:25:06 -0500 Message-ID: From: Jerry To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Continuing problems with Dovecot + MySQL 5.5.8_1 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, 11 Jan 2011 16:25:08 -0000 FreeBSD 8.2-PRERELEASE After updating to the latest version of MySQL (5.5.8_1), I am continuing to have problems with Dovecot failing to run correctly even though I completely removed and reinstalled it. I might add that I did a pkg_delete of the MySQL client and server also before updating the port. I was led to believe that this updated version corrected the problem; however, that does not appear to be correct. :-( Strangely enough, Postfix, after rebuilding it, works fine with the new version of MySQL. :-) What I need to do is get a gdb backtrace of dovecot. Since the program starts from the dovecot script in the /usr/local/etc/rc.d directory, I am unsure of how to accomplish this. I have tried several methods; however, they all fail. Exactly how would I start dovecot using the script via gdb to get a backtrace? Thanks -- Jerry From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 16:46:25 2011 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 64CAD106566B for ; Tue, 11 Jan 2011 16:46:25 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D823B8FC16 for ; Tue, 11 Jan 2011 16:46:24 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 1C2F4E807EA; Tue, 11 Jan 2011 08:46:24 -0800 (PST) Date: Tue, 11 Jan 2011 08:46:23 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110111164623.GB26859@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2B8320.1090501@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 16:46:25 -0000 On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > On 10/01/2011 21:21, Gary Kline wrote: > >Which php52 port do I need to run with wordpress? There are a > >slew of them po ports. > > > >tia. > > > php5.2 is the last release before its eol'd. > > there may be some tweaking, but you'd be better getting it working > with 5.3 (lang/php5) now rather than later... > > Paul. > Well, I have no screen-capture set up o my server, so cannot show the firefox display. But here is the samr thing using lynx: According to the /usr/local/www/wordpress/* files, php is not running. I had the wordpress port install itself in the default place: in /usr/local/www; should I cp the files somewhere else? --I have no subdomain wordpress (or wordpress.thought.org). ps 8:20 Server [5025] lynx wp-admin/install.php (p1 of 3) WordPress Error: PHP is not running WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off. > WordPress get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that Blogs appear in search engines by default $blog_public = 1; if ( ! empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( $_POST['weblog_title'] ) ) : ''; $user_name = isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) : ''; if ( ! is_null( $error ) ) { ?> ERROR So:: are there other ways of installing this stuff? Should I cp -rp this wordpress directory in [e.g.] /usr/local/www/journey? Thanks for any clues, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 16:52:03 2011 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 E84831065672 for ; Tue, 11 Jan 2011 16:52:03 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 71CC08FC13 for ; Tue, 11 Jan 2011 16:52:03 +0000 (UTC) Received: by ewy24 with SMTP id 24so9762760ewy.13 for ; Tue, 11 Jan 2011 08:52:02 -0800 (PST) Received: by 10.213.10.207 with SMTP id q15mr211429ebq.38.1294764722060; Tue, 11 Jan 2011 08:52:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Tue, 11 Jan 2011 08:51:41 -0800 (PST) In-Reply-To: <20110111164623.GB26859@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> From: Chris Brennan Date: Tue, 11 Jan 2011 11:51:41 -0500 Message-ID: To: Gary Kline Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul Macdonald , FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 16:52:04 -0000 On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > > On 10/01/2011 21:21, Gary Kline wrote: > > >Which php52 port do I need to run with wordpress? There are a > > >slew of them po ports. > > > > > >tia. > > > > > php5.2 is the last release before its eol'd. > > > > there may be some tweaking, but you'd be better getting it working > > with 5.3 (lang/php5) now rather than later... > > > > Paul. > > > > > Well, I have no screen-capture set up o my server, so cannot > show the firefox display. But here is the samr thing using > lynx: > > According to the /usr/local/www/wordpress/* files, php is not > running. I had the wordpress port install itself in the default > place: in /usr/local/www; should I cp the files somewhere else? > --I have no subdomain wordpress (or wordpress.thought.org). > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > (p1 > of 3) > WordPress > > Error: PHP is not running > > WordPress requires that your web server is running PHP. Your server > does not have PHP installed, or PHP is turned off. > > > > WordPress > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > Blogs appear in search engines by default $blog_public = 1; if ( ! > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > $_POST['weblog_title'] ) ) : ''; $user_name = > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > : ''; if ( ! is_null( $error ) ) { ?> > > ERROR > > > > So:: are there other ways of installing this stuff? Should I > cp -rp this wordpress directory in [e.g.] > /usr/local/www/journey? > > Thanks for any clues, > > gary > > Gary, Did you set up your webserver to parse .php/.phps files. In Apache this is probably (I don't have apache install on my fbsd box anymore) at /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other webservers... hth/c- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 17:19:23 2011 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 0429D1065674 for ; Tue, 11 Jan 2011 17:19:23 +0000 (UTC) (envelope-from dscheidt@panix.com) Received: from www.thixotropy.net (vc183.vc.panix.com [IPv6:2001:470:30:80:e276:63ff:fe62:3833]) by mx1.freebsd.org (Postfix) with ESMTP id C032E8FC16 for ; Tue, 11 Jan 2011 17:19:22 +0000 (UTC) Received: from [172.21.172.10] (unknown [66.227.18.86]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.thixotropy.net (Postfix) with ESMTPSA id 220D91257B8 for ; Tue, 11 Jan 2011 12:19:22 -0500 (EST) References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable From: David Scheidt Date: Tue, 11 Jan 2011 12:19:21 -0500 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1082) Subject: Re: Continuing problems with Dovecot + MySQL 5.5.8_1 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, 11 Jan 2011 17:19:23 -0000 On Jan 11, 2011, at 11:25 AM, Jerry wrote: > FreeBSD 8.2-PRERELEASE >=20 > After updating to the latest version of MySQL (5.5.8_1), I am > continuing to have problems with Dovecot failing to run correctly even > though I completely removed and reinstalled it. I might add that I did > a pkg_delete of the MySQL client and server also before updating the > port. I was led to believe that this updated version corrected the > problem; however, that does not appear to be correct. :-( >=20 > Strangely enough, Postfix, after rebuilding it, works fine with the > new version of MySQL. :-) >=20 > What I need to do is get a gdb backtrace of dovecot. Since the program > starts from the dovecot script in the /usr/local/etc/rc.d directory, I > am unsure of how to accomplish this. I have tried several methods; > however, they all fail. Exactly how would I start dovecot using the > script via gdb to get a backtrace? >=20 start it from the command line? There are some knobs in the conf file = to help with debugging, too. =20= From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 17:56:33 2011 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 D451C106566C for ; Tue, 11 Jan 2011 17:56:33 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 883BE8FC13 for ; Tue, 11 Jan 2011 17:56:33 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id DD70EE807EA; Tue, 11 Jan 2011 09:56:31 -0800 (PST) Date: Tue, 11 Jan 2011 09:56:31 -0800 From: Gary Kline To: Chris Brennan Message-ID: <20110111175631.GA27569@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Paul Macdonald , FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 17:56:34 -0000 On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > > > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > > > On 10/01/2011 21:21, Gary Kline wrote: > > > >Which php52 port do I need to run with wordpress? There are a > > > >slew of them po ports. > > > > > > > >tia. > > > > > > > php5.2 is the last release before its eol'd. > > > > > > there may be some tweaking, but you'd be better getting it working > > > with 5.3 (lang/php5) now rather than later... > > > > > > Paul. > > > > > > > > > Well, I have no screen-capture set up o my server, so cannot > > show the firefox display. But here is the samr thing using > > lynx: > > > > According to the /usr/local/www/wordpress/* files, php is not > > running. I had the wordpress port install itself in the default > > place: in /usr/local/www; should I cp the files somewhere else? > > --I have no subdomain wordpress (or wordpress.thought.org). > > > > > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > > (p1 > > of 3) > > WordPress > > > > Error: PHP is not running > > > > WordPress requires that your web server is running PHP. Your server > > does not have PHP installed, or PHP is turned off. > > > > > > > WordPress > > > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > > Blogs appear in search engines by default $blog_public = 1; if ( ! > > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > > $_POST['weblog_title'] ) ) : ''; $user_name = > > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > > ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > > stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > > $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > > : ''; if ( ! is_null( $error ) ) { ?> > > > > ERROR > > > > > > > > So:: are there other ways of installing this stuff? Should I > > cp -rp this wordpress directory in [e.g.] > > /usr/local/www/journey? > > > > Thanks for any clues, > > > > gary > > > > Gary, > Did you set up your webserver to parse .php/.phps files. In Apache this is > probably (I don't have apache install on my fbsd box anymore) at > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > webservers... > > hth/c- Here is a grep -1 php of the httpd.conf, showing that the php types are allowed. LoadModule rewrite_module libexec/apache22/mod_rewrite.so LoadModule php5_module libexec/apache22/libphp5.so ####LoadModule php5_module libexec/apache/libphp5.so ###LoadModule php5_module libexec/apache/libphp5.so AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php .htm .html AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps So, yeah, looks like that is permitted...... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:06:58 2011 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 5CE2A1065674 for ; Tue, 11 Jan 2011 18:06:58 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw5.njit.edu (mail-gw5.njit.edu [128.235.251.152]) by mx1.freebsd.org (Postfix) with ESMTP id 0363A8FC15 for ; Tue, 11 Jan 2011 18:06:57 +0000 (UTC) Received: from beta.maestro.njit.edu (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id p0BHPLLd014230; Tue, 11 Jan 2011 12:25:29 -0500 (EST) Message-ID: <4D2C9282.4030906@wallnet.com> Date: Tue, 11 Jan 2011 12:25:22 -0500 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101222 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> In-Reply-To: <20110111164623.GB26859@thought.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul Macdonald , FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 18:06:58 -0000 On 01/11/11 11:46, Gary Kline wrote: > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: >> On 10/01/2011 21:21, Gary Kline wrote: >>> Which php52 port do I need to run with wordpress? There are a >>> slew of them po ports. >>> >>> tia. >>> >> php5.2 is the last release before its eol'd. >> >> there may be some tweaking, but you'd be better getting it working >> with 5.3 (lang/php5) now rather than later... >> >> Paul. >> > > Well, I have no screen-capture set up o my server, so cannot > show the firefox display. But here is the samr thing using > lynx: > > According to the /usr/local/www/wordpress/* files, php is not > running. I had the wordpress port install itself in the default > place: in /usr/local/www; should I cp the files somewhere else? > --I have no subdomain wordpress (or wordpress.thought.org). > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > (p1 > of 3) > WordPress > > Error: PHP is not running > > WordPress requires that your web server is running PHP. Your server > does not have PHP installed, or PHP is turned off. > > > > WordPress > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > Blogs appear in search engines by default $blog_public = 1; if ( ! > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > $_POST['weblog_title'] ) ) : ''; $user_name = > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > : ''; if ( ! is_null( $error ) ) { ?> > > ERROR > > > > So:: are there other ways of installing this stuff? Should I > cp -rp this wordpress directory in [e.g.] > /usr/local/www/journey? > > Thanks for any clues, > > gary > > > > > Remember you have to tell apache to run php files as programs. Do you have the following lines in httpd.conf? AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Those lines should be right around row/line 217 in httpd.conf for apache 2.2 Tim Kellers From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:23:45 2011 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 12409106566B for ; Tue, 11 Jan 2011 18:23:45 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D99D68FC0A for ; Tue, 11 Jan 2011 18:23:44 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 38AFDE807EA; Tue, 11 Jan 2011 10:23:44 -0800 (PST) Date: Tue, 11 Jan 2011 10:23:44 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110111182344.GB27569@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <4D2C9368.4090701@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2C9368.4090701@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 18:23:45 -0000 On Tue, Jan 11, 2011 at 05:29:12PM +0000, Paul Macdonald wrote: > On 11/01/2011 16:46, Gary Kline wrote: > > > > > > So:: are there other ways of installing this stuff? Should I > > cp -rp this wordpress directory in [e.g.] > > /usr/local/www/journey? > > > > Thanks for any clues, > > > > gary > > > > > It looks like you have a workign apache2 already. > > *For PHP > *cd /usr/ports/lang/php5 > make config ( choose apache module) > make install clean Hm. I did this late night by going into the makefile and editing stuff from off to on. What's the mak e cmd? Is it "make config"? I first simply did a make install clrean; it did nothing. Then I did a deinstall/reinstall. I figured THAT should've done _something_. > > > *PHP5 Extensions > *(lots to choose from but make sure you have mysql at least selected > ( you'll need this installed obv for wordpress too ) > cd /usr/ports/lang/php5-extensions > make config > make install clean This one I have never seen before and may be just the ticket. Will try. ---WOW, there are a boatload of options. Is there any shortlist of ones i need to check? > > in your apache httpd.conf in the "AddType" section add > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > In the DirectoryIndex section (or on a new line after it) > Add this line > DirectoryIndex index.php index.html index.htm > > *Checks > *On shell do php-v > > on a webpage in your webroot (e.g test.php) > > add this php code > phpinfo(); > ?> > > http://localhost/test.php > If that shows you a nice php page then you should be good to go with > the wordpress installer > > Good luck! > Paul. > I think I have the test.php in /usr/local/www/data/www or whatever. Thanks for your tips. This time I may get it working :-) gary > > -- > ------------------------- > Paul Macdonald > IFDNRG Ltd > Web and video hosting > ------------------------- > t: 0131 5548070 > m: 07534206249 > e: paul@ifdnrg.com > w: http://www.ifdnrg.com > ------------------------- > IFDNRG > 40 Maritime Street > Edinburgh > EH6 6SA > ------------------------- > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:36:49 2011 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 99DE6106566C for ; Tue, 11 Jan 2011 18:36:49 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mx1.freebsd.org (Postfix) with SMTP id 6D20B8FC1B for ; Tue, 11 Jan 2011 18:36:49 +0000 (UTC) Received: (qmail 19829 invoked by uid 0); 11 Jan 2011 18:10:09 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by oproxy1.bluehost.com.bluehost.com with SMTP; 11 Jan 2011 18:10:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=AiMfy7KAfmu6FsLrHdC/Sn6nJ9HEG09T/pLfQ63joIpYAz2raeQfEpF3Fc12Y7H6eCRapEoUav88zEV7FE27uWkyBxed9CWXqEGE5TQGGRFyHf5f/P676G6fbiiIdIv2; Received: from r190-132-80-42.dialup.mobile.ancel.net.uy ([190.132.80.42] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PcifX-0004kX-Pe; Tue, 11 Jan 2011 11:10:08 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Tue, 11 Jan 2011 16:10:02 -0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.1; i686; ; ) References: <20110110212143.GA8276@thought.org> <20110111175631.GA27569@thought.org> In-Reply-To: <20110111175631.GA27569@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101111610.03250.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.132.80.42 authed with rjgonzale@estrads.com.ar} Cc: Paul Macdonald , Gary Kline , Chris Brennan Subject: Re: Which php?? 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, 11 Jan 2011 18:36:49 -0000 Did you restart apache? Second option to check directly php information create a file info.php with this content then go to http://your ip/info.php and check the results, if you see the text, your apache does not have php enabled, if it is enabled you will see information about your php installation On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote: > On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > > > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > > > > On 10/01/2011 21:21, Gary Kline wrote: > > > > >Which php52 port do I need to run with wordpress? There are a > > > > >slew of them po ports. > > > > > > > > > >tia. > > > > > > > > php5.2 is the last release before its eol'd. > > > > > > > > there may be some tweaking, but you'd be better getting it working > > > > with 5.3 (lang/php5) now rather than later... > > > > > > > > Paul. > > > > > > > Well, I have no screen-capture set up o my server, so cannot > > > > > > show the firefox display. But here is the samr thing using > > > lynx: > > > > > > According to the /usr/local/www/wordpress/* files, php is not > > > running. I had the wordpress port install itself in the default > > > place: in /usr/local/www; should I cp the files somewhere else? > > > --I have no subdomain wordpress (or wordpress.thought.org). > > > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > > > > > > (p1 > > > > > > of 3) > > > > > > WordPress > > > > > > Error: PHP is not running > > > > > > WordPress requires that your web server is running PHP. Your server > > > does not have PHP installed, or PHP is turned off. > > > > > > WordPress > > > > > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > > > Blogs appear in search engines by default $blog_public = 1; if ( ! > > > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > > > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > > > $_POST['weblog_title'] ) ) : ''; $user_name = > > > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] > > > ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? > > > trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email > > > = isset( $_POST['admin_email'] ) ? trim( stripslashes( > > > $_POST['admin_email'] ) ) > > > > > > : ''; if ( ! is_null( $error ) ) { ?> > > > > > > ERROR > > > > > > So:: are there other ways of installing this stuff? Should I > > > cp -rp this wordpress directory in [e.g.] > > > /usr/local/www/journey? > > > > > > Thanks for any clues, > > > > > > gary > > > > > > Gary, > > > > Did you set up your webserver to parse .php/.phps files. In Apache this > > is probably (I don't have apache install on my fbsd box anymore) at > > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > > webservers... > > > > hth/c- > > Here is a grep -1 php of the httpd.conf, showing that the php types > are allowed. > > > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > LoadModule php5_module libexec/apache22/libphp5.so > ####LoadModule php5_module libexec/apache/libphp5.so > ###LoadModule php5_module libexec/apache/libphp5.so > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php .php .htm .html > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > So, yeah, looks like that is permitted...... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:49:35 2011 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 C7FE21065674 for ; Tue, 11 Jan 2011 18:49:35 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5BE8FC0C for ; Tue, 11 Jan 2011 18:49:35 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0BInQFg038073; Tue, 11 Jan 2011 10:49:26 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0BInQYf038072; Tue, 11 Jan 2011 10:49:26 -0800 (PST) (envelope-from kline) Date: Tue, 11 Jan 2011 10:49:26 -0800 From: Gary Kline To: Rodrigo Gonzalez Message-ID: <20110111184926.GA23123@thought.org> References: <20110110212143.GA8276@thought.org> <20110111175631.GA27569@thought.org> <201101111610.03250.rjgonzale@estrads.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101111610.03250.rjgonzale@estrads.com.ar> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: Paul Macdonald , freebsd-questions@freebsd.org, Chris Brennan Subject: Re: Which php?? 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, 11 Jan 2011 18:49:35 -0000 On Tue, Jan 11, 2011 at 04:10:02PM -0200, Rodrigo Gonzalez wrote: > Did you restart apache? > > Second option to check directly php information > > create a file info.php with this content > phpinfo(); > ?> Well, it works. Probably after I had finished the php5-extentions port. I checked off some min of options, opened my www homepage and looked at the test.php page. Voila! Something IP remember from years ago. I opened the wordpress dir with file:///usr/local/www/wordpress/reame.html and things look that much more hopefull. I have a KWM switch and am working from my server port. FWIW, I'm using a very old and lightweight ctwm., Going to be an interesting day or three. > > then go to http://your ip/info.php > > and check the results, if you see the text, your apache does not have php > enabled, if it is enabled you will see information about your php installation > > On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote: > > On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > > > > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > > > > > On 10/01/2011 21:21, Gary Kline wrote: > > > > > >Which php52 port do I need to run with wordpress? There are a > > > > > >slew of them po ports. > > > > > > > > > > > >tia. > > > > > > > > > > php5.2 is the last release before its eol'd. > > > > > > > > > > there may be some tweaking, but you'd be better getting it working > > > > > with 5.3 (lang/php5) now rather than later... > > > > > > > > > > Paul. > > > > > > > > > Well, I have no screen-capture set up o my server, so cannot > > > > > > > > show the firefox display. But here is the samr thing using > > > > lynx: > > > > > > > > According to the /usr/local/www/wordpress/* files, php is not > > > > running. I had the wordpress port install itself in the default > > > > place: in /usr/local/www; should I cp the files somewhere else? > > > > --I have no subdomain wordpress (or wordpress.thought.org). > > > > > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > > > > > > > > > (p1 > > > > > > > > of 3) > > > > > > > > WordPress > > > > > > > > Error: PHP is not running > > > > > > > > WordPress requires that your web server is running PHP. Your server > > > > does not have PHP installed, or PHP is turned off. > > > > > > > > WordPress > > > > > > > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > > > > Blogs appear in search engines by default $blog_public = 1; if ( ! > > > > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > > > > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > > > > $_POST['weblog_title'] ) ) : ''; $user_name = > > > > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] > > > > ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? > > > > trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email > > > > = isset( $_POST['admin_email'] ) ? trim( stripslashes( > > > > $_POST['admin_email'] ) ) > > > > > > > > : ''; if ( ! is_null( $error ) ) { ?> > > > > > > > > ERROR > > > > > > > > So:: are there other ways of installing this stuff? Should I > > > > cp -rp this wordpress directory in [e.g.] > > > > /usr/local/www/journey? > > > > > > > > Thanks for any clues, > > > > > > > > gary > > > > > > > > Gary, > > > > > > Did you set up your webserver to parse .php/.phps files. In Apache this > > > is probably (I don't have apache install on my fbsd box anymore) at > > > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > > > webservers... > > > > > > hth/c- > > > > Here is a grep -1 php of the httpd.conf, showing that the php types > > are allowed. > > > > > > > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > > LoadModule php5_module libexec/apache22/libphp5.so > > ####LoadModule php5_module libexec/apache/libphp5.so > > ###LoadModule php5_module libexec/apache/libphp5.so > > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > > > > > AddType application/x-httpd-php .php .htm .html > > > > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php-source .phps > > > > So, yeah, looks like that is permitted...... > > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:51:17 2011 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 AB42B1065675 for ; Tue, 11 Jan 2011 18:51:17 +0000 (UTC) (envelope-from bmettee@pchotshots.com) Received: from mail.pchotshots.com (mail.pchotshots.com [12.172.123.237]) by mx1.freebsd.org (Postfix) with ESMTP id 667F48FC0A for ; Tue, 11 Jan 2011 18:51:17 +0000 (UTC) Received: (qmail 25445 invoked by uid 89); 11 Jan 2011 18:24:35 -0000 Received: from unknown (HELO ?12.172.123.228?) (bmettee@pchotshots.com@12.172.123.228) by mail.pchotshots.com with ESMTPA; 11 Jan 2011 18:24:35 -0000 Message-ID: <4D2CA063.8080008@pchotshots.com> Date: Tue, 11 Jan 2011 13:24:35 -0500 From: Brad Mettee User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Gary Kline , FreeBSD Mailing List References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> In-Reply-To: <20110111175631.GA27569@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Which php?? 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, 11 Jan 2011 18:51:17 -0000 Gary Kline wrote: > On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > >> On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: >> >> >>> On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: >>> >>>> On 10/01/2011 21:21, Gary Kline wrote: >>>> >>>>> Which php52 port do I need to run with wordpress? There are a >>>>> slew of them po ports. >>>>> >>>>> tia. >>>>> >>>>> >>>> php5.2 is the last release before its eol'd. >>>> >>>> there may be some tweaking, but you'd be better getting it working >>>> with 5.3 (lang/php5) now rather than later... >>>> >>>> Paul. >>>> >>>> >>> Well, I have no screen-capture set up o my server, so cannot >>> show the firefox display. But here is the samr thing using >>> lynx: >>> >>> According to the /usr/local/www/wordpress/* files, php is not >>> running. I had the wordpress port install itself in the default >>> place: in /usr/local/www; should I cp the files somewhere else? >>> --I have no subdomain wordpress (or wordpress.thought.org). >>> >>> >>> >>> ps 8:20 Server [5025] lynx wp-admin/install.php >>> (p1 >>> of 3) >>> WordPress >>> >>> Error: PHP is not running >>> >>> WordPress requires that your web server is running PHP. Your server >>> does not have PHP installed, or PHP is turned off. >>> > >>> >>> WordPress >>> >>> get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that >>> Blogs appear in search engines by default $blog_public = 1; if ( ! >>> empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); >>> $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( >>> $_POST['weblog_title'] ) ) : ''; $user_name = >>> isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) >>> ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( >>> stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( >>> $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) >>> : ''; if ( ! is_null( $error ) ) { ?> >>> >>> ERROR >>> >>> >>> >>> So:: are there other ways of installing this stuff? Should I >>> cp -rp this wordpress directory in [e.g.] >>> /usr/local/www/journey? >>> >>> Thanks for any clues, >>> >>> gary >>> >>> Gary, >>> >> Did you set up your webserver to parse .php/.phps files. In Apache this is >> probably (I don't have apache install on my fbsd box anymore) at >> /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other >> webservers... >> >> hth/c- >> > > > Here is a grep -1 php of the httpd.conf, showing that the php types > are allowed. > > > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > LoadModule php5_module libexec/apache22/libphp5.so > ####LoadModule php5_module libexec/apache/libphp5.so > ###LoadModule php5_module libexec/apache/libphp5.so > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php .php .htm .html > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > So, yeah, looks like that is permitted...... > Does the PHP.INI file have short tags enabled? Does WordPress use them by default? (Look at the beginning of the wordpress php files, look for " 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 188A21065673 for ; Tue, 11 Jan 2011 18:59:58 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id CB4E78FC08 for ; Tue, 11 Jan 2011 18:59:57 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0BJ4kVl006677; Tue, 11 Jan 2011 13:04:46 -0600 (CST) Date: Tue, 11 Jan 2011 13:04:46 -0600 (CST) From: Robert Bonomi Message-Id: <201101111904.p0BJ4kVl006677@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, peter@vfemail.net In-Reply-To: <20110110211331.E12A6106566B@hub.freebsd.org> Cc: Subject: Re: File Listing 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, 11 Jan 2011 18:59:58 -0000 > From owner-freebsd-questions@freebsd.org Mon Jan 10 15:19:23 2011 > Date: Mon, 10 Jan 2011 15:43:42 -0500 > To: freebsd-questions@freebsd.org > From: peter@vfemail.net > Subject: File Listing > > > Is there one single-line command I can execute that will list every > file in every directory on my FreeBSD box? I've been fussing with the > ls and du commands, but the output is never quite complete. 'man ls' is your friend. "ls -aR /" (as superuser!) is the answer. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 19:04:21 2011 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 3017C1065670 for ; Tue, 11 Jan 2011 19:04:21 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id B53BE8FC19 for ; Tue, 11 Jan 2011 19:04:20 +0000 (UTC) Received: (qmail 37129 invoked by uid 89); 11 Jan 2011 19:04:19 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2011 19:04:19 -0000 Received: (qmail 37101 invoked by uid 89); 11 Jan 2011 19:04:02 -0000 Received: from unknown (HELO www-52-2.vfemail.net) (vfemail@172.16.100.52) by FreeQueue with SMTP; 11 Jan 2011 19:04:02 -0000 Received: (qmail 37302 invoked by uid 89); 11 Jan 2011 19:04:03 -0000 Received: by simscan 1.4.0 ppid: 37285, pid: 37299, t: 0.1992s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.52 with ESMTPA; 11 Jan 2011 19:04:03 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 11 Jan 2011 14:03:42 -0500 To: freebsd-questions@freebsd.org From: peter@vfemail.net In-Reply-To: <201101111904.p0BJ4kVl006677@mail.r-bonomi.com> References: <20110110211331.E12A6106566B@hub.freebsd.org> <201101111904.p0BJ4kVl006677@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20110111190421.3017C1065670@hub.freebsd.org> Subject: Re: File Listing -- SOLVED 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, 11 Jan 2011 19:04:21 -0000 Thank you all for your prompt and helpful pointers. ------------------------------------------------- This message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts! 15GB disk! No bandwidth quotas! From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 19:22:34 2011 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 BA7FC106564A for ; Tue, 11 Jan 2011 19:22:34 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68A368FC16 for ; Tue, 11 Jan 2011 19:22:34 +0000 (UTC) Received: by qwj9 with SMTP id 9so20454031qwj.13 for ; Tue, 11 Jan 2011 11:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=0yUSB/+DFgX/3bUqMfeyPr6uoNeUK96+7DwnLT8O13c=; b=qrRrYiTFMcq5ALU1jFpTb3Q8Xar046gp7Rll5Qy+xADrg4uy3w94GnxJtxBovlmsPf pOZ/GwGz3lq9ofN7G3P/v0cRxi0VgtBd8SFy2jq7CVuD5+lpEGjMsc77iZgexy4GJb62 e7n+6e7Z7bR3OJFtWJtefLqcDpnXy63xCfosw= 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=QMnK7+6zkQ000k8ppHrD1dWYXYRFB8B1jSw2n4Jpc+P3Trc0HsKLw6jiHTtVfqfDs4 Nn41YdVEwMZiY1TfoER/2XLJf49wOYMTOIWJ0HyUMsU5g9NeqGVWpAhqyUsmJBhhA+MC RckH3TREAg4xNdfqmI0nmWVfNM2M72dHcnWNU= Received: by 10.229.95.81 with SMTP id c17mr7655qcn.99.1294773753382; Tue, 11 Jan 2011 11:22:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Tue, 11 Jan 2011 11:22:02 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 11 Jan 2011 22:22:02 +0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Continuing problems with Dovecot + MySQL 5.5.8_1 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, 11 Jan 2011 19:22:34 -0000 On Tue, Jan 11, 2011 at 7:25 PM, Jerry wrote: > FreeBSD 8.2-PRERELEASE > > After updating to the latest version of MySQL (5.5.8_1), I am > continuing to have problems with Dovecot failing to run correctly even > though I completely removed and reinstalled it. I might add that I did > a pkg_delete of the MySQL client and server also before updating the > port. I was led to believe that this updated version corrected the > problem; however, that does not appear to be correct. :-( > > Strangely enough, Postfix, after rebuilding it, works fine with the > new version of MySQL. :-) > > What I need to do is get a gdb backtrace of dovecot. Since the program > starts from the dovecot script in the /usr/local/etc/rc.d directory, I > am unsure of how to accomplish this. I have tried several methods; > however, they all fail. Exactly how would I start dovecot using the > script via gdb to get a backtrace? > > Since you are on FreeBSD, you can do the following (as root of course): #ulimit -c unlimited #gdb -args /usr/local/sbin/dovecot -F -c /usr/local/etc/dovecot/dovecot.conf run bt full You would run 'bt full' only after Dovecot died (gdb will tell you when that happens) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 19:29:05 2011 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 AB201106567A for ; Tue, 11 Jan 2011 19:29:05 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 721CD8FC14 for ; Tue, 11 Jan 2011 19:29:05 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0BJSxXI038487; Tue, 11 Jan 2011 11:28:59 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0BJSx0C038486; Tue, 11 Jan 2011 11:28:59 -0800 (PST) (envelope-from kline) Date: Tue, 11 Jan 2011 11:28:59 -0800 From: Gary Kline To: Brad Mettee Message-ID: <20110111192859.GB23123@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2CA063.8080008@pchotshots.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 19:29:05 -0000 On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote: > Gary Kline wrote: > >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > > >>On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > >> > >> > >>>On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > >>> > >>>>On 10/01/2011 21:21, Gary Kline wrote: > >>>> > >>>>>Which php52 port do I need to run with wordpress? There are a > >>>>>slew of them po ports. > >>>>> > >>>>>tia. > >>>>> > >>>>> > >>>>php5.2 is the last release before its eol'd. > >>>> > >>>>there may be some tweaking, but you'd be better getting it working > >>>>with 5.3 (lang/php5) now rather than later... > >>>> > >>>>Paul. > >>>> > >>>> > >>> Well, I have no screen-capture set up o my server, so cannot > >>> show the firefox display. But here is the samr thing using > >>> lynx: > >>> > >>> According to the /usr/local/www/wordpress/* files, php is not > >>> running. I had the wordpress port install itself in the default > >>> place: in /usr/local/www; should I cp the files somewhere else? > >>> --I have no subdomain wordpress (or wordpress.thought.org). > >>> > >>> > >>> > >>>ps 8:20 Server [5025] lynx wp-admin/install.php > >>> (p1 > >>>of 3) > >>> WordPress > >>> > >>>Error: PHP is not running > >>> > >>> WordPress requires that your web server is running PHP. Your server > >>> does not have PHP installed, or PHP is turned off. > >>> > > >>> > >>> WordPress > >>> > >>> get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > >>> Blogs appear in search engines by default $blog_public = 1; if ( ! > >>> empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > >>> $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > >>> $_POST['weblog_title'] ) ) : ''; $user_name = > >>> isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > >>> ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > >>> stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > >>> $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > >>> : ''; if ( ! is_null( $error ) ) { ?> > >>> > >>> ERROR > >>> > >>> > >>> > >>> So:: are there other ways of installing this stuff? Should I > >>> cp -rp this wordpress directory in [e.g.] > >>> /usr/local/www/journey? > >>> > >>> Thanks for any clues, > >>> > >>> gary > >>> > >>>Gary, > >>> > >>Did you set up your webserver to parse .php/.phps files. In Apache this is > >>probably (I don't have apache install on my fbsd box anymore) at > >>/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > >>webservers... > >> > >>hth/c- > >> > > > > > >Here is a grep -1 php of the httpd.conf, showing that the php types > >are allowed. > > > > > > > >LoadModule rewrite_module libexec/apache22/mod_rewrite.so > >LoadModule php5_module libexec/apache22/libphp5.so > >####LoadModule php5_module libexec/apache/libphp5.so > >###LoadModule php5_module libexec/apache/libphp5.so > > > >AddType application/x-httpd-php .php > >AddType application/x-httpd-php-source .phps > > > > > >AddType application/x-httpd-php .php .htm .html > > > > > >AddType application/x-httpd-php .php > >AddType application/x-httpd-php-source .phps > > > > So, yeah, looks like that is permitted...... > > > Does the PHP.INI file have short tags enabled? Does WordPress use them > by default? (Look at the beginning of the wordpress php files, look for > " still usable) looks like this " > Only ONE of the AddTypes should exist, I'm not sure how Apache will > handle it if there are multiple of them. Prune it back to being just > this pair (and make sure you do an apache restart after you change it): > > AddType application/x-httpd-php .php .htm .html .phtml > AddType application/x-httpd-php-source .phps Thanks for catching that, Brad. Save a few bytes:) When I did the restart, the sanity checker said things were okay, so whatever kind of parser reads the file is pretty sharp. gary > > If you execute "php -version" from the shell, what do you get? > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 19:34:02 2011 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 49FBE106566B for ; Tue, 11 Jan 2011 19:34:02 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 068858FC16 for ; Tue, 11 Jan 2011 19:34:01 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0BJXwKm038531; Tue, 11 Jan 2011 11:33:58 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0BJXwqm038530; Tue, 11 Jan 2011 11:33:58 -0800 (PST) (envelope-from kline) Date: Tue, 11 Jan 2011 11:33:58 -0800 From: Gary Kline To: Brad Mettee Message-ID: <20110111193357.GC23123@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2CA063.8080008@pchotshots.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 11 Jan 2011 19:34:02 -0000 On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote: > Gary Kline wrote: > >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > > > If you execute "php -version" from the shell, what do you get? > Rats. Now i get a segv...... Last night, no. Ideas? gary > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 20:17:07 2011 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 3EEEE106564A for ; Tue, 11 Jan 2011 20:17:07 +0000 (UTC) (envelope-from christer@csj.no) Received: from smtp204.iad.emailsrvr.com (smtp204.iad.emailsrvr.com [207.97.245.204]) by mx1.freebsd.org (Postfix) with ESMTP id ECD658FC0C for ; Tue, 11 Jan 2011 20:17:06 +0000 (UTC) Received: from smtp40.relay.iad1a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id AC50C3508AA for ; Tue, 11 Jan 2011 15:00:35 -0500 (EST) X-SMTPDoctor-Processed: csmtpprox 2.7.4 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id A8B3C350863 for ; Tue, 11 Jan 2011 15:00:35 -0500 (EST) X-Virus-Scanned: OK Received: from smtp192.mex02.mlsrvr.com (smtp192.mex02.mlsrvr.com [204.232.137.43]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTPS id E3AEC3508AA for ; Tue, 11 Jan 2011 15:00:34 -0500 (EST) Received: from IAD2MBX02.mex02.mlsrvr.com ([169.254.2.223]) by IAD2HUB06.mex02.mlsrvr.com ([172.23.10.70]) with mapi; Tue, 11 Jan 2011 15:00:33 -0500 From: Christer Solstrand Johannessen To: "freebsd-questions@freebsd.org" Date: Tue, 11 Jan 2011 15:00:29 -0500 Thread-Topic: Which php?? Thread-Index: AcuxxrM8DG25iGUGSyGyM7DFoJ9FCwAA2mew Message-ID: References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> <20110111193357.GC23123@thought.org> In-Reply-To: <20110111193357.GC23123@thought.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: Which php?? 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, 11 Jan 2011 20:17:07 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Gary Kline > Sent: 11. januar 2011 20:34 > To: Brad Mettee > Cc: FreeBSD Mailing List > Subject: Re: Which php?? >=20 > On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote: > > Gary Kline wrote: > > >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > > > > > > If you execute "php -version" from the shell, what do you get? > > >=20 >=20 > Rats. Now i get a segv...... Last night, no. Ideas? Recompile PHP with debug support. No, seriously. I have had the same problem for years with different versions of PHP, and hours of googling has led me to that answer. Seems that nobody can explain exactly why enabling debug support fixes the problem, but it does. Some boring history: I ran into this problem trying to get Horde/IMP working properly way back i= n 2003. IMP needs some PEAR modules to work, and they refused to install because PEAR needs PHP to work, and got cought on something and segfaulted trying to install the PEAR modules. Reworking the loading order of the PHP extensions seemed to work for some time, but then my changes got lost in one of many PHP upgrades and things got stuffed again. For a while I "solve= d" the problem by uninstalling Horde/IMP, but lately (since 2007-ish) I've hit= this snag every now and then. At some point I just gave up, and then I stumbled across the "enable debug in php and php-extensions" trick, and it's been painless ever since. Speed-wise, I can't tell the difference. I haven't run any real tests becau= se my servers aren't very busy and thus I haven't seen the point, but I'll grant = that on busy servers it may very well affect performance. YMMV. Good luck! - Christer From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 20:33:18 2011 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 05E42106566C for ; Tue, 11 Jan 2011 20:33:18 +0000 (UTC) (envelope-from frlinux@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3C78FC14 for ; Tue, 11 Jan 2011 20:33:17 +0000 (UTC) Received: by wyf19 with SMTP id 19so21335944wyf.13 for ; Tue, 11 Jan 2011 12:33:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=opNrBc8+pV4ABb70UXspngDsRz7sYUUcKcBGkPkHXqs=; b=QPC9k0MOJXkC4ZOqMl0XXf0HB2Yky1RsF0W8i/7yOERpSdf593OMc8LN6Fv3orLv3N ihGu9iiGiFAkm4lCm1TElL7Mo44uZbSDKYpFKS2ZMw/mLLoyZH6B/tDN3Ig7T4TmW0qn siAXmtzMzvHrLj9WPuM9FsqXihk0RK2C4Ow1U= 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=HlmqGbfcy2/LyXYMUZvyOZpIilyjv2zSOzXZr4Pikc1BSNYcQ++NbNfN40Ne8iJuUh VUCYq8JzLE6jBUYgelnSwHlfpaHnMnTbVB3snbPiE1IINUoc8vrq/UYRqYcJyCn2nUPB 9s9AQwJhrwsmmXpsTFBdmYDQLg9r7fbYeZsuA= MIME-Version: 1.0 Received: by 10.227.180.134 with SMTP id bu6mr46179wbb.183.1294777995915; Tue, 11 Jan 2011 12:33:15 -0800 (PST) Received: by 10.227.203.133 with HTTP; Tue, 11 Jan 2011 12:33:15 -0800 (PST) In-Reply-To: <201101111916.p0BJGhqR006787@mail.r-bonomi.com> References: <201101111916.p0BJGhqR006787@mail.r-bonomi.com> Date: Tue, 11 Jan 2011 20:33:15 +0000 Message-ID: From: FRLinux To: Robert Bonomi , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: problem booting a new server 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, 11 Jan 2011 20:33:18 -0000 On Tue, Jan 11, 2011 at 7:16 PM, Robert Bonomi wrote: > Try booting _with_ a disk in the CD drive. Well, I was at least for the first install since I booted from CD, time was the same about 1m to 1m30 before it boots. > Also, assuming these are parallel ATA drives, check the master/slave jumper > settings -- both on the CDROM and any other device on the same controller. Not a bad idea, have actually to open of the servers tomorrow so will check on that. Cheers, Steph From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 21:12:10 2011 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 4A433106566C for ; Tue, 11 Jan 2011 21:12:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA7E8FC1A for ; Tue, 11 Jan 2011 21:12:09 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 42514E807EA; Tue, 11 Jan 2011 13:12:09 -0800 (PST) Date: Tue, 11 Jan 2011 13:12:09 -0800 From: Gary Kline To: Rodrigo Gonzalez Message-ID: <20110111211209.GB31683@thought.org> References: <20110110212143.GA8276@thought.org> <20110111175631.GA27569@thought.org> <201101111610.03250.rjgonzale@estrads.com.ar> <20110111184926.GA23123@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110111184926.GA23123@thought.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Paul Macdonald , freebsd-questions@freebsd.org, Chris Brennan Subject: Well.... {was:: Re: Which php??} 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, 11 Jan 2011 21:12:10 -0000 On Tue, Jan 11, 2011 at 10:49:26AM -0800, Gary Kline wrote: > On Tue, Jan 11, 2011 at 04:10:02PM -0200, Rodrigo Gonzalez wrote: It isn't esp'ly tasty to have to eat one's own words, but that is what happened for about 90 mins this morning. ---I could have _sworn_ that I had cron'd the ports upgrade stuff at least weekly. Nope. At least I think things are back on track. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 23:58:05 2011 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 02393106564A for ; Tue, 11 Jan 2011 23:58:05 +0000 (UTC) (envelope-from lyanina@beautyprof.kz) Received: from mx7.valuehost.ru (mx7.valuehost.ru [217.112.42.214]) by mx1.freebsd.org (Postfix) with ESMTP id B42B88FC08 for ; Tue, 11 Jan 2011 23:58:04 +0000 (UTC) Received: from mx7.valuehost.ru (localhost.valuehost.ru [127.0.0.1]) by mx7.valuehost.ru (Postfix) with ESMTP id 4F2D42EABA for ; Wed, 12 Jan 2011 02:39:14 +0300 (MSK) From: "Jansons_no_Chad" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 12 Jan 2011 01:39:20 +0200 Message-Id: <20110111233915.4F2D42EABA@mx7.valuehost.ru> Subject: Pipari un porno? Latvija! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jansons_no_Chad List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 23:58:05 -0000 Esmu latvju (ljoti seksiga) meitene. Esmu iekarojama pornozvaigzne. Ja tu veel nezinaaji, tad sodien ir atverta man veltita majas lapa latvju meelee. Ienaac saita un ieveertee triis labakaas pornofilmas no manas kolekcijas. Baigi labs darbs - seksuali un sensitivi pornografisks. Seko saitei: http://bit.ly/gIrXBt From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 00:52:37 2011 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 4EF00106567A for ; Wed, 12 Jan 2011 00:52:37 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 099DF8FC16 for ; Wed, 12 Jan 2011 00:52:35 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id C88DAE807EA; Tue, 11 Jan 2011 16:52:34 -0800 (PST) Date: Tue, 11 Jan 2011 16:52:34 -0800 From: Gary Kline To: Brad Mettee Message-ID: <20110112005234.GA4277@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2CA063.8080008@pchotshots.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 12 Jan 2011 00:52:37 -0000 On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote: > Gary Kline wrote: > >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > >>On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline wrote: > >> > >>>On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: > >>>>On 10/01/2011 21:21, Gary Kline wrote: > >>>>>Which php52 port do I need to run with wordpress? There are a > >>>>>slew of them po ports. > >>>>> > >>>>>tia. > >>>>> > >>>>php5.2 is the last release before its eol'd. > >>>> > >>>>there may be some tweaking, but you'd be better getting it working > >>>>with 5.3 (lang/php5) now rather than later... > >>>> > >>>>Paul. > >>>> > >>> Well, I have no screen-capture set up o my server, so cannot > >>> show the firefox display. But here is the samr thing using > >>> lynx: > >>> > >>> According to the /usr/local/www/wordpress/* files, php is not > >>> running. I had the wordpress port install itself in the default > >>> place: in /usr/local/www; should I cp the files somewhere else? > >>> --I have no subdomain wordpress (or wordpress.thought.org). > >>> > >>> > >>> > >>>ps 8:20 Server [5025] lynx wp-admin/install.php > >>> (p1 > >>>of 3) > >>> WordPress > >>> > >>>Error: PHP is not running > >>> > >>> WordPress requires that your web server is running PHP. Your server > >>> does not have PHP installed, or PHP is turned off. > >>> > > >>> > >>> WordPress > >>> > >>> get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > >>> Blogs appear in search engines by default $blog_public = 1; if ( ! > >>> empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > >>> $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > >>> $_POST['weblog_title'] ) ) : ''; $user_name = > >>> isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > >>> ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > >>> stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > >>> $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > >>> : ''; if ( ! is_null( $error ) ) { ?> > >>> > >>> ERROR > >>> > >>> > >>> > >>> So:: are there other ways of installing this stuff? Should I > >>> cp -rp this wordpress directory in [e.g.] > >>> /usr/local/www/journey? > >>> > >>> Thanks for any clues, > >>> > >>> gary > >>> > >>>Gary, > >>Did you set up your webserver to parse .php/.phps files. In Apache this is > >>probably (I don't have apache install on my fbsd box anymore) at > >>/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > >>webservers... > >> > >>hth/c- > > > > > >Here is a grep -1 php of the httpd.conf, showing that the php types > >are allowed. > > > > > > > >LoadModule rewrite_module libexec/apache22/mod_rewrite.so > >LoadModule php5_module libexec/apache22/libphp5.so > >####LoadModule php5_module libexec/apache/libphp5.so > >###LoadModule php5_module libexec/apache/libphp5.so > > > >AddType application/x-httpd-php .php > >AddType application/x-httpd-php-source .phps > > > > > >AddType application/x-httpd-php .php .htm .html > > > > > >AddType application/x-httpd-php .php > >AddType application/x-httpd-php-source .phps > > > > So, yeah, looks like that is permitted...... > Does the PHP.INI file have short tags enabled? Does WordPress use > them by default? (Look at the beginning of the wordpress php files, > look for " (deprecated, but still usable) looks like this " > Only ONE of the AddTypes should exist, I'm not sure how Apache will > handle it if there are multiple of them. Prune it back to being just > this pair (and make sure you do an apache restart after you change > it): > > AddType application/x-httpd-php .php .htm .html .phtml > AddType application/x-httpd-php-source .phps > > If you execute "php -version" from the shell, what do you get? > Lots of warnings:: Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) (DEBUG) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 04:39:16 2011 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 4774A1065672 for ; Wed, 12 Jan 2011 04:39:16 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CBEF18FC0A for ; Wed, 12 Jan 2011 04:39:15 +0000 (UTC) Received: by wyf19 with SMTP id 19so181735wyf.13 for ; Tue, 11 Jan 2011 20:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=brMPOfoF/Xi3RHD1fBpJ5CWvJB1JiEdudEl3WUpzb8k=; b=YLwh6MAo3bPlOt6K70w5/AvCEx7R1w/CuiDtthGOVJ9wGWws+GGZvqOG0hqrVJMPbk JiT9YoEH98t0t3Bjqxu+zQsVOpmIzNSdB751hy+/zX3LEiAKho9O9p+no8CyDAVm68qD O2xh5Bgy7lhFzs27P6/whlsyU6Febr+lVt+AM= 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=gD0eyDSj90DwfT6xgXPsAOE2NeDCP7HoBekoGMQzfB/TyP0t0dpMUGdQtGWoPNmfiK KJM1xXaHtr/C7+vL+RRpS71bliEwRewXGOFuGo770ZJjMDTgPKM8Mo4RFAv7BVQFBlPw lqjUeUHMdeN/tCaDleUBzQblm68FgKI9luSoI= Received: by 10.216.220.219 with SMTP id o69mr377900wep.57.1294805485314; Tue, 11 Jan 2011 20:11:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.54.211 with HTTP; Tue, 11 Jan 2011 20:11:05 -0800 (PST) In-Reply-To: References: <201101111916.p0BJGhqR006787@mail.r-bonomi.com> From: Amitabh Kant Date: Wed, 12 Jan 2011 09:41:05 +0530 Message-ID: To: FRLinux Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: problem booting a new server 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: Wed, 12 Jan 2011 04:39:16 -0000 On Wed, Jan 12, 2011 at 2:03 AM, FRLinux wrote: > On Tue, Jan 11, 2011 at 7:16 PM, Robert Bonomi > wrote: > > Try booting _with_ a disk in the CD drive. > > Well, I was at least for the first install since I booted from CD, > time was the same about 1m to 1m30 before it boots. > > > Also, assuming these are parallel ATA drives, check the master/slave > jumper > > settings -- both on the CDROM and any other device on the same > controller. > > Not a bad idea, have actually to open of the servers tomorrow so will > check on that. > > Cheers, > Steph > Try setting hint.atkbdc.0.disabled=3D=E2=80=9D1" and hint.atkbd.0.disabled= =3D=E2=80=9D1=E2=80=B3 in /boot/device.hints . This should solve your boot delay problems. If I am no= t wrong, it relates to usb keyboard. With regards Amitabh From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 06:30:48 2011 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 E70BB106566B for ; Wed, 12 Jan 2011 06:30:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C293F8FC0C for ; Wed, 12 Jan 2011 06:30:48 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 928E7E807EA; Tue, 11 Jan 2011 22:30:47 -0800 (PST) Date: Tue, 11 Jan 2011 22:30:47 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110112063044.GA9126@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Any other suggestions?? 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, 12 Jan 2011 06:30:49 -0000 Folks, I have used ``portmaster portdir/port --fix'' to upgrade lang/php5, www/wordpress, and www/apache22. php --version does tell me that I have php5 5.3.5 but it also has a page of misc output preceding that. This output is of the type "^Warning: PHP 5.3 cannot" do whatever. I cannot set up wordpress which is set up in /usr/local/www/wordpress. I _can_ read the readme.html file. I will have another try and installing the blogware and see if there are options. Meanwhile, if anybody has done this gbefore, I would be much obliged for some clues. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 06:34:38 2011 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 279E2106564A for ; Wed, 12 Jan 2011 06:34:38 +0000 (UTC) (envelope-from archerra@cs.unisa.edu.au) Received: from reason.ml.unisa.edu.au (reason.ml.unisa.edu.au [130.220.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3C58FC08 for ; Wed, 12 Jan 2011 06:34:37 +0000 (UTC) Received: from cis-mail.ml.unisa.edu.au (cis-mail.ml.unisa.edu.au [130.220.236.63]) by reason.ml.unisa.edu.au (8.12.10/8.12.10) with ESMTP id p0C6NZUn008693 for ; Wed, 12 Jan 2011 16:53:35 +1030 (CST) Received: from cis234393.ml.unisa.edu.au (cis234393.ml.unisa.edu.au [10.220.94.204]) (authenticated bits=0) by cis-mail.ml.unisa.edu.au (8.14.4/8.14.4) with ESMTP id p0C6NXjd095494 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 12 Jan 2011 16:53:34 +1030 (CST) (envelope-from archerra@cs.unisa.edu.au) From: Robert Archer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Jan 2011 16:53:33 +1030 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (reason.ml.unisa.edu.au [130.220.164.145]); Wed, 12 Jan 2011 16:53:35 +1030 (CST) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (cis-mail.ml.unisa.edu.au [130.220.236.63]); Wed, 12 Jan 2011 16:53:35 +1030 (CST) Subject: Sudo 1.7.4 and AD groups 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, 12 Jan 2011 06:34:38 -0000 Hi FreeBSD Folks, I'm using Samba 3.5.6 to authenticate logins and manage access on = FreeBSD 8.1. With Sudo 1.7.2, I was able to use Active Directory groups in = sudoers(5), but this doesn't seem to work in 1.7.4. Versions: $ uname -a FreeBSD cis-mvl.ml.unisa.edu.au 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 = #0: Tue Jan 11 06:03:08 CST 2011 = root@cis-freebsd.ml.unisa.edu.au:/export/build/obj/export/build/src/sys/VM= WARE amd64 $ sudo -V Sudo version 1.7.4p4 $ winbindd -V Version 3.5.6 /etc/nsswitch.conf: group: files winbind hosts: files dns networks: files passwd: files winbind protocols: files rpc: files services: files shells: files /usr/local/etc/pam.d/sudo: auth sufficient /usr/local/lib/pam_winbind.so = try_first_pass auth include system account include system session required pam_permit.so password include system /usr/local/etc/sudoers: Defaults env_keep +=3D "EDITOR FTP_PASSIVE_MODE = HOME PAGER" Defaults insults Defaults shell_noargs Defaults syslog =3D auth Defaults !tty_tickets =20 root ALL =3D (ALL) ALL %wheel ALL =3D (ALL) ALL %cis-sambagroupname ALL =3D (ALL) ALL Using version 1.7.2: $ /mnt/usr/local/bin/sudo -V Sudo version 1.7.2p6 $ /mnt/usr/local/bin/sudo -l Password:=20 Matching Defaults entries for cis-username on this host: env_keep+=3D"EDITOR FTP_PASSIVE_MODE HOME PAGER", insults, = shell_noargs, syslog=3Dauth, !tty_tickets User cis-username may run the following commands on this host: (ALL) ALL Using version 1.7.4: $ sudo -V Sudo version 1.7.4p4 $ sudo -l Password:=20 Sorry, user cis-username may not run sudo on cis-mvl. The group looks correct: $ getent group cis-sambagroupname=20 = cis-sambagroupname:x:169013:cis-XXXXXXXX,iee-XXXXXX,cis-XXXXXXXX,cis-usern= ame,cis-XXXXXXX,cis-XXXXXX And if I add my username to sudoers(5), it works fine. Any suggestions? Thanks Rob. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 14:16:59 2011 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 73116106564A for ; Wed, 12 Jan 2011 14:16:59 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 396518FC13 for ; Wed, 12 Jan 2011 14:16:58 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 2E1592DCEE3 for ; Wed, 12 Jan 2011 15:01:46 +0100 (CET) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 168C0105441F for ; Wed, 12 Jan 2011 15:01:46 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 02B74105441A for ; Wed, 12 Jan 2011 15:01:46 +0100 (CET) Message-ID: <4D2DB449.6070901@esiee.fr> Date: Wed, 12 Jan 2011 15:01:45 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: problem with shell 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: Wed, 12 Jan 2011 14:16:59 -0000 Hello I'm in trouble with a simple shell script that give erroneous value when running ... If I run commands interactively everything runs well > ps ax | grep slapd | grep -v grep | wc -l 1 If I run in the following shell script : #!/bin/sh SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD the result is 3 !!! Any info welcome ! From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 14:40:11 2011 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 2AF401065670 for ; Wed, 12 Jan 2011 14:40:11 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 9EABA8FC16 for ; Wed, 12 Jan 2011 14:40:10 +0000 (UTC) Received: from [192.168.1.65] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0CA2cVV096273 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Jan 2011 10:02:40 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2D7C3E.50404@ifdnrg.com> Date: Wed, 12 Jan 2011 10:02:38 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> <20110112005234.GA4277@thought.org> In-Reply-To: <20110112005234.GA4277@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 12 Jan 2011 14:40:11 -0000 > Lots of warnings:: > > > Deprecated: Directive 'register_long_arrays' is deprecated in PHP > 5.3 and greater in Unknown on line 0 > > Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 > and greater in Unknown on line 0 > PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) > (DEBUG) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > This is kinda good, at least its installed ! To turn off deprecated notices in looging: edit /usr/local/etc/php.ini ( approx line 523) error_reporting = E_ALL & ~E_DEPRECATED Make php log errors: ( line approx 646) error_log = /var/log/php_errors.log then try php -v from shell, From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 14:40:40 2011 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 945F1106567A for ; Wed, 12 Jan 2011 14:40:40 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 0780C8FC1E for ; Wed, 12 Jan 2011 14:40:39 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0BHTEGc063916; Tue, 11 Jan 2011 17:29:14 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2C9368.4090701@ifdnrg.com> Date: Tue, 11 Jan 2011 17:29:12 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> In-Reply-To: <20110111164623.GB26859@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 12 Jan 2011 14:40:40 -0000 On 11/01/2011 16:46, Gary Kline wrote: > > > So:: are there other ways of installing this stuff? Should I > cp -rp this wordpress directory in [e.g.] > /usr/local/www/journey? > > Thanks for any clues, > > gary > It looks like you have a workign apache2 already. *For PHP *cd /usr/ports/lang/php5 make config ( choose apache module) make install clean *PHP5 Extensions *(lots to choose from but make sure you have mysql at least selected ( you'll need this installed obv for wordpress too ) cd /usr/ports/lang/php5-extensions make config make install clean in your apache httpd.conf in the "AddType" section add AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps In the DirectoryIndex section (or on a new line after it) Add this line DirectoryIndex index.php index.html index.htm *Checks *On shell do php-v on a webpage in your webroot (e.g test.php) add this php code http://localhost/test.php If that shows you a nice php page then you should be good to go with the wordpress installer Good luck! Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 14:47:47 2011 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 6E6501065673 for ; Wed, 12 Jan 2011 14:47:47 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 33B698FC08 for ; Wed, 12 Jan 2011 14:47:46 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 5BF1B2DCF3D for ; Wed, 12 Jan 2011 15:47:46 +0100 (CET) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 42E021054425 for ; Wed, 12 Jan 2011 15:47:46 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 2F78C1054422 for ; Wed, 12 Jan 2011 15:47:46 +0100 (CET) Message-ID: <4D2DBF12.3050809@esiee.fr> Date: Wed, 12 Jan 2011 15:47:46 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: protect a single interface with IPFW ? 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, 12 Jan 2011 14:47:47 -0000 Hello is it possible to protect a single interface with IPFW my server has only one interface and I want to allow only SSH LDAP LDAPS thanks for any examples From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:01:03 2011 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 406191065673 for ; Wed, 12 Jan 2011 15:01:03 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C7DB38FC19 for ; Wed, 12 Jan 2011 15:01:02 +0000 (UTC) Received: by wwf26 with SMTP id 26so644552wwf.31 for ; Wed, 12 Jan 2011 07:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=M/Z/8g9jyCip5gB8tcKjgLKlwvzTHbQsEN4+l5b5jjw=; b=o6X3CrJp9FaLL9OnqEIShxTR8U9chZmSf8ajWo1gN94PHb8NLiT6k4bmLdn71iddbv 2o8FcStzYy67bQU7TnvQzynV/W8CjQ0E0CUSd5DD3U0ze3mYjXwBTQhw7rxM0vMf9cxc ZQitg5+LfibqrNP2BDuXNBQwcfaaJztETHndc= 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=tBLsOeaVzXHptaU5zBzbsrVMMserg1alGAr+cnT8zytR4rR5H3iBfgvQM9+uZqVCAd qHzZO2s9Qz8i9eTn2ysEZiNL2pvhZ9sCmpa104CtFafL2V6iTZtkQQFcFzX4w2HWt2HF HDSxSh2rvooCU6GokumSdEne32i4vQvIUmWlU= MIME-Version: 1.0 Received: by 10.216.162.13 with SMTP id x13mr925683wek.14.1294844461651; Wed, 12 Jan 2011 07:01:01 -0800 (PST) Received: by 10.216.229.73 with HTTP; Wed, 12 Jan 2011 07:01:01 -0800 (PST) In-Reply-To: <4D2DBF12.3050809@esiee.fr> References: <4D2DBF12.3050809@esiee.fr> Date: Wed, 12 Jan 2011 15:01:01 +0000 Message-ID: From: krad To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: protect a single interface with IPFW ? 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, 12 Jan 2011 15:01:03 -0000 On 12 January 2011 14:47, Frank Bonnet wrote: > Hello > > is it possible to protect a single interface with IPFW > my server has only one interface and I want to > allow only SSH LDAP LDAPS > > thanks for any examples > > _______________________________________________ > 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" > something likes this add pass all from any to any via lo0 add pass tcp from w.x.y.z to any 22 in via $int keep-state add pass tcp from w.x.y.z to any 389 in via $int keep-state add deny ip from any to any or for pf (better in my opinion) table const { hosta, hostb, ... } table const { hosta, hostb, ... } set skip on lo0 block any from any pass in quick proto tcp from to any port ssh synproxy state pass in quick proto tcp from to any port ldap synproxy state From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:03:42 2011 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 E9F0A106564A for ; Wed, 12 Jan 2011 15:03:42 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB6D8FC17 for ; Wed, 12 Jan 2011 15:03:42 +0000 (UTC) Received: by wwi17 with SMTP id 17so3984434wwi.1 for ; Wed, 12 Jan 2011 07:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ORKx78Ey6UGc5tU5ZX1YeRTgShdEcqO7GRQRMjK8Bsg=; b=nBXnB7EZi+/bhSzX2n1l+l8Qf0IJq7WYvDs10COexYgR+fEL9Smvqnb0HPTzu0nmto zV4578G0HVswY+9pJ7MwFtiWcpME/WoINSn0EDPBabiRQO2oeVWi+yo+OuRbyGspKHNB KqyOAWOBuh3F1nVNYwcmZYBzq24x/7ehjWVqo= 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=UfHEd+qSYnoX/gUN8hwT/igooE7ulwSPr/3atQ2QhIx1+Uz4Zr05fR8LTc2aK2IH3O G5y23dcNvOL7MSVqQ8wRgszRni8RztuZmE5c/GPU/gHplQ6sREYBwg3JEUZ86XvRL1im 0vt7Pf0f/SY8FIOntKkTLvQf6y7HHlqymUxpg= MIME-Version: 1.0 Received: by 10.216.52.143 with SMTP id e15mr1078946wec.44.1294844621189; Wed, 12 Jan 2011 07:03:41 -0800 (PST) Received: by 10.216.229.73 with HTTP; Wed, 12 Jan 2011 07:03:41 -0800 (PST) In-Reply-To: References: <4D2DBF12.3050809@esiee.fr> Date: Wed, 12 Jan 2011 15:03:41 +0000 Message-ID: From: krad To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: protect a single interface with IPFW ? 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, 12 Jan 2011 15:03:43 -0000 On 12 January 2011 15:01, krad wrote: > > > On 12 January 2011 14:47, Frank Bonnet wrote: > >> Hello >> >> is it possible to protect a single interface with IPFW >> my server has only one interface and I want to >> allow only SSH LDAP LDAPS >> >> thanks for any examples >> >> _______________________________________________ >> 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" >> > > > something likes this > > add pass all from any to any via lo0 > add pass tcp from w.x.y.z to any 22 in via $int keep-state > add pass tcp from w.x.y.z to any 389 in via $int keep-state > add deny ip from any to any > > or for pf (better in my opinion) > > table const { hosta, hostb, ... } > table const { hosta, hostb, ... } > > set skip on lo0 > > block any from any > pass in quick proto tcp from to any port ssh synproxy state > pass in quick proto tcp from to any port ldap synproxy state > > > whops forgot the all important lines. Without these you box itself cant intiate connections to the outside world ipfw add before the deny add pass all from any to any out via $int keep-state and for pf, add at the end pass out from any to any keep state From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:05:18 2011 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 49A79106566C for ; Wed, 12 Jan 2011 15:05:18 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 93C598FC08 for ; Wed, 12 Jan 2011 15:05:17 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id A22BD2DCF3F for ; Wed, 12 Jan 2011 16:05:16 +0100 (CET) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 897E2105441D for ; Wed, 12 Jan 2011 16:05:16 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 538AD105441A for ; Wed, 12 Jan 2011 16:05:16 +0100 (CET) Message-ID: <4D2DC32C.7000800@esiee.fr> Date: Wed, 12 Jan 2011 16:05:16 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D2DBF12.3050809@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: protect a single interface with IPFW ? 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, 12 Jan 2011 15:05:18 -0000 Thanks a lot ! On 01/12/2011 04:03 PM, krad wrote: > On 12 January 2011 15:01, krad wrote: > >> >> On 12 January 2011 14:47, Frank Bonnet wrote: >> >>> Hello >>> >>> is it possible to protect a single interface with IPFW >>> my server has only one interface and I want to >>> allow only SSH LDAP LDAPS >>> >>> thanks for any examples >>> >>> _______________________________________________ >>> 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" >>> >> >> something likes this >> >> add pass all from any to any via lo0 >> add pass tcp from w.x.y.z to any 22 in via $int keep-state >> add pass tcp from w.x.y.z to any 389 in via $int keep-state >> add deny ip from any to any >> >> or for pf (better in my opinion) >> >> table const { hosta, hostb, ... } >> table const { hosta, hostb, ... } >> >> set skip on lo0 >> >> block any from any >> pass in quick proto tcp from to any port ssh synproxy state >> pass in quick proto tcp from to any port ldap synproxy sta= te >> >> >> > whops forgot the all important lines. Without these you box itself cant > intiate connections to the outside world > > ipfw add before the deny > > add pass all from any to any out via $int keep-state > > and for pf, add at the end > > pass out from any to any keep state > _______________________________________________ > 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 Frank BONNET 01.45.92.66.17 Service des Moyens Informatique Generaux ESIEE PARIS Cit=E9 Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:15:49 2011 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 5B3F6106566C for ; Wed, 12 Jan 2011 15:15:49 +0000 (UTC) (envelope-from sunckell@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DBB228FC15 for ; Wed, 12 Jan 2011 15:15:48 +0000 (UTC) Received: by bwz12 with SMTP id 12so564737bwz.13 for ; Wed, 12 Jan 2011 07:15:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IhtoSUe/HxbrASXo/UY90nGzI//oevQA1rIGTpx3q8c=; b=T40l7Q9tesOU7aYLWPDZKJ2SXE8rNJsZURxNZrsCZ1l0PoVAwyt92aP5cyPCUXlPpZ YPEj1wJauBBtDvKnaKKgzCUzP1+RKsDQ+doxcSvwUVk+VVMUXhwIzMEAwd6WGWxuO8Tk h6k6UXdc6OgGp49GxoF+GN09zEHmr757sMrII= 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=iHt/lzifU7iaIaBX5EcjY53jWUQJvgkPMwdAGaGlHR/B/S7EgKQobOaw+9RONHTCD3 efN7HzUJ8HRkC2IEZrOsyJDvsPvQetIAnDoYyvnJIuG/5rB/EdLXQ7UCQhYTaqwheOmH IGWEEGvOgq/B+Cw9sc0O5XDs7lOBNPLKjHVSc= MIME-Version: 1.0 Received: by 10.204.58.13 with SMTP id e13mr810346bkh.148.1294843821311; Wed, 12 Jan 2011 06:50:21 -0800 (PST) Received: by 10.204.68.203 with HTTP; Wed, 12 Jan 2011 06:50:21 -0800 (PST) In-Reply-To: <4D2DB449.6070901@esiee.fr> References: <4D2DB449.6070901@esiee.fr> Date: Wed, 12 Jan 2011 09:50:21 -0500 Message-ID: From: Chad Kellerman To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Wed, 12 Jan 2011 15:15:49 -0000 On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote: > Hello > > I'm in trouble with a simple shell script that give > erroneous value when running ... > > If I run commands interactively everything runs well > > > ps ax | grep slapd | grep -v grep | wc -l > 1 > > If I run in the following shell script : > > #!/bin/sh > SD=0 > SD=`ps -ax | grep slapd | grep -v grep | wc -l` > echo $SD > > the result is 3 !!! > > > Any info welcome ! > What's the name of your script? Hope it's not slapd_check.sh that will cause and extra count in the ps, cus it will count itself. Chad > > _______________________________________________ > 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" > -- A grasshopper walks into a bar and the bartender says "Hey, we have a drink named after you." And the grasshopper says "Really, You have a drink named Murray?" From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:35:13 2011 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 864D1106564A for ; Wed, 12 Jan 2011 15:35:13 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 32EDF8FC17 for ; Wed, 12 Jan 2011 15:35:12 +0000 (UTC) Received: by vws9 with SMTP id 9so165848vws.13 for ; Wed, 12 Jan 2011 07:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=z55vQlfFI9RfMxsa1j2cAKNqcbegKs6A2pi9gKUEL+4=; b=hEkaSLOEHZAMn87SBSypzc7UvJSVZe3MKZHOXsePoycfRnmTZd7mq4OgQGckwnddwr xGkzN1R3B1B54gWbkfuC+vX2gSG19MQOvDkLOPSaOOcBR9fcxQEJtJBPnpVjANXlUCPf NiDFWQ83vWsxRbjP2A9hUYl2nolb7nT/vlHnI= 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=Cb22HfAR6R7HOBDwOe7PqZzj83n+llxVy4I3rdMlErP0/8yMNVGRBkyoXfK0U9RYqm /LkWQzDP62yMaUgTr/NOEqURVFT/3qFikJb7YdvHKQCtMANrKrXKTxtaFQt6oA/NJqzD b5QLzB94M6gA+Ir8iHhVWTFkTAWdbZJpcDLxM= Received: by 10.229.235.2 with SMTP id ke2mr923651qcb.285.1294846512249; Wed, 12 Jan 2011 07:35:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.77.215 with HTTP; Wed, 12 Jan 2011 07:34:32 -0800 (PST) In-Reply-To: References: <4D2DB449.6070901@esiee.fr> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Wed, 12 Jan 2011 16:34:32 +0100 Message-ID: To: Chad Kellerman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Frank Bonnet , freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Wed, 12 Jan 2011 15:35:13 -0000 On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote: > On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote: > > > Hello > > > > I'm in trouble with a simple shell script that give > > erroneous value when running ... > > > > If I run commands interactively everything runs well > > > > > ps ax | grep slapd | grep -v grep | wc -l > > 1 > > > > If I run in the following shell script : > > > > #!/bin/sh > > SD=3D0 > > SD=3D`ps -ax | grep slapd | grep -v grep | wc -l` > > echo $SD > > > > the result is 3 !!! > > > ps ax | grep "[/]slapd " | wc -l may not fix the problem but still cleaner > > > > Any info welcome ! > > > > What's the name of your script? Hope it's not slapd_check.sh that will > cause and extra count in the ps, cus it will count itself. > > > Chad > > > > > _______________________________________________ > > 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" > > > > > > -- > A grasshopper walks into a bar and the bartender says "Hey, we have a dri= nk > named after you." And the grasshopper says "Really, You have a drink name= d > Murray?" > _______________________________________________ > 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 Samuel Mart=EDn Moro {EPITECH.} 2011 CamTrace S.A.S "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:44:19 2011 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 BB947106564A for ; Wed, 12 Jan 2011 15:44:19 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6EE1C8FC19 for ; Wed, 12 Jan 2011 15:44:19 +0000 (UTC) Received: by qyk36 with SMTP id 36so696902qyk.13 for ; Wed, 12 Jan 2011 07:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=8sxt6hB/EBb4hvATg4/aShxlJgtRQ/gZL/t9vvW/1B4=; b=HbeTF/xlzloEhR6o0/VqrtD6mH6jJIMAByI55u3j/wSiESIHKFCJ33xu7+TNLTs+Dm 098/3uRPAZVdXG+yl1+QtpXp89Sp333uf1O9iYHFoEWzgTVp+g8g4h0kY67076g9vjwL Dl1c4DvQwjBfb11cWSjgmAqamwHk70405jcv8= 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=KRViGuv9w78vKdlGaCNRcKz144O2QJ7KwhY4lX22urhy/FaqCc5hPg4245kmtwFSbQ +0Co0Yf6wAMx6wFwwMH3qJ0wqttEcSKssayBdHETCGxBTF+aAh893dvL3IAQ+wirXzoW Qr+DX467RFcFkCPIyd98DpDG5lGv/1ZeFYU3s= Received: by 10.229.245.14 with SMTP id ls14mr995847qcb.19.1294847057786; Wed, 12 Jan 2011 07:44:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.77.215 with HTTP; Wed, 12 Jan 2011 07:43:37 -0800 (PST) In-Reply-To: References: <4D2DB449.6070901@esiee.fr> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Wed, 12 Jan 2011 16:43:37 +0100 Message-ID: To: Chad Kellerman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Frank Bonnet , freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Wed, 12 Jan 2011 15:44:19 -0000 On Wed, Jan 12, 2011 at 4:34 PM, Samuel Mart=EDn Moro wr= ote: > > > On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote= : > >> On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote: >> >> > Hello >> > >> > I'm in trouble with a simple shell script that give >> > erroneous value when running ... >> > >> > If I run commands interactively everything runs well >> > >> > > ps ax | grep slapd | grep -v grep | wc -l >> > 1 >> > >> > If I run in the following shell script : >> > >> > #!/bin/sh >> > SD=3D0 >> > SD=3D`ps -ax | grep slapd | grep -v grep | wc -l` >> > echo $SD >> > >> > the result is 3 !!! >> > >> > ps ax | grep "[/]slapd " | wc -l > ps ax | awk '/[/]slapd /{n++} END{print n}' sorry... > may not fix the problem > but still cleaner > >> > >> > Any info welcome ! >> > >> >> What's the name of your script? Hope it's not slapd_check.sh that will >> cause and extra count in the ps, cus it will count itself. >> >> >> Chad >> >> > >> > _______________________________________________ >> > 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" >> > >> >> >> >> -- >> A grasshopper walks into a bar and the bartender says "Hey, we have a >> drink >> named after you." And the grasshopper says "Really, You have a drink nam= ed >> Murray?" >> _______________________________________________ >> 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" >> > > > > -- > Samuel Mart=EDn Moro > {EPITECH.} 2011 > CamTrace S.A.S > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > --=20 Samuel Mart=EDn Moro {EPITECH.} 2011 CamTrace S.A.S "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 15:58:37 2011 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 E927E1065670 for ; Wed, 12 Jan 2011 15:58:36 +0000 (UTC) (envelope-from dscheidt@panix.com) Received: from www.thixotropy.net (vc183.vc.panix.com [IPv6:2001:470:30:80:e276:63ff:fe62:3833]) by mx1.freebsd.org (Postfix) with ESMTP id A67F48FC22 for ; Wed, 12 Jan 2011 15:58:36 +0000 (UTC) Received: from [IPv6:2001:470:c399:1:217:f2ff:fe3f:2ccd] (unknown [IPv6:2001:470:c399:1:217:f2ff:fe3f:2ccd]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.thixotropy.net (Postfix) with ESMTPSA id 16F6D1257E5 for ; Wed, 12 Jan 2011 10:58:35 -0500 (EST) References: <4D2DB449.6070901@esiee.fr> In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=iso-8859-1 Message-Id: Content-Transfer-Encoding: quoted-printable From: David Scheidt Date: Wed, 12 Jan 2011 10:58:33 -0500 To: User Questions X-Mailer: Apple Mail (2.1082) Subject: Re: problem with shell 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: Wed, 12 Jan 2011 15:58:37 -0000 On Jan 12, 2011, at 10:43 AM, Samuel Mart=EDn Moro wrote: > On W >>=20 >>>> If I run in the following shell script : >>>>=20 >>>> #!/bin/sh >>>> SD=3D0 >>>> SD=3D`ps -ax | grep slapd | grep -v grep | wc -l` >>>> echo $SD >>>>=20 >>>> the result is 3 !!! >>>>=20 >>>=20 >> ps ax | grep "[/]slapd " | wc -l >>=20 > ps ax | awk '/[/]slapd /{n++} END{print n}' > sorry... >=20 >> may not fix the problem >> but still cleaner ps ax | grep [s]lapd | wc -l The [] creates a one-character class that doesn't match the regex. = Easier to type and grep should be a bit faster. =20= From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:00:15 2011 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 ECAD8106564A for ; Wed, 12 Jan 2011 16:00:15 +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 9B8788FC20 for ; Wed, 12 Jan 2011 16:00:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p0CG0C0h087945; Wed, 12 Jan 2011 09:00:12 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p0CG0CZp087942; Wed, 12 Jan 2011 09:00:12 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 12 Jan 2011 09:00:12 -0700 (MST) From: Warren Block To: =?ISO-8859-15?Q?Samuel_Mart=EDn_Moro?= In-Reply-To: Message-ID: References: <4D2DB449.6070901@esiee.fr> 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.6 (wonkity.com [127.0.0.1]); Wed, 12 Jan 2011 09:00:12 -0700 (MST) Cc: Chad Kellerman , Frank Bonnet , freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Wed, 12 Jan 2011 16:00:16 -0000 On Wed, 12 Jan 2011, Samuel Mart?n Moro wrote: > On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote: > >> On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote: >> >>> I'm in trouble with a simple shell script that give >>> erroneous value when running ... >>> >>> If I run commands interactively everything runs well >>> >>>> ps ax | grep slapd | grep -v grep | wc -l >>> 1 >>> >>> If I run in the following shell script : >>> >>> #!/bin/sh >>> SD=0 >>> SD=`ps -ax | grep slapd | grep -v grep | wc -l` >>> echo $SD >>> >>> the result is 3 !!! >> > ps ax | grep "[/]slapd " | wc -l > may not fix the problem > but still cleaner ps axc | grep slapd | wc -l is a little neater. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:04:28 2011 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 57183106566C for ; Wed, 12 Jan 2011 16:04:28 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 083C28FC19 for ; Wed, 12 Jan 2011 16:04:27 +0000 (UTC) Received: by qwj9 with SMTP id 9so731354qwj.13 for ; Wed, 12 Jan 2011 08:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Yl9z2e5PP5fFd1Q9DK38QQXU3LrYOEJyhBSu9Yoc1I0=; b=EGroOGrynAQoi4mwEMBCTSxmHqPJoQMgyIykLT0T55JUgKVSaEKe20oALJak75YIOz rUa/95kQqL91PZ0u6J9UdVnXJWRXgv4AgH9jefqE90wRn6JA9Z5W7MEiGfSnE1ZeOzqy oXuq7MrdJ5cUxbuNlJqS5pbXq17/ILKOVZrv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O/0tamWzhYiA/oo37t4EY68JyG1trcQoiWNNY41vT38H5/j/U1fxmdqI/XFxPAQIBb 85j3avqS92teoClkAL0n2fSLtx149cZ/ZjqewhQFSho0AaGFPxY2Z8yq+2pAcrRRh77w wk60o0l0BqlUMFob4JWMs1ZeCqG+kdt9Zl9uk= MIME-Version: 1.0 Received: by 10.229.236.134 with SMTP id kk6mr938889qcb.93.1294848266924; Wed, 12 Jan 2011 08:04:26 -0800 (PST) Received: by 10.229.222.10 with HTTP; Wed, 12 Jan 2011 08:04:26 -0800 (PST) Date: Wed, 12 Jan 2011 17:04:26 +0100 Message-ID: From: Redd Vinylene To: questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Simple command to reset / clear all logs? 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, 12 Jan 2011 16:04:28 -0000 Hi, Is there a simple command to reset / clear everything in my /var/log? I've done a lot of testing, configuring, trial and error and most of my logs are just full of bullshit and I'd like a fresh start :-) Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:32:08 2011 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 55455106564A for ; Wed, 12 Jan 2011 16:32:08 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE558FC16 for ; Wed, 12 Jan 2011 16:32:07 +0000 (UTC) Received: from 174-21-105-104.tukw.qwest.net ([174.21.105.104] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pd3cB-00045d-8t for freebsd-questions@freebsd.org; Wed, 12 Jan 2011 08:32:04 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 12 Jan 2011 08:32:02 -0800 Date: Wed, 12 Jan 2011 08:32:02 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110112163202.GC3068@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2DB449.6070901@esiee.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline In-Reply-To: <4D2DB449.6070901@esiee.fr> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: problem with shell 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: Wed, 12 Jan 2011 16:32:08 -0000 --O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Frank Bonnet on Wednesday, 12 January 2011: > Hello >=20 > I'm in trouble with a simple shell script that give > erroneous value when running ... >=20 > If I run commands interactively everything runs well >=20 > > ps ax | grep slapd | grep -v grep | wc -l > 1 >=20 > If I run in the following shell script : >=20 > #!/bin/sh > SD=3D0 > SD=3D`ps -ax | grep slapd | grep -v grep | wc -l` > echo $SD >=20 > the result is 3 !!! >=20 >=20 > Any info welcome ! >=20 > _______________________________________________ > 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" Ever hear of pgrep(1)? --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNLdeCAAoJEIpckszW26+R+bQH/iYef3ammlximoSigeYtNIyj dNo3FZj3EmfW+tJq+oXLF9Bvo2rXv8VFevP0OoCP+MHsSQGF2l0ekM3+JjE2rcj6 Kx3YGtOPnPCGbD4JZgnjDtqPczZy2BTX1T0QSTNins2vaCS32fCzxdT+JOq14J/9 Hvg0OgWcRI0qrrRcr1inUZ59MbwipJq0gfQZGudz3ATdfB21I2yewBst5h4/wC+Q ox8qBgPaBY8aLFtBgKJAsUwWcS4X3HhmYetyfH/4iH7wMkcUXPw/x73Ve0lN0IeO +jmYy15LFlcYpKi21q/UQQYu/dFe9wF1oQP7UGsyD+1x1ci8PGLGt9u1PrvI5Gs= =2fMX -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:42:32 2011 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 60D88106566B for ; Wed, 12 Jan 2011 16:42:32 +0000 (UTC) (envelope-from rhml@kibug.org) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC9B8FC13 for ; Wed, 12 Jan 2011 16:42:31 +0000 (UTC) Received: by pwi10 with SMTP id 10so136441pwi.13 for ; Wed, 12 Jan 2011 08:42:30 -0800 (PST) Received: by 10.142.237.20 with SMTP id k20mr36737wfh.5.1294849070338; Wed, 12 Jan 2011 08:17:50 -0800 (PST) Received: from millet.bsd.lab (y047061.ppp.asahi-net.or.jp [118.243.47.61]) by mx.google.com with ESMTPS id q13sm1041051wfc.5.2011.01.12.08.17.49 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 08:17:49 -0800 (PST) Message-ID: <4D2DD47B.7030302@kibug.org> Date: Thu, 13 Jan 2011 01:19:07 +0900 From: Ryuichiro Hara User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ja-JP; rv:1.9.2.13) Gecko/20101221 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D2DB449.6070901@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: problem with shell 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: Wed, 12 Jan 2011 16:42:32 -0000 (2011/01/13 01:00), Warren Block wrote: > On Wed, 12 Jan 2011, Samuel Mart?n Moro wrote: > >> On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman >> wrote: >> >>> On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet >>> wrote: >>> >>>> I'm in trouble with a simple shell script that give >>>> erroneous value when running ... >>>> >>>> If I run commands interactively everything runs well >>>> >>>>> ps ax | grep slapd | grep -v grep | wc -l >>>> 1 >>>> >>>> If I run in the following shell script : >>>> >>>> #!/bin/sh >>>> SD=0 >>>> SD=`ps -ax | grep slapd | grep -v grep | wc -l` >>>> echo $SD >>>> >>>> the result is 3 !!! >>> >> ps ax | grep "[/]slapd " | wc -l >> may not fix the problem >> but still cleaner > > ps axc | grep slapd | wc -l > > is a little neater. > _______________________________________________ > 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" hello. i would rather use pgrep(1); pgrep -afl slapd for just counting purpose, pgrep -a slapd | wc -l is enough. i believe it should work all right as expected in `` output, as well. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:50:25 2011 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 4A3DF106564A for ; Wed, 12 Jan 2011 16:50:25 +0000 (UTC) (envelope-from rhml@kibug.org) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 28D808FC1A for ; Wed, 12 Jan 2011 16:50:24 +0000 (UTC) Received: by pwi10 with SMTP id 10so138243pwi.13 for ; Wed, 12 Jan 2011 08:50:23 -0800 (PST) Received: by 10.142.140.6 with SMTP id n6mr56405wfd.221.1294851023336; Wed, 12 Jan 2011 08:50:23 -0800 (PST) Received: from millet.bsd.lab (y047061.ppp.asahi-net.or.jp [118.243.47.61]) by mx.google.com with ESMTPS id w14sm1071108wfd.18.2011.01.12.08.50.21 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 08:50:22 -0800 (PST) Message-ID: <4D2DDC1B.9050408@kibug.org> Date: Thu, 13 Jan 2011 01:51:39 +0900 From: Ryuichiro Hara User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ja-JP; rv:1.9.2.13) Gecko/20101221 Thunderbird/3.1.7 MIME-Version: 1.0 To: Frank Bonnet References: <4D2DB449.6070901@esiee.fr> In-Reply-To: <4D2DB449.6070901@esiee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Wed, 12 Jan 2011 16:50:25 -0000 (2011/01/12 23:01), Frank Bonnet wrote: > Hello > > I'm in trouble with a simple shell script that give > erroneous value when running ... > > If I run commands interactively everything runs well > > > ps ax | grep slapd | grep -v grep | wc -l > 1 > > If I run in the following shell script : > > #!/bin/sh > SD=0 > SD=`ps -ax | grep slapd | grep -v grep | wc -l` > echo $SD > > the result is 3 !!! > > > Any info welcome ! > > _______________________________________________ > 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" hello. i would rather use pgrep(1); pgrep -afl slapd for just counting purpose, pgrep -a slapd | wc -l is enough. it should work as expected in `` output. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 17:15:54 2011 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 F2B58106564A for ; Wed, 12 Jan 2011 17:15:54 +0000 (UTC) (envelope-from rhml@kibug.org) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id D031C8FC0A for ; Wed, 12 Jan 2011 17:15:54 +0000 (UTC) Received: by pvc22 with SMTP id 22so124263pvc.13 for ; Wed, 12 Jan 2011 09:15:54 -0800 (PST) Received: by 10.142.90.10 with SMTP id n10mr72539wfb.51.1294852553626; Wed, 12 Jan 2011 09:15:53 -0800 (PST) Received: from millet.bsd.lab (y047061.ppp.asahi-net.or.jp [118.243.47.61]) by mx.google.com with ESMTPS id q13sm1099663wfc.17.2011.01.12.09.15.52 (version=SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 09:15:53 -0800 (PST) Message-ID: <4D2DE216.6040505@kibug.org> Date: Thu, 13 Jan 2011 02:17:10 +0900 From: Ryuichiro Hara User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ja-JP; rv:1.9.2.13) Gecko/20101221 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 17:15:55 -0000 Hello, It might be all right to remove all "normal file" logs, though you may want to retain all subdirectories. find /var/log -type f -exec rm {} \; may do. # sorry. I wouldn't do that rough and not tested. # Basically, those are just incremental logs, whose # lines are mostly not referred by running system. (2011/01/13 01:04), Redd Vinylene wrote: > Hi, > > Is there a simple command to reset / clear everything in my /var/log? I've > done a lot of testing, configuring, trial and error and most of my logs are > just full of bullshit and I'd like a fresh start :-) > > Thanks! > _______________________________________________ > 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 Jan 12 17:37:03 2011 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 6AC541065695 for ; Wed, 12 Jan 2011 17:37:03 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 44BCE8FC19 for ; Wed, 12 Jan 2011 17:37:02 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E04B4E807E4; Wed, 12 Jan 2011 09:37:01 -0800 (PST) Date: Wed, 12 Jan 2011 09:37:01 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110112173658.GA19810@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. Which of the extensions in the php5 config should i checkmark to before I upgrade? Also, can I remove those extensions that are built? I want to start with a clean slate. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: which php5-extensions? 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, 12 Jan 2011 17:37:03 -0000 tia, folks. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 18:39:03 2011 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 CD4D91065695 for ; Wed, 12 Jan 2011 18:39:03 +0000 (UTC) (envelope-from kkobb@skylinecorp.com) Received: from mail.skylinecorp.com (mail.skylinecorp.com [64.141.137.166]) by mx1.freebsd.org (Postfix) with ESMTP id 648438FC37 for ; Wed, 12 Jan 2011 18:39:03 +0000 (UTC) Received: from [172.16.2.1] ([172.17.0.161]) (authenticated bits=0) by mail.skylinecorp.com (8.14.4/8.14.4) with ESMTP id p0CIRtGp056851 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 12 Jan 2011 13:27:55 -0500 (EST) (envelope-from kkobb@skylinecorp.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=skylinecorp.com; s=mail; t=1294856875; bh=XBpPUGpi2e83K00sCpBqx++rGR2s8Snv9QJjHiBkuco=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Cw3t/GhtoNVQvGzCtmRoqU0cv04/ysZp5SADCpbHVuERp0H+BcTYnPjK10VWC9VT7 m3tEy4y7ar4pIHhRs3EfInq1UtovRCGWQnEQJhj+buH51oJOOR6qfffCBRBVynDiwo 9dvZqGhiGmZ2rMq+bEYzbViKwvnebaqBJz5lMvhI= DomainKey-Signature: a=rsa-sha1; s=mail2; d=skylinecorp.com; c=simple; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:references:in-reply-to:content-type:content-transfer-encoding; b=cCsRjdw6uI8Z454EPrRXKT6rcJQZ4rovKvjH8uOtuxoYHns6O2xta26+uvRzL88aE YvgbDZ4ISssJysMhawSHQ== Message-ID: <4D2DF2AB.1030300@skylinecorp.com> Date: Wed, 12 Jan 2011 13:27:55 -0500 From: Kevin Kobb Organization: Skyline Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Skyline-MailScanner-Information: Please contact the ISP for more information X-Skyline-MailScanner-ID: p0CIRtGp056851 X-Skyline-MailScanner: Found to be clean X-Skyline-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-Skyline-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-105.2, required 4.25, autolearn=not spam, ALL_TRUSTED -4.80, BAYES_00 -0.30, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, USER_IN_DKIM_WHITELIST -100.00) X-Skyline-MailScanner-From: kkobb@skylinecorp.com X-Skyline-MailScanner-Watermark: 1295461676.81647@HWd1dMxSOWflG+Dlc1MKCg X-Spam-Status: No Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 18:39:04 -0000 newsyslog -F ? On 1/12/2011 11:04 AM, Redd Vinylene wrote: > Hi, > > Is there a simple command to reset / clear everything in my /var/log? I've > done a lot of testing, configuring, trial and error and most of my logs are > just full of bullshit and I'd like a fresh start :-) > > Thanks! > _______________________________________________ > 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 Jan 12 19:21:48 2011 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 86463106566C for ; Wed, 12 Jan 2011 19:21:48 +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 488658FC18 for ; Wed, 12 Jan 2011 19:21:48 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id A29F91DD20; Wed, 12 Jan 2011 20:21:46 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0CJLjZ5001466; Wed, 12 Jan 2011 20:21:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 12 Jan 2011 20:21:45 +0100 From: Polytropon To: Ryuichiro Hara Message-Id: <20110112202145.515b24b3.freebsd@edvax.de> In-Reply-To: <4D2DE216.6040505@kibug.org> References: <4D2DE216.6040505@kibug.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-questions@freebsd.org Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 19:21:48 -0000 On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara wrote: > Hello, > > It might be all right to remove all "normal file" logs, > though you may want to retain all subdirectories. > > find /var/log -type f -exec rm {} \; > > may do. Possible problem: Programs that log to files may be confused that the file has disappeared. How about simply cutting the files to zero length? # cat /dev/null > /var/log/* This will affect ALL files (expansion of *) which may not be precise enough in case you want to keep some of the log files. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:45:07 2011 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 F2D29106566C for ; Wed, 12 Jan 2011 19:45:07 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 854188FC14 for ; Wed, 12 Jan 2011 19:45:04 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p0CJJBHQ033664; Wed, 12 Jan 2011 20:19:15 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <4D2DFEAE.9060403@bah.homeip.net> Date: Wed, 12 Jan 2011 20:19:10 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.13) Gecko/20101213 Thunderbird/3.1.7 MIME-Version: 1.0 To: Redd Vinylene References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 19:45:08 -0000 2011-01-12 17:04, Redd Vinylene: > Hi, > > Is there a simple command to reset / clear everything in my /var/log? I've > done a lot of testing, configuring, trial and error and most of my logs are > just full of bullshit and I'd like a fresh start :-) > > Thanks! Sometimes I use rm /var/log/* Use with utmost caution! From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:50:05 2011 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 3B6401065670 for ; Wed, 12 Jan 2011 19:50:05 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 07E688FC18 for ; Wed, 12 Jan 2011 19:50:04 +0000 (UTC) Received: by pxi1 with SMTP id 1so142980pxi.13 for ; Wed, 12 Jan 2011 11:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/MhJtOUc73XwWu1vAcZkdw6Xu5J0TE8KxCoKyGf68e4=; b=Qlq4UmGiyPTGDhUQAS1B8yLIEpm2B3mypLCiWJVUYhpwfSceTpLBGF8ElLx9kfZSnn TOInSenzBB22qinNTIFAD8DvF+tukBmOtsk5YIjamSSznp/liTvFeDw19SHn3l8B78vr bY1n0qP8qZM40VKYUHi4z5qhLy3sQ+1ElfITY= 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=Fm8AZ5vN0DMQG/eQCYVgf4SbypPlb5VXmxN+RtFy/aIeeGZ6olS3lVuIpPyUmybuI2 kUSF6olcQsmZsMXpWhBxn3gZkwOn4e0ZXxvSGwApVd8sVJ7JIluTDVOK9r8six9OIHWr axeucn+NV3Ws20xHCtYuIImP7ab8aqCtEiMQg= MIME-Version: 1.0 Received: by 10.142.155.17 with SMTP id c17mr166590wfe.110.1294861804433; Wed, 12 Jan 2011 11:50:04 -0800 (PST) Received: by 10.142.166.3 with HTTP; Wed, 12 Jan 2011 11:50:04 -0800 (PST) In-Reply-To: <4D2DFEAE.9060403@bah.homeip.net> References: <4D2DFEAE.9060403@bah.homeip.net> Date: Wed, 12 Jan 2011 20:50:04 +0100 Message-ID: From: Redd Vinylene To: Bernt Hansson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 19:50:05 -0000 Will the logs automatically create themselves? I mean, I picture I have to manually touch a lotta them in order to avoid "cannot find" error messages? On Wed, Jan 12, 2011 at 8:19 PM, Bernt Hansson wrote: > 2011-01-12 17:04, Redd Vinylene: > > Hi, >> >> Is there a simple command to reset / clear everything in my /var/log? I've >> done a lot of testing, configuring, trial and error and most of my logs >> are >> just full of bullshit and I'd like a fresh start :-) >> >> Thanks! >> > > Sometimes I use rm /var/log/* > > Use with utmost caution! > -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:53:49 2011 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 589DE10659BB for ; Wed, 12 Jan 2011 19:53:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2AEB78FC0C for ; Wed, 12 Jan 2011 19:53:48 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 12462E807E4; Wed, 12 Jan 2011 11:53:47 -0800 (PST) Date: Wed, 12 Jan 2011 11:53:47 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110112195347.GA21353@thought.org> References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> <20110111175631.GA27569@thought.org> <4D2CA063.8080008@pchotshots.com> <20110112005234.GA4277@thought.org> <4D2D7C3E.50404@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2D7C3E.50404@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Mailing List Subject: Re: Which php?? 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, 12 Jan 2011 19:53:49 -0000 On Wed, Jan 12, 2011 at 10:02:38AM +0000, Paul Macdonald wrote: > > >Lots of warnings:: > > > > > >Deprecated: Directive 'register_long_arrays' is deprecated in PHP > >5.3 and greater in Unknown on line 0 > > > >Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 > >and greater in Unknown on line 0 > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) > >(DEBUG) > >Copyright (c) 1997-2009 The PHP Group > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > > > This is kinda good, at least its installed ! > > To turn off deprecated notices in looging: > edit /usr/local/etc/php.ini ( approx line 523) > error_reporting = E_ALL & ~E_DEPRECATED > > Make php log errors: ( line approx 646) > error_log = /var/log/php_errors.log > > then try php -v from shell, Will, try, thanks much. There is one thing that someone wrote in his post, labeling "php.ini" as "PHP.INI" or "PHP.ini". Last night I cp'd the php-ini-devel* to PHP.ini. I think I'm probably barking up the wrong tree. A quick, recursive grep did find "PHP" in some files. But ``find /usr/ports _blah_'' found no PHP.ini. What's the right file to edit as my initialization file? > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:58:07 2011 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 9431C1065672 for ; Wed, 12 Jan 2011 19:58:07 +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 53ABC8FC0A for ; Wed, 12 Jan 2011 19:58:06 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 2B3861E302; Wed, 12 Jan 2011 20:58:06 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0CJw4T5001581; Wed, 12 Jan 2011 20:58:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 12 Jan 2011 20:58:04 +0100 From: Polytropon To: Redd Vinylene Message-Id: <20110112205804.3ec42ec8.freebsd@edvax.de> In-Reply-To: References: <4D2DFEAE.9060403@bah.homeip.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: questions , Bernt Hansson Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 19:58:07 -0000 On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene wrote: > Will the logs automatically create themselves? Usually not, but it depends on the logging mechanism. If a program continuously re-opens the file (after closing it) in APPEND mode, it should be created if non-existent. But if the program keeps the file open and just writes to it, it can cause trouble. Good programs check the return code of the writing operation and signal an error. Bad programs don't do that, they just keep writing to nowhere. :-) > I mean, I picture I have to > manually touch a lotta them in order to avoid "cannot find" error messages? This should be the safest method for most purposes. But as I mentioned, just trim down the files to zero length, so they keep present, and all writing processes (re-opening APPEND or contunuously keep writing) shouldn't notice that. # for FILE in /var/log/*; do cat /dev/null > ${FILE}; done That would be better than my first suggestion. You can exchange the part "/var/log/*" for any `find ...` command that specifies the intended target(s) of your operation better than the builtin shell expansion of the * expression. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 19:58:20 2011 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 C53011065674 for ; Wed, 12 Jan 2011 19:58:20 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 931F58FC0C for ; Wed, 12 Jan 2011 19:58:20 +0000 (UTC) Received: (qmail 5508 invoked by uid 0); 12 Jan 2011 19:58:20 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by cpoproxy1.bluehost.com with SMTP; 12 Jan 2011 19:58:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=fwNOZnDKnn1GUXtibsEBQaPhS/CYK0WONC8+GYyLHDxRmI18TTzboSdi4WGsjEAIYbi8a8QwJMF/q/HBplRnynO24EOKM1pixVmMaB83Io21H/w0mH4dBOHxPGrD6xwN; Received: from r190-132-209-178.dialup.mobile.ancel.net.uy ([190.132.209.178] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1Pd6pm-000723-EZ; Wed, 12 Jan 2011 12:58:19 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Wed, 12 Jan 2011 17:58:12 -0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.1; i686; ; ) References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> In-Reply-To: <20110112195347.GA21353@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101121758.12869.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.132.209.178 authed with rjgonzale@estrads.com.ar} Cc: Paul Macdonald , Gary Kline Subject: Re: Which php?? 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, 12 Jan 2011 19:58:20 -0000 /usr/local/etc/php.ini That is the right file On Wednesday, January 12, 2011 05:53:47 pm Gary Kline wrote: > On Wed, Jan 12, 2011 at 10:02:38AM +0000, Paul Macdonald wrote: > > >Lots of warnings:: > > > > > > > > >Deprecated: Directive 'register_long_arrays' is deprecated in PHP > > >5.3 and greater in Unknown on line 0 > > > > > >Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 > > >and greater in Unknown on line 0 > > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01) > > >(DEBUG) > > >Copyright (c) 1997-2009 The PHP Group > > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > > > > This is kinda good, at least its installed ! > > > > To turn off deprecated notices in looging: > > edit /usr/local/etc/php.ini ( approx line 523) > > error_reporting = E_ALL & ~E_DEPRECATED > > > > Make php log errors: ( line approx 646) > > error_log = /var/log/php_errors.log > > > > then try php -v from shell, > > Will, try, thanks much. There is one thing that someone wrote > in his post, labeling "php.ini" as "PHP.INI" or "PHP.ini". > > Last night I cp'd the php-ini-devel* to PHP.ini. I think I'm > probably barking up the wrong tree. A quick, recursive grep did > find "PHP" in some files. But ``find /usr/ports _blah_'' found > no PHP.ini. What's the right file to edit as my initialization > file? From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 20:01:33 2011 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 1506D1065694 for ; Wed, 12 Jan 2011 20:01:33 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB19B8FC2B for ; Wed, 12 Jan 2011 20:01:32 +0000 (UTC) Received: by pvc22 with SMTP id 22so157157pvc.13 for ; Wed, 12 Jan 2011 12:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4QnQDmR2LPoipF+9kYkyDF0IMYukoPMMYd/rpLlsWsg=; b=qxIu50EE1IudCAIurZnmRlOtt+x8FoXxIi2s7WInYENQcg4BHbV6c6IF858StOMnYt xIrwzVdS7NoPmkxK+frlMxGIaM81S9SCxGndhxK1WUrHrfBqkfe+edOO0xOjNWupkm2b 2GDrqriaT6obI6qPK+fwpRcdvd92Owc2HGHdA= 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=PUU8BUH+JP9UuljFTcmwcfb6PoqegARX8PdUgCY60/czKeRXnjVV2NKNQnLXDAa8xu ylf5WrsazvUJmczy/GAE4zfi9syDKZvQZSBo1D1vfc6WmJzKU/jO9Oa844FINsOltChX xWSitiPrfPARpufKAtZpQlhAdc62npqBh8ubA= MIME-Version: 1.0 Received: by 10.142.230.21 with SMTP id c21mr172390wfh.395.1294862492079; Wed, 12 Jan 2011 12:01:32 -0800 (PST) Received: by 10.142.166.3 with HTTP; Wed, 12 Jan 2011 12:01:32 -0800 (PST) In-Reply-To: <20110112205804.3ec42ec8.freebsd@edvax.de> References: <4D2DFEAE.9060403@bah.homeip.net> <20110112205804.3ec42ec8.freebsd@edvax.de> Date: Wed, 12 Jan 2011 21:01:32 +0100 Message-ID: From: Redd Vinylene To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions , Bernt Hansson Subject: Re: Simple command to reset / clear all logs? 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, 12 Jan 2011 20:01:33 -0000 On Wed, Jan 12, 2011 at 8:58 PM, Polytropon wrote: > # for FILE in /var/log/*; do cat /dev/null > ${FILE}; done > > That would be better than my first suggestion. You can exchange > the part "/var/log/*" for any `find ...` command that specifies > the intended target(s) of your operation better than the builtin > shell expansion of the * expression. > > Now that's just beautiful, man :-) Thanks a lot :-) Please accept this gift as a token of my appreciation for your support! Redd From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 20:35:04 2011 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 DE24D106564A for ; Wed, 12 Jan 2011 20:35:04 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B186B8FC15 for ; Wed, 12 Jan 2011 20:35:04 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 282FBE807E4; Wed, 12 Jan 2011 12:35:04 -0800 (PST) Date: Wed, 12 Jan 2011 12:35:04 -0800 From: Gary Kline To: Rodrigo Gonzalez Message-ID: <20110112203503.GA22381@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101121758.12869.rjgonzale@estrads.com.ar> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Paul Macdonald , freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 12 Jan 2011 20:35:04 -0000 On Wed, Jan 12, 2011 at 05:58:12PM -0200, Rodrigo Gonzalez wrote: > /usr/local/etc/php.ini > > That is the right file Yep! root@ethic:/usr/local/etc# php -v PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies root@ethic:/usr/local/etc# Now, as a last re-try to get my wordpress blog port going, I will upgrade my php5-extensions. What should I turn on or off in the Makefile [or using `make config']? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 21:43:25 2011 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 E9586106564A for ; Wed, 12 Jan 2011 21:43:25 +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 AA65D8FC12 for ; Wed, 12 Jan 2011 21:43:25 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id 18C1F3D33B; Wed, 12 Jan 2011 22:43:23 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0CLhNg4001821; Wed, 12 Jan 2011 22:43:23 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 12 Jan 2011 22:43:23 +0100 From: Polytropon To: Gary Kline Message-Id: <20110112224323.b211b66d.freebsd@edvax.de> In-Reply-To: <20110112203503.GA22381@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@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-questions@freebsd.org Subject: Re: Which php?? 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, 12 Jan 2011 21:43:26 -0000 On Wed, 12 Jan 2011 12:35:04 -0800, Gary Kline wrote: > What should I turn on or off > in the Makefile [or using `make config']? Allow me a quite general comment: Do not modify a port's Makefile directly. The interface to selectable options is usually given by "make config" or the configuration files of the port managament tool you use (if any). A file-based mechanism has been present in ports, but I'm not fully sure it hasn't been "obsoleted" already. I have used this mechanism for things like configuring the options for the mplayer port. This mechanism is Makefile.local - a file you place into the port's directory and specify all the options you need, maybe based upon the Makefile itself. For example, a /usr/ports/multimedia/mplayer/Makefile.local could look this way: WITH_SDL=yes WITH_VORBIS=yes WITH_THEORA=yes WITH_XANIM=yes WITH_XVID=yes WITH_REALPLAYER=yes WITH_LIVEMEDIA=yes WITH_ESOUND=yes WITH_FREETYPE=yes WITH_LANG=yes WITH_GUI=yes WITH_DVD=yes WITH_GTK1=yes WITH_LIBDVDNAV=yes WITH_AMR=yes WITH_VPX=yes WITH_WIN32=yes WITH_V4L=yes WITH_DVD_DEVICE=/dev/dvd WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes CFLAGS+= -O2 -pipe -ffast-math You can specify the =yes as an equivalent to setting [X] in the "make config" screen, and you can also define variables with strings (like WITH_DVD_DEVICE or the alteration of CFLAGS in the example). Reason: Changes to Makefile will be removed within the process of "make update", but Makefile.local will be ignored, so it will still be present after the update of the ports tree. Still, using a centralized configuration file for ports options as provided by port management tools (such as portupgrade or portmaster) often is the better solution if you use those tools anyway. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 22:46:11 2011 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 0C5931065697 for ; Wed, 12 Jan 2011 22:46:11 +0000 (UTC) (envelope-from chad@shire.net) Received: from mail.shire.net (mail.shire.net [209.41.94.250]) by mx1.freebsd.org (Postfix) with ESMTP id E99308FC2A for ; Wed, 12 Jan 2011 22:46:10 +0000 (UTC) Received: from c-67-172-236-20.hsd1.ut.comcast.net ([67.172.236.20] helo=[192.168.99.216]) by mail.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1Pd9SE-0004iz-AN for freebsd-questions@freebsd.org; Wed, 12 Jan 2011 15:46:10 -0700 From: "Chad Leigh -- Shire.Net LLC" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Jan 2011 15:46:09 -0700 Message-Id: <0E9D6011-5AB4-43C7-9D9E-4181C284C0A7@shire.net> To: freebsd general questions Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-SA-Exim-Connect-IP: 67.172.236.20 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on mail.shire.net); SAEximRunCond expanded to false Subject: IP traffic reporting -- simple aggregate bytes to each IP to a log 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, 12 Jan 2011 22:46:11 -0000 I have an older FreeBSD 6.x machine that I need to install some sort of = IP traffic logging daemon on. (This machine is being updated soon to = latest -STABLE). I had one once on another machine years ago but I = forget the name. It basically just gave me a text file log with = aggregate data to each IP address on the machine over time.=20 Does anyone have any recommendations? I do not need web access to the = data or fancy graphs or anything. I just need a simple way to see how = much incoming traffic to each IP I get during a certain time period, = written to a text log. I have been trying to build things like ntop and stuff but due to the = age of this machine's installation that has not been possible due to = ports being too new for it and problems installing latest tools (port = errors in patches etc). Thanks Chad= From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 23:01:17 2011 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 54B0E106564A for ; Wed, 12 Jan 2011 23:01:17 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id E532A8FC0C for ; Wed, 12 Jan 2011 23:01:16 +0000 (UTC) Received: from [192.168.1.65] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0CN145Y006272 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Jan 2011 23:01:05 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2E32AF.4000008@ifdnrg.com> Date: Wed, 12 Jan 2011 23:01:03 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> In-Reply-To: <20110112203503.GA22381@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 12 Jan 2011 23:01:17 -0000 > root@ethic:/usr/local/etc# php -v > PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG) > Copyright (c) 1997-2009 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > root@ethic:/usr/local/etc# > > > Now, as a last re-try to get my wordpress blog port going, I > will upgrade my php5-extensions. What should I turn on or off > in the Makefile [or using `make config']? > > gary > for wordpress you need only worry about having mysql on in lang/php5-extensions (possibly gd, wordpress might have some fancy image manipulation features) I wouldn't worry about the rest for just a wp install. you'll get the choice of mysql driver, there is a new native driver but i confess i've not modified any of my code to use this ( so i don;t use it) Paul. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 00:08:46 2011 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 95612106564A for ; Thu, 13 Jan 2011 00:08:46 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 342BC8FC08 for ; Thu, 13 Jan 2011 00:08:45 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0D08i3h055299; Wed, 12 Jan 2011 16:08:44 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0D08ifV055298; Wed, 12 Jan 2011 16:08:44 -0800 (PST) (envelope-from kline) Date: Wed, 12 Jan 2011 16:08:44 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110113000844.GA31726@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2E32AF.4000008@ifdnrg.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 00:08:46 -0000 On Wed, Jan 12, 2011 at 11:01:03PM +0000, Paul Macdonald wrote: > > >root@ethic:/usr/local/etc# php -v > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG) > >Copyright (c) 1997-2009 The PHP Group > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > >root@ethic:/usr/local/etc# > > > > > > Now, as a last re-try to get my wordpress blog port going, I > > will upgrade my php5-extensions. What should I turn on or off > > in the Makefile [or using `make config']? > > > > gary > > > for wordpress you need only worry about having mysql on in > lang/php5-extensions > > (possibly gd, wordpress might have some fancy image manipulation features) > > I wouldn't worry about the rest for just a wp install. > > you'll get the choice of mysql driver, there is a new native driver but > i confess i've not modified any of my code to use this ( > so i don;t use it) > > Paul. > Hm. I keep stumbling over this autoconf required "version 2.68 not found" Error. Do I need to portmanage upgrade that utility or what? Here is most of the output that fails trying to build php5-extensions:: # make install ===> php5-extensions-1.4 depends on file: /usr/local/include/php/main/php.h - found ===> php5-extensions-1.4 depends on file: /usr/local/lib/php/20090626-debug/hash.so - not found ===> Verifying install for /usr/local/lib/php/20090626-debug/hash.so in /usr/ports/security/php5-hash ===> php5-hash-5.3.5 depends on file: /usr/local/bin/phpize - found ===> php5-hash-5.3.5 depends on file: /usr/local/bin/autoconf-2.68 - found ===> PHPizing for php5-hash-5.3.5 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 *** Error code 1 Stop in /usr/ports/security/php5-hash. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 00:18:58 2011 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 D2EEB1065670 for ; Thu, 13 Jan 2011 00:18:58 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7205B8FC26 for ; Thu, 13 Jan 2011 00:18:58 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0D0IsBQ055768; Wed, 12 Jan 2011 16:18:55 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0D0Isk4055767; Wed, 12 Jan 2011 16:18:54 -0800 (PST) (envelope-from kline) Date: Wed, 12 Jan 2011 16:18:54 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110113001854.GA55758@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2E32AF.4000008@ifdnrg.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 00:18:58 -0000 On Wed, Jan 12, 2011 at 11:01:03PM +0000, Paul Macdonald wrote: > > >root@ethic:/usr/local/etc# php -v > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG) > >Copyright (c) 1997-2009 The PHP Group > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > >root@ethic:/usr/local/etc# > > > > > > Now, as a last re-try to get my wordpress blog port going, I > > will upgrade my php5-extensions. What should I turn on or off > > in the Makefile [or using `make config']? > > > > gary > > > for wordpress you need only worry about having mysql on in > lang/php5-extensions > > (possibly gd, wordpress might have some fancy image manipulation features) > > I wouldn't worry about the rest for just a wp install. > > you'll get the choice of mysql driver, there is a new native driver but > i confess i've not modified any of my code to use this ( > so i don;t use it) > > Paul. > I think I missed some out my stderr output. Here is another try at capturing the make install flub. # make install ===> php5-extensions-1.4 depends on file: /usr/local/include/php/main/php.h - found ===> php5-extensions-1.4 depends on file: /usr/local/lib/php/20090626-debug/hash.so - not found ===> Verifying install for /usr/local/lib/php/20090626-debug/hash.so in /usr/ports/security/php5-hash ===> php5-hash-5.3.5 depends on file: /usr/local/bin/phpize - found ===> php5-hash-5.3.5 depends on file: /usr/local/bin/autoconf-2.68 - found ===> PHPizing for php5-hash-5.3.5 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 autoconf: required version 2.68 not found *** Error code 1 Stop in /usr/ports/security/php5-hash. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. *** Error code 1 Stop in /usr/ports/lang/php5-extensions. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 01:44:27 2011 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 B8D0C106566B for ; Thu, 13 Jan 2011 01:44:27 +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 6CE358FC0A for ; Thu, 13 Jan 2011 01:44:27 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PdCEk-0002Ua-CI for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 02:44:26 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Jan 2011 02:44:26 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Jan 2011 02:44:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 12 Jan 2011 20:45:48 -0500 Lines: 28 Message-ID: References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Which php?? 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, 13 Jan 2011 01:44:27 -0000 Gary Kline wrote: [snip] > autoconf: required version 2.68 not found > *** Error code 1 > > Stop in /usr/ports/security/php5-hash. > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > *** Error code 1 > > Stop in /usr/ports/lang/php5-extensions. > Setting these environment variables prior to building anything PHP is a workaround for the autoconf stuff. in tcsh/csh: setenv PHP_AUTOCONF autoconf-2.68 setenv PHP_AUTOHEADER autoheader-2.68 Then proceed to build, install, update. This is a very old, long time ago type error that recurs every so often. And this is assuming, of course, that the current versions are indeed installed. -Mike From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 01:48:46 2011 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 10F43106566C for ; Thu, 13 Jan 2011 01:48:46 +0000 (UTC) (envelope-from couponsaverjane@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9853C8FC08 for ; Thu, 13 Jan 2011 01:48:45 +0000 (UTC) Received: by fxm16 with SMTP id 16so1290813fxm.13 for ; Wed, 12 Jan 2011 17:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=NCbn4eAWyMTIAMOkH9OE3Uw0EXbo7rospWy9gdD++Sw=; b=CDbrRfuaYem+QJINKmsD9zw8EW2PfKv7lZh0Dw4Wv8XIQ8qQZprTspJ+AUheAZ22s/ M4vgXH/3fVb/ucFfqanADwYYr3uAftEZUly0eZs7VGsOO1gXlXza4A76e8wQlpPhizhL TJuuaQ7Yxr3clTg6cH5BHvxRr6CvNh1c5ICEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=otV5X8xPQo5kl4yjbripJ3JUG8P/qeqJo5D98WEObfe120YP8BJKJmzPU5hBPOqBpV eiZn+ixSwyMHXV0pDSwt09gIIppDIjhOWyyLM5fExGXma1yQ3t6Wqi83Ix0wv6yf5uRW U6Zbf+mqw3cXfxRGtEQpBVjlkAggANwb7u1xw= MIME-Version: 1.0 Received: by 10.223.120.193 with SMTP id e1mr1692507far.106.1294881944129; Wed, 12 Jan 2011 17:25:44 -0800 (PST) Received: by 10.223.83.134 with HTTP; Wed, 12 Jan 2011 17:25:43 -0800 (PST) Date: Thu, 13 Jan 2011 09:25:43 +0800 Message-ID: From: Jane Formoso To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: broken links found on your web site 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, 13 Jan 2011 01:48:46 -0000 Hello, I just came from visiting your website ( http://www.freebsd.org/fr/gallery/pgallery.html) and found a few links that aren't working and thought you should know: 404 Not Found - http://www.peacesex.com 404 Not Found - http://www.whizkidtech.net/cgi-bin/tutorial/ 404 Not Found - http://c36196-a.frmt1.sfba.home.com/~alexw/ While you are in fixing these links would you add a link to my web site as well? My site is: http://www.couponsaver.org - 15,000+ coupons and promotional codes. Thanks and talk to you soon! Jane (in snowy Cleveland, Ohio) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 02:23:09 2011 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 6F435106564A for ; Thu, 13 Jan 2011 02:23:09 +0000 (UTC) (envelope-from rjhjr0@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 24BDE8FC13 for ; Thu, 13 Jan 2011 02:23:08 +0000 (UTC) Received: by gyf3 with SMTP id 3so492896gyf.13 for ; Wed, 12 Jan 2011 18:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=vgRLFvx9q+Wx3XgOHVwZj2Ta/S59rrDIhhRZVz4ngb0=; b=sU/tGlB+IB66CfeIarR/27f606+mFsiMMoRqwGz+dRfU7kIfmPL9HatsHobflza8Qi n07TYCA35rQ8V52Awl5dw0AUMz8zGCo8xLw3zgiVhQ+ZJqxbmSgldUxzMi5Ap5vylxRv fl4E8mNBy56A+Lzw3HpynXP/5zTcsHxkd1knE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=ASaj4ADZ5oVrFSK7vxIPwKJuLMnJZb8IXMLA2gYKWuA4aUTfQNbIjAnat5PO+zBgjZ F1ROn6ZwJyeA37VKIY0llvYZa5IawUsDPaznH3PDHUVowloqXK3qlxXuVvXVcUrvZpg4 ic6m5EBtAMc/NACfc3bT+YhZ5DniSBtspxG8k= Received: by 10.150.96.17 with SMTP id t17mr2934624ybb.172.1294885388223; Wed, 12 Jan 2011 18:23:08 -0800 (PST) Received: from localhost (ip98-163-115-74.dc.dc.cox.net [98.163.115.74]) by mx.google.com with ESMTPS id f13sm858023yhf.33.2011.01.12.18.23.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 18:23:07 -0800 (PST) Date: Wed, 12 Jan 2011 21:23:04 -0500 From: Bob Hall To: freebsd-questions@freebsd.org Message-ID: <20110113022304.GA2455@stainmore> Mail-Followup-To: Bob Hall , freebsd-questions@freebsd.org References: <4D2DE216.6040505@kibug.org> <20110112202145.515b24b3.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110112202145.515b24b3.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 02:23:09 -0000 On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote: > On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara wrote: > > Hello, > > > > It might be all right to remove all "normal file" logs, > > though you may want to retain all subdirectories. > > > > find /var/log -type f -exec rm {} \; > > > > may do. > > Possible problem: Programs that log to files may be confused > that the file has disappeared. How about simply cutting the > files to zero length? > > # cat /dev/null > /var/log/* or # truncate -s 0 /var/log/* That will save you two keystrokes, and that's important! ;-) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 05:28:22 2011 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 A76071065695 for ; Thu, 13 Jan 2011 05:28:22 +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 6A8018FC1B for ; Thu, 13 Jan 2011 05:28:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id D3E2A3CFEE for ; Thu, 13 Jan 2011 06:28:20 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0D5SJUd005576 for ; Thu, 13 Jan 2011 06:28:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 13 Jan 2011 06:28:19 +0100 From: Polytropon To: FreeBSD Questions Message-Id: <20110113062819.4ecb89d9.freebsd@edvax.de> 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 Subject: awk question: replacing "%d%s" by "%d %s" 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, 13 Jan 2011 05:28:22 -0000 I'm aware that this is not an awk question list, but I'm confident there are many awk gurus here who can surely help me with such a stupid problem. I also know that I get more and more stupid myself for NOT being able to solve this, even after... some nearly infinite time. :-) I have strings of the form either "" or "". I catch them with if(match(nr, "[a-z]")) ... where "nr" is the name of the string. What I need is a simple space between and , so for example "12a" would get "12 a", "6d" would get "6 d", and "58" would stay unchanged. I've tried with split(), with array manipulation and could produce 10 lines of code that didn't work as intended (it produced "1122aa", "66dd" and "5588" according to the examples above). Obviously, sub(nr, "[a-z]", " [a-z]"); is nonsense. Can anybody please tell me the obvious and easy way which I am missing? Thanks a lot! =^_^= The reason I'd like to do this in awk is that I've already spent enough time creating a format converter in awk that works very fine, as intended, but is missing just this little feature. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 06:08:23 2011 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 F2A88106564A for ; Thu, 13 Jan 2011 06:08:23 +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 B3EC98FC12 for ; Thu, 13 Jan 2011 06:08:23 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id AB5C43D24F; Thu, 13 Jan 2011 07:08:22 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0D68LWD005837; Thu, 13 Jan 2011 07:08:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 13 Jan 2011 07:08:21 +0100 From: Polytropon To: Tom Limoncelli Message-Id: <20110113070821.cb2030bd.freebsd@edvax.de> In-Reply-To: References: <20110113062819.4ecb89d9.freebsd@edvax.de> 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 Subject: Re: awk question: replacing "%d%s" by "%d %s" 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, 13 Jan 2011 06:08:24 -0000 On Thu, 13 Jan 2011 01:00:17 -0500, Tom Limoncelli wrote: > $ awk < data.txt > experiment.txt '{ num = $1 ; sub(/[^0-9]+$/, "", > num) ; lets = $1 ; sub(/^[0-9]+/, "", lets); print num " " lets }' ; > diff -cw control.txt experiment.txt > $ # The above puts a space at the end of the first 3 lines. If that > is bad, try: > $ awk < data.txt > experiment.txt '{ num = $1 ; sub(/[^0-9]+$/, "", > num) ; lets = $1 ; sub(/^[0-9]+/, "", lets); if (length(lets)) { print > num " " lets } else { print num } }' ; diff control.txt experiment.txt > $ Thanks for your inspiration! I concluded that it is a possible way to split the string into two parts: not-numbers (letters) and numbers, and then recombining them in the desired way. Here's my code: if(match(nr, "[a-z]")) { z = nr; gsub(/[^0-9]+$/, "", z); b = nr; gsub(/[0-9]/, "", b); nr = sprintf("%s %s", z, b); } First catch all nr's that have a letter in it, then remove the letters in one copy, then the numbers in another one, and finally overwrite nr with the proper recombination that includes the space. Works as intended, FULLY. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 06:31:28 2011 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 E319D106566C for ; Thu, 13 Jan 2011 06:31:28 +0000 (UTC) (envelope-from tal@whatexit.org) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0978FC13 for ; Thu, 13 Jan 2011 06:31:28 +0000 (UTC) Received: by gxk8 with SMTP id 8so566079gxk.13 for ; Wed, 12 Jan 2011 22:31:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatexit.org; s=google; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sbFUZ5hF1ZPJ8/VPwoLjLnbLyDFlLGZqwmmUrTVBw1g=; b=DP57Eoyua99NSqxEY5drSnmKe1iaQ9LIJ0osPSJ6BDk9yyJHsZPcPCodlTKaWa6eaP SEkyhM2KVLh60uukehw/3r9EQdACcVlXcvbz69xQ71ucwFKv6g9GNPr8mc+zEjXXBwiN /0RsIPJZk7J0KWXDE0KdGIH2jozc0KLylsTw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=whatexit.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=2CKPqtH4k98tCWnSKACKvh+XgT5W/DqdakDZDyc6iVA9UD/3ZwDRDwRilSAP+Y176s 5THpfy9T4Ac0294tTn5TXY6y7dftQzn9+0ExlB4yoIIlaZnscHVhnyWUy1FTBFKagBnM xDgXleJh9/yv80KnX6Z40M2Lc8HC2fE1jSq/4= MIME-Version: 1.0 Received: by 10.90.87.9 with SMTP id k9mr2708934agb.150.1294898417417; Wed, 12 Jan 2011 22:00:17 -0800 (PST) Received: by 10.90.157.8 with HTTP; Wed, 12 Jan 2011 22:00:17 -0800 (PST) In-Reply-To: <20110113062819.4ecb89d9.freebsd@edvax.de> References: <20110113062819.4ecb89d9.freebsd@edvax.de> Date: Thu, 13 Jan 2011 01:00:17 -0500 Message-ID: From: Tom Limoncelli To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: awk question: replacing "%d%s" by "%d %s" 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, 13 Jan 2011 06:31:29 -0000 On Thu, Jan 13, 2011 at 12:28 AM, Polytropon wrote: > I have strings of the form either "" or > "". I catch them with ... > where "nr" is the name of the string. What I need > is a simple space between and , > so for example "12a" would get "12 a", "6d" would > get "6 d", and "58" would stay unchanged. I've tried This feels like it could be faster, but is reasonable: $ cat data.txt 1 12 3 1d 1dc 12d 12dc 123d 123dc 123dcb $ cat control.txt 1 12 3 1 d 1 dc 12 d 12 dc 123 d 123 dc 123 dcb $ awk < data.txt > experiment.txt '{ num =3D $1 ; sub(/[^0-9]+$/, "", num) ; lets =3D $1 ; sub(/^[0-9]+/, "", lets); print num " " lets }' ; diff -cw control.txt experiment.txt $ # The above puts a space at the end of the first 3 lines. If that is bad, try: $ awk < data.txt > experiment.txt '{ num =3D $1 ; sub(/[^0-9]+$/, "", num) ; lets =3D $1 ; sub(/^[0-9]+/, "", lets); if (length(lets)) { print num " " lets } else { print num } }' ; diff control.txt experiment.txt $ Tom --=20 http://EverythingSysadmin.com=A0 -- my blog (new posts Mon and Wed) http://www.TomOnTime.com -- my advice (more videos coming soon) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 06:31:37 2011 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 65A9F1065749 for ; Thu, 13 Jan 2011 06:31:37 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 2408F8FC16 for ; Thu, 13 Jan 2011 06:31:36 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0D6MsVw022049; Thu, 13 Jan 2011 00:22:54 -0600 (CST) Date: Thu, 13 Jan 2011 00:22:54 -0600 (CST) From: Robert Bonomi Message-Id: <201101130622.p0D6MsVw022049@mail.r-bonomi.com> To: questions@freebsd.org, reddvinylene@gmail.com In-Reply-To: Cc: Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 06:31:37 -0000 > From owner-freebsd-questions@freebsd.org Wed Jan 12 10:09:51 2011 > Date: Wed, 12 Jan 2011 17:04:26 +0100 > From: Redd Vinylene > To: questions > Cc: > Subject: Simple command to reset / clear all logs? > > Hi, > > Is there a simple command to reset / clear everything in my /var/log? I've > done a lot of testing, configuring, trial and error and most of my logs are > just full of bullshit and I'd like a fresh start :-) something like: foreach file in (/var/log/*log) echo "" > $file end maybe ? From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 06:42:53 2011 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 CEDA3106564A for ; Thu, 13 Jan 2011 06:42:53 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from f.mail.ru.ac.za (f.mail.ru.ac.za [IPv6:2001:4200:1010::25:6]) by mx1.freebsd.org (Postfix) with ESMTP id D6F9C8FC19 for ; Thu, 13 Jan 2011 06:42:52 +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=G/HO2Ot6PLiP13YTisb5lo/pDdIs5/mXeP5B/DouILygRj6n0mICnQPw6iev636ZsKCRUacTUFshwdTLfg7n6pMsnkXZl5Nbz6Y0CBq0sHd+UGSBZfTX8IZyN2YWp8h4; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:51339) by f.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69-patched (FreeBSD)) (envelope-from ) id 1PdGtR-000DtQ-Vt for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 08:42:45 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Thu, 13 Jan 2011 08:42:45 +0200 User-Agent: KMail/1.9.10 References: <4D2DB449.6070901@esiee.fr> In-Reply-To: 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: f.mail.ru.ac.za (2001:4200:1010::25:6) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: problem with shell 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: Thu, 13 Jan 2011 06:42:53 -0000 On Wednesday 12 January 2011 17:58:33 David Scheidt wrote: > > ps ax | grep [s]lapd | wc -l > > The [] creates a one-character class that doesn't match the regex. Easier > to type and grep should be a bit faster. And you can save another process by using ps ax | grep -c '[s]lapd' Although as others have pointed out, you can also use pgrep. Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 07:20:16 2011 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 49C75106566C for ; Thu, 13 Jan 2011 07:20:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF4D48FC18 for ; Thu, 13 Jan 2011 07:20:15 +0000 (UTC) Received: by fxm16 with SMTP id 16so1461421fxm.13 for ; Wed, 12 Jan 2011 23:20:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=eJVpXvK5KnVPEXLVSqoegbOVHNyE2fF1O6b8Xs5Be5E=; b=rRV934HUKCIoSMKg3mpq47eotHxnp6RDMdYTSUGRzKnc0Ua/C+yWaap2JE+w1LZknN hrp1MMfJ5+JX3lNa91FBLGc+EFfxMvycX56vdN1FK1ADxn8SyUyD2WTUbTPRyuJ4p2/F FUSJHrWKifnIr/uq0w5xId8smJ5cBX751auyI= 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=lh0QCkB5R5f5wafF1dgaaydq5EitlPmK64oqBog/5luSldWKUgEiD+TDT4BGpaC0pV e3czi6fy8fE2v0nB/F0nZRZCpo3zIYj8WiXkWr7dM5Ifj561B+QFQTu9cCUAn9FiTqT1 vZHTWgkCo2VmxHcgzu4e0WPkObaKhBca8wCSA= MIME-Version: 1.0 Received: by 10.223.71.197 with SMTP id i5mr1942645faj.127.1294903214690; Wed, 12 Jan 2011 23:20:14 -0800 (PST) Received: by 10.223.114.4 with HTTP; Wed, 12 Jan 2011 23:20:14 -0800 (PST) In-Reply-To: References: <4D2DFEAE.9060403@bah.homeip.net> Date: Thu, 13 Jan 2011 01:20:14 -0600 Message-ID: From: Adam Vande More To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions , Bernt Hansson Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 07:20:16 -0000 On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene wrote: > Will the logs automatically create themselves? I mean, I picture I have to > manually touch a lotta them in order to avoid "cannot find" error messages? > Please don't top post. do something like this: shutdown now rm /var/log/* exit upon reentering multiuser mode, each logging service will create it's new file. Typically if a service is running and you delete the log from it, the service will not like it. You can HUP the service to have it restart logging, but you'd have to do it manually for each log you deleted. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 08:38:52 2011 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 9D1141065672 for ; Thu, 13 Jan 2011 08:38:52 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2CC568FC0A for ; Thu, 13 Jan 2011 08:38:51 +0000 (UTC) Received: by wyf19 with SMTP id 19so1471104wyf.13 for ; Thu, 13 Jan 2011 00:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=TpLpidBs+EHqNBLOleRzfTecvePeomsX3SNT4RD5w/0=; b=sSc5DiuEwfGZ2QHPggcjdEAiYHm/dtzphAbguPyXW7Z6o69FcJUGzeTmbr02wtf0Bs dpDsSrVTiDCUaID9xpTpprxYSs2oEZR538jnv56Jw6VVtneftJ/MH1NCa6LnJmBhPKCX 8sOzXmkT72mXCud3zCEKgViUreq1nv2T58SvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=mwDi1aCp00mW7rgXjze9s7zp2qu3+SRiF9UEvh2Y64XJGBF0Sh76InGI8EBFtzjKHk F267eCokeZScp1eCU4CCSOCwq4NhywggyrTLVfGXFVe1jNAHnuEiGFHiHf4hXaiZ+fkD G0nOIGoW6Ls1AC5wrdWihBfqwr5FM1Ae077/M= Received: by 10.227.146.138 with SMTP id h10mr2018022wbv.189.1294907930964; Thu, 13 Jan 2011 00:38:50 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id m10sm1176678wbc.4.2011.01.13.00.38.48 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 00:38:49 -0800 (PST) Message-ID: <4D2EBA06.2030200@gmail.com> Date: Thu, 13 Jan 2011 09:38:30 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110111 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D2DE216.6040505@kibug.org> <20110112202145.515b24b3.freebsd@edvax.de> <20110113022304.GA2455@stainmore> In-Reply-To: <20110113022304.GA2455@stainmore> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 08:38:52 -0000 On 13/01/2011 03:23, Bob Hall wrote: > On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote: >> On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara wrote: >>> Hello, >>> >>> It might be all right to remove all "normal file" logs, >>> though you may want to retain all subdirectories. >>> >>> find /var/log -type f -exec rm {} \; >>> >>> may do. >> >> Possible problem: Programs that log to files may be confused >> that the file has disappeared. How about simply cutting the >> files to zero length? >> >> # cat /dev/null> /var/log/* > > or # truncate -s 0 /var/log/* > > That will save you two keystrokes, and that's important! ;-) But, there is sometime subdirectories in /var/log, it doesn't matter? And truncate can write on archived files ? such as : markand@Melon ~ $ ls /var/log/messages*.bz2 /var/log/messages.0.bz2 /var/log/messages.1.bz2 Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 09:11:45 2011 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 041B1106564A for ; Thu, 13 Jan 2011 09:11:45 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id D66498FC0C for ; Thu, 13 Jan 2011 09:11:44 +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 p0D9BixK095202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Jan 2011 01:11:44 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p0D9Bi7u095201; Thu, 13 Jan 2011 01:11:44 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14290; Thu, 13 Jan 11 01:08:31 PST Date: Thu, 13 Jan 2011 01:07:54 -0800 From: perryh@pluto.rain.com To: dscheidt@panix.com Message-Id: <4d2ec0ea.CdxRFqq6dJK4kMYu%perryh@pluto.rain.com> References: <4D2DB449.6070901@esiee.fr> In-Reply-To: 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: problem with shell 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: Thu, 13 Jan 2011 09:11:45 -0000 David Scheidt wrote: > ps ax | grep [s]lapd | wc -l > > The [] creates a one-character class that doesn't match the regex. Doesn't [s]lapd need to be quoted? [] are special to (at least some) shells. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 09:25:23 2011 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 1CBA2106564A for ; Thu, 13 Jan 2011 09:25:23 +0000 (UTC) (envelope-from swegill@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA95A8FC16 for ; Thu, 13 Jan 2011 09:25:22 +0000 (UTC) Received: by iyb26 with SMTP id 26so1408103iyb.13 for ; Thu, 13 Jan 2011 01:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=7VjTkBXRCjA4MtnwEaXdJMJIrNufd/LNNBnG80x8JpI=; b=R4GN17avXeE5a3820JeOo2kx0QhlIdJTF3cHq/rcYztZvCqFk4H6vojMyxRjKs1M8X z7PAe4EHTYdQzlO/Z707L47mN6eb7CU2P0eDdEKgp9IXCw18urlBPztoFJIQBNmB9/S6 EcEZcyDtdaOmzx1UdZk1ziEuIr0baTvlhsIzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BgaWqv1wQMwlJ06KKlatARFIlZylcnY/Np51tECGhs9AMJwesi6et//EQ8XudnbElL PU0VoIgSXgZuw2aqG8xqRNG5XoMnPtkJxWtuuXGoG9PgmtMbs8iFT30gVJeYImhKODns ZGl7UzH9hZkbQtM+6jfukAic+8M40ceTiAh3k= MIME-Version: 1.0 Received: by 10.42.169.131 with SMTP id b3mr2253516icz.125.1294909349429; Thu, 13 Jan 2011 01:02:29 -0800 (PST) Received: by 10.42.180.129 with HTTP; Thu, 13 Jan 2011 01:02:29 -0800 (PST) Date: Thu, 13 Jan 2011 10:02:29 +0100 Message-ID: From: Swe Gill To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: rm: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 09:25:23 -0000 Hello there Can anybody help me to solve this problem. I am running freebsd 7 with Apache (with mod_secuirty) and Mysql with RAID10. The Log files have become so huge that server ran out of space. Now, I want to remove the log files but I am unable to remove. Here is the messages: -rw-rw---- 1 root wheel 53961237001 Jan 13 09:22 httpd-modsec2_audit.log -rw-rw---- 1 root wheel 3396921421 Jan 13 09:22 httpd-modsec2_debug.log fbsdserver# rm httpd-modsec2_debug.log rm: httpd-modsec2_debug.log: Operation not permitted fbsdserver# rm -f httpd-modsec2_debug.log rm: httpd-modsec2_debug.log: Operation not permitted I will appreciate any help.,.. Thanks s From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 09:36:46 2011 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 1AC901065693 for ; Thu, 13 Jan 2011 09:36:46 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by mx1.freebsd.org (Postfix) with ESMTP id C794C8FC08 for ; Thu, 13 Jan 2011 09:36:45 +0000 (UTC) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) by sta1.canmos.ru (Postfix) with ESMTP id 16CE71279D1; Thu, 13 Jan 2011 12:36:43 +0300 (MSK) Date: Thu, 13 Jan 2011 12:36:41 +0300 (MSK) From: "Igor V. Ruzanov" To: perryh@pluto.rain.com In-Reply-To: <4d2ec0ea.CdxRFqq6dJK4kMYu%perryh@pluto.rain.com> Message-ID: References: <4D2DB449.6070901@esiee.fr> <4d2ec0ea.CdxRFqq6dJK4kMYu%perryh@pluto.rain.com> X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: dscheidt@panix.com, freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Thu, 13 Jan 2011 09:36:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 13 Jan 2011, perryh@pluto.rain.com wrote: |David Scheidt wrote: | |> ps ax | grep [s]lapd | wc -l |> |> The [] creates a one-character class that doesn't match the regex. | |Doesn't [s]lapd need to be quoted? [] are special to (at least some) |shells. Which FreeBSD version do you use? If it above 4.x you could try the following: `pgrep slapd | wc -l' or maybe `pgrep slapd | xargs ps | wc -l' or something like this, it depends on your criteria +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFNLserbt6QiUlK9twRAvApAKCoIAozDT98VzRkvE3bjPg9Fb2OZwCeLCVj l86YACf0Sd+Gu2vfujQNE/I= =pls0 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 10:03:22 2011 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 BEBEF106564A for ; Thu, 13 Jan 2011 10:03:22 +0000 (UTC) (envelope-from swegill@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C21D8FC0C for ; Thu, 13 Jan 2011 10:03:22 +0000 (UTC) Received: by qyk36 with SMTP id 36so1514066qyk.13 for ; Thu, 13 Jan 2011 02:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=kQ4hYW3JV6NMattV0rknGbQOccVP1jdS4G4+/ITSVj8=; b=KGoR6OcoOIp4pD4yvXxWrSlyst8LTfWumbLsBq0QMnrAUH7hhhrvlEeg2HDQMawUxc A5e8fg/f1FNecWlwAIJZUVBcMvt/Z8Qi2VAd9/L1wgv9hLMb2uFn2vxpkTtJ0Mui/ywT Q8ea0HKKwnQ4euY/TD1KfDMgaMNLgl/b1t2P8= 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=m8kEBTWPtUhVDl3Fwj3/bpLW7I4fbqHT0zXVslBsgmGDHEzz17cPDvd5zmN3Xd933B FkTX7aP/WD3Y+vR9H+TCPyQfQ5y5O/jdS9CKLUhxakgEKKeJQ/qoQ54nxRXoQfvjo06E +OLY8eohbrgIrsqI1kp61ATJ8Vkf8ZHHGlUWQ= MIME-Version: 1.0 Received: by 10.229.81.6 with SMTP id v6mr1829735qck.223.1294913001486; Thu, 13 Jan 2011 02:03:21 -0800 (PST) Received: by 10.229.127.99 with HTTP; Thu, 13 Jan 2011 02:03:21 -0800 (PST) In-Reply-To: <000301cbb307$49788810$dc699830$@com> References: <000301cbb307$49788810$dc699830$@com> Date: Thu, 13 Jan 2011 11:03:21 +0100 Message-ID: From: Swe Gill To: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 10:03:22 -0000 Hi Peg Thanks for your help.... by applying "ls -lao"..... I get following result -rw------- 1 root wheel sappnd 8307655937 Jan 13 10:45 debug.log -rw------- 1 root wheel sappnd 15415 Oct 2 2009 dmesg.today -rw-r--r-- 1 root wheel - 0 Oct 2 2009 httpd-access.log -rw-r--r-- 1 root wheel - 271 Oct 2 2009 httpd-error.log -rw-rw---- 1 root wheel - 53969161077 Jan 13 10:45 httpd-modsec2_audit.log -rw-rw---- 1 root wheel - 3397158201 Jan 13 10:44 httpd-modsec2_debug.log -rw-r--r-- 1 root wheel sappnd 28056 Oct 2 2009 lastlog -rw-r--r-- 1 root wheel sappnd 66 Oct 1 2009 lpd-errs I just don't understand why I am unable to remove the files... Regards /S On Thu, Jan 13, 2011 at 10:50 AM, Pegasus Mc Cleaft wrote: > >-----Original Message----- > >From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Swe Gill > >Sent: 13 January 2011 09:02 > >To: freebsd-questions@freebsd.org > >Subject: rm: httpd-modsec2_debug.log: Operation not permitted > > > > > >fbsdserver# rm httpd-modsec2_debug.log > >rm: httpd-modsec2_debug.log: Operation not permitted > > Usually when I see that "Operation not permitted" message, I start to > suspect file flags. Try doing a "ls -lao" in that directory and see if the > log files have the immutable flags set on them. You may wish to take a look > at chflags(1) for more information. > > Peg > > > > -- With best regards /S From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 11:13:08 2011 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 69237106564A for ; Thu, 13 Jan 2011 11:13:08 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1308FC0A for ; Thu, 13 Jan 2011 11:13:07 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0DBD5F5013846; Thu, 13 Jan 2011 11:13:06 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2EDE3E.8070204@ifdnrg.com> Date: Thu, 13 Jan 2011 11:13:02 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> In-Reply-To: <20110113001854.GA55758@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 11:13:08 -0000 On 13/01/2011 00:18, Gary Kline wrote: > autoconf: required version 2.68 not found some stuff here to try for autoconf issues http://forums.freebsd.org/showthread.php?t=20284 Alternatively you might want to try installing prebuillt packages instead of building ports, a lot less hassle. pkg_delete php5* pkg_add -r php5 pkg_add -r php5-extensions (I'm not sure what extensions the package has, but i'd be surprised if it didn't include mysql) -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 12:58:31 2011 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 E04B2106566C for ; Thu, 13 Jan 2011 12:58:31 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 74A0E8FC14 for ; Thu, 13 Jan 2011 12:58:31 +0000 (UTC) Received: by fxm16 with SMTP id 16so1718425fxm.13 for ; Thu, 13 Jan 2011 04:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:subject:from:to:date:mime-version :content-type:content-transfer-encoding; bh=Elw9IhgHU0NW6Py/htdx1OOgmg0Nv6HwKvO7V0fQNww=; b=K7qYRZQ4D4KWv6nD72rWoO8DFsoOo7aw6qpQN+yjKbj1msIpDOYxg1tNbTLEh6lt4p kdYRmso8Zl4HGNZDZFJuj76vrd8sd1TaFDnUt+JzceIVJ/8Qd6Ng3qgxRvRnWIBuMxk3 zYSGYoPGFxqCh2839QNq7oEAHWo7sLs7KnlW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:subject:from:to:date:mime-version:content-type :content-transfer-encoding; b=jDA3nvBA5XbtjnZqNcrilryq5PsCd6vjFqgqSzYy3EAn24svi/mK7iAlqY7WZMu4AQ kByFid6Z8DBJYOrTveVtsWIxFmFGXHSZxB4+JV8pAFv65XFlecXp16fknY/31X6eM1Kb 5KoZFDDMMbnU7DPAsivUE3wck8zz657ED4uc8= Received: by 10.223.101.131 with SMTP id c3mr1316863fao.95.1294922066978; Thu, 13 Jan 2011 04:34:26 -0800 (PST) Received: from ecs ([213.8.162.222]) by mx.google.com with ESMTPS id n3sm9550faa.29.2011.01.13.04.34.24 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 04:34:25 -0800 (PST) Message-ID: <4d2ef151.4310df0a.25b7.0199@mx.google.com> From: four.harrisons@googlemail.com To: freebsd-questions@freebsd.org Date: Wed, 12 Jan 2011 14:17:24 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: problem with shell 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: Thu, 13 Jan 2011 12:58:32 -0000 Hello=0D=0A=0D=0AI'm in trouble with a simple shell script that give=0D=0A= erroneous value when running ...=0D=0A=0D=0AIf I run commands interactive= ly everything runs well=0D=0A=0D=0A > ps ax | grep slapd | grep -v grep |= wc -l=0D=0A 1=0D=0A=0D=0AIf I run in the following shell script :=0D= =0A=0D=0A#!/bin/sh=0D=0ASD=3D0=0D=0ASD=3D`ps -ax | grep slapd | grep -v g= rep | wc -l`=0D=0Aecho $SD=0D=0A=0D=0Athe result is 3 !!!=0D=0A=0D=0A=0D=0A= Any info welcome !=0D=0A=0D=0A___________________________________________= ____=0D=0Afreebsd-questions@freebsd.org mailing list=0D=0Ahttp://lists.fr= eebsd.org/mailman/listinfo/freebsd-questions=0D=0ATo unsubscribe, send an= y mail to "freebsd-questions-unsubscribe@freebsd.org"=0D=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 12:59:09 2011 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 03A201065672 for ; Thu, 13 Jan 2011 12:59:09 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5704F8FC28 for ; Thu, 13 Jan 2011 12:59:07 +0000 (UTC) Received: by eyf6 with SMTP id 6so777308eyf.13 for ; Thu, 13 Jan 2011 04:59:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:subject:from:to:cc:date:mime-version :content-type:content-transfer-encoding; bh=i2VFrjmebZikshDJvkCq1otcAVebJ2Xv62awcd+ZHIU=; b=mKh1P63gyIpwVjKPptWQmab5BFyMLD0lT1SCoCJZpKFjS764oNdFrRVHpQp1G45X9s TETYFWjlw0OMmBh05fBYx81/ugfegk+XuYWI3uKEKm549ellkMRh5k9uAqWJYV2T4j9g 90THiDHD2UqG5XsVhNiT0KtJ1CA329K9keH5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:subject:from:to:cc:date:mime-version:content-type :content-transfer-encoding; b=sfkiwo0fyPfvf0Gg1W/KdT6UaWpPN+bQRR4AJF1VQ+mwJCXZuVuAtm0P0TUOjhmRxj bB8OCrsSW3qo36E1HlUzgmFViciQ4BqjGYu8anlR4i+z7Cqq9ThivOptTz87IY8sFkhS lmmdg1yb+ndAY7KmCtO4/3Dh56LqYl1wvAYkc= Received: by 10.213.17.2 with SMTP id q2mr522137eba.40.1294922073651; Thu, 13 Jan 2011 04:34:33 -0800 (PST) Received: from ecs ([213.8.162.222]) by mx.google.com with ESMTPS id u1sm19904eeh.4.2011.01.13.04.34.31 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 04:34:32 -0800 (PST) Message-ID: <4d2ef158.017b0e0a.2151.01d2@mx.google.com> From: four.harrisons@googlemail.com To: kline@thought.org Date: Wed, 12 Jan 2011 14:42:04 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 12:59:09 -0000 On 11/01/2011 16:46, Gary Kline wrote:=0D=0A>=0D=0A>=0D=0A> =09So:: are t= here other ways of installing this stuff? Should I=0D=0A> =09cp -rp this= wordpress directory in [e.g.]=0D=0A> =09/usr/local/www/journey?=0D=0A>=0D= =0A> =09Thanks for any clues,=0D=0A>=0D=0A> =09gary=0D=0A>=0D=0A=0D=0A=0D= =0AIt looks like you have a workign apache2 already.=0D=0A=0D=0A*For PHP=0D= =0A*cd /usr/ports/lang/php5=0D=0Amake config ( choose apache module)=0D=0A= make install clean=0D=0A=0D=0A=0D=0A*PHP5 Extensions=0D=0A*(lots to choos= e from but make sure you have mysql at least selected (=20=0D=0Ayou'll ne= ed this installed obv for wordpress too )=0D=0Acd /usr/ports/lang/php5-ex= tensions=0D=0Amake config=0D=0Amake install clean=0D=0A=0D=0Ain your apac= he httpd.conf in the "AddType" section add=0D=0A=0D=0A AddType = application/x-httpd-php .php=0D=0A AddType application/x-httpd-ph= p-source .phps=0D=0A=0D=0AIn the DirectoryIndex section (or on a new line= after it)=0D=0AAdd this line=0D=0ADirectoryIndex index.php index.html in= dex.htm=0D=0A=0D=0A*Checks=0D=0A*On shell do php-v=0D=0A=0D=0Aon a webpag= e in your webroot (e.g test.php)=0D=0A=0D=0Aadd this php code=0D=0A=0D=0A=0D=0Ahttp://localhost/test.php=0D=0AIf tha= t shows you a nice php page then you should be good to go with the=20=0D=0A= wordpress installer=0D=0A=0D=0AGood luck!=0D=0APaul.=0D=0A=0D=0A=0D=0A--=20= =0D=0A-------------------------=0D=0APaul Macdonald=0D=0AIFDNRG Ltd=0D=0A= Web and video hosting=0D=0A-------------------------=0D=0At: 0131 5548070= =0D=0Am: 07534206249=0D=0Ae: paul@ifdnrg.com=0D=0Aw: http://www.ifdnrg.co= m=0D=0A-------------------------=0D=0AIFDNRG=0D=0A40 Maritime Street=0D=0A= Edinburgh=0D=0AEH6 6SA=0D=0A-------------------------=0D=0A=0D=0A=0D=0A__= _____________________________________________=0D=0Afreebsd-questions@free= bsd.org mailing list=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freeb= sd-questions=0D=0ATo unsubscribe, send any mail to "freebsd-questions-uns= ubscribe@freebsd.org"=0D=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 12:59:31 2011 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 E68D71065693 for ; Thu, 13 Jan 2011 12:59:31 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0BF8FC13 for ; Thu, 13 Jan 2011 12:59:31 +0000 (UTC) Received: by fxm16 with SMTP id 16so1719135fxm.13 for ; Thu, 13 Jan 2011 04:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:subject:from:to:cc:date:mime-version :content-type:content-transfer-encoding; bh=6nV1MbHN0p3f7PhSsgEFLecB0bAZhJX7PCDHMV0fh0Y=; b=We2vqqHoyzXi1J/MWS+fyRO6c+3lHBGhn2zb5287Z55EZEf61PGUkpYFNkSJ4FIU6D ORePCq4XPCrM1K9DvSz6/e8OjeOXJbza8LRCfBcRcYadS9T4t7vRlTwuW+5JRCBCrfYx Pxib6aFnz0NbMACSvdLXsozyIotqpY/usbWhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:subject:from:to:cc:date:mime-version:content-type :content-transfer-encoding; b=xurySORwjTiGIMJ58ckig1xjR+93P2VA3VJavLCbQt7vFevEjcUsK8DRg1v3sd5DtF ek+Py22VwGEZFGqpT8kJagR4/beT7+j/GL6HmW898UVr607yrOsKzA6uCekh6dgWKdWb bYUqmcm4v1VRLpBibRx1ucpJYMGI2Y7MgGuWo= Received: by 10.223.122.146 with SMTP id l18mr2358247far.67.1294922070132; Thu, 13 Jan 2011 04:34:30 -0800 (PST) Received: from ecs ([213.8.162.222]) by mx.google.com with ESMTPS id z1sm7186fau.45.2011.01.13.04.34.28 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 04:34:29 -0800 (PST) Message-ID: <4d2ef155.8190df0a.6244.00f0@mx.google.com> From: four.harrisons@googlemail.com To: kline@thought.org Date: Wed, 12 Jan 2011 14:40:56 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 12:59:32 -0000 =0D=0A> Lots of warnings::=0D=0A>=0D=0A>=0D=0A> Deprecated: Directive 're= gister_long_arrays' is deprecated in PHP=0D=0A> 5.3 and greater in Unknow= n on line 0=0D=0A>=0D=0A> Deprecated: Directive 'magic_quotes_gpc' is dep= recated in PHP 5.3=0D=0A> and greater in Unknown on line 0=0D=0A> PHP 5.3= =2E5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01)=0D=0A> (DEBUG= )=0D=0A> Copyright (c) 1997-2009 The PHP Group=0D=0A> Zend Engine v2.3.0,= Copyright (c) 1998-2010 Zend Technologies=0D=0A>=0D=0AThis is kinda good= , at least its installed !=0D=0A=0D=0ATo turn off deprecated notices in l= ooging:=0D=0Aedit /usr/local/etc/php.ini ( approx line 523)=0D=0Aerror_re= porting =3D E_ALL & ~E_DEPRECATED=0D=0A=0D=0AMake php log errors: ( line = approx 646)=0D=0Aerror_log =3D /var/log/php_errors.log=0D=0A=0D=0Athen tr= y php -v from shell,=0D=0A=0D=0A_________________________________________= ______=0D=0Afreebsd-questions@freebsd.org mailing list=0D=0Ahttp://lists.= freebsd.org/mailman/listinfo/freebsd-questions=0D=0ATo unsubscribe, send = any mail to "freebsd-questions-unsubscribe@freebsd.org"=0D=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 13:04:54 2011 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 91C5F106579B for ; Thu, 13 Jan 2011 13:04:54 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 28D0E8FC0C for ; Thu, 13 Jan 2011 13:04:53 +0000 (UTC) Received: by fxm16 with SMTP id 16so1723926fxm.13 for ; Thu, 13 Jan 2011 05:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:subject:from:to:date:mime-version :content-type:content-transfer-encoding; bh=Hu9XHOFKd9swd9ahJSNssdaZkW1rRDo3p54VIdr/ST4=; b=ldbw2uYYEf0A8gDA875BfbnckBsg8pVgKSOrFUdlYNfj73TrP0ltsFSRgajoLCHYEG dcF7EFdBVQDjnzhQBgF5vD3p7gLR28pXArv6NaZb8V16r2DOFhVBLSD+9vAf+8DsaxPf 3Sc/P862g3a58u023haoPdHQ5TTuR4O8pgjk4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:subject:from:to:date:mime-version:content-type :content-transfer-encoding; b=LSJzAzT62C9o0mNvM+JmdrSv6/p7oSltZ2BoPwsFJz/w7fM3+7yf1xP9HmcE9O+loX b6n6D6UoDO7YQ60oXyebtZCjNi1V/N8i0eW2T8p+98xG9Q5pSMCdy32hiJIRHwDwDEHt TsCIVcNiSyRE0uoJ8qVO1pdLCFhnbwPXDfD1M= Received: by 10.223.103.8 with SMTP id i8mr2292947fao.47.1294922076825; Thu, 13 Jan 2011 04:34:36 -0800 (PST) Received: from ecs ([213.8.162.222]) by mx.google.com with ESMTPS id y1sm11573fak.15.2011.01.13.04.34.35 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 04:34:35 -0800 (PST) Message-ID: <4d2ef15b.c151df0a.276f.01a3@mx.google.com> From: four.harrisons@googlemail.com To: freebsd-questions@freebsd.org Date: Wed, 12 Jan 2011 14:48:32 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: protect a single interface with IPFW ? 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, 13 Jan 2011 13:04:54 -0000 Hello=0D=0A=0D=0Ais it possible to protect a single interface with IPFW=0D= =0Amy server has only one interface and I want to=0D=0Aallow only SSH LDA= P LDAPS=0D=0A=0D=0Athanks for any examples=0D=0A=0D=0A___________________= ____________________________=0D=0Afreebsd-questions@freebsd.org mailing l= ist=0D=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D=0A= To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"=0D=0A From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 13:07:48 2011 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 39B9C106566C for ; Thu, 13 Jan 2011 13:07:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id B09BB8FC13 for ; Thu, 13 Jan 2011 13:07:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p0DD7hBB059999; Fri, 14 Jan 2011 00:07:44 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 14 Jan 2011 00:07:43 +1100 (EST) From: Ian Smith To: Paul Macdonald In-Reply-To: <20110113120031.C62C6106577F@hub.freebsd.org> Message-ID: <20110113234827.W81103@sola.nimnet.asn.au> References: <20110113120031.C62C6106577F@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: Which php?? 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, 13 Jan 2011 13:07:48 -0000 In freebsd-questions Digest, Vol 345, Issue 7, Message: 11 On Thu, 13 Jan 2011 11:13:02 +0000 Paul Macdonald wrote: > On 13/01/2011 00:18, Gary Kline wrote: > > autoconf: required version 2.68 not found > some stuff here to try for autoconf issues > > http://forums.freebsd.org/showthread.php?t=20284 > > Alternatively you might want to try installing prebuillt packages > instead of building ports, a lot less hassle. > > pkg_delete php5* > > > pkg_add -r php5 > pkg_add -r php5-extensions > > (I'm not sure what extensions the package has, but i'd be surprised if > it didn't include mysql) You'd also be surprised if the php5 package didn't include the Apache module, right? That's why lots of people installed PHP in the first place, no? Lots of people have been thus surprised, for years now. Seeing Gary already has the module built, he could save it, remove then install the package and replace the module IF php was otherwise built with the same options, but the only way to get the module is build it. In the almost singular case of php, I'd stick with building the port(s). cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 13:12:25 2011 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 2C710106564A for ; Thu, 13 Jan 2011 13:12:25 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id BC1CB8FC1C for ; Thu, 13 Jan 2011 13:12:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuIBACOCLk2kD30E/2dsb2JhbAAMg3ySK4kytDuODYRYdASKHIQK Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 13 Jan 2011 14:12:23 +0100 Message-ID: <4D2EFA36.4020703@ulb.ac.be> Date: Thu, 13 Jan 2011 14:12:22 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4d2ef151.4310df0a.25b7.0199@mx.google.com> In-Reply-To: <4d2ef151.4310df0a.25b7.0199@mx.google.com> Content-Type: multipart/mixed; boundary="------------010101080308040104050206" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: problem with shell 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: Thu, 13 Jan 2011 13:12:25 -0000 This is a multi-part message in MIME format. --------------010101080308040104050206 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit just use: pgrep "slapd" On 01/12/2011 15:17, four.harrisons@googlemail.com wrote: > Hello > > I'm in trouble with a simple shell script that give > erroneous value when running ... > > If I run commands interactively everything runs well > > > ps ax | grep slapd | grep -v grep | wc -l > 1 > > If I run in the following shell script : > > #!/bin/sh > SD=0 > SD=`ps -ax | grep slapd | grep -v grep | wc -l` > echo $SD > > the result is 3 !!! > > > Any info welcome ! > > _______________________________________________ > 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" > > _______________________________________________ > 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" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------010101080308040104050206-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 13:15:44 2011 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 AD6EA1065694 for ; Thu, 13 Jan 2011 13:15:44 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A2EC8FC1F for ; Thu, 13 Jan 2011 13:15:44 +0000 (UTC) Received: by qwj9 with SMTP id 9so1699148qwj.13 for ; Thu, 13 Jan 2011 05:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=gVcCRfBjXJUsDqZMuQYu6dOraUKHK4CPGFVcrNw2QHQ=; b=tD67zloLQaIZiYqfV0Y/QCE46KfbAsD3nJEjlLwXngkIakBOg8zfQmaL2aTHyoKGL5 U9gHzutgYT55RNQLxYFs+hyI3NeNe5SIeph1lOmwj5SwoeJ6rBkMx/UzEPU6OrRIwvuX QDTvF5GVudH8mPxRi+HXGaASYW9/Jzyc5x60A= 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=RuqXhhvD/YA7qh+2G7m267ZpOGHapOJ/0bJ626bCoDQDZHDaGo5qqoL6zlrs4nTfhX 7Vp69WwwBBkmLsHgeau+pRr6aoUvYSBzJu1cfshn0O0lqKLMKSdarp60WX2Rhk3r1oEe HuR/0EfQTDgnnXkdwR5viLjyYWx820MTkmo+M= Received: by 10.229.75.18 with SMTP id w18mr1971093qcj.95.1294924543280; Thu, 13 Jan 2011 05:15:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.77.215 with HTTP; Thu, 13 Jan 2011 05:15:02 -0800 (PST) In-Reply-To: <4d2ef151.4310df0a.25b7.0199@mx.google.com> References: <4d2ef151.4310df0a.25b7.0199@mx.google.com> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Thu, 13 Jan 2011 14:15:02 +0100 Message-ID: To: four.harrisons@googlemail.com 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: problem with shell 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: Thu, 13 Jan 2011 13:15:44 -0000 ?? as already answered: ps ax | awk '/[/]slapd /{n++} END{print n}' searching '[s]lapd' will avoid grep "auto-matching", but would still return commands like "vim /etc/slapd.conf" or ./myscript-slapd about pgrep, like the usual grep, it needs a better expression than the process name, otherwise it would return the same results as a grep however, a perfect match may be done looking for the exact path ('[/]usr/local/bin/slapd '), but would still fail when, for ex. running `objdump /usr/local/bin/slapd -x' also, if you want to count the number of outputed lines, using [p]grep and wc makes two processes, while awk can do it all alone. awk ftw! On Wed, Jan 12, 2011 at 3:17 PM, wrote: > Hello > > I'm in trouble with a simple shell script that give > erroneous value when running ... > > If I run commands interactively everything runs well > > > ps ax | grep slapd | grep -v grep | wc -l > 1 > > If I run in the following shell script : > > #!/bin/sh > SD=3D0 > SD=3D`ps -ax | grep slapd | grep -v grep | wc -l` > echo $SD > > the result is 3 !!! > > > Any info welcome ! > > _______________________________________________ > 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" > > _______________________________________________ > 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 Samuel Mart=EDn Moro {EPITECH.} 2011 CamTrace S.A.S "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 16:41:05 2011 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 E222A1065670 for ; Thu, 13 Jan 2011 16:41:05 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F18E8FC12 for ; Thu, 13 Jan 2011 16:41:05 +0000 (UTC) Received: by eyf6 with SMTP id 6so925007eyf.13 for ; Thu, 13 Jan 2011 08:41:04 -0800 (PST) Received: by 10.213.31.209 with SMTP id z17mr2499087ebc.12.1294936862557; Thu, 13 Jan 2011 08:41:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Thu, 13 Jan 2011 08:40:42 -0800 (PST) In-Reply-To: <4D2EBA06.2030200@gmail.com> References: <4D2DE216.6040505@kibug.org> <20110112202145.515b24b3.freebsd@edvax.de> <20110113022304.GA2455@stainmore> <4D2EBA06.2030200@gmail.com> From: Chris Brennan Date: Thu, 13 Jan 2011 11:40:42 -0500 Message-ID: To: David Demelier Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 16:41:06 -0000 On Thu, Jan 13, 2011 at 3:38 AM, David Demelier wrote: > But, there is sometime subdirectories in /var/log, it doesn't matter? And > truncate can write on archived files ? such as : > > markand@Melon ~ $ ls /var/log/messages*.bz2 > /var/log/messages.0.bz2 /var/log/messages.1.bz2 > logrotate is your friend. [root@blackdragon /usr/ports]# make search name=logrotate Port: logrotate-3.7.9 Path: /usr/ports/sysutils/logrotate Info: Daemon to rotate, compress, remove and mail system log files Maint: js@iksz.hu B-deps: gettext-0.18.1.1 gmake-3.81_4 libiconv-1.13.1_1 popt-1.16 R-deps: gettext-0.18.1.1 libiconv-1.13.1_1 popt-1.16 WWW: [root@blackdragon /usr/ports]# hth/c- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 16:44:54 2011 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 8F888106566B for ; Thu, 13 Jan 2011 16:44:54 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3868FC08 for ; Thu, 13 Jan 2011 16:44:53 +0000 (UTC) Received: by ewy24 with SMTP id 24so925890ewy.13 for ; Thu, 13 Jan 2011 08:44:53 -0800 (PST) Received: by 10.213.36.2 with SMTP id r2mr2488260ebd.51.1294937092853; Thu, 13 Jan 2011 08:44:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Thu, 13 Jan 2011 08:44:32 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> From: Chris Brennan Date: Thu, 13 Jan 2011 11:44:32 -0500 Message-ID: To: Swe Gill Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 16:44:54 -0000 On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill wrote: > I just don't understand why I am unable to remove the files... > Pass 'whoami' at the command prompt. Are you root? If not, part of the wheel group? hth/c- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 16:58:27 2011 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 A94BE106566B for ; Thu, 13 Jan 2011 16:58:27 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id 884F38FC08 for ; Thu, 13 Jan 2011 16:58:27 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id p0DGKqdj067356; Thu, 13 Jan 2011 10:20:52 -0600 (CST) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20110113102034.00eed690@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Thu, 13 Jan 2011 10:20:34 -0600 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Greylist: Message whitelisted by Sendmail access database, not delayed by milter-greylist-4.2.6 (mail.sagedata.net [38.106.15.121]); Thu, 13 Jan 2011 10:20:53 -0600 (CST) X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Thu, 13 Jan 2011 10:20:53 -0600 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Subject: zoneedit.com 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, 13 Jan 2011 16:58:27 -0000 I have used zoneedit.com's DNS zone service for about 9 years and it handles a number of static IPs for my companies. Now, suddenly they have created a "new platform" and migrating accounts from the legacy platform to the new. The legacy site doen't work anymore, just confirms account and redirects to the new site. Are there any members here using zoneedit.com and having trouble with their login? I cannot get my login to work and they won't solve the problem. They say they have reset my password but it doesn't work. The legacy web site says my account has been migrated, yet the login doesn't work. The legacy site responds to my normal email address used for the entire 9 years, but the new platform only responds with an error that the email doesn't exist. The service still works, but no access to manage my zones. (Yes, I copy/paste the login so no typos.) I've sent numerous request for help since Jan 12th but only get the robot response with the same information about responding in 24 hours -- but, they never respond. Now, here I sit without access to numerous domain zones I need to edit with any way to access them. This is hurting my biz. So, anyone with this issue out there or know of an alternative company to replace zoneedit? Thanks for any response (no robots pls -- heh, heh) (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:00:36 2011 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 16B1F1065789 for ; Thu, 13 Jan 2011 17:00:36 +0000 (UTC) (envelope-from swegill@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD8F78FC0A for ; Thu, 13 Jan 2011 17:00:35 +0000 (UTC) Received: by iyb26 with SMTP id 26so1773674iyb.13 for ; Thu, 13 Jan 2011 09:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1XQ2cDi+I6/PagphyMBe1v9qN4I/g2jXUICP7fN2IqQ=; b=gIuv5WZpQDvjutYE+kSq+qiRo9DZKYxxGeZZvii3Bu1fXu1OOQvEKqovFr5kfyUZ4h LaiFrc4sShsohG3N3+iuaNcr+600kZoLhs9kt9Mh+BUR59S5QFuZATWOpVe3fIJEiMim O+8hEZleCbppK0XRlL/M92mKrO+4XZ7TMFRC8= 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=oxIX77NxMysHxAStrGC8Yn6rz3CL2irqZjDF7j10nbM9XviFurMJH9ogfblUlSmEnt TbXbQt/iCFCZVUhpf54eN90Pedb0d3gEbtIDUjqZsMRciMzv45xSdZFxPLGRhDQ6JWzd WkA12gs2KZULi0syY3cU/39cRV4IuuNVOq1bY= MIME-Version: 1.0 Received: by 10.42.169.131 with SMTP id b3mr2748915icz.125.1294938035169; Thu, 13 Jan 2011 09:00:35 -0800 (PST) Received: by 10.42.180.129 with HTTP; Thu, 13 Jan 2011 09:00:35 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> Date: Thu, 13 Jan 2011 18:00:35 +0100 Message-ID: From: Swe Gill To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 17:00:36 -0000 Hi Chris I am applying these commands as root.... but no help... Regards /S On Thu, Jan 13, 2011 at 5:44 PM, Chris Brennan wrote: > On Thu, Jan 13, 2011 at 5:03 AM, Swe Gill wrote: > >> I just don't understand why I am unable to remove the files... >> > > Pass 'whoami' at the command prompt. Are you root? If not, part of the > wheel group? > > hth/c- > -- With best regards /S From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:03:15 2011 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 462241065673 for ; Thu, 13 Jan 2011 17:03:15 +0000 (UTC) (envelope-from jacks@sage-american.com) Received: from mail.sagedata.net (mail.sagedata.net [38.106.15.121]) by mx1.freebsd.org (Postfix) with ESMTP id 099618FC14 for ; Thu, 13 Jan 2011 17:03:14 +0000 (UTC) Received: from sagemaster (sageweb.net [65.68.247.73]) by mail.sagedata.net (8.14.4/8.14.4) with SMTP id p0DH3Enh068387 for ; Thu, 13 Jan 2011 11:03:14 -0600 (CST) (envelope-from jacks@sage-american.com) X-Authentication-Warning: mail.sagedata.net: Host sageweb.net [65.68.247.73] claimed to be sagemaster Message-Id: <3.0.1.32.20110113110258.00eed690@sage-american.com> X-Sender: jacks@sage-american.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Thu, 13 Jan 2011 11:02:58 -0600 To: freebsd-questions@freebsd.org From: "Jack L. Stone" In-Reply-To: <3.0.1.32.20110113102034.00eed690@sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Greylist: Message whitelisted by Sendmail access database, not delayed by milter-greylist-4.2.6 (mail.sagedata.net [38.106.15.121]); Thu, 13 Jan 2011 11:03:14 -0600 (CST) X-Scanned-By: milter-spamc/1.15.388 (mail.sagedata.net [38.106.15.121]); Thu, 13 Jan 2011 11:03:14 -0600 X-Spam-Status: NO, hits=-10.00 required=4.50 X-Spam-Report: Content analysis details: (-10.0 points, 4.5 required) | | pts rule name description | ---- ---------------------- -------------------------------------------------- | -0.0 SHORTCIRCUIT Not all rules were run, due to a shortcircuited rule | -10 ALL_TRUSTED Passed through trusted hosts only via SMTP | Subject: Re: zoneedit.com 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, 13 Jan 2011 17:03:15 -0000 TOP-POST I am pleased to say this has been resolved, thans to Dan at Zoneedit. All the best, Jack At 10:20 AM 1.13.2011 -0600, Jack L. Stone wrote: >I have used zoneedit.com's DNS zone service for about 9 years and it >handles a number of static IPs for my companies. > >Now, suddenly they have created a "new platform" and migrating accounts >from the legacy platform to the new. The legacy site doen't work anymore, >just confirms account and redirects to the new site. > >Are there any members here using zoneedit.com and having trouble with their >login? I cannot get my login to work and they won't solve the problem. They >say they have reset my password but it doesn't work. The legacy web site >says my account has been migrated, yet the login doesn't work. The legacy >site responds to my normal email address used for the entire 9 years, but >the new platform only responds with an error that the email doesn't exist. > >The service still works, but no access to manage my zones. > >(Yes, I copy/paste the login so no typos.) > >I've sent numerous request for help since Jan 12th but only get the robot >response with the same information about responding in 24 hours -- but, >they never respond. > >Now, here I sit without access to numerous domain zones I need to edit with >any way to access them. This is hurting my biz. > >So, anyone with this issue out there or know of an alternative company to >replace zoneedit? > >Thanks for any response (no robots pls -- heh, heh) > >(^_^) >Happy trails, >Jack L. Stone > >System Admin >Sage-american >_______________________________________________ >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" > > (^_^) Happy trails, Jack L. Stone System Admin Sage-american From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:20:35 2011 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 A35EA10656A4 for ; Thu, 13 Jan 2011 17:20:35 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D92D8FC13 for ; Thu, 13 Jan 2011 17:20:34 +0000 (UTC) Received: by ewy24 with SMTP id 24so962438ewy.13 for ; Thu, 13 Jan 2011 09:20:34 -0800 (PST) Received: by 10.213.36.2 with SMTP id r2mr2516700ebd.51.1294939234148; Thu, 13 Jan 2011 09:20:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Thu, 13 Jan 2011 09:20:13 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> From: Chris Brennan Date: Thu, 13 Jan 2011 12:20:13 -0500 Message-ID: To: Swe Gill Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 17:20:35 -0000 On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill wrote: > Hi Chris > > I am applying these commands as root.... but no help... > > What's the size of the log file? ls -lsha /var/log/ | grep modsec2 I'm not sure but I think you need *SOME* free space to delete. If that is the case, move the log to a new device, then delete it from the target device. Alternatively you could compress the log and target it to a new device, giving you at least a backup. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:25:58 2011 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 00C98106564A for ; Thu, 13 Jan 2011 17:25:58 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 81BB28FC08 for ; Thu, 13 Jan 2011 17:25:57 +0000 (UTC) Received: from park.js.berklix.net (p5B22C33D.dip.t-dialin.net [91.34.195.61]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p0DHPsgw076492; Thu, 13 Jan 2011 17:25:55 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p0DHPotp076926; Thu, 13 Jan 2011 18:25:50 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id p0DHQgor072498; Thu, 13 Jan 2011 18:26:47 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201101131726.p0DHQgor072498@fire.js.berklix.net> To: "Jack L. Stone" From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 13 Jan 2011 10:20:34 CST." <3.0.1.32.20110113102034.00eed690@sage-american.com> Date: Thu, 13 Jan 2011 18:26:42 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: zoneedit.com 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, 13 Jan 2011 17:25:58 -0000 Hi, > So, anyone with this issue out there or know of an alternative company to > replace zoneedit? I wouldnt particularly reccomend my domain registrar - I've sworn at its robot most times I used it (except maybe last couple of times, by when maybe they'd fixed bugs, I'd learnt their thought process, or just got tired). My domain registrar too upgraded to a new system maybe a couple of years ago. After a while I realised they'd bought a generic domain registrar's web interface & customised it for their business, - so one might jump ship to a new registrar & see the same problems if unlucky. Which domain registrars use what etc, I wouldn't know, but you could try http://lists.freebsd.org/mailman/listinfo/freebsd-isp isp@freebsd.org Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not quoted-printable, or HTML or base 64. Avoid top posting, it cripples itemised cumulative responses. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 17:41:05 2011 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 67B29106564A for ; Thu, 13 Jan 2011 17:41:05 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E53768FC19 for ; Thu, 13 Jan 2011 17:41:04 +0000 (UTC) Received: by bwz12 with SMTP id 12so1621852bwz.13 for ; Thu, 13 Jan 2011 09:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/DTtaGoWq+Q3K5UFK5s/T6STVfcYUhFpn1lgwA/U860=; b=aNvE8NjyLTNWeF76+Zbz2r+l4hGtUnUtiuc51vdeZsLPnAZqEJC8vKW39bVIDDOPj/ YMfADsoCxIvJQ2SuWcg9NjkdHC7eYeA2oa2uJKPU0HSravHoP5Kkuum28iswgsR9w/O2 tSiFQjtRhSVQFf+z/WrCzKoqWvZdFkQzIAFgI= 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=MifXEyoWvLlY/OQBBdp0mUWKj8YXfDxW1CanumHkzC80FtqWmZBgfpVskk7jw9bAdq +MJEKQQOAor05M2l5oaStCt+3Yuh82MB4MfkaebTXww9tJ2vOqopMxrKQWl2xLXvRRDT xhTK7kNh9HVsxTa/CQGEcY0a2WBniNljR591o= MIME-Version: 1.0 Received: by 10.204.99.145 with SMTP id u17mr2008865bkn.1.1294938634855; Thu, 13 Jan 2011 09:10:34 -0800 (PST) Received: by 10.204.118.194 with HTTP; Thu, 13 Jan 2011 09:10:34 -0800 (PST) In-Reply-To: <3.0.1.32.20110113102034.00eed690@sage-american.com> References: <3.0.1.32.20110113102034.00eed690@sage-american.com> Date: Thu, 13 Jan 2011 12:10:34 -0500 Message-ID: From: Pierre-Luc Drouin To: "Jack L. Stone" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: zoneedit.com 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, 13 Jan 2011 17:41:05 -0000 The legacy platform seems to still work for me: http://legacy.zoneedit.com I had sent some money though to have free service for my existing domains forever. On Thu, Jan 13, 2011 at 11:20 AM, Jack L. Stone wrote: > I have used zoneedit.com's DNS zone service for about 9 years and it > handles a number of static IPs for my companies. > > Now, suddenly they have created a "new platform" and migrating accounts > from the legacy platform to the new. The legacy site doen't work anymore, > just confirms account and redirects to the new site. > > Are there any members here using zoneedit.com and having trouble with > their > login? I cannot get my login to work and they won't solve the problem. They > say they have reset my password but it doesn't work. The legacy web site > says my account has been migrated, yet the login doesn't work. The legacy > site responds to my normal email address used for the entire 9 years, but > the new platform only responds with an error that the email doesn't exist. > > The service still works, but no access to manage my zones. > > (Yes, I copy/paste the login so no typos.) > > I've sent numerous request for help since Jan 12th but only get the robot > response with the same information about responding in 24 hours -- but, > they never respond. > > Now, here I sit without access to numerous domain zones I need to edit with > any way to access them. This is hurting my biz. > > So, anyone with this issue out there or know of an alternative company to > replace zoneedit? > > Thanks for any response (no robots pls -- heh, heh) > > (^_^) > Happy trails, > Jack L. Stone > > System Admin > Sage-american > _______________________________________________ > 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 Jan 13 19:00:53 2011 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 5F2C6106566C for ; Thu, 13 Jan 2011 19:00:53 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9C28FC0C for ; Thu, 13 Jan 2011 19:00:52 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id B1DD2E80979; Thu, 13 Jan 2011 11:00:51 -0800 (PST) Date: Thu, 13 Jan 2011 11:00:51 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110113190048.GA13230@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: trouble building mail/php5-imap 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, 13 Jan 2011 19:00:53 -0000 For unknown reasons the lang/php5-extensions ports fails when it reaches mail/php5-imap? I have upgraded the ports tress by hand and have tried portupgrade and portmanager. I think this (mail/php5-imap) is the only port that won't rebuild. Is there any known problem with this imap port? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 19:13:47 2011 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 3F0691065679 for ; Thu, 13 Jan 2011 19:13:47 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id D415C8FC1F for ; Thu, 13 Jan 2011 19:13:46 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p0DJDhiW065268 for ; Thu, 13 Jan 2011 11:13:43 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p0DJDhSw065267 for freebsd-questions@FreeBSD.ORG; Thu, 13 Jan 2011 11:13:43 -0800 (PST) (envelope-from kline) Date: Thu, 13 Jan 2011 11:13:43 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110113191340.GA65242@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 24 years of service to the Unix community. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: Subject: mail/php5-imap build 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: Thu, 13 Jan 2011 19:13:47 -0000 Sorry. Here is the build failure for the mail port that may be blocking my lang/php5-extensions from completing. Anybody??! thanks in advance. ===> Building for php5-imap-5.3.5 /bin/sh /usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/libtool --mode=compile cc -I. -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap -DPHP_ATOM_INC -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/include -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/main -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/c-client -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -fno-strict-aliasing -pipe -O0 -c /usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/php_imap.c -o php_imap.lo cc -I. -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap -DPHP_ATOM_INC -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/include -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/main -I/usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/c-client -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -fno-strict-aliasing -pipe -O0 -c /usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/php_imap.c -fPIC -DPIC -o .libs/php_imap.o In file included from /usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/php_imap.c:44: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/ports/mail/php5-imap/work/php-5.3.5/ext/imap/php_imap.c:44: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre' *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/mail/php5-imap. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.97a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 19:24:38 2011 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 E7CC4106564A for ; Thu, 13 Jan 2011 19:24:38 +0000 (UTC) (envelope-from dscheidt@panix.com) Received: from www.thixotropy.net (vc183.vc.panix.com [IPv6:2001:470:30:80:e276:63ff:fe62:3833]) by mx1.freebsd.org (Postfix) with ESMTP id AC8938FC18 for ; Thu, 13 Jan 2011 19:24:38 +0000 (UTC) Received: from [IPv6:2001:470:c399:1:217:f2ff:fe3f:2ccd] (unknown [IPv6:2001:470:c399:1:217:f2ff:fe3f:2ccd]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.thixotropy.net (Postfix) with ESMTPSA id 34FDA1257E5; Thu, 13 Jan 2011 14:24:35 -0500 (EST) References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> In-Reply-To: <20110113001854.GA55758@thought.org> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Message-Id: <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> Content-Transfer-Encoding: 7bit From: David Scheidt Date: Thu, 13 Jan 2011 14:24:33 -0500 To: Gary Kline X-Mailer: Apple Mail (2.1082) Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 19:24:39 -0000 On Jan 12, 2011, at 7:18 PM, Gary Kline wrote: >> > autoconf: required version 2.68 not found > *** Error code 1 did you follow the procedure in ports/UPDATING about autotools? From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:29:01 2011 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 7B79B1065679 for ; Thu, 13 Jan 2011 20:29:01 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE0C8FC13 for ; Thu, 13 Jan 2011 20:29:00 +0000 (UTC) Received: by wwf26 with SMTP id 26so2157212wwf.31 for ; Thu, 13 Jan 2011 12:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=cdiITMVqzJW+ye8ey99B9mADLnvBm4ZrS65qE28iPB0=; b=omXfZTY29MR3DKeK3fmyH02v1OIdC7DEfG/qekx2XJIfgnpsqfagN+Aiqg3OXUEsBn TyizEZxC7c5FI95RRQJgR0NrJ8SVDrHsPv7JKBDFLJuE208kOIdV3guU3hn3Tm8MlXqd /1n9M08D/4z6dtzg6bBbBquxWDS4aa13nSCfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=W9leU2tlwt7nvZUoLrMajTOA3lnMD+s/IVID7Yi8WME2+30Lyg/I5nWOkvIMPg58NM rOO274rM7cncN8D5P88Dgqyj9br+DzYcikc4SiL+PSgmsBV3Ynhh6HeLWXt+kkCNsN+6 a2lY3kRFIo27dYdcJKlANT16qT+P94IC1iJ+k= Received: by 10.227.145.139 with SMTP id d11mr2801148wbv.8.1294950536859; Thu, 13 Jan 2011 12:28:56 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id m10sm341303wbc.16.2011.01.13.12.28.48 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 12:28:50 -0800 (PST) Message-ID: <4D2F606D.6090407@gmail.com> Date: Thu, 13 Jan 2011 21:28:29 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110111 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Date of a FreeBSD installation 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, 13 Jan 2011 20:29:01 -0000 Hello folks, I'm just guessing if there is a way to know a FreeBSD installation date. We can't look after the uname -a ident since an update of the FreeBSD kernel is possible. I think searching a file absolutely not touched ever in the system can helps but which one? markand@Melon ~ $ ls -l /root/.cshrc -rw-r--r-- 2 root wheel 798 19 Jul 04:17 /root/.cshrc It seems that this file has the FreeBSD dist access time so can't refers to neither. Do you have any clue? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:34:25 2011 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 3787A1065670 for ; Thu, 13 Jan 2011 20:34:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id EA7858FC16 for ; Thu, 13 Jan 2011 20:34:24 +0000 (UTC) Received: from [109.84.110.237] (helo=tiny.Sisis.de.) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PdTsE-0007OC-97; Thu, 13 Jan 2011 21:34:23 +0100 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id p0DKYwmM001238; Thu, 13 Jan 2011 21:34:58 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id p0DKYvEu001237; Thu, 13 Jan 2011 21:34:57 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Thu, 13 Jan 2011 21:34:56 +0100 From: Matthias Apitz To: David Demelier Message-ID: <20110113203456.GA1204@tiny.Sisis.de> References: <4D2F606D.6090407@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D2F606D.6090407@gmail.com> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 109.84.110.237 Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 20:34:25 -0000 El día Thursday, January 13, 2011 a las 09:28:29PM +0100, David Demelier escribió: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation date. > We can't look after the uname -a ident since an update of the FreeBSD > kernel is possible. > > I think searching a file absolutely not touched ever in the system can > helps but which one? > > markand@Melon ~ $ ls -l /root/.cshrc > -rw-r--r-- 2 root wheel 798 19 Jul 04:17 /root/.cshrc > > It seems that this file has the FreeBSD dist access time so can't refers > to neither. > > Do you have any clue? I always use for this the oldest installed pkg: $ ls -lt /var/db/pkg HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:36:27 2011 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 30344106566B for ; Thu, 13 Jan 2011 20:36:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 186CB8FC13 for ; Thu, 13 Jan 2011 20:36:26 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LEZ00I48AKFI710@asmtp030.mac.com> for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 12:36:16 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101130131 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-13_09:2011-01-13, 2011-01-13, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: <4D2F606D.6090407@gmail.com> Date: Thu, 13 Jan 2011 12:36:14 -0800 Message-id: References: <4D2F606D.6090407@gmail.com> To: David Demelier X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 20:36:27 -0000 On Jan 13, 2011, at 12:28 PM, David Demelier wrote: > I'm just guessing if there is a way to know a FreeBSD installation date. We can't look after the uname -a ident since an update of the FreeBSD kernel is possible. > > I think searching a file absolutely not touched ever in the system can helps but which one? Symlinks under /etc are a good choice: # cd /etc ; ls -ltr | head total 1242 lrwxrwxrwx 1 root wheel 23 May 26 2001 termcap@ -> /usr/share/misc/termcap lrwxrwxrwx 1 root wheel 13 May 26 2001 rmt@ -> /usr/sbin/rmt Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:38:27 2011 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 4A97A106564A for ; Thu, 13 Jan 2011 20:38:27 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1206D8FC19 for ; Thu, 13 Jan 2011 20:38:26 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdTw5-00077L-N6 for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 12:38:22 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 13 Jan 2011 12:38:21 -0800 Date: Thu, 13 Jan 2011 12:38:21 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110113203821.GA3646@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <4D2F606D.6090407@gmail.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 20:38:27 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth David Demelier on Thursday, 13 January 2011: > Hello folks, >=20 > I'm just guessing if there is a way to know a FreeBSD installation date.= =20 > We can't look after the uname -a ident since an update of the FreeBSD=20 > kernel is possible. >=20 > I think searching a file absolutely not touched ever in the system can=20 > helps but which one? >=20 > markand@Melon ~ $ ls -l /root/.cshrc > -rw-r--r-- 2 root wheel 798 19 Jul 04:17 /root/.cshrc >=20 > It seems that this file has the FreeBSD dist access time so can't refers= =20 > to neither. >=20 > Do you have any clue? >=20 > Cheers, >=20 > --=20 > David Demelier > _______________________________________________ > 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" The date on the /home symlink reflects my install date. I don't think anything would touch that. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNL2K9AAoJEIpckszW26+RQS0H/ikiwydyA/8aZk2mEUxWjIoN e/cUch/t0o/EtqyvU9MXplopXskaFsghaUL2G2gWfX+ziSRWHIpnRCTbvDUmbt4k YILo/ZxF/F2b4+7GZ4YwkimniaDt8HFCfvdteG4F2LZddrkAy7Ir4DPEGG6x8kBz 0S2Zdkreuyk5QoT5rki94tmnem6nImgcfWgXCFZ94maYJd0SdmXWHoBN0ap0+y22 MOvs5yG8dgoZtL5Olyk/ep+FA8PLq29OrZM2cX1oQHtdu4TvKOMp/1UqMSyMwonU iHlTq49A6+TXIhyYpcIlIbw8Ik1LVRDgP+k1xwLymlzI1Vgnbx7AlTnSvjoJm0Y= =mP/D -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:38:52 2011 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 0853A10656C7; Thu, 13 Jan 2011 20:38:52 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from imr-ma05.mx.aol.com (imr-ma05.mx.aol.com [64.12.100.31]) by mx1.freebsd.org (Postfix) with ESMTP id AE1198FC20; Thu, 13 Jan 2011 20:38:51 +0000 (UTC) Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-ma05.mx.aol.com (8.14.1/8.14.1) with ESMTP id p0DKSUQa003800; Thu, 13 Jan 2011 15:28:30 -0500 Received: from dieterbsd@engineer.com by imo-ma02.mx.aol.com (mail_out_v42.9.) id n.1028.3d458c0 (34918); Thu, 13 Jan 2011 15:28:26 -0500 (EST) Received: from smtprly-me03.mx.aol.com (smtprly-me03.mx.aol.com [64.12.95.104]) by cia-da03.mx.aol.com (v129.7) with ESMTP id MAILCIADA033-b2d24d2f605f35; Thu, 13 Jan 2011 15:28:26 -0500 Received: from web-mmc-d03 (web-mmc-d03.sim.aol.com [205.188.103.93]) by smtprly-me03.mx.aol.com (v129.5) with ESMTP id MAILSMTPRLYME031-b2d24d2f605f35; Thu, 13 Jan 2011 15:28:15 -0500 To: freebsd-questions@freebsd.org, freebsd-firewire@freebsd.org, freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Jan 2011 15:28:15 -0500 X-AOL-IP: 67.206.162.81 X-MB-Message-Source: WebUI Received: from 67.206.162.81 by web-mmc-d03.sysops.aol.com (205.188.103.93) with HTTP (WebMailUI); Thu, 13 Jan 2011 15:28:15 -0500 MIME-Version: 1.0 From: dieterbsd@engineer.com X-MB-Message-Type: User Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: Mail.com Webmail 33069-STANDARD Message-Id: <8CD81778A4C13E7-17B0-DFA1@web-mmc-d03.sysops.aol.com> X-Spam-Flag: NO X-AOL-SENDER: dieterbsd@engineer.com Cc: freebsd@sopwith.solgatos.com Subject: lock contention 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: Thu, 13 Jan 2011 20:38:52 -0000 I suspect that I have a problem with lock/mutex contention. Reading from a USB disk appears to lock out the firewire driver for too long, causing data transfer (writing to firewire bus) to fail with EAGAIN. Once it fails it does not recover. kernel: fwohci1: IT DMA underrun (0x40308011) (stat &=20 OHCI_CNTL_CYCMATCH_S) last message repeated 63 times This is from the end of the fwohci_itxbuf_enable() function in=20 dev/firewire/fwohci.c I added LOCK_PROFILING to the kernel and gathered some data. The data is quite verbose, so I sorted by "max" and am including the first 40 lines. This is a true real-time task, so I am concerned with the worst case rather than the average. First, data from approx 20 seconds without a problem: debug.lock.prof.enable: 0 debug.lock.prof.reset: 0 debug.lock.prof.stats: max wait_max total wait_total count avg wait_avg=20 cnt_hold cnt_lock name 16990 0 2216486 0 1837 1206 0 0= =20 0 /usr/src/sys/kern/vfs_vnops.c:533 (lockmgr:ufs) 5852 0 11669 0 18 648 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:1693 (lockmgr:syncer) 1659 0 5522 0 34 162 0 0= =20 0 /usr/src/sys/kern/vfs_mount.c:2231 (sleep mutex:struct mount mtx) 1540 0 30353 0 15283 1 0 0= =20 0 /usr/src/sys/kern/sys_pipe.c:574 (sleep mutex:pipe mutex) 1415 0 1885651 0 53865 35 0 0= =20 0 /usr/src/sys/vm/vm_map.c:3526 (sx:user map) 1385 0 252414 0 53865 4 0 0= =20 0 /usr/src/sys/vm/vm_fault.c:937 (sleep mutex:vm object) 1361 0 84475 0 53865 1 0 0= =20 0 /usr/src/sys/vm/vm_fault.c:938 (sleep mutex:vm page queue mutex) 1044 0 2079 0 2 1039 0 0= =20 0 /usr/src/sys/kern/vfs_mount.c:2194 (sleep mutex:struct mount mtx) 934 0 65031 0 146 445 0 0= =20 0 /usr/src/sys/vm/vm_pager.c:311 (lockmgr:bufwait) 864 0 194008 0 53865 3 0 0= =20 0 /usr/src/sys/amd64/amd64/pmap.c:2958 (sleep mutex:pmap) 864 0 192948 0 53865 3 0 0= =20 0 /usr/src/sys/amd64/amd64/pmap.c:2957 (sleep mutex:vm page queue=20 mutex) 862 0 24690 0 30 823 0 0= =20 0 /usr/src/sys/kern/kern_mutex.c:147 (sleep mutex:nfe0) 857 0 84478 0 53863 1 0 0= =20 0 /usr/src/sys/amd64/amd64/trap.c:740 (sleep mutex:process lock) 697 0 154340 0 3292 46 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:2559 (lockmgr:bufwait) 557 0 896107 0 13438 66 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:1835 (lockmgr:bufwait) 519 0 1615 0 11 146 0 0= =20 0 /usr/src/sys/ufs/ffs/ffs_vfsops.c:1321 (sleep mutex:struct mount= =20 mtx) 481 0 24417 0 13438 1 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:1595 (sleep mutex:bufobj interlock) 367 0 65371 0 9178 7 0 0= =20 0 /usr/src/sys/kern/sys_pipe.c:643 (sleep mutex:pipe mutex) 351 0 2324 0 52 44 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:2083 (lockmgr:ufs) 333 0 325772 0 53865 6 0 0= =20 0 /usr/src/sys/vm/vm_fault.c:297 (sleep mutex:vm object) 329 0 171709 0 108608 1 0 0= =20 0 /usr/src/sys/amd64/amd64/pmap.c:3989 (sleep mutex:pmap) 329 0 2090 0 534 3 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:337 (sleep mutex:struct mount mtx) 327 0 99170 0 58917 1 0 0= =20 0 /usr/src/sys/vm/vm_page.c:1052 (sleep mutex:vm page queue free=20 mutex) 305 0 514 0 4 128 0 0= =20 0 /usr/src/sys/vm/vm_object.c:541 (sleep mutex:vm object) 304 0 304 0 1 304 0 0= =20 0 /usr/src/sys/vm/uma_core.c:1565 (sleep mutex:UMA lock) 297 0 359 0 13 27 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:3611 (sleep mutex:vm object) 296 0 23341 0 983 23 0 0= =20 0 /usr/src/sys/kern/tty_ttydisc.c:467 (sleep mutex:ttymtx) 291 0 448 0 6 74 0 0= =20 0 /usr/src/sys/vm/vm_object.c:1719 (sleep mutex:vm object) 284 0 12090 0 997 12 0 0= =20 0 /usr/src/sys/kern/sys_generic.c:1446 (sleep mutex:select mtxpool) 281 0 8752 0 955 9 0 0= =20 0 /usr/src/sys/kern/sys_generic.c:1455 (sleep mutex:sellck) 265 0 796 0 3 265 0 0= =20 0 /usr/src/sys/vm/vm_glue.c:738 (sx:allproc) 251 74 26825 74 16746 1 0 0= =20 1 /usr/src/sys/kern/vfs_bio.c:1488 (sleep mutex:buf queue lock) 231 0 7470 0 2848 2 0 0= =20 0 /usr/src/sys/geom/geom_io.c:77 (sleep mutex:bio queue) 228 0 228 0 1 228 0 0= =20 0 /usr/src/sys/vm/vm_map.c:2973 (sx:user map) 227 0 543 0 5 108 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:1693 (lockmgr:devfs) 215 0 840 0 13 64 0 0= =20 0 /usr/src/sys/dev/random/yarrow.c:191 (sleep mutex:random reseed) 202 0 198454 0 13438 14 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:2963 (sleep mutex:vm object) 199 0 18282 0 3668 4 0 0= =20 0 /usr/src/sys/kern/sys_pipe.c:611 (sleep mutex:pipe mutex) 190 0 1606 0 800 2 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:3089 (sleep mutex:sleep mtxpool) 189 0 83829 0 53899 1 0 0= =20 0 /usr/src/sys/vm/vm_object.c:482 (sleep mutex:vm object) debug.lock.prof.rejected: 0 debug.lock.prof.skipcount: 0 debug.lock.prof.skipspin: 0 Next, data when the problem occurs: debug.lock.prof.enable: 0 debug.lock.prof.reset: 0 debug.lock.prof.stats: max wait_max total wait_total count avg wait_avg=20 cnt_hold cnt_lock name 1586932 0 10264893 0 2290 4482 0 0= =20 0 /usr/src/sys/kern/vfs_vnops.c:533 (lockmgr:ufs) 35676 0 165709 0 20 8285 0 0= =20 0 /usr/src/sys/ufs/ffs/ffs_vfsops.c:1465 (lockmgr:ufs) 32133 0 80040 0 17541 4 0 0= =20 0 /usr/src/sys/vm/vm_object.c:482 (sleep mutex:vm object) 32129 0 50459 0 276 182 0 0= =20 0 /usr/src/sys/vm/vm_object.c:720 (sleep mutex:vm page queue mutex) 30899 0 47896 0 2 23948 0 0= =20 0 /usr/src/sys/kern/vfs_syscalls.c:3508 (lockmgr:ufs) 30680 0 36901 0 17 2170 0 0= =20 0 /usr/src/sys/kern/imgact_elf.c:774 (lockmgr:ufs) 26779 0 912921 0 9351 97 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:1835 (lockmgr:bufwait) 25691 0 193858 0 1850 104 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:2083 (lockmgr:ufs) 25596 0 592159 0 1205 491 0 0= =20 0 /usr/src/sys/vm/vm_pager.c:311 (lockmgr:bufwait) 24791 0 95678 0 24 3986 0 0= =20 0 /usr/src/sys/kern/kern_sysctl.c:1513 (sx:sysctl mem) 24788 0 250975 0 10563 23 0 0= =20 0 /usr/src/sys/kern/kern_sysctl.c:1521 (sx:sysctl lock) 23977 0 68951 0 538 128 0 0= =20 0 /usr/src/sys/geom/geom_event.c:185 (sx:GEOM topology) 20302 0 112442 0 6539 17 0 0= =20 0 /usr/src/sys/kern/kern_sysctl.c:1417 (sleep mutex:Giant) 18552 0 18552 0 1 18552 0 0= =20 0 /usr/src/sys/kern/kern_descrip.c:2586 (sx:allproc) 17688 0 17917 0 150 119 0 0= =20 0 /usr/src/sys/kern/kern_descrip.c:1580 (sleep mutex:fdesc) 14813 0 1285697 0 15257 84 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:2559 (lockmgr:bufwait) 5904 0 16455 0 34 483 0 0= =20 0 /usr/src/sys/kern/vfs_subr.c:1693 (lockmgr:syncer) 5715 0 6088 0 8 761 0 0= =20 0 /usr/src/sys/kern/vfs_vnops.c:604 (lockmgr:ufs) 5464 0 5464 0 1 5464 0 0= =20 0 /usr/src/sys/ufs/ufs/ufs_dirhash.c:216 (sx:dirhash) 4690 0 9137 0 2 4568 0 0= =20 0 /usr/src/sys/vm/vm_meter.c:113 (sleep mutex:vm object_list) 3304 0 18601 0 6 3100 0 0= =20 0 /usr/src/sys/kern/kern_proc.c:1079 (sx:allproc) 3041 0 5969 0 2 2984 0 0= =20 0 /usr/src/sys/vm/vm_meter.c:130 (sx:allproc) 2964 0 35694 0 127 281 0 0= =20 0 /usr/src/sys/vm/vm_map.c:2766 (sleep mutex:system map) 2474 0 28012 0 127 220 0 0= =20 0 /usr/src/sys/vm/vm_kern.c:289 (sleep mutex:system map) 2362 0 4716 0 2 2358 0 0= =20 0 /usr/src/sys/kern/kern_malloc.c:777 (sleep mutex:malloc) 2343 0 8922 0 64 139 0 0= =20 0 /usr/src/sys/kern/vfs_mount.c:2231 (sleep mutex:struct mount mtx) 1813 0 3021 0 2 1510 0 0= =20 0 /usr/src/sys/kern/kern_linker.c:2122 (sx:kernel linker) 1588 0 622646 0 16428 37 0 0= =20 0 /usr/src/sys/vm/vm_map.c:3526 (sx:user map) 1544 0 4025 0 15 268 0 0= =20 0 /usr/src/sys/vm/vm_map.c:2139 (sx:user map) 1537 0 4331 0 47 92 0 0= =20 0 /usr/src/sys/vm/vm_map.c:2766 (sx:user map) 1529 0 3991 0 437 9 0 0= =20 0 /usr/src/sys/vm/vm_fault.c:1017 (sleep mutex:vm object) 1501 0 16994 0 127 133 0 0= =20 0 /usr/src/sys/vm/vm_kern.c:394 (sleep mutex:vm object) 1138 0 44043 0 53 831 0 0= =20 0 /usr/src/sys/kern/kern_mutex.c:147 (sleep mutex:nfe0) 1061 0 142103 0 9351 15 0 0= =20 0 /usr/src/sys/kern/vfs_bio.c:2963 (sleep mutex:vm object) 1046 0 99060 0 59009 1 0 0= =20 0 /usr/src/sys/vm/vm_page.c:1052 (sleep mutex:vm page queue free=20 mutex) 1032 0 2640 0 18 146 0 0= =20 0 /usr/src/sys/ufs/ffs/ffs_vfsops.c:1321 (sleep mutex:struct mount= =20 mtx) 974 0 57222 0 34916 1 0 0= =20 0 /usr/src/sys/amd64/amd64/pmap.c:3989 (sleep mutex:pmap) 964 0 3167 0 1203 2 0 0= =20 0 /usr/src/sys/kern/tty_pts.c:126 (sleep mutex:ttymtx) 952 0 9113 0 127 71 0 0= =20 0 /usr/src/sys/vm/vm_kern.c:325 (sleep mutex:vm object) 892 0 79906 0 16428 4 0 0= =20 0 /usr/src/sys/vm/vm_fault.c:937 (sleep mutex:vm object) debug.lock.prof.rejected: 0 debug.lock.prof.skipcount: 0 debug.lock.prof.skipspin: 0 If I understand this, something was locked out for 1.58 seconds? YIKES! grep -i giant /var/run/dmesg.boot atkbd0: [GIANT-LOCKED] So the only thing still using the giant lock is the keyboard? I only use this keyboard with the firmware. I rsh in from another=20 machine. FreeBSD 8.0 amd64 nforce4-ultra chipset (USB controller) NEC firewire controller on PCI card fwohci1: mem 0xfdeff000-0xfdefffff irq 19 at device=20 8.0 on pci2 fwohci1: [ITHREAD] fwohci1: OHCI version 1.0 (ROM=3D1) fwohci1: No. of Isochronous channels is 4. fwohci1: Phy 1394a available S400, 2 ports. fwohci1: max_rec 1024 -> 2048 firewire1: on fwohci1 dcons_crom1: on firewire1 dcons_crom1: bus_addr 0x7c31c000 dcons_crom1: dcons_paddr is already set ehci0: mem 0xfebfe000-0xfebfe0ff=20 irq 22 at device 2.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 addr 0x61 on iicbus1 usbus1: on ehci0 usbd_set_config_index:523: could not read device status:=20 USB_ERR_SHORT_XFER ugen1.2: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:6:0:-1: Attached to scbus6 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:39:49 2011 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 3F3941065670 for ; Thu, 13 Jan 2011 20:39:49 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id F13E68FC21 for ; Thu, 13 Jan 2011 20:39:48 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0DKj43V027817; Thu, 13 Jan 2011 14:45:04 -0600 (CST) Date: Thu, 13 Jan 2011 14:45:04 -0600 (CST) From: Robert Bonomi Message-Id: <201101132045.p0DKj43V027817@mail.r-bonomi.com> To: f.bonnet@esiee.fr, freebsd-questions@freebsd.org In-Reply-To: <4D2DB449.6070901@esiee.fr> Cc: Subject: Re: problem with shell 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: Thu, 13 Jan 2011 20:39:49 -0000 > Date: Wed, 12 Jan 2011 15:01:45 +0100 > From: Frank Bonnet > Subject: problem with shell script > > Hello > > I'm in trouble with a simple shell script that give erroneous value when > running ... > > If I run commands interactively everything runs well > > > ps ax | grep slapd | grep -v grep | wc -l > 1 > > If I run in the following shell script : > > #!/bin/sh > SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD > > the result is 3 !!! Advice: don't try to 'out-think' the machine -- make it _show_ you what it is doing. Change the script to: SD=`ps -ax | grep slapd | grep -v grep | tee /dev/tty | wc -l` echo $SD I suspect thet the -name- of the script file has 'slapd' in it. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:45:30 2011 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 375B71065674 for ; Thu, 13 Jan 2011 20:45:30 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id F22438FC16 for ; Thu, 13 Jan 2011 20:45:29 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdU2u-0007fk-Ne for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 12:45:25 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 13 Jan 2011 12:45:25 -0800 Date: Thu, 13 Jan 2011 12:45:25 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110113204525.GB3646@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 20:45:30 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Chuck Swiger on Thursday, 13 January 2011: > On Jan 13, 2011, at 12:28 PM, David Demelier wrote: > > I'm just guessing if there is a way to know a FreeBSD installation date= . We can't look after the uname -a ident since an update of the FreeBSD ker= nel is possible. > >=20 > > I think searching a file absolutely not touched ever in the system can = helps but which one? >=20 >=20 > Symlinks under /etc are a good choice: >=20 > # cd /etc ; ls -ltr | head > total 1242 > lrwxrwxrwx 1 root wheel 23 May 26 2001 termcap@ -> /usr/share/= misc/termcap > lrwxrwxrwx 1 root wheel 13 May 26 2001 rmt@ -> /usr/sbin/rmt >=20 > Regards, > --=20 > -Chuck >=20 > _______________________________________________ > 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" On my system, /etc/termcap has the date well after my installation (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first installed FreeBSD on this system on Apr 1 2010. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNL2RlAAoJEIpckszW26+RkakH/jdhZZaRj4OfFFkXFwwKTohP m2AU/ffuJIZ8ltNiV9bcqCa4DC4wU57l3oSpo9HHxVpPi64y06vyWJfeyR46T/0Z /6u6v5twzdEBeXJqN9xcyhB8KpUaNXKnP+rPt1r9KuGRbljNCYk1Txl+l6yLsYO6 FIWfSUawyTx9NT6KUxLtAygFSrlOKuChvAaPwhY6evHQa/XN8yIsAB2cP6Q+Rm5E SSFyYT0/MbSbDXIz//JaL++E0wqvq6cAsvlL+Khqr3dw1ZkH2SWaxC555r1DiCni K5BlY0PHvSMXqaj0e3xjRElCFp3s/XhmtiR4DPSz8JwBvVEga/Z2A43giqJfN30= =OLCE -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:47:34 2011 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 562671065679 for ; Thu, 13 Jan 2011 20:47:34 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 10F4E8FC13 for ; Thu, 13 Jan 2011 20:47:33 +0000 (UTC) Received: by gyf3 with SMTP id 3so873838gyf.13 for ; Thu, 13 Jan 2011 12:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qhtFNezlOSt+tpEkTK7L4g1ITki9Pg52KnYj4w/o/GI=; b=mZAbKIZisHLeKj1DnYVf0UlbX4lhiPe4UIYqG6m++c3ZmtnUfj7BwYcQTZWxBOz3LI JHcWndxhahtBrmQmnlWzPPSKc0dwNb9POdyZz/Io4h2mUm8C8Uh4kuYmdyHSFzUb3cnT CxIZWBYyWCxV6so/amX7Ys6nJGb53q1ECqLw4= 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=HqQQHLr/CxNgm3ZYPDSv1tifMuR/3nsbcxhutJwVE3eulBRRsGojuqlEH8jyvxo7km ZOlf2+w1m/Wx9EhZaxJfpwxpNsAp8395wEcw09OC2WQSp/ctkJqQyi4Whwy2Op7b3SaJ DEXLO0+vKYEKiw8zXmrdnEqvoXaeuVbZNG2XI= MIME-Version: 1.0 Received: by 10.90.115.5 with SMTP id n5mr141864agc.199.1294951652590; Thu, 13 Jan 2011 12:47:32 -0800 (PST) Received: by 10.90.71.14 with HTTP; Thu, 13 Jan 2011 12:47:32 -0800 (PST) In-Reply-To: References: <4D2F606D.6090407@gmail.com> Date: Thu, 13 Jan 2011 21:47:32 +0100 Message-ID: From: David DEMELIER To: Chuck Swiger Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 20:47:34 -0000 2011/1/13 Chuck Swiger : > On Jan 13, 2011, at 12:28 PM, David Demelier wrote: >> I'm just guessing if there is a way to know a FreeBSD installation date.= We can't look after the uname -a ident since an update of the FreeBSD kern= el is possible. >> >> I think searching a file absolutely not touched ever in the system can h= elps but which one? > > > Symlinks under /etc are a good choice: > > # cd /etc ; ls -ltr | head > total 1242 > lrwxrwxrwx =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A0 =C2=A0 23 May 26= =C2=A02001 termcap@ -> /usr/share/misc/termcap > lrwxrwxrwx =C2=A01 root =C2=A0wheel =C2=A0 =C2=A0 =C2=A0 =C2=A0 13 May 26= =C2=A02001 rmt@ -> /usr/sbin/rmt > > Regards, > -- > -Chuck > > _______________________________________________ > 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" > markand@Melon ~ $ cd /etc ; ls -ltr | head total 612 drwxr-xr-x 2 root wheel 512 19 Jul 04:16 zfs drwxr-xr-x 2 root wheel 512 19 Jul 04:16 skel Same that my original post. I have not installed FreeBSD on July but as Chip says the /home symlink is a pretty good choice :-) Thanks --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:50:41 2011 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 5944B106566B for ; Thu, 13 Jan 2011 20:50:41 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1296C8FC08 for ; Thu, 13 Jan 2011 20:50:40 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0DKu3tq027950 for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 14:56:03 -0600 (CST) Date: Thu, 13 Jan 2011 14:56:03 -0600 (CST) From: Robert Bonomi Message-Id: <201101132056.p0DKu3tq027950@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20110112205804.3ec42ec8.freebsd@edvax.de> Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 20:50:41 -0000 > Date: Wed, 12 Jan 2011 20:58:04 +0100 > From: Polytropon > Subject: Re: Simple command to reset / clear all logs? > > On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene > wrote: > > Will the logs automatically create themselves? > > Usually not, but it depends on the logging mechanism. If a program > continuously re-opens the file (after closing it) in APPEND mode, it > should be created if non-existent. But if the program keeps the file open > and just writes to it, it can cause trouble. Good programs check the > return code of the writing operation and signal an error. Bad programs > don't do that, they just keep writing to nowhere. :-) _syslogd_ *explicitly* does -not- _create_ any log files. it is documented in the manpages that it behaves that way. Whether or not this is a "good idea" is debatable, but it does allow you to suppress some logging w/o having to edit the syslog.conf file and/or re-start syslogd. > > I mean, I picture I have to manually touch a lotta them in order to > > avoid "cannot find" error messages? Syslog does -not- give any such messages, it just doesn't write the message anywere. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:54:58 2011 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 69AFF1065670 for ; Thu, 13 Jan 2011 20:54:58 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 09B098FC1D for ; Thu, 13 Jan 2011 20:54:57 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id p0DKsn5e074746 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 13 Jan 2011 14:54:50 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4D2F6696.6030403@tundraware.com> Date: Thu, 13 Jan 2011 14:54:46 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List References: <201101132056.p0DKu3tq027950@mail.r-bonomi.com> In-Reply-To: <201101132056.p0DKu3tq027950@mail.r-bonomi.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (ozzie.tundraware.com [75.145.138.73]); Thu, 13 Jan 2011 14:54:50 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p0DKsn5e074746 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Simple command to reset / clear all logs? 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, 13 Jan 2011 20:54:58 -0000 On 1/13/2011 2:56 PM, Robert Bonomi wrote: >> Date: Wed, 12 Jan 2011 20:58:04 +0100 >> From: Polytropon >> Subject: Re: Simple command to reset / clear all logs? >> >> On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene >> wrote: >>> Will the logs automatically create themselves? >> >> Usually not, but it depends on the logging mechanism. If a program >> continuously re-opens the file (after closing it) in APPEND mode, it >> should be created if non-existent. But if the program keeps the file open >> and just writes to it, it can cause trouble. Good programs check the >> return code of the writing operation and signal an error. Bad programs >> don't do that, they just keep writing to nowhere. :-) > > _syslogd_ *explicitly* does -not- _create_ any log files. it is documented > in the manpages that it behaves that way. Whether or not this is a "good > idea" is debatable, but it does allow you to suppress some logging w/o having > to edit the syslog.conf file and/or re-start syslogd. > >>> I mean, I picture I have to manually touch a lotta them in order to >>> avoid "cannot find" error messages? > > Syslog does -not- give any such messages, it just doesn't write the message > anywere. It's worth noting that if you delete an open file, any programs with open write handles to the file can still write to it and thus chew up disk space. So ... you can't just reach in and delete log files unless you're sure nothing has them open. -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 20:55:50 2011 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 E84211065674 for ; Thu, 13 Jan 2011 20:55:50 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id CDA4B8FC1A for ; Thu, 13 Jan 2011 20:55:50 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LEZ00L0ABGRSDB0@asmtp023.mac.com> for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 12:55:40 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-13_09:2011-01-13, 2011-01-13, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101130132 From: Chuck Swiger In-reply-to: <20110113204525.GB3646@libertas.local.camdensoftware.com> Date: Thu, 13 Jan 2011 12:55:39 -0800 Message-id: <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> To: Chip Camden , David Demelier X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 20:55:51 -0000 On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > On my system, /etc/termcap has the date well after my installation > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first > installed FreeBSD on this system on Apr 1 2010. Certainly the target of the link would change; my /etc/termcap points to: -r--r--r-- 1 root wheel 206901 Dec 14 21:03 /usr/share/misc/termcap This particular box I'm looking at had been updated from FreeBSD-4.x through 7-STABLE, so a 2001 timestamp for the original installs seems about right. I wonder, are you folks using something other than UFS for / filesystem...perhaps ZFS or whatever handles the dates on symlinks differently? Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:03:24 2011 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 68EB8106566C for ; Thu, 13 Jan 2011 21:03:24 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2EAF18FC15 for ; Thu, 13 Jan 2011 21:03:23 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdUKF-0000Zi-08 for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 13:03:20 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 13 Jan 2011 13:03:19 -0800 Date: Thu, 13 Jan 2011 13:03:19 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110113210319.GD3646@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline In-Reply-To: <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 21:03:24 -0000 --d01dLTUuW90fS44H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Chuck Swiger on Thursday, 13 January 2011: > On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > > On my system, /etc/termcap has the date well after my installation > > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first > > installed FreeBSD on this system on Apr 1 2010. >=20 > Certainly the target of the link would change; my /etc/termcap points to: >=20 > -r--r--r-- 1 root wheel 206901 Dec 14 21:03 /usr/share/misc/termcap >=20 > This particular box I'm looking at had been updated from FreeBSD-4.x thro= ugh 7-STABLE, so a 2001 timestamp for the original installs seems about rig= ht. >=20 > I wonder, are you folks using something other than UFS for / filesystem..= .perhaps ZFS or whatever handles the dates on symlinks differently? >=20 > Regards, > --=20 > -Chuck I'm all UFS. My first installation was 8.0-RELEASE. At that time, I don't think termcap was even a symlink, but I could be mistaken. I'm looking at the date on the symlink itself, not its target. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --d01dLTUuW90fS44H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNL2iXAAoJEIpckszW26+RlO0H/2QcvtZ7Ck2JTDvd82Ldkqye lE44jC6ETL4S6b8XHguuaE8MDkCeUwndRH6xDD9X9JzoHu25b7B9VKx/o5VZpWmD TJ82mxgNspaYcA9n9TTEbi10TwQk6IkunHNSRQU/zlmqH5MtU5snuDf8ievtpWxX 5hmQ8kNOEA10P0DqK/4Btuxn+MldfN0RccTVNzcIkvJQYPvDs7bUAYjLMVWLTrMP Sq7+SM9W54HpdRzczkzqtUcYLDEXWC9PRhbjMT1tIYYGCXZKN9EMU2TDGxJ4b2Sv yuhsZJx+swm6Uz7HrhYKLeTnO2o6qwd9RBEZGHKAeYAim49SXP0ZTtvF13wJgyQ= =BDDD -----END PGP SIGNATURE----- --d01dLTUuW90fS44H-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:14:07 2011 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 95B601065674 for ; Thu, 13 Jan 2011 21:14:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6D48FC16 for ; Thu, 13 Jan 2011 21:14:07 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 4AD71E80979; Thu, 13 Jan 2011 13:14:06 -0800 (PST) Date: Thu, 13 Jan 2011 13:14:06 -0800 From: Gary Kline To: David Scheidt Message-ID: <20110113211406.GA15406@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 21:14:07 -0000 On Thu, Jan 13, 2011 at 02:24:33PM -0500, David Scheidt wrote: > > On Jan 12, 2011, at 7:18 PM, Gary Kline wrote: > >> > > autoconf: required version 2.68 not found > > *** Error code 1 > > did you follow the procedure in ports/UPDATING about autotools? I followed the suggestion from Mike Powell and that resolved the problem with autoconf-2.68. I'm trying the others now. See if it has any affect on mail/php5-imap. > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:30:37 2011 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 AFB2B1065672 for ; Thu, 13 Jan 2011 21:30:37 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC1D8FC16 for ; Thu, 13 Jan 2011 21:30:37 +0000 (UTC) Received: from [208.206.78.30] (port=50274 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1PdUkS-0007ZI-TX; Thu, 13 Jan 2011 13:30:32 -0800 From: Devin Teske To: Robert Bonomi In-Reply-To: <201101132045.p0DKj43V027817@mail.r-bonomi.com> References: <201101132045.p0DKj43V027817@mail.r-bonomi.com> Content-Type: text/plain Organization: Vicor, Inc Date: Thu, 13 Jan 2011 13:30:24 -0800 Message-Id: <1294954224.10908.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: 27c00b6c6b7cf5d60241f994e6a281a2 X-Scan-Host: postoffice.vicor.com Cc: f.bonnet@esiee.fr, freebsd-questions@freebsd.org Subject: Re: problem with shell 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: Thu, 13 Jan 2011 21:30:37 -0000 On Thu, 2011-01-13 at 14:45 -0600, Robert Bonomi wrote: > > Date: Wed, 12 Jan 2011 15:01:45 +0100 > > From: Frank Bonnet > > Subject: problem with shell script > > > > Hello > > > > I'm in trouble with a simple shell script that give erroneous value when > > running ... > > > > If I run commands interactively everything runs well > > > > > ps ax | grep slapd | grep -v grep | wc -l > > 1 > > > > If I run in the following shell script : > > > > #!/bin/sh > > SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD > > > > the result is 3 !!! > > Advice: don't try to 'out-think' the machine -- make it _show_ you what it > is doing. Might I suggest the oft-overlooked "o" option to ps(1)... ps axo ucomm | grep -c slapd I can't think of anything better to achieve what the OP wanted. Naturally... for those that need more (that is, if you want to see meaningful output rather than just the line-count)... try: ps axo pid,state,ucomm or: ps axo pid,command | awk '$2~/slapd/{print}' naturally, for ``wider'' output: ps axwwwo pid,command | awk '$2~/slapd/{print}' And the creme-de-la-creme: ps axwwwo pid,command | awk '$2~"^slapd$"||$2~"/slapd$"{print}' which will only print a line if the first word of the entire command is wholly "slapd" or ends in "/slapd". Additional solutions/combinations left as an exercise to the reader. -- Devin (full sig at bottom) > > Change the script to: > SD=`ps -ax | grep slapd | grep -v grep | tee /dev/tty | wc -l` echo $SD > > > I suspect thet the -name- of the script file has 'slapd' in it. > > > > _______________________________________________ > 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" -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>+ h r>++ y+ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:34:55 2011 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 AB0D61065670; Thu, 13 Jan 2011 21:34:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7318FC08; Thu, 13 Jan 2011 21:34:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=jVx+AExU5EFhK37+rVAQq6jxd4lXLYohjT2gqEoUpuc= c=1 sm=1 a=x1rYpZKhZ6AA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=L6tdpFjRAAAA:8 a=6I5d2MoRAAAA:8 a=8VP0Rj4qguL7O2_M63MA:9 a=00_Zzu4V4kUwA__9uTkA:7 a=KVZIxizVrvdf97X8XVbmo9HVW6oA:4 a=wPNLvfGTeEIA:10 a=RZHap4myAk8A:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 73387991; Thu, 13 Jan 2011 22:24:51 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 13 Jan 2011 22:24:54 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <8CD81778A4C13E7-17B0-DFA1@web-mmc-d03.sysops.aol.com> In-Reply-To: <8CD81778A4C13E7-17B0-DFA1@web-mmc-d03.sysops.aol.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101132224.54858.hselasky@c2i.net> Cc: freebsd@sopwith.solgatos.com, freebsd-firewire@freebsd.org, freebsd-questions@freebsd.org, dieterbsd@engineer.com Subject: Re: lock contention 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: Thu, 13 Jan 2011 21:34:55 -0000 On Thursday 13 January 2011 21:28:15 dieterbsd@engineer.com wrote: > I suspect that I have a problem with lock/mutex contention. > Reading from a USB disk appears to lock out the firewire driver > for too long, causing data transfer (writing to firewire bus) to fail > with EAGAIN. Once it fails it does not recover. > > kernel: fwohci1: IT DMA underrun (0x40308011) (stat & > OHCI_CNTL_CYCMATCH_S) > last message repeated 63 times > This is from the end of the fwohci_itxbuf_enable() function in > dev/firewire/fwohci.c > > I added LOCK_PROFILING to the kernel and gathered some data. > The data is quite verbose, so I sorted by "max" and am including > the first 40 lines. This is a true real-time task, so I am concerned > with the worst case rather than the average. > Hi, It might be a hardware resource starvation problem. It is possible to nice umass by simply adding a line like: .interval = 2, /* 2 milliseconds */ Inside the following structure in /sys/dev/usb/storage/umass.c : umass_bbb_config[] In states: UMASS_T_BBB_DATA_WRITE UMASS_T_BBB_DATA_READ Another idea: http://svn.freebsd.org/changeset/base/217350 --HPS From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:42:42 2011 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 B6C2B1065672 for ; Thu, 13 Jan 2011 21:42:42 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 5A17D8FC1C for ; Thu, 13 Jan 2011 21:42:41 +0000 (UTC) Received: from [192.168.1.64] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0DLgeQI041623 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 13 Jan 2011 21:42:41 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2F71D0.1080307@ifdnrg.com> Date: Thu, 13 Jan 2011 21:42:40 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> In-Reply-To: <20110113211406.GA15406@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 21:42:42 -0000 >> did you follow the procedure in ports/UPDATING about autotools? > > I followed the suggestion from Mike Powell and that resolved the > problem with autoconf-2.68. I'm trying the others now. See if > it has any affect on mail/php5-imap. you probably won't need imap support in php, so you could just deselect this in make config. Paul. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:46:25 2011 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 48BD6106564A for ; Thu, 13 Jan 2011 21:46:25 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 30F4E8FC15 for ; Thu, 13 Jan 2011 21:46:24 +0000 (UTC) Received: from [208.206.78.30] (port=50324 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1PdUzu-0001ez-LY; Thu, 13 Jan 2011 13:46:24 -0800 From: Devin Teske To: Chip Camden In-Reply-To: <20110113210319.GD3646@libertas.local.camdensoftware.com> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> Content-Type: text/plain Organization: Vicor, Inc Date: Thu, 13 Jan 2011 13:46:22 -0800 Message-Id: <1294955182.10908.14.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: 7cf4c75642defd7c23b7bed571bcb7f1 X-Scan-Host: postoffice.vicor.com Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 21:46:25 -0000 On Thu, 2011-01-13 at 13:03 -0800, Chip Camden wrote: > Quoth Chuck Swiger on Thursday, 13 January 2011: > > On Jan 13, 2011, at 12:45 PM, Chip Camden wrote: > > > On my system, /etc/termcap has the date well after my installation > > > (Jun 28 2010) and /etc/rmt dates to well before (Nov 21 2009). I first > > > installed FreeBSD on this system on Apr 1 2010. > > > > Certainly the target of the link would change; my /etc/termcap points to: > > > > -r--r--r-- 1 root wheel 206901 Dec 14 21:03 /usr/share/misc/termcap > > > > This particular box I'm looking at had been updated from FreeBSD-4.x through 7-STABLE, so a 2001 timestamp for the original installs seems about right. > > > > I wonder, are you folks using something other than UFS for / filesystem...perhaps ZFS or whatever handles the dates on symlinks differently? > > > > Regards, > > -- > > -Chuck > > I'm all UFS. My first installation was 8.0-RELEASE. At that time, I > don't think termcap was even a symlink, but I could be mistaken. > > I'm looking at the date on the symlink itself, not its target. This is nearly always accurate on any FreeBSD system (when wanting to query the date the machine was built): ls -l /etc/defaults/rc.conf But again... not always. Though for all situations where the answer is _NOT_ the correct answer... there's usually a damned-good explanation why (the machine was rsync'd etc.), in which case I still consider the date returned to be accurate (for any time /etc/defaults/rc.conf -- or perhaps even better... /etc/rc -- is touched, I'd consider the system to be "rebuilt" since those files should be somewhat "golden" on a system -- read: never touched except during system upgrade or rsync etc.). -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:50:40 2011 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 07D701065696 for ; Thu, 13 Jan 2011 21:50:40 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id E01BF8FC13 for ; Thu, 13 Jan 2011 21:50:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LEZ00J53E03BD60@asmtp030.mac.com> for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 13:50:28 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101130140 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-13_09:2011-01-13, 2011-01-13, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: <1294955182.10908.14.camel@localhost.localdomain> Date: Thu, 13 Jan 2011 13:50:27 -0800 Message-id: <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> To: Devin Teske X-Mailer: Apple Mail (2.1082) Cc: FreeBSD - Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 21:50:40 -0000 On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: > This is nearly always accurate on any FreeBSD system (when wanting to > query the date the machine was built): > > ls -l /etc/defaults/rc.conf I gather that you don't ever run mergemaster, which would update this file? My machine installed in 2001 has a Dec 2010 date for that file: -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:57:41 2011 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 D58271065670 for ; Thu, 13 Jan 2011 21:57:41 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7B98FC08 for ; Thu, 13 Jan 2011 21:57:41 +0000 (UTC) Received: from [208.206.78.30] (port=50349 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1PdVAp-00048t-80; Thu, 13 Jan 2011 13:57:40 -0800 From: Devin Teske To: Chuck Swiger In-Reply-To: <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> Content-Type: text/plain Organization: Vicor, Inc Date: Thu, 13 Jan 2011 13:57:38 -0800 Message-Id: <1294955858.10908.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: 89701e88e3553a4f588332e706f23fdd X-Scan-Host: postoffice.vicor.com Cc: FreeBSD - Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 21:57:41 -0000 On Thu, 2011-01-13 at 13:50 -0800, Chuck Swiger wrote: > On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: > > This is nearly always accurate on any FreeBSD system (when wanting to > > query the date the machine was built): > > > > ls -l /etc/defaults/rc.conf > > I gather that you don't ever run mergemaster, which would update this file? > My machine installed in 2001 has a Dec 2010 date for that file: I view the running of mergemaster as part of a system upgrade which at that point... I'm saying that the system is undergoing a "rebuild" in which case, `ls -ltr /etc/defaults/rc.conf' is accurate (but, yes... I agree with you that this is dependent upon the definition of "accurate" -- entirely subjective to the definition of "when did I build this machine?"; not everybody considers "built" to be "inception"). That being said... because mergemaster _can_ touch every file on the system, you really can't get an "accurate" answer from _any_ file's timestamp. You're going to have to resort to things that aren't touched during a system upgrade if you want to find out the `true' answer as to when the box was first ... what? partitioned? newfs'd? clue me in here. What _is_ the definition of "built" ??? When the hardware pieces were coalesced into a single chassis? If that's the case, I'd be looking at model numbers of internal parts. > > -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf > > Regards, -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> END TRANSMISSION <- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:08:34 2011 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 89DFD106566C for ; Thu, 13 Jan 2011 22:08:34 +0000 (UTC) (envelope-from swegill@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4ADD78FC14 for ; Thu, 13 Jan 2011 22:08:34 +0000 (UTC) Received: by iwn39 with SMTP id 39so1966780iwn.13 for ; Thu, 13 Jan 2011 14:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iapMg+V6golNY7QjFZoDtAMEt1X5HLzzDoty0KAZWUo=; b=f3uVgsIl75DmVC+Bi6aSJiNFF74w2j3qOrZvaTLrL7JwQx8TbF5VgzDOe7xz4XYlsF UbqTMVm+pT8fRyMJkU5EQ1LAVSkMr4UpwsclDqo9ur2aSSrS89THpGM9qMko2ky+vKjU E6rOvQ3694mr8lyeDG7STrT/3jxCfwLll2IAM= 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=JQwF6Z7/aG06zocmZ/2qZiyyDgVTXec9tXmYy6hegMNInN+ngWHPGeNCqUNvYxVV8G RJ6V7+CdB68Jj8aBXvTcvKxMxrvbMZt6EvHENK9RqHESriZrX7PSATzEh9li7cNhSEN7 +vAMDTi8U56P9ojMqP9fA88FQhkNK5lrwshKY= MIME-Version: 1.0 Received: by 10.42.180.66 with SMTP id bt2mr3055379icb.326.1294956513592; Thu, 13 Jan 2011 14:08:33 -0800 (PST) Received: by 10.42.180.129 with HTTP; Thu, 13 Jan 2011 14:08:33 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> Date: Thu, 13 Jan 2011 23:08:33 +0100 Message-ID: From: Swe Gill To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 22:08:34 -0000 That is the problem. One file sizes upto 50GB and other 3 GB... 52872944 -rw-rw---- 1 root wheel 50G Jan 13 22:51 httpd-modsec2_audit.log 3320928 -rw-rw---- 1 root wheel 3.2G Jan 13 22:51 httpd-modsec2_debug.log I am just standing nowhere to remove the files.... have tried by setting flags, changing modes.... all as a root but no luck yet... Any help? /S On Thu, Jan 13, 2011 at 6:20 PM, Chris Brennan wrote: > On Thu, Jan 13, 2011 at 12:00 PM, Swe Gill wrote: > >> Hi Chris >> >> I am applying these commands as root.... but no help... >> >> > What's the size of the log file? > > ls -lsha /var/log/ | grep modsec2 > > I'm not sure but I think you need *SOME* free space to delete. If that is > the case, move the log to a new device, then delete it from the target > device. Alternatively you could compress the log and target it to a new > device, giving you at least a backup. > -- With best regards /S From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:24:32 2011 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 BF7101065673 for ; Thu, 13 Jan 2011 22:24:32 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 571288FC0C for ; Thu, 13 Jan 2011 22:24:31 +0000 (UTC) Received: by eyf6 with SMTP id 6so1162658eyf.13 for ; Thu, 13 Jan 2011 14:24:31 -0800 (PST) Received: by 10.213.105.205 with SMTP id u13mr1040704ebo.25.1294957470930; Thu, 13 Jan 2011 14:24:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Thu, 13 Jan 2011 14:24:10 -0800 (PST) In-Reply-To: References: <000301cbb307$49788810$dc699830$@com> From: Chris Brennan Date: Thu, 13 Jan 2011 17:24:10 -0500 Message-ID: To: Swe Gill Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Pegasus Mc Cleaft , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 22:24:32 -0000 On Thu, Jan 13, 2011 at 5:08 PM, Swe Gill wrote: > That is the problem. One file sizes upto 50GB and other 3 GB... > > 52872944 -rw-rw---- 1 root wheel 50G Jan 13 22:51 > httpd-modsec2_audit.log > 3320928 -rw-rw---- 1 root wheel 3.2G Jan 13 22:51 > httpd-modsec2_debug.log > > I am just standing nowhere to remove the files.... > > have tried by setting flags, changing modes.... all as a root but no luck > yet... > > Any help? > > /S > > Sweet Jebus! Ever hear of logrotate[1]? That would at least have solved this problem in advance. My previous idea still stands. I believe rm (-f) still requires *SOME* free space on a device to delete something. That being said, do you have more then 50G free elsewhere on the system? Say /home (/usr/home)? If you do, mv the file from /var/log to /usr/home. This would effectively delete it from /var/log and free up it's space. Once it's moved to a different location, you should have no problems doing with it as you wish, compress and archive it or just arbitrarily delete it from the new device if no backup is needed. [1] I use a default setup for logrotate, it then archives each file in /var/log, I then just archive /var/log/*.bz2 based on date and delete the old bz2 archives from /var/log. This keeps /var/log pretty trimmed and the only time it runs out of space is when something goes wild and eats up all of it's space before logrotate can clean things up. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:30:19 2011 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 E5506106566C for ; Thu, 13 Jan 2011 22:30:19 +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 A27698FC08 for ; Thu, 13 Jan 2011 22:30:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id D13113DDC9; Thu, 13 Jan 2011 23:30:17 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0DMUH6m001804; Thu, 13 Jan 2011 23:30:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 13 Jan 2011 23:30:16 +0100 From: Polytropon To: Chuck Swiger Message-Id: <20110113233016.5de7b7b8.freebsd@edvax.de> In-Reply-To: <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.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: Devin Teske , FreeBSD - Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 22:30:20 -0000 On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger wrote: > On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: > > This is nearly always accurate on any FreeBSD system (when wanting to > > query the date the machine was built): > > > > ls -l /etc/defaults/rc.conf > > I gather that you don't ever run mergemaster, which would update this file? > My machine installed in 2001 has a Dec 2010 date for that file: > > -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf Exactly that was my thought. Maybe a file that is NOT subject to one of the system upgrade procedures would be better? Maybe something in /boot? % ls -l /etc/defaults/rc.conf -r--r--r-- 1 root wheel 34300 Aug 24 2008 /etc/defaults/rc.conf % ls -l /boot/defaults/loader.conf -r--r--r-- 1 root wheel 19426 Aug 24 2008 /boot/defaults/loader.conf No, forget about that, also nonsense, looks to new... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:35:28 2011 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 4925D106566C for ; Thu, 13 Jan 2011 22:35:28 +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 0505C8FC15 for ; Thu, 13 Jan 2011 22:35:27 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id 204EB3E010; Thu, 13 Jan 2011 23:35:27 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0DMZQQC001853; Thu, 13 Jan 2011 23:35:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 13 Jan 2011 23:35:26 +0100 From: Polytropon To: Swe Gill Message-Id: <20110113233526.f396ce52.freebsd@edvax.de> In-Reply-To: References: <000301cbb307$49788810$dc699830$@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: httpd-modsec2_debug.log: Operation not permitted 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, 13 Jan 2011 22:35:28 -0000 On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill wrote: > That is the problem. One file sizes upto 50GB and other 3 GB... > > 52872944 -rw-rw---- 1 root wheel 50G Jan 13 22:51 > httpd-modsec2_audit.log > 3320928 -rw-rw---- 1 root wheel 3.2G Jan 13 22:51 > httpd-modsec2_debug.log > > I am just standing nowhere to remove the files.... > > have tried by setting flags, changing modes.... all as a root but no luck > yet... > > Any help? Is your system running on a raised securelevel maybe? See in "man security" where this is mentioned, section "SECURING THE KERNEL CORE, RAW DEVICES, AND FILE SYSTEMS". It seems that this could cause different behaviour in relation to flags. I will _not_ advise you to kill the files per inode (fsdb, clri) because this could cause further filesystem trouble. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:36:11 2011 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 AA6B21065698 for ; Thu, 13 Jan 2011 22:36:11 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3F28FC0A for ; Thu, 13 Jan 2011 22:36:11 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 96D5CE80979; Thu, 13 Jan 2011 14:36:10 -0800 (PST) Date: Thu, 13 Jan 2011 14:36:10 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110113223610.GA17091@thought.org> References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2F71D0.1080307@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 22:36:11 -0000 On Thu, Jan 13, 2011 at 09:42:40PM +0000, Paul Macdonald wrote: > > >>did you follow the procedure in ports/UPDATING about autotools? > > > > I followed the suggestion from Mike Powell and that resolved the > > problem with autoconf-2.68. I'm trying the others now. See if > > it has any affect on mail/php5-imap. > > you probably won't need imap support in php, so you could just > deselect this in make config. > > Paul. > Here is what message is posted to the top of www.thought.org/blog/ where I cp'd -rp the whole of wordpress files. Your PHP installation appears to be missing the MySQL extension which is required by WordPress.o wHen i looked at the directory with firefox3 file:///usr/local/www/wordpress, there was a similar complain. I did not believe it--because I *do* have mysql installed. Moreover, I set up a "wordpress" database and wordpress_user, and all the rest of it. So far I am heading into the third day of this: trying to get the wordpress port working on my site. (It strikes me as more than a bit ironic that one of the things in the wp description is that it looks SO simple. Not my experience!) Question:: which MySQL should I have installed to get the port working? I am been debugging this stuff bit-by-bit. So far, I've upgraded the entire 700 ports since last October. I have kept ``ethic'' to be a server: DNS, mail, and web. Be great to host wordpress working so any help will be v much appreciated! gary > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 22:45:57 2011 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 630ED106566C for ; Thu, 13 Jan 2011 22:45:57 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id EFF378FC17 for ; Thu, 13 Jan 2011 22:45:56 +0000 (UTC) Received: from [192.168.1.64] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p0DMjtbj042384 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 13 Jan 2011 22:45:56 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D2F80A2.1050607@ifdnrg.com> Date: Thu, 13 Jan 2011 22:45:54 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2D7C3E.50404@ifdnrg.com> <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> In-Reply-To: <20110113223610.GA17091@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 22:45:57 -0000 On 13/01/2011 22:36, Gary Kline wrote: > On Thu, Jan 13, 2011 at 09:42:40PM +0000, Paul Macdonald wrote: >>>> did you follow the procedure in ports/UPDATING about autotools? >>> I followed the suggestion from Mike Powell and that resolved the >>> problem with autoconf-2.68. I'm trying the others now. See if >>> it has any affect on mail/php5-imap. >> you probably won't need imap support in php, so you could just >> deselect this in make config. >> >> Paul. >> > > Here is what message is posted to the top of > www.thought.org/blog/ where I cp'd -rp the whole of wordpress > files. > > Your PHP installation appears to be missing the MySQL extension > which is required by WordPress.o > > wHen i looked at the directory with firefox3 > file:///usr/local/www/wordpress, there was a similar complain. > I did not believe it--because I *do* have mysql installed. > Moreover, I set up a "wordpress" database and wordpress_user, > and all the rest of it. > > So far I am heading into the third day of this: trying to get > the wordpress port working on my site. (It strikes me as more > than a bit ironic that one of the things in the wp description > is that it looks SO simple. Not my experience!) > > Question:: which MySQL should I have installed to get the port > working? I am been debugging this stuff bit-by-bit. So far, > I've upgraded the entire 700 ports since last October. I have > kept ``ethic'' to be a server: DNS, mail, and web. Be great to > host wordpress working so any help will be v much appreciated! > > gary > > its the php mysql extension it's moaning about, not the mysql server. what do you get from pkg_version -Iv | grep php5 i wouldn't normally do it like this, but in your case i'd be tempted to cd /usr/ports/databases/php5-mysql make install clean cross fingers restart apache From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:01:07 2011 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 253BF1065788 for ; Thu, 13 Jan 2011 23:01:07 +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 D39F88FC1E for ; Thu, 13 Jan 2011 23:01:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PdWA5-0005eQ-QL for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 00:00:57 +0100 Received: from cpe-188-129-114-106.dynamic.amis.hr ([188.129.114.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2011 00:00:57 +0100 Received: from ivoras by cpe-188-129-114-106.dynamic.amis.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jan 2011 00:00:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 14 Jan 2011 00:00:45 +0100 Lines: 14 Message-ID: References: <4D2F606D.6090407@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-188-129-114-106.dynamic.amis.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4D2F606D.6090407@gmail.com> Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 23:01:07 -0000 On 13/01/2011 21:28, David Demelier wrote: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation date. > We can't look after the uname -a ident since an update of the FreeBSD > kernel is possible. If you haven't removed it, a line in /etc/rc.conf should be written by sysinstall at system install time: # -- sysinstall generated deltas -- # Sun Sep 14 16:13:22 2008 On a newer system (7+?), the timestamp of /etc/hostid would be from the first boot. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:01:37 2011 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 11A081065670 for ; Thu, 13 Jan 2011 23:01:37 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id D1FE08FC12 for ; Thu, 13 Jan 2011 23:01:36 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20110113230136509 for ; Thu, 13 Jan 2011 23:01:36 +0000 X-RC-FROM: X-RC-RCPT: Received: from oak.localnet (207.55.91.159.peak.org [207.55.91.159] (may be forged)) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id p0DN1Z0p024836 for ; Thu, 13 Jan 2011 15:01:35 -0800 (PST) Received: from oak.localnet (localhost [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 550ECC6FC for ; Thu, 13 Jan 2011 15:01:35 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id p0DN1Yso060545; Thu, 13 Jan 2011 15:01:34 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> <20110113233016.5de7b7b8.freebsd@edvax.de> Date: Thu, 13 Jan 2011 15:01:34 -0800 In-Reply-To: <20110113233016.5de7b7b8.freebsd@edvax.de> (Polytropon's message of "Thu, 13 Jan 2011 23:30:16 +0100") Message-ID: <87hbdc4ddd.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 23:01:37 -0000 Polytropon writes: > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger wrote: >> On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: >> > This is nearly always accurate on any FreeBSD system (when wanting to >> > query the date the machine was built): >> > >> > ls -l /etc/defaults/rc.conf >> >> I gather that you don't ever run mergemaster, which would update this file? >> My machine installed in 2001 has a Dec 2010 date for that file: >> >> -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf > > Exactly that was my thought. Maybe a file that is NOT subject > to one of the system upgrade procedures would be better? Maybe > something in /boot? > > % ls -l /etc/defaults/rc.conf > -r--r--r-- 1 root wheel 34300 Aug 24 2008 /etc/defaults/rc.conf > % ls -l /boot/defaults/loader.conf > -r--r--r-- 1 root wheel 19426 Aug 24 2008 /boot/defaults/loader.conf > > No, forget about that, also nonsense, looks to new... How about /var/empty: % ls -ldo /var/empty/ dr-xr-xr-x 2 root wheel schg 512 Jul 18 19:16 /var/empty/ It can be changed, but doesn't look likely. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:05:27 2011 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 A3341106566B for ; Thu, 13 Jan 2011 23:05:27 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1268FC1F for ; Thu, 13 Jan 2011 23:05:27 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E9135E80979; Thu, 13 Jan 2011 15:05:26 -0800 (PST) Date: Thu, 13 Jan 2011 15:05:26 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110113230526.GB17091@thought.org> References: <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2F80A2.1050607@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: User Questions Subject: Re: Which php?? 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, 13 Jan 2011 23:05:27 -0000 On Thu, Jan 13, 2011 at 10:45:54PM +0000, Paul Macdonald wrote: > On 13/01/2011 22:36, Gary Kline wrote: > >On Thu, Jan 13, 2011 at 09:42:40PM +0000, Paul Macdonald wrote: > >>>>did you follow the procedure in ports/UPDATING about autotools? > >>> I followed the suggestion from Mike Powell and that resolved the > >>> problem with autoconf-2.68. I'm trying the others now. See if > >>> it has any affect on mail/php5-imap. > >>you probably won't need imap support in php, so you could just > >>deselect this in make config. > >> > >>Paul. > >> > > > > Here is what message is posted to the top of > > www.thought.org/blog/ where I cp'd -rp the whole of wordpress > > files. > > > > Your PHP installation appears to be missing the MySQL extension > > which is required by WordPress.o > > > > wHen i looked at the directory with firefox3 > > file:///usr/local/www/wordpress, there was a similar complain. > > I did not believe it--because I *do* have mysql installed. > > Moreover, I set up a "wordpress" database and wordpress_user, > > and all the rest of it. > > > > So far I am heading into the third day of this: trying to get > > the wordpress port working on my site. (It strikes me as more > > than a bit ironic that one of the things in the wp description > > is that it looks SO simple. Not my experience!) > > > > Question:: which MySQL should I have installed to get the port > > working? I am been debugging this stuff bit-by-bit. So far, > > I've upgraded the entire 700 ports since last October. I have > > kept ``ethic'' to be a server: DNS, mail, and web. Be great to > > host wordpress working so any help will be v much appreciated! > > > > gary > > > > > its the php mysql extension it's moaning about, not the mysql server. > > what do you get from pkg_version -Iv | grep php5 Ouch.... doesn't look good! q0 14:51 Server [5001] pkg_version -Iv | grep php5 pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring php5-5.3.5 > succeeds index (index has 5.3.2_1) php5-dom-5.3.5 > succeeds index (index has 5.3.2_1) php5-extensions-1.4 = up-to-date with index php5-gd-5.3.5 > succeeds index (index has 5.3.2_1) php5-hash-5.3.5 > succeeds index (index has 5.3.2_1) php5-iconv-5.3.5 > succeeds index (index has 5.3.2_1) php5-imap-5.3.5 > succeeds index (index has 5.3.2_1) php5-json-5.3.5 > succeeds index (index has 5.3.2_1) php5-mysql-5.3.5 > succeeds index (index has 5.3.2_1) php5-mysqli-5.3.5 > succeeds index (index has 5.3.2_1) php5-pdo-5.3.5 > succeeds index (index has 5.3.2_1) php5-pdo_sqlite-5.3.5 > succeeds index (index has 5.3.2_1) php5-posix-5.3.5 > succeeds index (index has 5.3.2_1) php5-readline-5.3.5 > succeeds index (index has 5.3.2_1) php5-recode-5.3.5 > succeeds index (index has 5.3.2_1) php5-session-5.3.5 > succeeds index (index has 5.3.2_1) php5-simplexml-5.3.5 > succeeds index (index has 5.3.2_1) php5-sqlite-5.3.5 > succeeds index (index has 5.3.2_1) php5-tokenizer-5.3.5 > succeeds index (index has 5.3.2_1) php5-xml-5.3.5 > succeeds index (index has 5.3.2_1) php5-xmlreader-5.3.5 > succeeds index (index has 5.3.2_1) php5-xmlwriter-5.3.5 > succeeds index (index has 5.3.2_1) php5-zip-5.3.5 > succeeds index (index has 5.3.2_1) php5-zlib-5.3.5 > succeeds index (index has 5.3.2_1) pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring pkg_version: corrupted record (pkgdep line without argument), ignoring UGh. I messed up trying to make the output loook like it does on my knosole/xterm. That's about it. Note that I was under the [mis-] understanding that I thought that mysql was mysql. I have a fairly recent version of mysql5. > i wouldn't normally do it like this, but in your case i'd be tempted to > > cd /usr/ports/databases/php5-mysql > make install clean > > cross fingers > restart apache > Will do. See if I get lucky by installing the "PHP" flavor of mysql.... gary PS: Coming soon, if so:: a howto on my bsd.thought.org site with details. ....hope i'm not counting chickens too soon. > > > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:07:49 2011 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 7E2AE10656AC for ; Thu, 13 Jan 2011 23:07:49 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 460688FC2C for ; Thu, 13 Jan 2011 23:07:49 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdWGd-0001sm-PJ for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 15:07:44 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 13 Jan 2011 15:07:44 -0800 Date: Thu, 13 Jan 2011 15:07:44 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110113230744.GI3646@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cVp8NMj01v+Em8Se" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 23:07:49 -0000 --cVp8NMj01v+Em8Se Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Ivan Voras on Friday, 14 January 2011: > On 13/01/2011 21:28, David Demelier wrote: > >Hello folks, > > > >I'm just guessing if there is a way to know a FreeBSD installation date. > >We can't look after the uname -a ident since an update of the FreeBSD > >kernel is possible. >=20 > If you haven't removed it, a line in /etc/rc.conf should be written by=20 > sysinstall at system install time: >=20 > # -- sysinstall generated deltas -- # Sun Sep 14 16:13:22 2008 >=20 > On a newer system (7+?), the timestamp of /etc/hostid would be from the= =20 > first boot. >=20 > _______________________________________________ > 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" /etc/hostid has the right date for me. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --cVp8NMj01v+Em8Se Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNL4XAAAoJEIpckszW26+RE4cH/3CWRXMIfMC0sczQPnhofJ1K Ea9kaCP6SZmaKeZxEXqurhKwzc1DmJ1jy4TNhxqpj51cw1XnDAiuI7wIrqOuC7Xh +iGU5GhltAepHtcSPFaoTKYxkGLhJWdT2BufKZL3wZ02GITABJjZpwokgCqsSw32 ROlm37u2wPSBHxPDfAPbQ96wNlyNSFj/DIx3aDsQijCOlVXruTjhs+EcC0PyL4er 4PklrI0iKIdi5+HjBfxWG0EZ50ILTQjibF+kWfMPK4NBPqgGvMRwZDDwAsabQACB cVaU9wQSTvV1KtwNqmQJkZnYnGBOixtC9m46Kauez79aQAvFOGGBqQnpV/vE9yg= =0dBO -----END PGP SIGNATURE----- --cVp8NMj01v+Em8Se-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:08:51 2011 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 7931D1065673 for ; Thu, 13 Jan 2011 23:08:51 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 479A08FC16 for ; Thu, 13 Jan 2011 23:08:51 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdWHd-0001xh-UF for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 15:08:47 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 13 Jan 2011 15:08:46 -0800 Date: Thu, 13 Jan 2011 15:08:46 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110113230846.GJ3646@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> <20110113233016.5de7b7b8.freebsd@edvax.de> <87hbdc4ddd.fsf@oak.localnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xssso5lpTBgMxDfe" Content-Disposition: inline In-Reply-To: <87hbdc4ddd.fsf@oak.localnet> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 23:08:51 -0000 --Xssso5lpTBgMxDfe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Carl Johnson on Thursday, 13 January 2011: > Polytropon writes: >=20 > > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger wrot= e: > >> On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: > >> > This is nearly always accurate on any FreeBSD system (when wanting to > >> > query the date the machine was built): > >> >=20 > >> > ls -l /etc/defaults/rc.conf > >>=20 > >> I gather that you don't ever run mergemaster, which would update this = file? > >> My machine installed in 2001 has a Dec 2010 date for that file: > >>=20 > >> -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf > > > > Exactly that was my thought. Maybe a file that is NOT subject > > to one of the system upgrade procedures would be better? Maybe > > something in /boot? > > > > % ls -l /etc/defaults/rc.conf > > -r--r--r-- 1 root wheel 34300 Aug 24 2008 /etc/defaults/rc.conf > > % ls -l /boot/defaults/loader.conf > > -r--r--r-- 1 root wheel 19426 Aug 24 2008 /boot/defaults/loader.conf > > > > No, forget about that, also nonsense, looks to new... >=20 > How about /var/empty: >=20 > % ls -ldo /var/empty/ > dr-xr-xr-x 2 root wheel schg 512 Jul 18 19:16 /var/empty/ >=20 > It can be changed, but doesn't look likely. >=20 > --=20 > Carl Johnson carlj@peak.org >=20 > _______________________________________________ > 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" On my system, it gives a date several months in advance of my install date (Nov 21 2009). --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --Xssso5lpTBgMxDfe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNL4X+AAoJEIpckszW26+RT6wIALQAaGZ4K7xKgGkJIPnZGE5a AuYzV8U0vsh/kwR5RD0JXr76bMHucuju4ZeVF8uvVflVBwXYxDVFSLO+fN1Yq1Kd 2shcrnJxXUkN5KRPzdGegxrbkx8Q4813xpdO8uH+JuLDegtyZRUpLkwd1J7e96eD AvaapPZB1tyFw/NCDspHivrV4HytcMnfl4hfZdHIJLxK5SpZDKoM/4psnoCJku8s RMqPtTmE9BW2Ktq4Y6mEBriq5N/Hipg+3PDiaT4Yvb4xgYYBqOglgtGXsoqlxmnP M/h6kRVjMRCVf1FNAFJ9yDXZZ+VB4J7T3fIH6jZrLnWUR/DeW4y9pwqBAi8wxQU= =k5AV -----END PGP SIGNATURE----- --Xssso5lpTBgMxDfe-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:08:53 2011 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 061F2106566C for ; Thu, 13 Jan 2011 23:08:53 +0000 (UTC) (envelope-from odyssomay@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8A2B8FC27 for ; Thu, 13 Jan 2011 23:08:52 +0000 (UTC) Received: by ywp6 with SMTP id 6so673258ywp.13 for ; Thu, 13 Jan 2011 15:08:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=OUaXHFfAAmiEmFFVvk/3OMtPolXhFzVyYbs0fQlfYGA=; b=VYVjEV1qMJhUO8nQ3QW2IsHbS6Nv1OKddtoA21zPWKslhhVuH/gCyuk8gkX6+X+Uy4 LNohfbx0HRepYBHRIIEm77PHmxhCltham6nRUB6oamgmoa/U6ave45NoFJ8XVp2cmweZ GV6UFXbIiOErj37h4Ivx7JrpgCktp3mu0eZJI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cJ5I3mdo1WSoVXPuCrpzwWQX8L/iVDDMQGGZj1FMtPot88x1RCJHB8HRCESl0CmIK2 OoKPJTz1U1shNws0Om0eBlQkSuclkAOHVBP8b02KMegxqU5dXrbA+X9jF/O2wID342sY d8MYEDOScFgqm6E2iqAudkwn0SWv1LZ8IDEcY= MIME-Version: 1.0 Received: by 10.236.105.194 with SMTP id k42mr24051yhg.65.1294958336662; Thu, 13 Jan 2011 14:38:56 -0800 (PST) Received: by 10.236.105.145 with HTTP; Thu, 13 Jan 2011 14:38:56 -0800 (PST) Date: Thu, 13 Jan 2011 22:38:56 +0000 Message-ID: From: Jonathan Fischer Friberg To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Thu, 13 Jan 2011 23:13:27 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Resume from suspend 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, 13 Jan 2011 23:08:53 -0000 Hi, Suspending my laptop (a thinkpad edge) works fine (as far as I can tell). It seems however to be impossible to resume. Is there some special option that I have to set so that the computer resumes when pressing the power button? (or opening the lid) Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 23:23:26 2011 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 E8781106566B for ; Thu, 13 Jan 2011 23:23:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7C18FC12 for ; Thu, 13 Jan 2011 23:23:26 +0000 (UTC) Received: by wyf19 with SMTP id 19so2271646wyf.13 for ; Thu, 13 Jan 2011 15:23:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=MD6mb/QQNzlNEbUlBa1ooxQEfKa9EpFqTVNQfn3D6AU=; b=Zu/futry4gXBz7+ubTXvibml8XQRA1pUwWO88L0322rOrjpEzGvuamAiRHJllKb8yw 6yV+x3pyN/Jf0RS076H/dMkTBKfkV5IcR+ABVVc7DqLpKuWke+0Ba1nNRu4IKxO05NKy OdPuObrxdQVpkhIhvq1jOh/m5NMBH7itUgDvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=x30qy9L3uDybOym3ZeYTuRnmZdtdNHYwWhQeu4ZStuRr9shde879Rq2Ngv6u/VZrFo WUSOZ4H6+vcjE97fPQuXQLiVSotKIikebZBApYgYZTbl4FanRQwdrr/8m9uYl+DN0dQ9 cT1GSIs9licEnzKTqMLjGwN7iA5Sf9+7LzGmg= Received: by 10.216.167.65 with SMTP id h43mr1148608wel.17.1294961005170; Thu, 13 Jan 2011 15:23:25 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id x3sm347044wes.46.2011.01.13.15.23.23 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 15:23:24 -0800 (PST) Date: Thu, 13 Jan 2011 23:23:21 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110113232321.5857ad0f@gumby.homeunix.com> In-Reply-To: <4D2F606D.6090407@gmail.com> References: <4D2F606D.6090407@gmail.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Date of a FreeBSD installation 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, 13 Jan 2011 23:23:27 -0000 On Thu, 13 Jan 2011 21:28:29 +0100 David Demelier wrote: > Hello folks, > > I'm just guessing if there is a way to know a FreeBSD installation > date. We can't look after the uname -a ident since an update of the > FreeBSD kernel is possible. > > I think searching a file absolutely not touched ever in the system > can helps but which one? > > markand@Melon ~ $ ls -l /root/.cshrc > -rw-r--r-- 2 root wheel 798 19 Jul 04:17 /root/.cshrc > > It seems that this file has the FreeBSD dist access time so can't > refers to neither. > > Do you have any clue? > > Cheers, > I'd suggest looking at the Btimes of top level directories stat -f "%SB %N" /* From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 00:17:00 2011 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 AA7B61065673 for ; Fri, 14 Jan 2011 00:17:00 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 80BAF8FC16 for ; Fri, 14 Jan 2011 00:17:00 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0E0MIW8029158; Thu, 13 Jan 2011 18:22:18 -0600 (CST) Date: Thu, 13 Jan 2011 18:22:18 -0600 (CST) From: Robert Bonomi Message-Id: <201101140022.p0E0MIW8029158@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, freebsd@edvax.de In-Reply-To: <20110113062819.4ecb89d9.freebsd@edvax.de> Cc: Subject: Re: awk question: replacing "%d%s" by "%d %s" 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, 14 Jan 2011 00:17:00 -0000 > Date: Thu, 13 Jan 2011 06:28:19 +0100 > From: Polytropon > Subject: awk question: replacing "%d%s" by "%d %s" > > I'm aware that this is not an awk question list, but I'm confident there > are many awk gurus here who can surely help me with such a stupid > problem. I also know that I get more and more stupid myself for NOT being > able to solve this, even after... some nearly infinite time. :-) > > I have strings of the form either "" or > "". I catch them with > > if(match(nr, "[a-z]")) > ... > > where "nr" is the name of the string. What I need is a simple space > between and , so for example "12a" would get "12 a", > "6d" would get "6 d", and "58" would stay unchanged. I've tried with > split(), with array manipulation and could produce 10 lines of code that > didn't work as intended > (it produced "1122aa", "66dd" and "5588" according > to the examples above). > Obviously, sub(nr, "[a-z]", " [a-z]"); is nonsense. > True. But sub(nr,"[a-z]"," &"); does the trick. (tested on Freebsd 7.2) Explamation: "&" is a 'replacement side' magic incantation to the regex library that means 'that which was matched by the pattern regex'. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 00:22:58 2011 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 D2BCD106566B for ; Fri, 14 Jan 2011 00:22:58 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id A7CD18FC19 for ; Fri, 14 Jan 2011 00:22:58 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0E0SODG029203 for questions@freebsd.org; Thu, 13 Jan 2011 18:28:24 -0600 (CST) Date: Thu, 13 Jan 2011 18:28:24 -0600 (CST) From: Robert Bonomi Message-Id: <201101140028.p0E0SODG029203@mail.r-bonomi.com> To: questions@freebsd.org In-Reply-To: Cc: Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 00:22:59 -0000 > From owner-freebsd-questions@freebsd.org Thu Jan 13 01:26:33 2011 > Date: Thu, 13 Jan 2011 01:20:14 -0600 > From: Adam Vande More > To: Redd Vinylene > Cc: questions , Bernt Hansson > Subject: Re: Simple command to reset / clear all logs? > > On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene > wrote: > > > Will the logs automatically create themselves? I mean, I picture I have > > to manually touch a lotta them in order to avoid "cannot find" error > > messages? > > > > Please don't top post. > > do something like this: > > shutdown now rm /var/log/* exit > > upon reentering multiuser mode, each logging service will create it's new > file. FALSE TO FACT, with regard to any/all files that syslogd(8) uses, _unless_ syslogd is invoked with the '-C' option. Quoting from the manpage: "For security reasons, syslogd will not append to log files that do not exist (unless -C option is specified); therefore, they must be created manually before running syslogd." > Typically if a service is running and you delete the log from it, > the service will not like it. You can HUP the service to have it restart > logging, but you'd have to do it manually for each log you deleted. > From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 00:25:40 2011 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 395AB1065674 for ; Fri, 14 Jan 2011 00:25:40 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id BE0278FC17 for ; Fri, 14 Jan 2011 00:25:39 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id AC41BE817E; Fri, 14 Jan 2011 00:25:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=o/2DOU+M4+0j 2nlEls9dhGzvcXs=; b=FWQaEnVKJIJaOLSuI3GEaabRG5p++VP8SkaqmBYAJfyA UsylVbYbieaaaVuAuBlJkNRwrEjiwlhRYVBWFHtgJhoZmjkHcl66h+d3wRxOGUJc qT4NdvAYv4dw2cNY/DnUT73323OqPui/xTp2/aAUWlFgpSy9Vz7/2Tligy61Hxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=uALYwJ JHzZ5w7N/tYX4DVvnc3JA3JKWEHmXL+ZTDGMDCjx+iK4MY073IzAFxltD5DEbYaQ d+36gyuRhZdh+1cFK24m4Ra4Uvg2zKQyYbab01uAzsy+bwF7c7BcboSHMTWmyXPU eOUSbswxsGuCyLsrSGQJ/jZwwcf48S6ZoHRHM= Received: from unknown (client-86-31-196-41.oxfd.adsl.virginmedia.com [86.31.196.41]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 5E9D5E71A2; Fri, 14 Jan 2011 00:25:38 +0000 (GMT) Date: Fri, 14 Jan 2011 00:25:31 +0000 From: Bruce Cran To: Jonathan Fischer Friberg Message-ID: <20110114002531.00006c5d@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Resume from suspend 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, 14 Jan 2011 00:25:40 -0000 On Thu, 13 Jan 2011 22:38:56 +0000 Jonathan Fischer Friberg wrote: > Suspending my laptop (a thinkpad edge) works fine (as far as I can > tell). It seems however to be impossible to resume. Is there some > special option that I have to set so that the computer resumes when > pressing the power button? (or opening the lid) Suspend/resume generally doesn't work - apparently there's lots of work that needs done before it'll be reliable. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 00:31:23 2011 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 49413106566C for ; Fri, 14 Jan 2011 00:31:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CCEBD8FC15 for ; Fri, 14 Jan 2011 00:31:22 +0000 (UTC) Received: by fxm16 with SMTP id 16so2370668fxm.13 for ; Thu, 13 Jan 2011 16:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=u1WCR/gvSpWAhzQQkrVyk3FcLf0KteL3/UuhJ+yNeXk=; b=M63py2BHKaChQxscai3dHdFLQB8VICYCwgsRe4R1VQpYyg+dkAAAIgUj4nD0NODq5/ CBDzObYiuJeuOWE0QDZLpHwXaIFzn6LSKIR+4IS/qZa5NnrI1pZ3Cs0iQ35m8QLGPbEn JqQmfs3muRgIB/gBnwc2/rc47ZRXb09EkYv2Y= 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=D2Aix/vHR5zXziKx7oy4WK59mpjJFbpELNrWLbfkkZ7JcjaXZBRfFoeAnq0CXqpPyX VnE/DHqLyJx+yc13GNTXc/SVuPpsy0ANuxmmExG4gLdVaDUQgTlajbW01cGKHDK5vuKD LTSbeCwkOKr1O/VC45TmmGS/vpcnQSlQmF1aA= MIME-Version: 1.0 Received: by 10.223.71.197 with SMTP id i5mr43030faj.127.1294965081527; Thu, 13 Jan 2011 16:31:21 -0800 (PST) Received: by 10.223.114.4 with HTTP; Thu, 13 Jan 2011 16:31:21 -0800 (PST) In-Reply-To: <201101140028.p0E0SODG029203@mail.r-bonomi.com> References: <201101140028.p0E0SODG029203@mail.r-bonomi.com> Date: Thu, 13 Jan 2011 18:31:21 -0600 Message-ID: From: Adam Vande More To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 00:31:23 -0000 On Thu, Jan 13, 2011 at 6:28 PM, Robert Bonomi wrote: > > From: Adam Vande More > > > > Please don't top post. > > > > do something like this: > > > > shutdown now rm /var/log/* exit > > > > upon reentering multiuser mode, each logging service will create it's new > > file. > > FALSE TO FACT, with regard to any/all files that syslogd(8) uses, > _unless_ syslogd is invoked with the '-C' option. > > Quoting from the manpage: > "For security reasons, syslogd will not append to log files that do not > exist (unless -C option is specified); therefore, they must be created > manually before running syslogd." > Wrong, read what I said again. The appropriate service recreates the log file. Any basic system log would be covered by this. Try it and see. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 00:35:45 2011 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 6E5301065672 for ; Fri, 14 Jan 2011 00:35:45 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 39C138FC19 for ; Fri, 14 Jan 2011 00:35:44 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-232-63.pitbpa.east.verizon.net [96.236.232.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 350056D3AA for ; Thu, 13 Jan 2011 19:35:44 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 4BF995D25 for ; Thu, 13 Jan 2011 19:35:43 -0500 (EST) Date: Thu, 13 Jan 2011 19:14:39 -0500 From: Janos Dohanics To: freebsd-questions@freebsd.org Message-Id: <20110113191439.5c108486.web@3dresearch.com> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Attempt to write outside dump device boundaries 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, 14 Jan 2011 00:35:45 -0000 I have been having problems with a newly built system which I have installed 8.2-PRERELEASE amd64. One problem I posted at http://lists.freebsd.org/pipermail/freebsd-questions/2011-January/225822.html (Fernando, thank you for replying). After wiping and reinstalling, I made sure that I could obtain a kernel dump. Next, I have set up gmirror. Upon reboot, synchronizing the mirror was going very slow. I checked the drives with smartctl; one drive turned out to be faulty. Next, removed the faulty drive from gmirror, and did reboot -d. At this point, I got the error "Attempt to write outside dump device boundaries" similar to what's described in http://lists.freebsd.org/pipermail/freebsd-stable/2008-December/046982.html Once the system came back up, and I could verify that the faulty drive was no longer part of gmirror, did reboot -d again, which caused the same error. Next, physically disconnected the faulty drive, and had no problem getting a kernel dump. Next, reconnected the faulty drive, but did not insert it into gmirror, and had no problem getting a kernel dump. I obviously need to replace the faulty drive. Beyond that, I'm wondering if someone could explain why is it not possible to get a kernel dump when a drive in gmirror fails. -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 01:54:27 2011 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 80038106564A for ; Fri, 14 Jan 2011 01:54:27 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC888FC12 for ; Fri, 14 Jan 2011 01:54:26 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0E1xqUi029905 for questions@freebsd.org; Thu, 13 Jan 2011 19:59:52 -0600 (CST) Date: Thu, 13 Jan 2011 19:59:52 -0600 (CST) From: Robert Bonomi Message-Id: <201101140159.p0E1xqUi029905@mail.r-bonomi.com> To: questions@freebsd.org In-Reply-To: Cc: Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 01:54:27 -0000 > Date: Thu, 13 Jan 2011 18:31:21 -0600 > Subject: Re: Simple command to reset / clear all logs? > To: questions@freebsd.org > > On Thu, Jan 13, 2011 at 6:28 PM, Robert Bonomi > wrote: > > > > From: Adam Vande More > > > > > > Please don't top post. > > > > > > do something like this: > > > > > > shutdown now rm /var/log/* exit > > > > > > upon reentering multiuser mode, each logging service will create it's > > > new file. > > > > FALSE TO FACT, with regard to any/all files that syslogd(8) uses, > > _unless_ syslogd is invoked with the '-C' option. > > > > Quoting from the manpage: > > "For security reasons, syslogd will not append to log files that do > > not exist (unless -C option is specified); therefore, they must be > > created manually before running syslogd." > > > > Wrong, read what I said again. I *did* read what you said. To be blunt, you are full of sh*t as regards any file used by the standard Berkeley syslog daemon, (syslogd). The Berkeley syslogd is the standard system log daemon on FreeBSD, although somme people do replace it with > The appropriate service recreates the log > file. _IF_ a service, e.g, apache logs _directly_ to it's own logfiles, this _may_ be true It is explicitly *NOT*TRUE* for log files used by the standard (Berkeley-based) syslogd daemon. The FreeBSD manpage for syslogd, quoted above, confirms that you do -not- know what you're talking about. > Any basic system log would be covered by this. "Male Bovine Excretement" applies. > Try it and see. I've got over 25 years experience as a professional system/network admin, all on BSD-derived systems. I can't tell you _how_many_ times I've been called in to fix a 'failure to log' problem that was due to the logfile simply -not- being present, even afer a reboot. Now I'm not infallable, so I cheked the reference documentation _before_ posting, The standard FreeBSD syslogd is -documented- as _NOT_CREATING_ the logfiles it uses, *UNLESS* the '-C' option is specified upon program invocation. Since a logging service cannot tell whether the system is in single-user or multi-user mode, you can verify this syslogd behaviour by simply deleting one of the common log files -- say /var/log/messages -- then killing the running syslogd, and re-starting it. As you say "Try it and see". -- Those of you who think you know it all are very annoying to those of us who do. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 02:11:05 2011 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 40738106564A for ; Fri, 14 Jan 2011 02:11:05 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1488FC08 for ; Fri, 14 Jan 2011 02:11:04 +0000 (UTC) Received: by fxm16 with SMTP id 16so2428575fxm.13 for ; Thu, 13 Jan 2011 18:11:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=QoV8t1v28IUtDkKH1x224zRg5fZbw5hqkd5prIL8JtQ=; b=D/iP9w2kBkO8orpp6tT/UDF16seFXmliEy09pG6/UB5lpxwYXK/TzWkyoy63L/WCsm ZTgw2ZWngvxiGT+GodOzE/T8vudWpa9EzMoN6kJgbhKZBT0/G3irUKOYuJaPZYjBKOe5 1GmFGkAEKt0NXC0I3+NHL5DLAUR3JyFDMnMJA= 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=kmS1fMIbaY0QPxRQGqmntM0npENWFk3kE5uIhERO86EYInoLxoiI7lzmFvYMHftS1E +3ccY3OrCHd5iZEqRK3LMqrqXxu8WVNzhiwK5zdL6WoSJPgchZLnK/yQkXB7HwuGtXPr wfNHxfKrXPJaAPRqJXCm/WqJJscU9Awa0ShzI= MIME-Version: 1.0 Received: by 10.223.85.204 with SMTP id p12mr110265fal.146.1294971063230; Thu, 13 Jan 2011 18:11:03 -0800 (PST) Received: by 10.223.114.4 with HTTP; Thu, 13 Jan 2011 18:11:03 -0800 (PST) In-Reply-To: <201101140159.p0E1xqUi029905@mail.r-bonomi.com> References: <201101140159.p0E1xqUi029905@mail.r-bonomi.com> Date: Thu, 13 Jan 2011 20:11:03 -0600 Message-ID: From: Adam Vande More To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 02:11:05 -0000 On Thu, Jan 13, 2011 at 7:59 PM, Robert Bonomi wrote: > > I *did* read what you said. > > To be blunt, you are full of sh*t as regards any file used by the standard > Berkeley syslog daemon, (syslogd). The Berkeley syslogd is the standard > system log daemon on FreeBSD, although somme people do replace it with > Amusing, but you're the one full of shit. There's more things to automatic log file creation than are thought of in your imagination. I like the 25 years, should we compare cock sizes too? Quit being a baby and realize the man page for syslogd isn't the only thing involved here. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 02:34:57 2011 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 66C69106564A for ; Fri, 14 Jan 2011 02:34:57 +0000 (UTC) (envelope-from rwboyer@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 50D718FC1A for ; Fri, 14 Jan 2011 02:34:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.10.113] ([38.102.24.43]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LEZ0040AR4J0AA0@asmtp026.mac.com> for freebsd-questions@freebsd.org; Thu, 13 Jan 2011 18:34:40 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101130196 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-14_01:2011-01-14, 2011-01-13, 1970-01-01 signatures=0 From: Robert Boyer Date: Thu, 13 Jan 2011 21:34:39 -0500 Message-id: <643DDDB2-6B8C-4FEE-98B8-46EDB7A34E73@mac.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1081) Subject: Need some device help 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, 14 Jan 2011 02:34:57 -0000 am in the process of moving all of my NAS from open solaris to FreeBSD (I hope?) and have run into a few speed bumps along the way. Maybe I am doing something way way wrong but I cannot seem to find any info at all on some of my issues. I hope this is the right list to ask - if not please steer me in the right direction. I am not new to BSD's but then again I am not intimately familiar with a lot of the inner workings and things have change a bunch since my kernel hacking days of NET2 on a vax so this is probably just a parameter somewhere but I cannot seem to find it. Here goes... Question 1? I am trying to get FreeBSD running ZFS to work as both a server and a consumer of iSCSI targets and can't seem to attach to more than 8 devices. In fact it seems to break after a TOTAL of 8 SCSI devices on the client (initiator end) after attaching 8 SCSI devices da0 through da7 target discovery even stops working with this message when running ANY iscontrol commend on the initiator. ISCSISETSES: Device not configured I believe this is on the initiator end and has to do with the total number of attached scsi devices but am not completely sure - I am using the built in iscsi initiator and kernel module NOT open iscsi and istgt on the server. Any ideas? Is this on the server end somehow? Ps. There is absolutely no messages in any log server or client after the 8 device and iSCSI stops working the above message comes from the iscontrol command with the -v option. Question 2? In order to make device names persistent I am using glabel on raw non-partitioned devices to simulate solaris persistent device names. I also understand that I can use GPT disks and that glabel somehow integrates with the GUID? Is this the case or is using GPT a completely independent alternative to using glabel? In any case what is the best/most common practice to achieving the end result (reliably and dependably) in the FreeBSD world? Thanks a lot RB From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 02:41:16 2011 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 902F21065673 for ; Fri, 14 Jan 2011 02:41:16 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 5AFDE8FC1D for ; Fri, 14 Jan 2011 02:41:16 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 6A41CE80979; Thu, 13 Jan 2011 18:41:15 -0800 (PST) Date: Thu, 13 Jan 2011 18:41:15 -0800 From: Gary Kline To: Paul Macdonald Message-ID: <20110114024115.GC17091@thought.org> References: <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2F80A2.1050607@ifdnrg.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: User Questions Subject: Re: Which php?? 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, 14 Jan 2011 02:41:16 -0000 On Thu, Jan 13, 2011 at 10:45:54PM +0000, Paul Macdonald wrote: > On 13/01/2011 22:36, Gary Kline wrote: > >On Thu, Jan 13, 2011 at 09:42:40PM +0000, Paul Macdonald wrote: > >>>>did you follow the procedure in ports/UPDATING about autotools? > > > its the php mysql extension it's moaning about, not the mysql server. And when I found the php5-mysql in databases, the Makefile told me how everything fitted together. :-) > > what do you get from pkg_version -Iv | grep php5 > > i wouldn't normally do it like this, but in your case i'd be tempted to > > cd /usr/ports/databases/php5-mysql > make install clean > > cross fingers > restart apache > > WEll, I'm not sure how many eons ago it's been since the last post, but _no_, I did not take a month's vacation ... nor a nap Not even a cup of joe. BUT: Yes, Virginia, there is a Dog... After a partial edit of that wp-config.php from the sample.php, and filling in the name, "wordpress", the user "wordpress_user, and the password "xyz123", a promising WordPress install page showed up. I have saved a copy of the original config page and have some questions that I'll need for when I write up my readable tutorial page. -----I don't think many of you know that for heading toward 7 years, I was the lead writer for a Q/A help page for newcomers to FreeBSD. We all can write; it isn't that difficult. But I spent/wasted 15 years of banging away on a typewriter writing stuff and editing stuff before I got seriously lucky and discovered computers. I will need help from the rest of the list and readers to make my HOW-TO INSTALL WORDPRESS strictly first-rate. Given that, I should be the last person to *ever* invest going into four days on this kind of effort. That said, a straight-up thanks for y'all who have helped me with this.----- I cut/pasted part of the config page to a yello w notepad. It unfortunately has those unfortunate DOS EOL things with the ^M. [i Figured maybe in pasting the lines, the wasted byte would vanish. Nope. Anyway, can folks tell me what is meant by "Keys and Salts"] ?? There are 8 places with define()'s. I can dream up 8 strings or phrases, no problem. But without getting into the guts of this blog stuff, can anybody tell me why I need unique [[ or VERY-VERY unique ]] strings? nExt, multiple instances of this blogware. A day ago i thought that one of the wordpress pages would be more than enough, but maybe in a year I'll need one on www and a second in journey. So in the unlikely event should I tag: ``$table_prefix= 'wp_';'' with ``$table_prefix = 'wp0_';'' ? (O think it is better to plan ahead now. Just in case.) > > > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 03:03:12 2011 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 64497106564A for ; Fri, 14 Jan 2011 03:03:12 +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 236C78FC0C for ; Fri, 14 Jan 2011 03:03:11 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id 3CAE03DE98; Fri, 14 Jan 2011 04:03:10 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0E3396O003361; Fri, 14 Jan 2011 04:03:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jan 2011 04:03:08 +0100 From: Polytropon To: Adam Vande More Message-Id: <20110114040308.056850ce.freebsd@edvax.de> In-Reply-To: References: <201101140159.p0E1xqUi029905@mail.r-bonomi.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: questions@freebsd.org, Robert Bonomi Subject: Re: Simple command to reset / clear all logs? 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: Fri, 14 Jan 2011 03:03:12 -0000 On Thu, 13 Jan 2011 20:11:03 -0600, Adam Vande More wrote: > Amusing, but you're the one full of shit. There's more things to automatic > log file creation than are thought of in your imagination. Adam, I think Robert is right at least in regards of SOME programs that use syslogd for logging OR do the logging stuff on their own. I may mantion ftpd logging as an example. Many years ago, I have learned that setting ftp (...stuff...) ftpd -ll in /etc/inetd.conf (the "ell ell" is important) and adding !ftpd *.* /var/log/ftpd.log to /etc/syslog.conf would cause ftpd to do extended logging. You can imagine how surprised I was that there was no log file at all. I had to manually # touch /var/log/ftpd.log in order to enable the logging mechanism. Simply deleting the file won't cause ftpd to create it on its own, and syslod also doesn't create it, if I remember correctly. It's also worth mentioning that programs that handle logging on their own may be brought into trouble if the logfile suddenly disappears, depending on the access mechanism for that file, either by "open/append, write, close" or by "don't close, keep writing". That being said, I think one can recommend resetting or clearing methods for all logs not depending on deleting and (maybe) re-creating the files. Instead setting them to zero length should not harm syslogd or any other process that logs to files. The methods of "echo '' > $file" or even the more verbose "cat /dev/zero > $file" have been mentioned on list, with $file being a shell wildcard expression or `find ...` for better control about what to work with. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 03:10:28 2011 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 6741A1065670 for ; Fri, 14 Jan 2011 03:10:28 +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 2245D8FC18 for ; Fri, 14 Jan 2011 03:10:27 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id DE3D63DB1B; Fri, 14 Jan 2011 04:10:26 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0E3APwF003381; Fri, 14 Jan 2011 04:10:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jan 2011 04:10:25 +0100 From: Polytropon To: Gary Kline Message-Id: <20110114041025.65ed6a67.freebsd@edvax.de> In-Reply-To: <20110114024115.GC17091@thought.org> References: <20110112195347.GA21353@thought.org> <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> <20110114024115.GC17091@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: User Questions Subject: Re: Which php?? 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: Fri, 14 Jan 2011 03:10:28 -0000 On Thu, 13 Jan 2011 18:41:15 -0800, Gary Kline wrote: > I cut/pasted part of the config page to a yello w notepad. It > unfortunately has those unfortunate DOS EOL things with the ^M. There's a simple answer to that waste of disk space (two bytes per line break!): recode cp437..iso8859 It's also handy for users who have german umlauts in DOS text files and need to recode them to iso8859-1. (It's also a nice tool if the conversion is used in opposite order: This way, UNIX files can be converted to be sent directly to dotmatrix printers that expect DOS text streams.) The recode utility can be found in converters/recode port. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 03:24:19 2011 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 A33B11065672 for ; Fri, 14 Jan 2011 03:24:19 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6147D8FC14 for ; Fri, 14 Jan 2011 03:24:19 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0E3TkIm030593 for questions@freebsd.org; Thu, 13 Jan 2011 21:29:46 -0600 (CST) Date: Thu, 13 Jan 2011 21:29:46 -0600 (CST) From: Robert Bonomi Message-Id: <201101140329.p0E3TkIm030593@mail.r-bonomi.com> To: questions@freebsd.org In-Reply-To: <20110114041025.65ed6a67.freebsd@edvax.de> Cc: Subject: Re: Which php?? 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, 14 Jan 2011 03:24:19 -0000 > From owner-freebsd-questions@freebsd.org Thu Jan 13 21:16:20 2011 > Date: Fri, 14 Jan 2011 04:10:25 +0100 > From: Polytropon > To: Gary Kline > Cc: User Questions > Subject: Re: Which php?? > > On Thu, 13 Jan 2011 18:41:15 -0800, Gary Kline wrote: > > I cut/pasted part of the config page to a yello w notepad. It > > unfortunately has those unfortunate DOS EOL things with the ^M. > > There's a simple answer to that waste of disk space (two bytes per line > break!): Correct accounting is 'one _excess_ byte per line break'. > > recode cp437..iso8859 no need to install the port/package -- tr -d '\r' unixfile does the trick, with just a base install utility. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 03:26:22 2011 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 65A171065674 for ; Fri, 14 Jan 2011 03:26:22 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 2D18B8FC1C for ; Fri, 14 Jan 2011 03:26:21 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost0.waddell.com (Postfix) with ESMTP id 981BD508BD; Thu, 13 Jan 2011 21:26:11 -0600 (CST) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8DB8557889F; Thu, 13 Jan 2011 21:26:11 -0600 (CST) Received: from ADVPHTCAS0.wradvisors.com (advphtcas0.wradvisors.com [192.168.203.228]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 8664257889D; Thu, 13 Jan 2011 21:26:11 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.151]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Thu, 13 Jan 2011 21:26:11 -0600 From: Gary Gatten To: "'freebsd@edvax.de'" , "'kline@thought.org'" Date: Thu, 13 Jan 2011 21:26:10 -0600 Thread-Topic: Which php?? Thread-Index: AcuzmK6vC+H9CEoxSLG7iuPXmDta7AAAhue2 Message-ID: <22819_1294975571_4D2FC253_22819_94_1_D9B37353831173459FDAA836D3B43499A7AF9181@WADPMBXV0.waddell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Which php?? 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, 14 Jan 2011 03:26:22 -0000 SXMgdGhpcyBhIHJlY29yZCBmb3IgdGhlIGxvbmdlc3QgdGhyZWFkIGV2ZXI/IEkndmUgYmVlbiBp Z25vcmluZyBpdCBiZWNhdXNlIEkgZG9uJ3QgY2FyZSBtdWNoIGFib3V0IHBocCAocmVsYXRpdmVs eSBzcGVha2luZyksIGJ1dCBJJ20gdGhpbmtpbmcgaWxsIGhhdmUgdG8gcmVhZCB0aGlzIHRocmVh ZCBhbmQgc2VlIHdoYXQncyBzbyBpbnRlcmVzdGluZyENCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2Fn ZSAtLS0tLQ0KRnJvbTogb3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgPG93bmVy LWZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPg0KVG86IEdhcnkgS2xpbmUgPGtsaW5lQHRo b3VnaHQub3JnPg0KQ2M6IFVzZXIgUXVlc3Rpb25zIDxmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNk Lm9yZz4NClNlbnQ6IFRodSBKYW4gMTMgMjE6MTA6MjUgMjAxMQpTdWJqZWN0OiBSZTogV2hpY2gg cGhwPz8NCg0KT24gVGh1LCAxMyBKYW4gMjAxMSAxODo0MToxNSAtMDgwMCwgR2FyeSBLbGluZSA8 a2xpbmVAdGhvdWdodC5vcmc+IHdyb3RlOg0KPiAJSSBjdXQvcGFzdGVkIHBhcnQgb2YgdGhlIGNv bmZpZyBwYWdlIHRvIGEgeWVsbG8gdyBub3RlcGFkLiAgSXQNCj4gCXVuZm9ydHVuYXRlbHkgaGFz IHRob3NlIHVuZm9ydHVuYXRlIERPUyBFT0wgdGhpbmdzIHdpdGggdGhlIF5NLiAgDQoNClRoZXJl J3MgYSBzaW1wbGUgYW5zd2VyIHRvIHRoYXQgd2FzdGUgb2YgZGlzayBzcGFjZSAodHdvDQpieXRl cyBwZXIgbGluZSBicmVhayEpOg0KDQoJcmVjb2RlIGNwNDM3Li5pc284ODU5IDxmaWxlbmFtZT4N Cg0KSXQncyBhbHNvIGhhbmR5IGZvciB1c2VycyB3aG8gaGF2ZSBnZXJtYW4gdW1sYXV0cyBpbiBE T1MNCnRleHQgZmlsZXMgYW5kIG5lZWQgdG8gcmVjb2RlIHRoZW0gdG8gaXNvODg1OS0xLiAoSXQn cyBhbHNvDQphIG5pY2UgdG9vbCBpZiB0aGUgY29udmVyc2lvbiBpcyB1c2VkIGluIG9wcG9zaXRl IG9yZGVyOg0KVGhpcyB3YXksIFVOSVggZmlsZXMgY2FuIGJlIGNvbnZlcnRlZCB0byBiZSBzZW50 IGRpcmVjdGx5DQp0byBkb3RtYXRyaXggcHJpbnRlcnMgdGhhdCBleHBlY3QgRE9TIHRleHQgc3Ry ZWFtcy4pDQoNClRoZSByZWNvZGUgdXRpbGl0eSBjYW4gYmUgZm91bmQgaW4gY29udmVydGVycy9y ZWNvZGUgcG9ydC4NCg0KDQotLSANClBvbHl0cm9wb24NCk1hZ2RlYnVyZywgR2VybWFueQ0KSGFw cHkgRnJlZUJTRCB1c2VyIHNpbmNlIDQuMA0KQW5kcmEgbW9pIGVubmVwZSwgTW91c2EsIC4uLg0K X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCmZyZWVic2Qt cXVlc3Rpb25zQGZyZWVic2Qub3JnIG1haWxpbmcgbGlzdA0KaHR0cDovL2xpc3RzLmZyZWVic2Qu b3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1xdWVzdGlvbnMNClRvIHVuc3Vic2NyaWJlLCBz ZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLXF1ZXN0aW9ucy11bnN1YnNjcmliZUBmcmVlYnNkLm9y ZyINCgoKCgoKPGZvbnQgc2l6ZT0iMSI+CjxkaXYgc3R5bGU9J2JvcmRlcjpub25lO2JvcmRlci1i b3R0b206ZG91YmxlIHdpbmRvd3RleHQgMi4yNXB0O3BhZGRpbmc6MGluIDBpbiAxLjBwdCAwaW4n Pgo8L2Rpdj4KIlRoaXMgZW1haWwgaXMgaW50ZW5kZWQgdG8gYmUgcmV2aWV3ZWQgYnkgb25seSB0 aGUgaW50ZW5kZWQgcmVjaXBpZW50CiBhbmQgbWF5IGNvbnRhaW4gaW5mb3JtYXRpb24gdGhhdCBp cyBwcml2aWxlZ2VkIGFuZC9vciBjb25maWRlbnRpYWwuCiBJZiB5b3UgYXJlIG5vdCB0aGUgaW50 ZW5kZWQgcmVjaXBpZW50LCB5b3UgYXJlIGhlcmVieSBub3RpZmllZCB0aGF0CiBhbnkgcmV2aWV3 LCB1c2UsIGRpc3NlbWluYXRpb24sIGRpc2Nsb3N1cmUgb3IgY29weWluZyBvZiB0aGlzIGVtYWls CiBhbmQgaXRzIGF0dGFjaG1lbnRzLCBpZiBhbnksIGlzIHN0cmljdGx5IHByb2hpYml0ZWQuICBJ ZiB5b3UgaGF2ZQogcmVjZWl2ZWQgdGhpcyBlbWFpbCBpbiBlcnJvciwgcGxlYXNlIGltbWVkaWF0 ZWx5IG5vdGlmeSB0aGUgc2VuZGVyIGJ5CiByZXR1cm4gZW1haWwgYW5kIGRlbGV0ZSB0aGlzIGVt YWlsIGZyb20geW91ciBzeXN0ZW0uIgo8L2ZvbnQ+Cgo= From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 03:36:45 2011 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 92DE7106566B for ; Fri, 14 Jan 2011 03:36:45 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id 6441B8FC12 for ; Fri, 14 Jan 2011 03:36:45 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id B496E1CC17; Thu, 13 Jan 2011 17:21:18 -1000 (HST) Message-ID: <4D2FC12E.4060902@hdk5.net> Date: Thu, 13 Jan 2011 17:21:18 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "Jack L. Stone" References: <3.0.1.32.20110113102034.00eed690@sage-american.com> In-Reply-To: <3.0.1.32.20110113102034.00eed690@sage-american.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: zoneedit.com 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, 14 Jan 2011 03:36:45 -0000 Jack L. Stone wrote: > I have used zoneedit.com's DNS zone service for about 9 years and it > handles a number of static IPs for my companies. > > Now, suddenly they have created a "new platform" and migrating accounts > from the legacy platform to the new. The legacy site doen't work anymore, > just confirms account and redirects to the new site. > > Are there any members here using zoneedit.com and having trouble with their > login? I cannot get my login to work and they won't solve the problem. They > say they have reset my password but it doesn't work. The legacy web site > says my account has been migrated, yet the login doesn't work. The legacy > site responds to my normal email address used for the entire 9 years, but > the new platform only responds with an error that the email doesn't exist. > > The service still works, but no access to manage my zones. > > (Yes, I copy/paste the login so no typos.) > > I've sent numerous request for help since Jan 12th but only get the robot > response with the same information about responding in 24 hours -- but, > they never respond. > > Now, here I sit without access to numerous domain zones I need to edit with > any way to access them. This is hurting my biz. > > So, anyone with this issue out there or know of an alternative company to > replace zoneedit? > > Thanks for any response (no robots pls -- heh, heh) > > (^_^) > Happy trails, > Jack L. Stone > > System Admin > Sage-american > _______________________________________________ > 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" > Aloha Jack, Yes, I use Zone Edit. I just had to email them at Support:> support@zoneedit.com and Paul T. sent me this link to the legacy site as they havent migrated all the DNS. > http://www.zoneedit.com/auth/ My issue was that I had the older view era monitor on the rack I use to do this and read emails. Their new web face is wide screen and my monitor chopped off the link to the old site to log on so I emailed them and they answered me in a day. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 04:59:14 2011 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 1E7BC1065670 for ; Fri, 14 Jan 2011 04:59:14 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD6DB8FC15 for ; Fri, 14 Jan 2011 04:59:13 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20110114045912349 for ; Fri, 14 Jan 2011 04:59:12 +0000 X-RC-FROM: X-RC-RCPT: Received: from oak.localnet (207.55.91.159.peak.org [207.55.91.159] (may be forged)) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id p0E4xBW7020297 for ; Thu, 13 Jan 2011 20:59:11 -0800 (PST) Received: from oak.localnet (localhost [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id F3628C70D for ; Thu, 13 Jan 2011 20:59:10 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id p0E4xAhe067884; Thu, 13 Jan 2011 20:59:10 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> <20110113233016.5de7b7b8.freebsd@edvax.de> <87hbdc4ddd.fsf@oak.localnet> <20110113230846.GJ3646@libertas.local.camdensoftware.com> Date: Thu, 13 Jan 2011 20:59:10 -0800 In-Reply-To: <20110113230846.GJ3646@libertas.local.camdensoftware.com> (Chip Camden's message of "Thu, 13 Jan 2011 15:08:46 -0800") Message-ID: <87d3o03wtd.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 04:59:14 -0000 Chip Camden writes: > Quoth Carl Johnson on Thursday, 13 January 2011: >> Polytropon writes: >> >> > On Thu, 13 Jan 2011 13:50:27 -0800, Chuck Swiger wrote: >> >> On Jan 13, 2011, at 1:46 PM, Devin Teske wrote: >> >> > This is nearly always accurate on any FreeBSD system (when wanting to >> >> > query the date the machine was built): >> >> > >> >> > ls -l /etc/defaults/rc.conf >> >> >> >> I gather that you don't ever run mergemaster, which would update this file? >> >> My machine installed in 2001 has a Dec 2010 date for that file: >> >> >> >> -r--r--r-- 1 root wheel 36037 Dec 1 14:13 /etc/defaults/rc.conf >> > >> > Exactly that was my thought. Maybe a file that is NOT subject >> > to one of the system upgrade procedures would be better? Maybe >> > something in /boot? >> > >> > % ls -l /etc/defaults/rc.conf >> > -r--r--r-- 1 root wheel 34300 Aug 24 2008 /etc/defaults/rc.conf >> > % ls -l /boot/defaults/loader.conf >> > -r--r--r-- 1 root wheel 19426 Aug 24 2008 /boot/defaults/loader.conf >> > >> > No, forget about that, also nonsense, looks to new... >> >> How about /var/empty: >> >> % ls -ldo /var/empty/ >> dr-xr-xr-x 2 root wheel schg 512 Jul 18 19:16 /var/empty/ >> >> It can be changed, but doesn't look likely. > > On my system, it gives a date several months in advance of my install > date (Nov 21 2009). Oops, you're right. I just checked and it is a few days before I actually installed mine, so that is probably when the ISO was built. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 05:04:16 2011 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 BA298106564A for ; Fri, 14 Jan 2011 05:04:16 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5CEFD8FC15 for ; Fri, 14 Jan 2011 05:04:16 +0000 (UTC) Received: by fxm16 with SMTP id 16so2513484fxm.13 for ; Thu, 13 Jan 2011 21:04:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.103.198 with SMTP id l6mr247537fao.99.1294981455319; Thu, 13 Jan 2011 21:04:15 -0800 (PST) Received: by 10.223.79.77 with HTTP; Thu, 13 Jan 2011 21:04:15 -0800 (PST) In-Reply-To: <20110113232321.5857ad0f@gumby.homeunix.com> References: <4D2F606D.6090407@gmail.com> <20110113232321.5857ad0f@gumby.homeunix.com> Date: Fri, 14 Jan 2011 00:04:15 -0500 Message-ID: From: Carl Chave To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 05:04:16 -0000 > I'd suggest looking at the Btimes of top level directories > > stat -f "%SB %N" /* Or how about just / as this ~15 minutes earlier than most of the remaining top level directories sodserve# stat -f "%SB %N" /* Jan 9 04:54:21 2011 /COPYRIGHT Jan 9 04:54:21 2011 /bin Jan 9 04:54:21 2011 /boot Dec 31 18:59:59 1969 /dev Jan 9 04:54:21 2011 /etc Jan 9 04:54:21 2011 /lib Jan 9 04:54:21 2011 /libexec Jan 9 04:54:21 2011 /media Jan 9 04:54:21 2011 /mnt Jan 9 04:54:21 2011 /proc Jan 9 04:54:21 2011 /rescue Jan 9 04:54:21 2011 /root Jan 9 04:54:21 2011 /sbin Jan 9 04:54:21 2011 /sys Jan 9 04:48:39 2011 /tmp Jan 9 04:48:45 2011 /usr Jan 9 04:49:39 2011 /var sodserve# stat -f "%SB %N" / Jan 9 04:39:59 2011 / From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 05:21:42 2011 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 7F0701065670 for ; Fri, 14 Jan 2011 05:21:42 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id 532688FC0A for ; Fri, 14 Jan 2011 05:21:41 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20110114052141829 for ; Fri, 14 Jan 2011 05:21:41 +0000 X-RC-FROM: X-RC-RCPT: Received: from oak.localnet (207.55.91.159.peak.org [207.55.91.159] (may be forged)) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id p0E5Le0p069239 for ; Thu, 13 Jan 2011 21:21:41 -0800 (PST) Received: from oak.localnet (localhost [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 61737C70D for ; Thu, 13 Jan 2011 21:21:40 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id p0E5LeSF068062; Thu, 13 Jan 2011 21:21:40 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <201101140159.p0E1xqUi029905@mail.r-bonomi.com> <20110114040308.056850ce.freebsd@edvax.de> Date: Thu, 13 Jan 2011 21:21:40 -0800 In-Reply-To: <20110114040308.056850ce.freebsd@edvax.de> (Polytropon's message of "Fri, 14 Jan 2011 04:03:08 +0100") Message-ID: <87zkr42h7f.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 05:21:42 -0000 Polytropon writes: > On Thu, 13 Jan 2011 20:11:03 -0600, Adam Vande More wrote: >> Amusing, but you're the one full of shit. There's more things to automatic >> log file creation than are thought of in your imagination. > > Adam, > > I think Robert is right at least in regards of SOME > programs that use syslogd for logging OR do the > logging stuff on their own. I think that newsyslog will create the new log files if specified in the /etc/newsyslog.conf file. That might be the confusion about some log files being created automatically but others not. The newsyslog.conf(5) manpage mentions a 'C' flag that can be specified. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 06:17:16 2011 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 09457106566B for ; Fri, 14 Jan 2011 06:17: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 BF17E8FC14 for ; Fri, 14 Jan 2011 06:17:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 3B8801E5B4; Fri, 14 Jan 2011 07:17:14 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0E6HCqh004138; Fri, 14 Jan 2011 07:17:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jan 2011 07:17:12 +0100 From: Polytropon To: Robert Bonomi Message-Id: <20110114071712.c7a7fe7e.freebsd@edvax.de> In-Reply-To: <201101140022.p0E0MIW8029158@mail.r-bonomi.com> References: <20110113062819.4ecb89d9.freebsd@edvax.de> <201101140022.p0E0MIW8029158@mail.r-bonomi.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: awk question: replacing "%d%s" by "%d %s" 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: Fri, 14 Jan 2011 06:17:16 -0000 On Thu, 13 Jan 2011 18:22:18 -0600 (CST), Robert Bonomi wrote: > True. But > sub(nr,"[a-z]"," &"); > > does the trick. (tested on Freebsd 7.2) > > Explamation: "&" is a 'replacement side' magic incantation to the regex > library that means 'that which was matched by the pattern regex'. Doesn't work on my 7-STABLE system (20080811), awk stops: awk: syntax error at source line 78 source file konvertieren.awk context is sub(nr, "[a-z]", " >>> &" <<< ); awk: illegal statement at source line 79 source file konvertieren.awk But I'll keep your suggestion in the program source and test it on 8 as soon as my "new" home system is ready to use. At least, the & variant looks much better. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 07:36:40 2011 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 BEE2A1065670 for ; Fri, 14 Jan 2011 07:36:40 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (host-120.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 955CD8FC0C for ; Fri, 14 Jan 2011 07:36:40 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p0E7gCvd033088 for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 01:42:12 -0600 (CST) Date: Fri, 14 Jan 2011 01:42:12 -0600 (CST) From: Robert Bonomi Message-Id: <201101140742.p0E7gCvd033088@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <87zkr42h7f.fsf@oak.localnet> Subject: Re: Simple command to reset / clear all logs? 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, 14 Jan 2011 07:36:40 -0000 > From owner-freebsd-questions@freebsd.org Thu Jan 13 23:28:08 2011 > From: Carl Johnson > To: freebsd-questions@freebsd.org > Date: Thu, 13 Jan 2011 21:21:40 -0800 > Subject: Re: Simple command to reset / clear all logs? > > Polytropon writes: > > > On Thu, 13 Jan 2011 20:11:03 -0600, Adam Vande More > > wrote: > >> Amusing, but you're the one full of shit. There's more things to > >> automatic log file creation than are thought of in your imagination. > > > > Adam, > > > > I think Robert is right at least in regards of SOME programs that use > > syslogd for logging OR do the logging stuff on their own. > > I think that newsyslog will create the new log files if specified in the > /etc/newsyslog.conf file. That might be the confusion about some log > files being created automatically but others not. The newsyslog.conf(5) > manpage mentions a 'C' flag that can be specified. BINGO! Furthermore 'newsyslog' is *NOT* part of the Unix 'standard'. You _cannot_ count on it being present on every/all Unix system. Newsyslog is also -not- a 'logging service'. 'syslogd' is the logging service, and syslogd does -not- create any files mentioned in its .conf file. Newsyslog, itself, doesn't even consult the syslog.conf file. It operates entirely independantly o , and _tolally_ignorantly_ of, what syslogd does. _IF_ 'newsyslog' exists, and is configured to run at system start-up, =and= the logfile in question is also configured in the newsyslog.conf file, *AND* that logfile entry has the 'C' {create if missing} flag set, _THEN_AND_ONLY_THEN_ will the file get created when the system transitions into multi-user mode. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 07:38:26 2011 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 4A4DB1065672 for ; Fri, 14 Jan 2011 07:38:26 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by mx1.freebsd.org (Postfix) with ESMTP id BDBB28FC12 for ; Fri, 14 Jan 2011 07:38:25 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBACuIL02WZWdv/2dsb2JhbAAM4zuFTwQ Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.144]) ([150.101.103.111]) by ipmail04.adl6.internode.on.net with ESMTP; 14 Jan 2011 17:53:07 +1030 From: Wayne Sierke To: Polytropon In-Reply-To: <20110114071712.c7a7fe7e.freebsd@edvax.de> References: <20110113062819.4ecb89d9.freebsd@edvax.de> <201101140022.p0E0MIW8029158@mail.r-bonomi.com> <20110114071712.c7a7fe7e.freebsd@edvax.de> Content-Type: text/plain; charset="ASCII" Date: Fri, 14 Jan 2011 17:53:04 +1030 Message-ID: <1294989784.2037.79.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: awk question: replacing "%d%s" by "%d %s" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ws@au.dyndns.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 07:38:26 -0000 On Fri, 2011-01-14 at 07:17 +0100, Polytropon wrote: > On Thu, 13 Jan 2011 18:22:18 -0600 (CST), Robert Bonomi wrote: > > True. But > > sub(nr,"[a-z]"," &"); > > > > does the trick. (tested on Freebsd 7.2) > > > > Explamation: "&" is a 'replacement side' magic incantation to the regex > > library that means 'that which was matched by the pattern regex'. > > Doesn't work on my 7-STABLE system (20080811), awk stops: > > awk: syntax error at source line 78 source file konvertieren.awk > context is > sub(nr, "[a-z]", " >>> &" <<< ); > awk: illegal statement at source line 79 source file konvertieren.awk > > But I'll keep your suggestion in the program source and test > it on 8 as soon as my "new" home system is ready to use. At > least, the & variant looks much better. I suspect it is a transcription error by Robert in his email. >From man awk: sub(r, t, s) substitutes t for the first occurrence of the regular expression r in the string s. If s is not given, $0 is used. So the correct syntax is: sub("[a-z]", " &", nr) Wayne From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 07:47:15 2011 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 8472A1065675 for ; Fri, 14 Jan 2011 07:47:15 +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 441D88FC19 for ; Fri, 14 Jan 2011 07:47:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id B1F2C1DB37; Fri, 14 Jan 2011 08:47:13 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0E7lCu8005030; Fri, 14 Jan 2011 08:47:12 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jan 2011 08:47:11 +0100 From: Polytropon To: ws@au.dyndns.ws Message-Id: <20110114084711.0e76b8c2.freebsd@edvax.de> In-Reply-To: <1294989784.2037.79.camel@predator-ii.buffyverse> References: <20110113062819.4ecb89d9.freebsd@edvax.de> <201101140022.p0E0MIW8029158@mail.r-bonomi.com> <20110114071712.c7a7fe7e.freebsd@edvax.de> <1294989784.2037.79.camel@predator-ii.buffyverse> 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, Robert Bonomi Subject: Re: awk question: replacing "%d%s" by "%d %s" 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: Fri, 14 Jan 2011 07:47:15 -0000 On Fri, 14 Jan 2011 17:53:04 +1030, Wayne Sierke wrote: > I suspect it is a transcription error by Robert in his email. > > From man awk: > > sub(r, t, s) > substitutes t for the first occurrence of the regular > expression > r in the string s. If s is not given, $0 is used. > > > So the correct syntax is: > > sub("[a-z]", " &", nr) Works in this version, thanks! Reduction of 7 lines of code. sub(from, to, where); is the correct form. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 08:38:04 2011 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 D5318106567A for ; Fri, 14 Jan 2011 08:38:04 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 901568FC18 for ; Fri, 14 Jan 2011 08:38:04 +0000 (UTC) Received: by yxh35 with SMTP id 35so1068424yxh.13 for ; Fri, 14 Jan 2011 00:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=4WEOJWwWebOZNqwqixsJ+0Z7YJVyR7jgqW4SE+xGOcU=; b=CuaABTa5TQw6hvpPQEfxWejeQ/fRAPSoP/DRmKM7EYRLSMh0VixmhHRdF2LBv8Ar56 bAcllHedjtmna5tDh54niPK56F7eAYM//fBSo2GQnXd0iMFkFM68vqxuKAlpytT8R+11 R+/RFbpnlHIpew2+UGcnXy/ohGSPoDjBxUe+g= 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=jLWHxOorIYmtsoMle6HoPD65YP7rMhnPyTzzGPtLdrIqt4GqP9eqYSorj86bLZo1qU zgk9Qr239n8J3P247aWKa3n2lXZiLjjSL770MXEJ6d0J7a6qHMM2IRG/uO2kV2XcFf+G dIGkybp5Eai98K0JiEfuyNlWmLUGGIVwx2hPI= MIME-Version: 1.0 Received: by 10.91.27.32 with SMTP id e32mr840065agj.37.1294994283387; Fri, 14 Jan 2011 00:38:03 -0800 (PST) Received: by 10.90.71.14 with HTTP; Fri, 14 Jan 2011 00:38:02 -0800 (PST) In-Reply-To: <20110113203821.GA3646@libertas.local.camdensoftware.com> References: <4D2F606D.6090407@gmail.com> <20110113203821.GA3646@libertas.local.camdensoftware.com> Date: Fri, 14 Jan 2011 09:38:02 +0100 Message-ID: From: David DEMELIER To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 08:38:04 -0000 2011/1/13 Chip Camden : > Quoth David Demelier on Thursday, 13 January 2011: >> Hello folks, >> >> I'm just guessing if there is a way to know a FreeBSD installation date. >> We can't look after the uname -a ident since an update of the FreeBSD >> kernel is possible. >> >> I think searching a file absolutely not touched ever in the system can >> helps but which one? >> >> markand@Melon ~ $ ls -l /root/.cshrc >> -rw-r--r-- =C2=A02 root =C2=A0wheel =C2=A0798 19 Jul 04:17 /root/.cshrc >> >> It seems that this file has the FreeBSD dist access time so can't refers >> to neither. >> >> Do you have any clue? >> >> Cheers, >> >> -- >> David Demelier >> _______________________________________________ >> 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" > > The date on the /home symlink reflects my install date. =C2=A0I don't thi= nk > anything would touch that. > > -- > Sterling (Chip) Camden =C2=A0 =C2=A0| sterling@camdensoftware.com | 2048D= /3A978E4F > http://camdensoftware.com | http://chipsquips.com =C2=A0 =C2=A0 =C2=A0 | = http://chipstips.com > And to be sure that anything can touch it you can add the the `uchf' flag to the symlink : markand@Melon ~ $ ls -l /home lrwxr-xr-x 1 root wheel 8 11 Jan 2011 /home -> usr/home markand@Melon ~ $ sudo chflags uchg /home markand@Melon ~ $ sudo touch /home touch: /home: Operation not permitted But be careful, apply `uchg' flag on /home and not /home/. --=20 Demelier David From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 08:44:19 2011 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 50A16106566B for ; Fri, 14 Jan 2011 08:44:19 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D882A8FC13 for ; Fri, 14 Jan 2011 08:44:18 +0000 (UTC) Received: by eyf6 with SMTP id 6so1290393eyf.13 for ; Fri, 14 Jan 2011 00:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=gYzY8mXXj82N0PY4kL7t8Q2hznzPUP4QHDtbX7TDSr8=; b=H79dgshlHgQu3sNzpXp6y60gjM7Eyq2r0jcRazJGCRNETovx5FyuDXWXNptmqs4FiL z5qJj9PE/VEAGAKjVou5WTJ0yTHBPS8W/ScYuj/XdS2gGuuiPLk30dmzC8ZVEiROBFak okgw59VIO0tRvmCZXAzUmZmguDFhzzfIAn+O8= 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=LdjTle+XcH7k5DhcjPuZ+esHoaYaU9TnK09s/BQ78Z6X7c7ErkjVjuerRRBKnUO+JT 2Bl/PC/YMN4WAJZ0TVGdSJueBINnbnUL9XaGebXRQqZr7iwM99I9wEhlAl/c60XEHMgu 5fdWKZjcF+L15seNRvhssxbwK3sWEKZku454o= Received: by 10.213.28.69 with SMTP id l5mr567951ebc.13.1294994657651; Fri, 14 Jan 2011 00:44:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.22.79 with HTTP; Fri, 14 Jan 2011 00:43:57 -0800 (PST) In-Reply-To: References: <4D2F606D.6090407@gmail.com> <20110113203821.GA3646@libertas.local.camdensoftware.com> From: n j Date: Fri, 14 Jan 2011 09:43:57 +0100 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 08:44:19 -0000 >>> I'm just guessing if there is a way to know a FreeBSD installation date. >>> We can't look after the uname -a ident since an update of the FreeBSD >>> kernel is possible. How about looking at /proc or /mnt? On a couple of my boxes that I checked, those files came up being the oldest and probably match the installation date. -- Nino From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 09:01:26 2011 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 1243E106566B for ; Fri, 14 Jan 2011 09:01:26 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id DFA048FC1B for ; Fri, 14 Jan 2011 09:01:25 +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 p0E91Oqb052382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 14 Jan 2011 01:01:24 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p0E91OtR052381; Fri, 14 Jan 2011 01:01:24 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA18652; Fri, 14 Jan 11 00:58:46 PST Date: Fri, 14 Jan 2011 00:58:06 -0800 From: perryh@pluto.rain.com To: xaero@xaerolimit.net Message-Id: <4d30101e.UerCiI6ZYMfbsVlm%perryh@pluto.rain.com> References: <000301cbb307$49788810$dc699830$@com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: swegill@gmail.com, ken@mthelicon.com, freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 14 Jan 2011 09:01:26 -0000 Chris Brennan wrote: > ... I believe rm (-f) still requires *SOME* free space on a device > to delete something. That being said, do you have more then 50G > free elsewhere on the system? Say /home (/usr/home)? If you do, mv > the file from /var/log to /usr/home. This would effectively delete > it from /var/log and free up it's space ... Er, had you considered that mv, when the target and source are on different filesystems, does a cp followed by an rm? If rm requires free space -- which I very much doubt on UFS unless a snapshot exists -- the rm step of the mv is going to run into exactly the same problem that the standalone rm runs into. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 09:24:08 2011 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 EF4631065670 for ; Fri, 14 Jan 2011 09:24:08 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id B59858FC1E for ; Fri, 14 Jan 2011 09:24:08 +0000 (UTC) Received: from PortaPegIII (hydra.fletchermoorland.co.uk [78.33.209.59]) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.3) with ESMTP id p0E9O4n2014001; Fri, 14 Jan 2011 09:24:05 GMT (envelope-from ken@mthelicon.com) From: "Pegasus Mc Cleaft" To: , References: <000301cbb307$49788810$dc699830$@com> <4d30101e.UerCiI6ZYMfbsVlm%perryh@pluto.rain.com> In-Reply-To: <4d30101e.UerCiI6ZYMfbsVlm%perryh@pluto.rain.com> Date: Fri, 14 Jan 2011 09:24:08 -0000 Message-ID: <002601cbb3cc$cce32690$66a973b0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acuzya/VmJPh3QEyT3itTY45hqdjCAAArC9g Content-Language: en-gb X-Spam-Status: No, score=0.9 required=15.0 tests=BAYES_00,DOS_OUTLOOK_TO_MX, FSL_HELO_NON_FQDN_1 autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hercules.mthelicon.com Cc: swegill@gmail.com, freebsd-questions@freebsd.org Subject: RE: httpd-modsec2_debug.log: Operation not permitted 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, 14 Jan 2011 09:24:09 -0000 >> ... I believe rm (-f) still requires *SOME* free space on a device >> to delete something. That being said, do you have more then 50G >> free elsewhere on the system? Say /home (/usr/home)? If you do, mv >> the file from /var/log to /usr/home. This would effectively delete >> it from /var/log and free up it's space ... > >Er, had you considered that mv, when the target and source are on >different filesystems, does a cp followed by an rm? If rm requires >free space -- which I very much doubt on UFS unless a snapshot >exists -- the rm step of the mv is going to run into exactly the >same problem that the standalone rm runs into. If this is the case, what about just using truncate to set the file size to zero? truncate -s 0K httpd-modsec2_debug.log Or cat /dev/null > httpd-modsec2_debug.log Best regards, Peg From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 09:27:28 2011 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 045061065672 for ; Fri, 14 Jan 2011 09:27:28 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE488FC22 for ; Fri, 14 Jan 2011 09:27:27 +0000 (UTC) Received: by wyf19 with SMTP id 19so2647892wyf.13 for ; Fri, 14 Jan 2011 01:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IgwcrpUKAGmnMNxntv7pQJKmCeVuhsf2ZocoA81+dFY=; b=sdZUqA9Q2ToPkQW4sv58mMVRw6JrUrL8otvGiaiysUygPX0brySw3cNuzOh15Px47n JEOF1k57pXzwMPdXc7n5ygdDk2d4c9WG16HT09lOcZMifgQ2RLyjvgsZwCyLhLIhzpLv pl/N2q62I2qkScMMvmyBQ5auf/mAfxo/KXLwE= 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=Z5KmJnKx45GFgqLjeUCCBVDdDFrY+/k4xPJpbSWbRxFqidOBGab3dk4PonppinlOM7 D5YUHOMVK1k/UFf9FW9cLozq3fOrFms2r8LGGdsYloEPsL66ed2qRCdmu7VEuza1Iyop 9Xg/aLscyt+Fw0l/0T6KqR3S+PFKVzf8DMN3I= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr1540641wec.29.1294997246439; Fri, 14 Jan 2011 01:27:26 -0800 (PST) Received: by 10.216.229.73 with HTTP; Fri, 14 Jan 2011 01:27:26 -0800 (PST) In-Reply-To: <20110113203456.GA1204@tiny.Sisis.de> References: <4D2F606D.6090407@gmail.com> <20110113203456.GA1204@tiny.Sisis.de> Date: Fri, 14 Jan 2011 09:27:26 +0000 Message-ID: From: krad To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 09:27:28 -0000 On 13 January 2011 20:34, Matthias Apitz wrote: > El d=EDa Thursday, January 13, 2011 a las 09:28:29PM +0100, David Demelie= r > escribi=F3: > > > Hello folks, > > > > I'm just guessing if there is a way to know a FreeBSD installation date= . > > We can't look after the uname -a ident since an update of the FreeBSD > > kernel is possible. > > > > I think searching a file absolutely not touched ever in the system can > > helps but which one? > > > > markand@Melon ~ $ ls -l /root/.cshrc > > -rw-r--r-- 2 root wheel 798 19 Jul 04:17 /root/.cshrc > > > > It seems that this file has the FreeBSD dist access time so can't refer= s > > to neither. > > > > Do you have any clue? > > I always use for this the oldest installed pkg: > > $ ls -lt /var/db/pkg > > HIH > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > _______________________________________________ > 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" > no good if packages have been updated From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 09:34:26 2011 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 85849106566B for ; Fri, 14 Jan 2011 09:34:26 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 44F8C8FC0C for ; Fri, 14 Jan 2011 09:34:25 +0000 (UTC) Received: from conversation.bsdunix.ch (localhost [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id 69AAA432C for ; Fri, 14 Jan 2011 09:19:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by conversation.bsdunix.ch (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LjO3yTULQv3r for ; Fri, 14 Jan 2011 09:19:13 +0000 (UTC) Received: from ernie.mlan.solnet.ch (ernie.mlan.solnet.ch [212.101.1.20]) by conversation.bsdunix.ch (Postfix) with ESMTPA id 015FF4324 for ; Fri, 14 Jan 2011 09:19:13 +0000 (UTC) Message-ID: <4D301510.5010100@bsdunix.ch> Date: Fri, 14 Jan 2011 10:19:12 +0100 From: Thomas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: NIS table and the local passwd are out of sync 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, 14 Jan 2011 09:34:26 -0000 Hello I hope someone can give me some hints on how to fix a NIS problem. My FreeBSD 7.2 (amd64) system works as NIS Server and a 8.1-STABLE (amd64) machine as a NIS client. It was configured as described at http://www.freebsd.org/doc/handbook/network-nis.html. Syncing between server and client works but there is a difference between NIS and the local administrative database (passwd). ypcat and ypmatch show more users than getent. Example: "ypmatch wwwfoo passwd" wwwfoo:*:46683:46683:WebAccount:/var/webs/foo.com:/bin/date "getent passwd | grep wwwfoo" returns nothing This is an issue since my apache doesn't work if all these users are not seen with getent. Any idea why all my users are in the nis table but are not seen by the system? Nscd is not running so it shouldn't be a cache issue. NIS client master.passwd: nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin +:*::::: nsswitch.conf: group: files nis group_compat: nis passwd: files nis passwd_compat: nis Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 14:14:14 2011 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 80A30106564A for ; Fri, 14 Jan 2011 14:14:14 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id D17BA8FC0C for ; Fri, 14 Jan 2011 14:14:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p0EEE84e040000; Sat, 15 Jan 2011 01:14:09 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 15 Jan 2011 01:14:08 +1100 (EST) From: Ian Smith To: Polytropon In-Reply-To: <20110114032629.8042C1065782@hub.freebsd.org> Message-ID: <20110115003107.O62193@sola.nimnet.asn.au> References: <20110114032629.8042C1065782@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Swe Gill , freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted 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, 14 Jan 2011 14:14:14 -0000 In freebsd-questions Digest, Vol 345, Issue 9, Message: 10 On Thu, 13 Jan 2011 23:35:26 +0100 Polytropon wrote: > On Thu, 13 Jan 2011 23:08:33 +0100, Swe Gill wrote: > > That is the problem. One file sizes upto 50GB and other 3 GB... > > > > 52872944 -rw-rw---- 1 root wheel 50G Jan 13 22:51 > > httpd-modsec2_audit.log > > 3320928 -rw-rw---- 1 root wheel 3.2G Jan 13 22:51 > > httpd-modsec2_debug.log > > > > I am just standing nowhere to remove the files.... > > > > have tried by setting flags, changing modes.... all as a root but no luck > > yet... > > > > Any help? > > Is your system running on a raised securelevel maybe? See > in "man security" where this is mentioned, section "SECURING > THE KERNEL CORE, RAW DEVICES, AND FILE SYSTEMS". It seems > that this could cause different behaviour in relation to flags. That's possible, but perhaps it may be simpler than that? > I will _not_ advise you to kill the files per inode (fsdb, > clri) because this could cause further filesystem trouble. :-) Indeed it could :) Swe, I suspect the reason you can't just delete these files is likely because something has them open for writing, and the system won't let you remove such files, naturally enough. See what you get by running: # fstat /path/to/httpd-modsec2_*.log If that shows any processes writing to those files, you need to stop that/those processes. From the filenames my guess would be apache, in which case you'd need to stop it, perhaps best by: # /usr/local/etc/rc.d/apache stop # or apache2, whatever it's called. then check again with fstat. If that doesn't work for some reason then: # shutdown now to single-user mode will terminate any process accessing those files. Either way, you can then rm safely, or probably better, truncate each to zero bytes (thus keeping their ownership and permissions intact) by eg: # echo -n '' > filename Then restart apache|whatever, or hit ^D or 'exit' to restart multiuser if you had to go that far to stop anything keeping those file/s open. As previously advised, configuring and running newsyslog (or logrotate or suitable others) to manage keeping logs to reasonable sizes is well worth implementing, now that you've been bitten. If you don't want to look at your logs too often or need blow-by-blow details, reducing the logging level to more severe problems may prove more useful longterm. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:32:20 2011 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 C14D3106566C for ; Fri, 14 Jan 2011 15:32:20 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 880FD8FC08 for ; Fri, 14 Jan 2011 15:32:20 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdldO-0006dd-HA for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 07:32:17 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 07:32:13 -0800 Date: Fri, 14 Jan 2011 07:32:13 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110114153212.GA21418@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113232321.5857ad0f@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 15:32:20 -0000 --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Carl Chave on Friday, 14 January 2011: > > I'd suggest looking at the Btimes of top level directories > > > > stat -f "%SB %N" /* >=20 > Or how about just / as this ~15 minutes earlier than most of the > remaining top level directories >=20 >=20 > sodserve# stat -f "%SB %N" /* > Jan 9 04:54:21 2011 /COPYRIGHT > Jan 9 04:54:21 2011 /bin > Jan 9 04:54:21 2011 /boot > Dec 31 18:59:59 1969 /dev > Jan 9 04:54:21 2011 /etc > Jan 9 04:54:21 2011 /lib > Jan 9 04:54:21 2011 /libexec > Jan 9 04:54:21 2011 /media > Jan 9 04:54:21 2011 /mnt > Jan 9 04:54:21 2011 /proc > Jan 9 04:54:21 2011 /rescue > Jan 9 04:54:21 2011 /root > Jan 9 04:54:21 2011 /sbin > Jan 9 04:54:21 2011 /sys > Jan 9 04:48:39 2011 /tmp > Jan 9 04:48:45 2011 /usr > Jan 9 04:49:39 2011 /var >=20 > sodserve# stat -f "%SB %N" / > Jan 9 04:39:59 2011 / For me, that gets the Nov 21 2009 date, which is earlier than my install date. So far, /etc/hostid and the /home symlink seem to be the winners. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNMGx8AAoJEIpckszW26+R7toH/2glATlyNSGiXL8X+7aeIKCL GpXZS0Q3SwVKD70tHQ0D7NXv/fLtbkCrZEiz6YG4OjowS3M/EISYLVHYSKF/rrbr TnWOawJ/geYDTwIWv2Nwcg+T3+PsyVCcFlfoq0SJyByjWsMRi6WhFQMztVss06BL zSlleVDq6G1mofcyS0/w/UCF2Jo70XnfsCqIsBbst0wgJ2OLlQ+8VbFvKYS/xIeG lp6xRGONHC3U6m5rtwuiuGFHtf3mZm+eTrDQ7p+pln+GK22zDMeUv2aFc9GAvXCW DZCYJ0/7waIjEIwcVuy8iXXEeF/ezcuCNGTzW/S/YU3N2sgRpM1PATdtvY4V3rI= =0c3M -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:37:00 2011 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 164A41065670 for ; Fri, 14 Jan 2011 15:37:00 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id DD40F8FC18 for ; Fri, 14 Jan 2011 15:36:59 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pdlhw-0006zN-36 for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 07:36:57 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 07:36:55 -0800 Date: Fri, 14 Jan 2011 07:36:55 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110114153655.GB21418@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113203821.GA3646@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 15:37:00 -0000 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth David DEMELIER on Friday, 14 January 2011: > 2011/1/13 Chip Camden : > > > > The date on the /home symlink reflects my install date. =A0I don't think > > anything would touch that. > > > > -- > > Sterling (Chip) Camden =A0 =A0| sterling@camdensoftware.com | 2048D/3A9= 78E4F > > http://camdensoftware.com | http://chipsquips.com =A0 =A0 =A0 | http://= chipstips.com > > >=20 > And to be sure that anything can touch it you can add the the `uchf' > flag to the symlink : >=20 > markand@Melon ~ $ ls -l /home > lrwxr-xr-x 1 root wheel 8 11 Jan 2011 /home -> usr/home > markand@Melon ~ $ sudo chflags uchg /home > markand@Melon ~ $ sudo touch /home > touch: /home: Operation not permitted >=20 > But be careful, apply `uchg' flag on /home and not /home/. >=20 > --=20 > Demelier David Touch=E9. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNMG2XAAoJEIpckszW26+RHZIH/iENkC1I0gY/KjiVl+TlMFLO 6c5pxXWPybvh5AYZhgrnQe39TJAWYJJ7AJVaKl5igvU74ymepPONBkctVS+MnkPq UltTtonCybxgrMyOfbbiPCfKpl+9qOwHyd9NGXT2L6K+v4CD0msMF8tEywn7IF+f SCqszblkXp6/mC64wQublrCvtXr5Q96qHlUOr7OyTsmyjfGGZ4HJYXvB3zqrjJU3 21szp0Sy6Q5YR90AJ0KmfL/CgYeWPt0bfpmr0IBAhOpCGoIQnzKIJj2NWCuF2sn1 JKQdXvWf95PaFZw1MGpfNbaByL/NyJewRWMUgmsAMgnIoi+xR+GI53TQywY1TzU= =IBjk -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:37:30 2011 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 3028E106566C for ; Fri, 14 Jan 2011 15:37:30 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id BC3F68FC1E for ; Fri, 14 Jan 2011 15:37:29 +0000 (UTC) Received: by eyf6 with SMTP id 6so1426946eyf.13 for ; Fri, 14 Jan 2011 07:37:28 -0800 (PST) Received: by 10.213.31.209 with SMTP id z17mr849843ebc.12.1295019448379; Fri, 14 Jan 2011 07:37:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.8.142 with HTTP; Fri, 14 Jan 2011 07:37:08 -0800 (PST) In-Reply-To: <87hbdc4ddd.fsf@oak.localnet> References: <4D2F606D.6090407@gmail.com> <20110113204525.GB3646@libertas.local.camdensoftware.com> <579FC70C-5B5B-43B4-9E71-D765887FAF6F@mac.com> <20110113210319.GD3646@libertas.local.camdensoftware.com> <1294955182.10908.14.camel@localhost.localdomain> <2062F50F-5D14-496C-A97A-FC4CDB3FDD3F@mac.com> <20110113233016.5de7b7b8.freebsd@edvax.de> <87hbdc4ddd.fsf@oak.localnet> From: Chris Brennan Date: Fri, 14 Jan 2011 10:37:08 -0500 Message-ID: To: Carl Johnson Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 15:37:30 -0000 On Thu, Jan 13, 2011 at 6:01 PM, Carl Johnson wrote: > How about /var/empty: > > % ls -ldo /var/empty/ > dr-xr-xr-x 2 root wheel schg 512 Jul 18 19:16 /var/empty/ > > It can be changed, but doesn't look likely. > > Ivan's e-mail I think might be a little more accurate chris@ziggy.xaerolimit.net [~]# grep delta /etc/rc.conf && lsl /etc/hostid #-- sysinstall generated deltas -- # Sun Mar 8 19:10:02 2009 # -- sysinstall generated deltas -- # Tue Oct 26 02:15:25 2010 2 -rw-r--r-- 1 root wheel 37B Mar 9 2009 /etc/hostid chris@ziggy.xaerolimit.net [~]# whereas, your's gives me a date prior to that. chris@ziggy.xaerolimit.net [~]# ls -ldo /var/empty/ dr-xr-xr-x 2 root wheel schg 512 Jan 1 2009 /var/empty/ chris@ziggy.xaerolimit.net [~]# From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:37:49 2011 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 DF4C0106567A for ; Fri, 14 Jan 2011 15:37:49 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id B140E8FC27 for ; Fri, 14 Jan 2011 15:37:49 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pdlik-000737-6R for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 07:37:47 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 07:37:45 -0800 Date: Fri, 14 Jan 2011 07:37:45 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110114153745.GC21418@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113203821.GA3646@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 15:37:50 -0000 --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth n j on Friday, 14 January 2011: > >>> I'm just guessing if there is a way to know a FreeBSD installation da= te. > >>> We can't look after the uname -a ident since an update of the FreeBSD > >>> kernel is possible. >=20 > How about looking at /proc or /mnt? >=20 > On a couple of my boxes that I checked, those files came up being the > oldest and probably match the installation date. >=20 > --=20 > Nino For me, /proc is older, /mnt is newer, than the install date. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNMG3JAAoJEIpckszW26+RW1sH/RzlNSfXlh1680tj4xpK09NE kLDW7QVH7w9mRaJoZrDb4WI1nMaXafiLxGATRMdwe9DlP2VeBxn3xjfko3UdVmEN mxvWgwL7hnmFPzNAnfybDWsc2OaX6TbGw5AigQzsnoZ+UT8cELvSynwK2K/8MwmC 03NA52nGK3WzFx96vt23keywqLC5GSFlTXQHjxBkgphdTrg9czB/hmi1gvBsQtNk J1VFQbq9mbRRqJY7hlPM0XA3FxBQkXXgN6h1MwDuZkX3rd7wFruZ/wvCw3DGtemB 24u3sCuKmEtv+iXTICjDa2s21Vzx1FoUG3BHny6P3gNuj66iSjABOF+b44bJSGM= =RbsV -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:50:16 2011 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 C5C6A1065670 for ; Fri, 14 Jan 2011 15:50:16 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 877D58FC25 for ; Fri, 14 Jan 2011 15:50:16 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pdlum-00082G-SL for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 07:50:13 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 07:50:11 -0800 Date: Fri, 14 Jan 2011 07:50:11 -0800 From: Chip Camden To: User Questions Message-ID: <20110114155011.GD21418@libertas.local.camdensoftware.com> Mail-Followup-To: User Questions References: <201101121758.12869.rjgonzale@estrads.com.ar> <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> <20110114024115.GC17091@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5gxpn/Q6ypwruk0T" Content-Disposition: inline In-Reply-To: <20110114024115.GC17091@thought.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Which php?? 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, 14 Jan 2011 15:50:16 -0000 --5gxpn/Q6ypwruk0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Gary Kline on Thursday, 13 January 2011: >=20 > I have saved a copy of the original config page and have some > questions that I'll need for when I write up my readable > tutorial page. -----I don't think many of you know that for > heading toward 7 years, I was the lead writer for a Q/A help page > for newcomers to FreeBSD. We all can write; it isn't that > difficult. But I spent/wasted 15 years of banging away on a > typewriter writing stuff and editing stuff before I got > seriously lucky and discovered computers. I will need help > from the rest of the list and readers to make my HOW-TO INSTALL=20 > WORDPRESS strictly first-rate. Given that, I should be the last > person to *ever* invest going into four days on this kind of > effort. That said, a straight-up thanks for y'all who have > helped me with this.----- >=20 >=20 When you get a rough draft done, I'll be glad to walk through it and note any issues. I've been meaning to attempt a WordPress installation on FreeBSD for testing purposes (all my live sites are hosted on a managed system that came with Apache and PHP already configured). --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --5gxpn/Q6ypwruk0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNMHCzAAoJEIpckszW26+RUywIALa0GQhQlXaMI8AWZuAMzJLc W01lhly7LswVUMaWoMnIQNmkZpwpOJ9xgDUek2tm1FmDhVhbv1JpepZQBP0KGwma emlVCbzv0EZg/1oOFS4NCZcKxM4nLQgp4EGRBY3YL/NUEGmO4YEy+BStMnNNX3nE dO+k8mBopGeY9sbwk1uhm/zpd8pmfQnCTw/jxdWsNkrMH0fUpXEm1OCoWw3hjX5L QCQGRt9UA6fdor3rOPJkf3CekkZ29HyCR7X53+xnt+iJrR5+w0dYJt7qTu0eQf8j BqFOn1/gWIC4jZgFKKIbs0PknQzeBm2Kxh33urNwQkg0gGSti8nHfiXh2jPrmpg= =JSo6 -----END PGP SIGNATURE----- --5gxpn/Q6ypwruk0T-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 16:07:19 2011 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 2D023106567A for ; Fri, 14 Jan 2011 16:07:19 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B17628FC1B for ; Fri, 14 Jan 2011 16:07:18 +0000 (UTC) Received: by ewy24 with SMTP id 24so1446280ewy.13 for ; Fri, 14 Jan 2011 08:07:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=T3sCNe2ogweLSlpmjERHpOAVRpDomTO2dicf8lssmhA=; b=I8GQIpkECkZCLKYpEArfNQ6QAKGzD1ZCrEprXeQI3U3K8Y1lfRnH4s3BwuGRvYYuPX oYn502T2xV+yi8G6TOwdEMXhEBqEudhXwa5vMUP03APArVln43vy+UlRwn8uyR5BkbVO fcXqpbeuuQl2CeJpamh2yUvQXKEQnzzY50P/M= 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=kmnU11d5+1Jp3h8hHKPusngqF6NtKZzb37MJQGhNKisp/h5PSdtXA4B4owUc3rZXFK grphmayn80W/1VmQL1dn0IMYLdNYA7I9z/ey9jdxe6xNgEhgzF4dj+MlcJz1r1RVtoSL fwZ6VvEMsD78dKgDo5hkZYtVKJlgWNWRGThDY= MIME-Version: 1.0 Received: by 10.216.10.208 with SMTP id 58mr433777wev.14.1295021237123; Fri, 14 Jan 2011 08:07:17 -0800 (PST) Received: by 10.216.229.73 with HTTP; Fri, 14 Jan 2011 08:07:16 -0800 (PST) In-Reply-To: <20110114153745.GC21418@libertas.local.camdensoftware.com> References: <4D2F606D.6090407@gmail.com> <20110113203821.GA3646@libertas.local.camdensoftware.com> <20110114153745.GC21418@libertas.local.camdensoftware.com> Date: Fri, 14 Jan 2011 16:07:16 +0000 Message-ID: From: krad To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 16:07:19 -0000 On 14 January 2011 15:37, Chip Camden wrote: > Quoth n j on Friday, 14 January 2011: > > >>> I'm just guessing if there is a way to know a FreeBSD installation > date. > > >>> We can't look after the uname -a ident since an update of the FreeBSD > > >>> kernel is possible. > > > > How about looking at /proc or /mnt? > > > > On a couple of my boxes that I checked, those files came up being the > > oldest and probably match the installation date. > > > > -- > > Nino > > For me, /proc is older, /mnt is newer, than the install date. > > -- > Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F > http://camdensoftware.com | http://chipsquips.com | > http://chipstips.com > its nice to know the installation date, but im not sure what it gains you technically. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 16:44:20 2011 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 0BE691065693 for ; Fri, 14 Jan 2011 16:44:20 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [216.194.67.64]) by mx1.freebsd.org (Postfix) with ESMTP id E375B8FC1B for ; Fri, 14 Jan 2011 16:44:19 +0000 (UTC) Received: from sentry.24cl.com (c-76-28-47-52.hsd1.ct.comcast.net [76.28.47.52]) by oneyou.mcmli.com (Postfix) with ESMTP id 10A91284C2 for ; Fri, 14 Jan 2011 11:26:14 -0500 (EST) Received: from BigBloat (unknown [10.23.90.40]) by sentry.24cl.com (Postfix) with ESMTP id B5C1D527C8 for ; Fri, 14 Jan 2011 11:26:13 -0500 (EST) Message-ID: <201101141126090067.0045B58A@sentry.24cl.com> In-Reply-To: <4D2FC12E.4060902@hdk5.net> References: <3.0.1.32.20110113102034.00eed690@sage-american.com> <4D2FC12E.4060902@hdk5.net> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Fri, 14 Jan 2011 11:26:09 -0500 From: "Mike." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Subject: Re: zoneedit.com 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, 14 Jan 2011 16:44:20 -0000 On 1/13/2011 at 5:21 PM Al Plant wrote: |Jack L. Stone wrote: |> I have used zoneedit.com's DNS zone service for about 9 years and it |> handles a number of static IPs for my companies. |> |> Now, suddenly they have created a "new platform" and migrating accounts |> from the legacy platform to the new. The legacy site doen't work anymore, |> just confirms account and redirects to the new site. |> |[snip] |> |Aloha Jack, | |Yes, I use Zone Edit. | | | |I just had to email them at Support:> support@zoneedit.com |and Paul T. sent me this link to the legacy site as they havent migrated |all the DNS. > http://www.zoneedit.com/auth/ ============= I wish zoneedit were as responsive for me. I sent in an email to support yesterday and all I've gotten back so far was the robot acknowledgement. Based upon this thread, I don't find that encouraging. I am locked out and I need access to the account so I can make a DNS change. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 17:23:43 2011 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 131B0106564A for ; Fri, 14 Jan 2011 17:23:43 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9721A8FC18 for ; Fri, 14 Jan 2011 17:23:42 +0000 (UTC) Received: by wwf26 with SMTP id 26so3118821wwf.31 for ; Fri, 14 Jan 2011 09:23:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=PjH+gdFRNprBocXOeVHquW0x04PryOUUP3spOkrrv/k=; b=UHtqplRiN0yWg05bNsbJIHv0G5fX6QfCPupRhh0JRAk6W9jYw0WXZy8u8EXKvX1uKb edPurkkRKsufiwIxpoPJioFQAqUNwG13qljqSe63Rgin/PW+Xu07yVOaUegTTNO6Bcd0 BPJpzr9/ZFa7W2Xbr27q0ScvtTqlfFJxS4m8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZY5L49jkdCWO05+hqpi7rTLvh3RuH3Tm5CSJyxBek5ZLV2jbka7a6b1w8ODB0QwuFF O26iVyocH1XpQ5hbqyLfWgwTvWpqmENLb/jY435XXOqlfY1JQF0PJTi5SYVgltqscBlR yQ2rcor3VScs43sdZgB5AhK3x5oITvmWTlAzk= Received: by 10.227.135.201 with SMTP id o9mr1002893wbt.34.1295025821525; Fri, 14 Jan 2011 09:23:41 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n11sm794069wej.19.2011.01.14.09.23.39 (version=SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 09:23:39 -0800 (PST) Date: Fri, 14 Jan 2011 17:23:37 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110114172337.523231ab@gumby.homeunix.com> In-Reply-To: <20110114153212.GA21418@libertas.local.camdensoftware.com> References: <4D2F606D.6090407@gmail.com> <20110113232321.5857ad0f@gumby.homeunix.com> <20110114153212.GA21418@libertas.local.camdensoftware.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 17:23:43 -0000 On Fri, 14 Jan 2011 07:32:13 -0800 Chip Camden wrote: > > sodserve# stat -f "%SB %N" /* > > Jan 9 04:54:21 2011 /COPYRIGHT > > Jan 9 04:54:21 2011 /bin > > Jan 9 04:54:21 2011 /boot > > Dec 31 18:59:59 1969 /dev > > Jan 9 04:54:21 2011 /etc > > Jan 9 04:54:21 2011 /lib > > Jan 9 04:54:21 2011 /libexec > > > > sodserve# stat -f "%SB %N" / > > Jan 9 04:39:59 2011 / > > For me, that gets the Nov 21 2009 date, which is earlier than my > install date. > > So far, /etc/hostid and the /home symlink seem to be the winners. > I think you'd have to look at a few dates. hostid hasn't been around all that long, so it could have the date of the first boot after the change was picked-up. There are legitimate reasons for modifying or creating a /home symlink. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 17:56:42 2011 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 635B7106564A for ; Fri, 14 Jan 2011 17:56:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 317678FC13 for ; Fri, 14 Jan 2011 17:56:41 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id E37D2E808D5; Fri, 14 Jan 2011 09:56:40 -0800 (PST) Date: Fri, 14 Jan 2011 09:56:40 -0800 From: Gary Kline To: User Questions Message-ID: <20110114175640.GA3637@thought.org> References: <20110112203503.GA22381@thought.org> <4D2E32AF.4000008@ifdnrg.com> <20110113001854.GA55758@thought.org> <48221D4A-A7DB-4EE5-B6CC-670DCFA68BAD@panix.com> <20110113211406.GA15406@thought.org> <4D2F71D0.1080307@ifdnrg.com> <20110113223610.GA17091@thought.org> <4D2F80A2.1050607@ifdnrg.com> <20110114024115.GC17091@thought.org> <20110114155011.GD21418@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110114155011.GD21418@libertas.local.camdensoftware.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Which php?? 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, 14 Jan 2011 17:56:42 -0000 On Fri, Jan 14, 2011 at 07:50:11AM -0800, Chip Camden wrote: > Quoth Gary Kline on Thursday, 13 January 2011: > > > > I have saved a copy of the original config page and have some > > questions that I'll need for when I write up my readable > > tutorial page. -----I don't think many of you know that for > > heading toward 7 years, I was the lead writer for a Q/A help page > > for newcomers to FreeBSD. We all can write; it isn't that > > difficult. But I spent/wasted 15 years of banging away on a > > typewriter writing stuff and editing stuff before I got > > seriously lucky and discovered computers. I will need help > > from the rest of the list and readers to make my HOW-TO INSTALL > > WORDPRESS strictly first-rate. Given that, I should be the last > > person to *ever* invest going into four days on this kind of > > effort. That said, a straight-up thanks for y'all who have > > helped me with this.----- > > > > > > When you get a rough draft done, I'll be glad to walk through it and note > any issues. I've been meaning to attempt a WordPress installation on > FreeBSD for testing purposes (all my live sites are hosted on a managed > system that came with Apache and PHP already configured). > > -- > Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F > http://camdensoftware.com | http://chipsquips.com | http://chipstips.com I'm already making notes, outlining stuff. The starting point is that the user ALREADY has his own website[s]. It occured to me while I was soaking away the pains in my antique bones last night that in order to sho wthe BSD user howto host his own installation of wordpress _from scratch*, i would need to cover mysql, php5, _Plus_ the slew of stuff that has to do with apache and DNS .... and the whole truckload of stuff. Too much. (There really is a great wealth of knowledge in us as a group; we could create an online self-published how-to book and sell on amazon.com ---every penny going to the FBSD Foundation.) Still, other than having an up-to-date ports tree; my how-to will include things like having the right mysql, php5-mysql, and unpacking the wordpress files in the right place. --Oh, and selling up the database stuff too. gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 18:30:10 2011 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 5477D106566C for ; Fri, 14 Jan 2011 18:30:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 189BB8FC13 for ; Fri, 14 Jan 2011 18:30:09 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 16187E808D5; Fri, 14 Jan 2011 10:30:08 -0800 (PST) Date: Fri, 14 Jan 2011 10:30:08 -0800 From: Gary Kline To: Robert Bonomi Message-ID: <20110114183008.GA4663@thought.org> References: <20110114041025.65ed6a67.freebsd@edvax.de> <201101140329.p0E3TkIm030593@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101140329.p0E3TkIm030593@mail.r-bonomi.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@freebsd.org Subject: Re: Which php?? 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, 14 Jan 2011 18:30:10 -0000 On Thu, Jan 13, 2011 at 09:29:46PM -0600, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Jan 13 21:16:20 2011 > > Date: Fri, 14 Jan 2011 04:10:25 +0100 > > From: Polytropon > > To: Gary Kline > > Cc: User Questions > > Subject: Re: Which php?? > > > > On Thu, 13 Jan 2011 18:41:15 -0800, Gary Kline wrote: > > > I cut/pasted part of the config page to a yello w notepad. It > > > unfortunately has those unfortunate DOS EOL things with the ^M. > > > > There's a simple answer to that waste of disk space (two bytes per line > > break!): > > Correct accounting is 'one _excess_ byte per line break'. > > > > recode cp437..iso8859 > > no need to install the port/package -- > > tr -d '\r' unixfile > > does the trick, with just a base install utility. Sure. I have that trick in my ~/.HowTo file. I also have a small program that converts every EOL to any other EOL. It is call cvt. This conflicts with another base utility named install, so what is a good shell script that would capture every file in every subdir? Maybe /bin/sh pointed at some loop: find . -type f * print; tr -d '\r' /tmp/unixfile mv /tmp/unixfile ./dosfile; IM _NSH_ Opinion, whoever threw in this wordpress port could have done this for us....... > > _______________________________________________ > 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 Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 18:46:06 2011 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 C0B991065695 for ; Fri, 14 Jan 2011 18:46:06 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F79E8FC0A for ; Fri, 14 Jan 2011 18:46:06 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.41]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20110114184605417 for ; Fri, 14 Jan 2011 18:46:05 +0000 X-RC-FROM: X-RC-RCPT: Received: from oak.localnet (207.55.91.159.peak.org [207.55.91.159] (may be forged)) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id p0EIk40p022250 for ; Fri, 14 Jan 2011 10:46:05 -0800 (PST) Received: from oak.localnet (localhost [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 808B2C77B for ; Fri, 14 Jan 2011 10:46:04 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id p0EIk49X058989; Fri, 14 Jan 2011 10:46:04 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <4D2F606D.6090407@gmail.com> <20110113232321.5857ad0f@gumby.homeunix.com> <20110114153212.GA21418@libertas.local.camdensoftware.com> Date: Fri, 14 Jan 2011 10:46:04 -0800 In-Reply-To: <20110114153212.GA21418@libertas.local.camdensoftware.com> (Chip Camden's message of "Fri, 14 Jan 2011 07:32:13 -0800") Message-ID: <87sjwv2uj7.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Date of a FreeBSD installation 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, 14 Jan 2011 18:46:06 -0000 Chip Camden writes: > Quoth Carl Chave on Friday, 14 January 2011: >> > I'd suggest looking at the Btimes of top level directories >> > >> > stat -f "%SB %N" /* >> >> Or how about just / as this ~15 minutes earlier than most of the >> remaining top level directories >> >> >> sodserve# stat -f "%SB %N" /* >> Jan 9 04:54:21 2011 /COPYRIGHT >> Jan 9 04:54:21 2011 /bin >> Jan 9 04:54:21 2011 /boot >> Dec 31 18:59:59 1969 /dev >> Jan 9 04:54:21 2011 /etc >> Jan 9 04:54:21 2011 /lib >> Jan 9 04:54:21 2011 /libexec >> Jan 9 04:54:21 2011 /media >> Jan 9 04:54:21 2011 /mnt >> Jan 9 04:54:21 2011 /proc >> Jan 9 04:54:21 2011 /rescue >> Jan 9 04:54:21 2011 /root >> Jan 9 04:54:21 2011 /sbin >> Jan 9 04:54:21 2011 /sys >> Jan 9 04:48:39 2011 /tmp >> Jan 9 04:48:45 2011 /usr >> Jan 9 04:49:39 2011 /var >> >> sodserve# stat -f "%SB %N" / >> Jan 9 04:39:59 2011 / > > For me, that gets the Nov 21 2009 date, which is earlier than my > install date. > > So far, /etc/hostid and the /home symlink seem to be the winners. On my system /etc/hostid is several days later than my actual install date, so that isn't always reliable. You might want to create a file with the timestamp you want. The most likely time appears to me to be the 'Created' time in /etc/rc.conf, as someone suggested earlier. The following code will extract that and create a file with that timestamp. I have checked it on my system, but use at your own risk. file=/etc/install_date date=$(grep '^# Created: ' /etc/rc.conf | cut -c 12-80) tdate=$(date -j -f "%a %b %d %H:%M:%S %Y" "$date" "+%Y%m%d%H%M.%S") echo $date > $file touch -t $tdate $file chmod -w $file chflags schange $file -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:08:00 2011 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 34E7A106564A for ; Fri, 14 Jan 2011 19:08:00 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7308FC15 for ; Fri, 14 Jan 2011 19:07:59 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id B99BFE808D5; Fri, 14 Jan 2011 11:07:58 -0800 (PST) Date: Fri, 14 Jan 2011 11:07:58 -0800 From: "'kline@thought.org'" To: Gary Gatten Message-ID: <20110114190758.GA6031@thought.org> References: <22819_1294975571_4D2FC253_22819_94_1_D9B37353831173459FDAA836D3B43499A7AF9181@WADPMBXV0.waddell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22819_1294975571_4D2FC253_22819_94_1_D9B37353831173459FDAA836D3B43499A7AF9181@WADPMBXV0.waddell.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "'freebsd@edvax.de'" , "'freebsd-questions@freebsd.org'" Subject: Re: Which php?? 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, 14 Jan 2011 19:08:00 -0000 On Thu, Jan 13, 2011 at 09:26:10PM -0600, Gary Gatten wrote: > Is this a record for the longest thread ever? I've been ignoring it because I don't care much about php (relatively speaking), but I'm thinking ill have to read this thread and see what's so interesting! > Not _quite_ the longest thread, but maybe close. It is becausee I have been so pyst off at the way that wordpress was "ported." ANd because I actually have done a couple ports, the wp port could have been much better done. gary PS: i have more questions but will start another thread [!] > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:08:11 2011 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 8F6301065672 for ; Fri, 14 Jan 2011 19:08:11 +0000 (UTC) (envelope-from alessandro.baggi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA2D8FC0C for ; Fri, 14 Jan 2011 19:08:10 +0000 (UTC) Received: by wwf26 with SMTP id 26so3223167wwf.31 for ; Fri, 14 Jan 2011 11:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=+xS0OOWh+fh3MvLuOfp/fQg8e+BtnyG9iSMmsmiawmE=; b=ioF/slYnbINS23PcQAJxUNgfffIQ9feGUp3IGw0AeyGgDCOUWFywcAIdnTCIBTYzJ4 e7LnKaUhogr0sqlyexKuBOV02bkEBjwfaHPZ9Z/wCSF5iX/VBYwvoAi63rAAdMG9oqkT Lr38cdphvwPPOz1X0DTcYp3BnulormJzb++/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=PX8tFdtPZi1riLY8yHT4C3gwd6FCD+WbOhYZ8qHyXUUeY+OQ/6xblhPytX84Z0PeVY 8NtVFW8gp6A4LzXBUdE6seMXoAoUxhstqtG0z49wvbbXyG5jcE1Fwa1/LA/xLr9lMA10 Q5cLt+0P7S69dzy5vdzejdRJ6eMxWmNyReuO0= Received: by 10.216.64.1 with SMTP id b1mr1899915wed.77.1295030784370; Fri, 14 Jan 2011 10:46:24 -0800 (PST) Received: from [10.1.4.58] (ip-144-126-ull.customer.panservice.it [212.66.126.144]) by mx.google.com with ESMTPS id n11sm838011wej.19.2011.01.14.10.46.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 10:46:23 -0800 (PST) Message-ID: <4D3099FC.10807@gmail.com> Date: Fri, 14 Jan 2011 19:46:20 +0100 From: Alessandro Baggi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD Decision 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, 14 Jan 2011 19:08:11 -0000 Hi list, I don't want make a flame post but I would ask an objective opinion, then not a camp opinion, about using FreeBSD or Debian Linux in a production environment for solution as such as cluster of some service, proxy, SAN, performance, smp with an high number of cpu, PDC, Mail Server (qmail), raid software, security support and hardware support. I'm using Slackware Linux but in production environment there are problem with packages and distro update and other support. Then for you, what is the best for those solutions? thanks in advance From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:19:43 2011 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 C52281065672 for ; Fri, 14 Jan 2011 19:19:43 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 65DD48FC0A for ; Fri, 14 Jan 2011 19:19:43 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id p0EJJZvr004707 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 14 Jan 2011 13:19:35 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4D30A1C6.7050808@tundraware.com> Date: Fri, 14 Jan 2011 13:19:34 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List References: <4D3099FC.10807@gmail.com> In-Reply-To: <4D3099FC.10807@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (ozzie.tundraware.com [75.145.138.73]); Fri, 14 Jan 2011 13:19:35 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p0EJJZvr004707 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: FreeBSD Decision 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, 14 Jan 2011 19:19:43 -0000 On 1/14/2011 12:46 PM, Alessandro Baggi wrote: > Hi list, I don't want make a flame post but I would ask an objective opinion, then not a camp opinion, about using FreeBSD or Debian Linux in a production environment for solution as such as cluster of some service, proxy, SAN, performance, smp with an high number of cpu, PDC, Mail Server (qmail), raid software, security support and hardware support. I'm using Slackware Linux but in production environment there are problem with packages and distro update and other support. > Then for you, what is the best for those solutions? > > thanks in advance I work/consult in very large data center environments (> 1000 servers in production is common, and more for dev/test/stage). What you are asking has no simple answer (that why we consultants get paid what we do :) Both Linux and FreeBSD can do the things you ask, but there are larger environmental questions to be answered: 1) What OSs does the hardware vendor formally support? 2) What OSs do the 3rd party commercial applications vendors you use support? 3) Is your networking/HBA hardware supported by the OS? 4) What kind of third party system management and monitoring tools have to be in place? Are they supported on the target OS? 5) Do you need special or emergent capabilities like FCOE and does your target OS support them? 5) Can you get consulting services and/or outside support for your OS? IOW, your selection has less to do with the OS kernel and more to do with the set of tools, applications, and hardware that surround the OS. If all things are equal, I prefer FreeBSD because it has a smaller footprint on the hardware and is easier to install/maintain than Linux. However, whether we like it or not, there is far more commercial and third party support for *some* linux distros (RHEL and SLES). Given what you've told us, if it really does come down to Debian or FreeBSD, it sounds like you don't need much in the way of third party stuff. In that case, I'd use FreeBSD. -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:32:13 2011 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 776A0106566C for ; Fri, 14 Jan 2011 19:32:13 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 51A2A8FC1D for ; Fri, 14 Jan 2011 19:32:12 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 369FDE808D5; Fri, 14 Jan 2011 11:32:12 -0800 (PST) Date: Fri, 14 Jan 2011 11:32:12 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110114193206.GA6200@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: a few Last qstns on the wordpress installation.... 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, 14 Jan 2011 19:32:13 -0000 This is directed at the few people who actually know how to configure this port. First, I want to have this installed on at least my www.thought.org site as well as my transfinite.thought.org domain. subdomain // virtual-domain. I asked about alterting the wp-config.php yesterday. This php page memtions having "multiple installations in one database [[I'm assuming using my original mysql setup]] bgiving each worpress istall a unique $table_prefix. Would 'wp0_' and 'wp1_' make sense? The last question has to do with the "Site Title"; there were no examples, so I don't know if this means listing my site as www or www.thought.org OR Gary's Blog or "YO! Whatzup?" I have googled for examples of this last bit; no thing so far. Anybody? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:41:48 2011 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 33FC8106564A for ; Fri, 14 Jan 2011 19:41:48 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E3C528FC1F for ; Fri, 14 Jan 2011 19:41:47 +0000 (UTC) Received: by gxk8 with SMTP id 8so1294800gxk.13 for ; Fri, 14 Jan 2011 11:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vI/e4ogszkaUJqAAapUG+jt18sj5VfzX6wTLhE+vDKU=; b=GS5PYlJ06Vmi9+PnU6YGbRB3vWm6FphkcxVrFa2DVNRVtOc6FMwkljiVH9fkvgSYId KUT70AJxzPlkJYzfPQidoUJi1DoO3AFXlydklVFt87BVWVF6SuQ06EBqe6SXlly9LOPS fnxhAgSaMFb3gatyR8YdBV2gY2+FOTEHP6Y8c= 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=HtgC3Sxqfezc0daEnV6LlAIT+prPsoum+AfaFq3Omf1XD1mpEEqTs6yu4emj1XTglJ Oh6oINb7I6+LN5fS/bVk30VB4c/V/KuJmrq0gMNmeqQVdcaXN8kSD6yFyqmjWI4y9GNi 03FlQYIYmXB7Y+Lh7qK6EUMA3tIwM0dG0uv48= MIME-Version: 1.0 Received: by 10.90.87.8 with SMTP id k8mr1683882agb.6.1295034107223; Fri, 14 Jan 2011 11:41:47 -0800 (PST) Received: by 10.90.120.11 with HTTP; Fri, 14 Jan 2011 11:41:47 -0800 (PST) In-Reply-To: <4D30A1C6.7050808@tundraware.com> References: <4D3099FC.10807@gmail.com> <4D30A1C6.7050808@tundraware.com> Date: Fri, 14 Jan 2011 14:41:47 -0500 Message-ID: From: Kevin Wilcox To: Tim Daneliuk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: FreeBSD Decision 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, 14 Jan 2011 19:41:48 -0000 On 14 January 2011 14:19, Tim Daneliuk wrote: > On 1/14/2011 12:46 PM, Alessandro Baggi wrote: >> Hi list, I don't want make a flame post but I would ask an objective opi= nion, then not a camp opinion, about using FreeBSD or Debian Linux in a pro= duction environment < snip > > IOW, your selection has less to do with the OS kernel and more to do > with the set of tools, applications, and hardware that surround the OS. > If all things are equal, I prefer FreeBSD because it has a smaller > footprint on the hardware and is easier to install/maintain than Linux. > However, whether we like it or not, there is far more commercial and > third party support for *some* linux distros (RHEL and SLES). I agree completely with what Tim has said. I'm not in that large of an environment (but not terribly far from it) and we run a mix - Windows for some things, various Linux distributions where it makes sense, FreeBSD and OpenBSD in other areas. There is never one solution that fits every scenario in a large environment unless you provide one set of services and make it a point to specialise on offering those services on one platform. > Given what you've told us, if it really does come down to Debian > or FreeBSD, it sounds like you don't need much in the way of > third party stuff. =C2=A0In that case, I'd use FreeBSD. Indeed. From the sound of it, everything he needs is available in ports and can be broken into roles for management by a combination of something like puppet and OSSEC (I like the FIM component). As a general rule, unless Linux is required for hardware support or because application runs better on Linux, I'll opt for one of the BSDs. However, that is MY personal opinion...if everything else is equal and it's a true toss-up, I'd recommend you go with the OS you're the most familiar with hardening and managing. kmw From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 19:48:12 2011 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 D451C1065672 for ; Fri, 14 Jan 2011 19:48:12 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 999D38FC22 for ; Fri, 14 Jan 2011 19:48:12 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pdpd1-0004e8-Us for freebsd-questions@FreeBSD.ORG; Fri, 14 Jan 2011 11:48:09 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 11:48:07 -0800 Date: Fri, 14 Jan 2011 11:48:07 -0800 From: Chip Camden To: FreeBSD Mailing List Message-ID: <20110114194807.GC82276@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Mailing List References: <20110114193206.GA6200@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <20110114193206.GA6200@thought.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: a few Last qstns on the wordpress installation.... 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, 14 Jan 2011 19:48:12 -0000 --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Gary Kline on Friday, 14 January 2011: > This is directed at the few people who actually know how to > configure this port. First, I want to have this installed on at > least my www.thought.org site as well as my transfinite.thought.org=20 > domain. subdomain // virtual-domain. I asked about alterting > the wp-config.php yesterday. This php page memtions having=20 > "multiple installations in one database [[I'm assuming using my > original mysql setup]] bgiving each worpress istall a unique=20 > $table_prefix. Would 'wp0_' and 'wp1_' make sense? =20 >=20 > The last question has to do with the "Site Title"; there were no > examples, so I don't know if this means listing my site as www > or www.thought.org OR Gary's Blog or "YO! Whatzup?" >=20 > I have googled for examples of this last bit; no thing so far. =20 >=20 > Anybody? >=20 > gary >=20 >=20 >=20 > --=20 > Gary Kline kline@thought.org http://www.thought.org Public Service Un= ix > Journey Toward the Dawn, E-Book: http://www.thought.org > The 7.97a release of Jottings: http://jottings.thought.org >=20 Both of those can be anything you want. The database prefix just makes your database names unique. I usually use some form of the blog name itself as the prefix. The site title is just a string that can be accessed from your WP theme. usually the theme renders it as part of the title of each page, as well as putting it near the top of the page somewhere (usually). --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipsquips.com | http://chipstips.= com --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNMKh3AAoJEIpckszW26+RaskIAMVU4S3FTHdbFk5poUc7SiXV QyymCoc2b0G8pS+lSKuOkwNxK1nL8duf/eNmV27ijDyF0ky4oux5bUqkj2ZnUVXv TkHb4dzoXQaebttnEW2p3/wuqWXscmphX2dcX34mrL/1ZfNSuSOgzXiFaCT73wrs kSk/u57oof2BH18wH7MDX6ZTyNd3VXDmOdf4fggGRLLxbHrvffqbGi7I05XncLNF R3Q+QfWenNGayO+GxUequEgrWxXs0C4/RD88c5xcp3afjO1yeUfldNrqFG1l9VS/ kUPEQGzYUjTVlMdJvT2O/GqR3c1RepPNwyOsFrzl2vZFVI965DvRPItnbzkqLog= =s4GA -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 20:09:56 2011 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 A90CF1065670 for ; Fri, 14 Jan 2011 20:09:56 +0000 (UTC) (envelope-from freebsd@penx.com) Received: from Elmer.dco.penx.com (elmer.dco.penx.com [174.46.214.114]) by mx1.freebsd.org (Postfix) with ESMTP id 789DC8FC0A for ; Fri, 14 Jan 2011 20:09:56 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by Elmer.dco.penx.com (8.14.4/8.14.4) with ESMTP id p0EK9h4x083733; Fri, 14 Jan 2011 13:09:43 -0700 (MST) (envelope-from freebsd@penx.com) Date: Fri, 14 Jan 2011 13:09:43 -0700 (MST) From: Dennis Glatting X-X-Sender: dennisg@Elmer.dco.penx.com To: Alessandro Baggi In-Reply-To: <4D3099FC.10807@gmail.com> Message-ID: References: <4D3099FC.10807@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 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Decision 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, 14 Jan 2011 20:09:56 -0000 On Fri, 14 Jan 2011, Alessandro Baggi wrote: > Hi list, I don't want make a flame post but I would ask an objective > opinion, then not a camp opinion, about using FreeBSD or Debian Linux in > a production environment for solution as such as cluster of some > service, proxy, SAN, performance, smp with an high number of cpu, PDC, > Mail Server (qmail), raid software, security support and hardware > support. I'm using Slackware Linux but in production environment there > are problem with packages and distro update and other support. Then for > you, what is the best for those solutions? > FreeBSD, Debian, and Slowaris are my key components. FreeBSD RELENG_8 composes most of my WAN services from DNS, SENDMAIL, Cacti, and more. I have at least nine servers across the USA. In another life (different job) Debian is primary but there are two FreeBSD servers. I choose FreeBSD because I have source and if necessary recompile the whole OS with debug to traipse down a (perceived) bug. The same isn't as easy under Debian. When I (often) come across some behavior I don't understand I almost always go to the source. Documentation is almost always less useful when it comes to applications. I have also found FreeBSD applications tend to be more recent versions or more easily replaced than Debian or CentOS. I find the FreeBSD handbook useful but when it comes to Debian the ErrorNet isn't as... helpful... and often wrong. I spend more time tracking things down under Debian than FreeBSD, usually because I go to source. For Wireless there is more functionality under FreeBSD without augmentation but for a specific function I had to recompile the source with an additional flag. Under Debian I had to replace several modules because the drivers did not support AP mode, which included building a custom kernel and stripping out conflicting modules -- that was an... interesting... exercise. I prefer the competence of the FreeBSD lists, though I have none myself. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 20:44:08 2011 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 B41241065695 for ; Fri, 14 Jan 2011 20:44:08 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from amavis-outgoing1.knology.net (amavis-outgoing1.knology.net [24.214.64.230]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAC48FC0A for ; Fri, 14 Jan 2011 20:44:08 +0000 (UTC) Received: from localhost (amavis-outbound1 [127.0.0.1]) by amavis-outgoing1.knology.net (Postfix) with ESMTP id 5DAEB160006; Fri, 14 Jan 2011 15:20:22 -0500 (EST) Received: from smtp4.knology.net ([192.168.200.213]) by localhost (amavis-outgoing1.knology.net [192.168.200.230]) (amavisd-new, port 10024) with LMTP id FseqMK1DoeWN; Fri, 14 Jan 2011 15:20:21 -0500 (EST) Received: from Grumpy.DynDNS.org (unknown [24.42.224.110]) by smtp4.knology.net (Postfix) with ESMTP id 5A409B8058; Fri, 14 Jan 2011 15:20:23 -0500 (EST) Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id E009928435; Fri, 14 Jan 2011 14:20:22 -0600 (CST) Date: Fri, 14 Jan 2011 14:20:22 -0600 From: David Kelly To: Alessandro Baggi Message-ID: <20110114202022.GA17857@Grumpy.DynDNS.org> References: <4D3099FC.10807@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D3099FC.10807@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Decision 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, 14 Jan 2011 20:44:08 -0000 On Fri, Jan 14, 2011 at 07:46:20PM +0100, Alessandro Baggi wrote: > Hi list, I don't want make a flame post but I would ask an objective > opinion, then not a camp opinion, about using FreeBSD or Debian Linux in > a production environment for solution as such as cluster of some > service, proxy, SAN, performance, smp with an high number of cpu, PDC, > Mail Server (qmail), raid software, security support and hardware > support. I'm using Slackware Linux but in production environment there > are problem with packages and distro update and other support. > Then for you, what is the best for those solutions? I don't fully understand your needs but would suggest most anything you are familiar with and can find support from others will do. Wish I could say MacOS X Snow Leopard Server has been flawless but it has not. Still its something worth evaluating. An entire Mac Mini Server with two 500G drives an unlimited user license is a budget busting $995 full MSRP. Many former FreeBSD core members now work for Apple. Many of the man pages in MacOS X still say FreeBSD. Apple has done a lot for FreeBSD. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:14:10 2011 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 8BB47106564A for ; Fri, 14 Jan 2011 21:14:10 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1E3E68FC13 for ; Fri, 14 Jan 2011 21:14:09 +0000 (UTC) Received: by wwi17 with SMTP id 17so111452wwi.1 for ; Fri, 14 Jan 2011 13:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=1ABIb28tOiDLqcy/eS5sj1Hv36g+UGOVE4iHYAaU4Ag=; b=SMLxdW4xvSHToRTHfzcT2hyvs6vIobRgxV9orK63fz74tR2BTelepAlu0NWgZOji6E Fz76BJMFjdRjAId2jWlbvKmfMYFmVPCoqxkPZeNcGGVBXQJFRO6aZqYVLqkFaOFKfUvh w4aG6AdV+T4JCqz0947o7P/FHrf5COWjpFCV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=JRnVBDpfIUsTaE3/WYqOSUjWPOgMEhy1asBGhV7Ot9zZbheu/G72YqrAuoW1NYsuRh fdu7v3IgURQnas0ixl690LV0woxMuezHgGi0UXtuxF0W4ak1IkrlpbdNPfHYqnxbp455 Yau9Ty13JEpM73xFyTypBcn+I376opVwR7GF4= Received: by 10.227.209.207 with SMTP id gh15mr1175162wbb.207.1295039238394; Fri, 14 Jan 2011 13:07:18 -0800 (PST) Received: from prime.nonspace ([82.132.211.67]) by mx.google.com with ESMTPS id s9sm665914wby.22.2011.01.14.13.07.16 (version=SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 13:07:17 -0800 (PST) Message-ID: <4D30BB03.9030404@gmail.com> Date: Fri, 14 Jan 2011 21:07:15 +0000 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101215 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: portupgrade over http only 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, 14 Jan 2011 21:14:10 -0000 Hello, Is it possible to force portupgrade to use only http protocol where possible and skip the ftp servers? It's because currently I'm using very restrictive public access point where they block everything other than port 80 and I don't have a chance to set up a tunnel or proxy anywhere outside that network. When I try to: portupgrade -arRF it looks like it prefers ftp. Eventually it falls back to http but it takes ages before it tries all ftp servers. What to do? Thanks From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:20:43 2011 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 586C5106566C for ; Fri, 14 Jan 2011 21:20:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2996C8FC0A for ; Fri, 14 Jan 2011 21:20:42 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 37189E808D5; Fri, 14 Jan 2011 13:20:42 -0800 (PST) Date: Fri, 14 Jan 2011 13:20:42 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110114212042.GB7557@thought.org> References: <20110114193206.GA6200@thought.org> <20110114194807.GC82276@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110114194807.GC82276@libertas.local.camdensoftware.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: a few Last qstns on the wordpress installation.... 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, 14 Jan 2011 21:20:43 -0000 On Fri, Jan 14, 2011 at 11:48:07AM -0800, Chip Camden wrote: > Quoth Gary Kline on Friday, 14 January 2011: > > This is directed at the few people who actually know how to > > configure this port. First, I want to have this installed on at > > least my www.thought.org site as well as my transfinite.thought.org > > domain. subdomain // virtual-domain. I asked about alterting > > the wp-config.php yesterday. This php page memtions having > > "multiple installations in one database [[I'm assuming using my > > original mysql setup]] bgiving each worpress istall a unique > > $table_prefix. Would 'wp0_' and 'wp1_' make sense? > > > > The last question has to do with the "Site Title"; there were no > > examples, so I don't know if this means listing my site as www > > or www.thought.org OR Gary's Blog or "YO! Whatzup?" > > > > I have googled for examples of this last bit; no thing so far. > > > > Anybody? > > > > gary > > > > > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > Journey Toward the Dawn, E-Book: http://www.thought.org > > The 7.97a release of Jottings: http://jottings.thought.org > > > > Both of those can be anything you want. > > The database prefix just makes your database names unique. I usually use > some form of the blog name itself as the prefix. > > The site title is just a string that can be accessed from your WP theme. > usually the theme renders it as part of the title of each page, as well > as putting it near the top of the page somewhere (usually). > Super. Thanks for two direct answers. If I Ever have to refer to the 0th and 1 st blogs, it makes sense to minimize the keystrokes; but that's just my bias. I've been trying my level best to keep the sharks'teeth of reality from knocking me too far ever since last Sunday when the murders in Tuscon invaded the news and other parts of life. Then, last night, I learned that a girl on my daughter's cherrleading team had killed herself. Practice is M/W/F at 06:00, so nobody at the high school knew anything until the students were told late yesterday. My daughter wasn't in a good mood last night so we are all waiting for more news. There are differences between murders and a suicide, but both are tragic events. ESp'ly when they involve the live s of somebody young. anyway, since Monday I've been thinking of the title: "Miles to go Before I sleep." 99.999_% of the time i feel too old and useless to be of any use other than to share what level of wisdom I've accumulated over 65 years. figure that if my blog helps a few people, that's a reason for having a monthly entry... or whatever. gary > -- > Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F > http://camdensoftware.com | http://chipsquips.com | http://chipstips.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:32:34 2011 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 56F8C1065670 for ; Fri, 14 Jan 2011 21:32:34 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DFDA28FC0A for ; Fri, 14 Jan 2011 21:32:33 +0000 (UTC) Received: by fxm16 with SMTP id 16so3365674fxm.13 for ; Fri, 14 Jan 2011 13:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GroGHRPLH3FuswHLmr6pLW9cA99JUrToo4M4Utl7sDE=; b=OQUuSFwCsnRAopuujPe6ySx867SkySiP1Dmeld502XiS+lBHFQcQfBWjrnBjpOKlNy Y/4d5GX290VdnkjoGw3vXat/3LgYRScrwex9t/dnSeRS+FsofwgfCn5rqNuZytuqsYKx tsNgJNHPPNXflgdqIYULRehlYbZ4pors51nBY= 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=g3QiH01wWpzQpR96lYsW5muw5Tsbo5V+LImvhEUaFkXVjdKCxLZAv9o9TaEe5Z8Wop 43xjUMeZ/AGROdi1yWb4cvEy4QiRoO5FJqL/slCxbFirJWDItheVgfYZoPQIu0JBLWf8 OXB7e9CcoCBMYkjV0gejbMQL38FQ1V9on4B58= MIME-Version: 1.0 Received: by 10.223.106.129 with SMTP id x1mr1262419fao.13.1295040752817; Fri, 14 Jan 2011 13:32:32 -0800 (PST) Received: by 10.223.114.4 with HTTP; Fri, 14 Jan 2011 13:32:32 -0800 (PST) In-Reply-To: <4D30BB03.9030404@gmail.com> References: <4D30BB03.9030404@gmail.com> Date: Fri, 14 Jan 2011 15:32:32 -0600 Message-ID: From: Adam Vande More To: Michael Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade over http only 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, 14 Jan 2011 21:32:34 -0000 On Fri, Jan 14, 2011 at 3:07 PM, Michael wrote: > Hello, > > Is it possible to force portupgrade to use only http protocol where > possible and skip the ftp servers? > > It's because currently I'm using very restrictive public access point where > they block everything other than port 80 and I don't have a chance to set up > a tunnel or proxy anywhere outside that network. > > When I try to: > portupgrade -arRF > it looks like it prefers ftp. Eventually it falls back to http but it takes > ages before it tries all ftp servers. What to do? > You could set FTP_TIMEOUT to an absurdly low value. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:36:31 2011 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 EF9C71065694 for ; Fri, 14 Jan 2011 21:36:31 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [77.88.61.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1766B8FC1B for ; Fri, 14 Jan 2011 21:36:29 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward10.mail.yandex.net (Yandex) with ESMTP id C52811F504DC for ; Sat, 15 Jan 2011 00:36:27 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295040987; bh=tyfmWqi+GgLH0bfV0U9u4JajiNKPJ1h/BDnDgYUkNQY=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=ggcgsVEuzOIiW4kGI+18Qtoxm1pwFkf5OaEd/j75NwlNs+2226rJ5st/TN8KI7V4i JO1F3G15HsD1RqocC6SqXiYyFF56D4y8alLyaZV0YE4kkbFuMVXauEV0HEHvv3uHmo +ySc4ek7GdAuNzUu5wO8uXjjxk27NqvdzXdnHhdQ= Received: from HOMEUSER (unknown [77.93.52.5]) by smtp8.mail.yandex.net (Yandex) with ESMTPA id 8FEDB2028090 for ; Sat, 15 Jan 2011 00:36:27 +0300 (MSK) Date: Fri, 14 Jan 2011 23:36:21 +0200 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: <1369035653.20110114233621@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: strange behaviour 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: Fri, 14 Jan 2011 21:36:32 -0000 Hi, Freebsd-questions. # ping 10.5.0.1 PING 10.5.0.1 (10.5.0.1): 56 data bytes 64 bytes from 10.5.0.1: icmp_seq=0 ttl=62 time=3.278 ms 64 bytes from 10.5.0.1: icmp_seq=1 ttl=62 time=3.814 ms 64 bytes from 10.5.0.1: icmp_seq=2 ttl=62 time=4.812 ms ^C --- 10.5.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 3.278/3.968/4.812/0.636 ms # ping 10.7.7.7 PING 10.7.7.7 (10.7.7.7): 56 data bytes ping: sendto: Invalid argument ping: sendto: Invalid argument ping: sendto: Invalid argument what is problem and how to fix?? uname -a FreeBSD host 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 3 01:15:39EET 2009 1@host:/usr/obj/usr/src/sys/KES_KERN_v7 i386 -- Ñ óâàæåíèåì, Êîíüêîâ mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:42:43 2011 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 03893106566B for ; Fri, 14 Jan 2011 21:42:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id DEA8A8FC15 for ; Fri, 14 Jan 2011 21:42:42 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LF1004N88AMRX80@asmtp030.mac.com> for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 13:42:23 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101140139 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-14_08:2011-01-14, 2011-01-14, 1970-01-01 signatures=0 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: <1369035653.20110114233621@yandex.ru> Date: Fri, 14 Jan 2011 13:42:22 -0800 Content-transfer-encoding: quoted-printable Message-id: <533DC7E8-4BA1-4FA7-A5FA-D4A3C9D08368@mac.com> References: <1369035653.20110114233621@yandex.ru> To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: strange behaviour 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, 14 Jan 2011 21:42:43 -0000 On Jan 14, 2011, at 1:36 PM, =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA = wrote: > # ping 10.7.7.7 > PING 10.7.7.7 (10.7.7.7): 56 data bytes > ping: sendto: Invalid argument > ping: sendto: Invalid argument > ping: sendto: Invalid argument >=20 > what is problem and how to fix?? Where are you routing 10.7.7.7 to? If you don't have a specific internal route (or NAT) doing something = with it, your upstream Internet routers ought to be returning ICMP host = unreachable errors for RFC-1918 addresses... Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:45:37 2011 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 08BF0106566B for ; Fri, 14 Jan 2011 21:45:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 627878FC18 for ; Fri, 14 Jan 2011 21:45:36 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p0ELjW7R079993 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 14 Jan 2011 21:45:33 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p0ELjW7R079993 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1295041533; bh=YRlvVFj1/fMfANSwhGy4PJpYpn8K6iXQWuFXTjgxW+U=; 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<4D30C3F2.5030705@infracaninophile.co.uk>|Date:=20F ri,=2014=20Jan=202011=2021:45:22=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20Adam=20Vande=20More=20|CC:=20Micha el=20,=20freebsd-questions@freebsd.org|Subj ect:=20Re:=20portupgrade=20over=20http=20only|References:=20<4D30B B03.9030404@gmail.com>=20|In-Reply-To:=20|X-Enigmail-Version:=201.1.1|Open PGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg= 3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D =0A=20boundary=3D"------------enig7188A4A675756496B67D3023"; b=ovmeDXCuh86hDr2NMyJ2iZ6Yh7s1EtQw+QoTAmn/qzVg7Wuo4ZqtWV6mK+yjnAaz9 JVWvjZXrryhDT4850M1Nn5NzIo/6asQgi3grfDJsZBfHHFFCZh4QwYvBsF3SS1wBUr WmtZ3Nzn44MX4V+oo2uofXXaR+zwF+LNE8DvhxHQ= Message-ID: <4D30C3F2.5030705@infracaninophile.co.uk> Date: Fri, 14 Jan 2011 21:45:22 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Adam Vande More References: <4D30BB03.9030404@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7188A4A675756496B67D3023" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: Michael , freebsd-questions@freebsd.org Subject: Re: portupgrade over http only 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, 14 Jan 2011 21:45:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7188A4A675756496B67D3023 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14/01/2011 21:32, Adam Vande More wrote: > On Fri, Jan 14, 2011 at 3:07 PM, Michael wrote:= >=20 >> Hello, >> >> Is it possible to force portupgrade to use only http protocol where >> possible and skip the ftp servers? >> >> It's because currently I'm using very restrictive public access point = where >> they block everything other than port 80 and I don't have a chance to = set up >> a tunnel or proxy anywhere outside that network. >> >> When I try to: >> portupgrade -arRF >> it looks like it prefers ftp. Eventually it falls back to http but it = takes >> ages before it tries all ftp servers. What to do? >> >=20 >=20 > You could set FTP_TIMEOUT to an absurdly low value. >=20 MASTER_SORT =3D http in /etc/make.conf -- should make the ports try http sites first. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7188A4A675756496B67D3023 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0ww/wACgkQ8Mjk52CukIycHQCgkd6Chs4Pe/6wtk4P0eyfPxgh F/AAniVDGbmVeb4DqiweJGC+ruCDnIXs =bthu -----END PGP SIGNATURE----- --------------enig7188A4A675756496B67D3023-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:48:42 2011 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 363A31065670 for ; Fri, 14 Jan 2011 21:48:42 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id DE9A98FC12 for ; Fri, 14 Jan 2011 21:48:41 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward9.mail.yandex.net (Yandex) with ESMTP id 445C914D8B83; Sat, 15 Jan 2011 00:48:40 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1295041720; bh=A7T3JOfFJ8WkliU8O6bZXsWxX+iJhLXW9ExA5rQBmcM=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bCjI6Dx+E3cuAT8VDc5CQ007QcYt5O3ZdDc0UoKWuwW6E1B1BqMlCx1JwT5z5ExGx y1Yxi7sxuC4RyS0kUtqiv2lR+atQrq3jnSEAgNydEqaDJRw+Y2roya9WR3d3XixJBg BbsKkJe0WOOw84VVt1q1ZHAdLfFg71yX956nsYHE= Received: from HOMEUSER (unknown [77.93.52.5]) by smtp8.mail.yandex.net (Yandex) with ESMTPA id F01BB202808D; Sat, 15 Jan 2011 00:48:39 +0300 (MSK) Date: Fri, 14 Jan 2011 23:48:46 +0200 From: =?koi8-r?B?68/O2MvP1yDl18fFzsnK?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?koi8-r?B?/vAg68/O2MvP1ywgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <203646179.20110114234846@yandex.ru> To: Chuck Swiger In-Reply-To: <533DC7E8-4BA1-4FA7-A5FA-D4A3C9D08368@mac.com> References: <1369035653.20110114233621@yandex.ru> <533DC7E8-4BA1-4FA7-A5FA-D4A3C9D08368@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 14 Jan 2011 21:56:52 +0000 Cc: freebsd-questions@freebsd.org Subject: Re[2]: strange behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?koi8-r?B?68/O2MvP1yDl18fFzsnK?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 21:48:42 -0000 úÄÒÁ×ÓÔ×ÕÊÔÅ, Chuck. ÷Ù ÐÉÓÁÌÉ 14 ÑÎ×ÁÒÑ 2011 Ç., 23:42:22: CS> On Jan 14, 2011, at 1:36 PM, ëÏÎØËÏ× å×ÇÅÎÉÊ wrote: >> # ping 10.7.7.7 >> PING 10.7.7.7 (10.7.7.7): 56 data bytes >> ping: sendto: Invalid argument >> ping: sendto: Invalid argument >> ping: sendto: Invalid argument >> >> what is problem and how to fix?? CS> Where are you routing 10.7.7.7 to? CS> If you don't have a specific internal route (or NAT) doing CS> something with it, your upstream Internet routers ought to be CS> returning ICMP host unreachable errors for RFC-1918 addresses... no NAT #route add 10.7.7.0/24 234.242.32.3 route: writing to routing socket: Network is unreachable add net 10.7.7.0: gateway 234.242.32.3: Network is unreachable #route add 10.7.7.0/24 10.11.8.28 add net 10.7.7.0: gateway 10.11.8.28 no error messages default I.N.E.T UGS 0 2001201 rl0 10.0.0.0/8 10.11.19.2 UGS 1 4021798 rl0 10.7.7.0/24 10.11.8.28 UGS 0 0 rl0 10.11.19.0/29 link#2 UC 0 0 rl0 10.11.19.1 00:06:4f:60:1a:b8 UHLW 1 4707299 lo0 10.11.19.2 00:e0:4c:4d:10:fe UHLW 2 2 rl0 862 10.11.19.16/29 link#8 UC 0 0 bridge 127.0.0.1 127.0.0.1 UH 0 178333 lo0 192.168.1.5 192.168.0.1 UH 0 741736 ng2 tcpdump shows that no packets leave router. -- ó Õ×ÁÖÅÎÉÅÍ, ëÏÎØËÏ× mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 22:17:56 2011 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 44519106566C for ; Fri, 14 Jan 2011 22:17:56 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 282148FC12 for ; Fri, 14 Jan 2011 22:17:55 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp025.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LF10097M9XI4T60@asmtp025.mac.com> for freebsd-questions@freebsd.org; Fri, 14 Jan 2011 14:17:44 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-01-14_08:2011-01-14, 2011-01-14, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1101140149 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: <203646179.20110114234846@yandex.ru> Date: Fri, 14 Jan 2011 14:17:42 -0800 Content-transfer-encoding: quoted-printable Message-id: <01A5C1AD-DB6B-4797-962A-D3FB3E34E33F@mac.com> References: <1369035653.20110114233621@yandex.ru> <533DC7E8-4BA1-4FA7-A5FA-D4A3C9D08368@mac.com> <203646179.20110114234846@yandex.ru> To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: Re[2]: strange behaviour 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, 14 Jan 2011 22:17:56 -0000 On Jan 14, 2011, at 1:48 PM, =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA = wrote: > CS> Where are you routing 10.7.7.7 to? >=20 > CS> If you don't have a specific internal route (or NAT) doing > CS> something with it, your upstream Internet routers ought to be > CS> returning ICMP host unreachable errors for RFC-1918 addresses... >=20 > no NAT > #route add 10.7.7.0/24 234.242.32.3 > route: writing to routing socket: Network is unreachable > add net 10.7.7.0: gateway 234.242.32.3: Network is unreachable That doesn't surprise me-- 224 - 239 is multicast or reserved = special-purpose address space. > #route add 10.7.7.0/24 10.11.8.28 > add net 10.7.7.0: gateway 10.11.8.28 > no error messages >=20 > default I.N.E.T UGS 0 2001201 rl0 > 10.0.0.0/8 10.11.19.2 UGS 1 4021798 rl0 > 10.7.7.0/24 10.11.8.28 UGS 0 0 rl0 > 10.11.19.0/29 link#2 UC 0 0 rl0 > 10.11.19.1 00:06:4f:60:1a:b8 UHLW 1 4707299 lo0 > 10.11.19.2 00:e0:4c:4d:10:fe UHLW 2 2 rl0 = 862 > 10.11.19.16/29 link#8 UC 0 0 bridge > 127.0.0.1 127.0.0.1 UH 0 178333 lo0 > 192.168.1.5 192.168.0.1 UH 0 741736 ng2 >=20 > tcpdump shows that no packets leave router. It doesn't look like any of your interfaces think 10.11.8.28 is local to = them; and presumably the upstream gateway used by the default route = doesn't either. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 22:55:24 2011 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 AF368106566B for ; Fri, 14 Jan 2011 22:55:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 403578FC14 for ; Fri, 14 Jan 2011 22:55:23 +0000 (UTC) Received: by wyf19 with SMTP id 19so3405599wyf.13 for ; Fri, 14 Jan 2011 14:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=87U2TkWs6C+NQdn1zIKUvRTJD+4zlNXrB5WATYyNrDU=; b=HakNouNpfxktRdCtmKTxtxz11/hkSqwotTYIbmQC+9nWnTnn/gOG8PPXdJjb0LPEyW oi5MuCjo1d6s02zURsx5dlIrSI+zjiDyZwsoda11lICqMOklup+xRdUdzFP29xAml92N ZMKtP0XvcZo5YsC9ftKXi5hjMMrGRBtVAP7zc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=diPBZit8PnsM9EVmykLMJkMivjphvUJbf7SJEhdLfjkuSYSnHuQn+k96bp+P+HTzFG iS0RVFw+dnD/u7Z7VQxGQC87MlgdMmz4ODuRhK4YaY09qzwvP30m5IICbYPgILj7Tfwl 9k7p65z8r13KwWGvSk41aS67bQdDSH7ofeods= Received: by 10.227.201.5 with SMTP id ey5mr1247153wbb.182.1295045723015; Fri, 14 Jan 2011 14:55:23 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id s9sm728522wby.4.2011.01.14.14.55.20 (version=SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 14:55:21 -0800 (PST) Date: Fri, 14 Jan 2011 22:55:18 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110114225518.4d462c1a@gumby.homeunix.com> In-Reply-To: <4D30C3F2.5030705@infracaninophile.co.uk> References: <4D30BB03.9030404@gmail.com> <4D30C3F2.5030705@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portupgrade over http only 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, 14 Jan 2011 22:55:24 -0000 On Fri, 14 Jan 2011 21:45:22 +0000 Matthew Seaman wrote: > MASTER_SORT = http I used to use MASTER_SORT_REGEX = ^http for this when a former ISP traffic shaped ftp If you set "MASTER_SORT = http", then you get ://[^/]*http/ in MASTER_SORT_REGEX, so it looks like MASTER_SORT is intended just to match hostnames/domains. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 23:56:46 2011 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 C9AD51065693 for ; Fri, 14 Jan 2011 23:56:46 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id A0C4D8FC18 for ; Fri, 14 Jan 2011 23:56:46 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id BA0C2E808D5; Fri, 14 Jan 2011 15:56:45 -0800 (PST) Date: Fri, 14 Jan 2011 15:56:45 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110114235645.GA11713@thought.org> References: <20110114193206.GA6200@thought.org> <20110114194807.GC82276@libertas.local.camdensoftware.com> <20110114212042.GB7557@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110114212042.GB7557@thought.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: a few Last qstns on the wordpress installation.... 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, 14 Jan 2011 23:56:46 -0000 On Fri, Jan 14, 2011 at 01:20:42PM -0800, Gary Kline wrote: > On Fri, Jan 14, 2011 at 11:48:07AM -0800, Chip Camden wrote: > > Quoth Gary Kline on Friday, 14 January 2011: > > There are differences between murders and a suicide, but both > are tragic events. ESp'ly when they involve the live s of > somebody young. anyway, since Monday I've been thinking of the > title: "Miles to go Before I sleep." > Where is the title string I chose? It is not in www/blog, where the front pages of word press is. Another thing is that I have a test file ready. I see where to cut and paste, but can I use html in my posts? I remember looking at one blogging sit e the other day that included italics, so am guessing this isn't strictly vanilla ASCII or 8859-1 .... gary PS: I see a page full of buttons to click on; what I want to avoid is having something captured that isn't ready for prime time . > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.97a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 00:35:26 2011 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 C55991065673 for ; Sat, 15 Jan 2011 00:35:26 +0000 (UTC) (envelope-from chip.camden@gmail.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3388FC13 for ; Sat, 15 Jan 2011 00:35:26 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PdtsA-00074b-7s for freebsd-questions@FreeBSD.ORG; Fri, 14 Jan 2011 16:20:03 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 14 Jan 2011 16:20:02 -0800 Date: Fri, 14 Jan 2011 16:20:02 -0800 From: Chip Camden To: FreeBSD Mailing List Message-ID: <20110115002002.GL82276@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Mailing List References: <20110114193206.GA6200@thought.org> <20110114194807.GC82276@libertas.local.camdensoftware.com> <20110114212042.GB7557@thought.org> <20110114235645.GA11713@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ms5iOKSBOB9YS8zC" Content-Disposition: inline In-Reply-To: <20110114235645.GA11713@thought.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gmail.com Cc: Subject: Re: a few Last qstns on the wordpress installation.... 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, 15 Jan 2011 00:35:26 -0000 --Ms5iOKSBOB9YS8zC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Gary Kline on Friday, 14 January 2011: > On Fri, Jan 14, 2011 at 01:20:42PM -0800, Gary Kline wrote: > > On Fri, Jan 14, 2011 at 11:48:07AM -0800, Chip Camden wrote: > > > Quoth Gary Kline on Friday, 14 January 2011: > >=20 > > There are differences between murders and a suicide, but both=20 > > are tragic events. ESp'ly when they involve the live s of > > somebody young. anyway, since Monday I've been thinking of the > > title: "Miles to go Before I sleep." > >=20 >=20 > Where is the title string I chose? It is not in www/blog, where > the front pages of word press is. Another thing is that I have a > test file ready. I see where to cut and paste, but can I use html > in my posts? I remember looking at one blogging sit e the other day > that included italics, so am guessing this isn't strictly vanilla > ASCII or 8859-1 .... >=20 > gary >=20 > PS: I see a page full of buttons to click on; what I want to avoid > is having something captured that isn't ready for prime time . >=20 >=20 > >=20 >=20 > --=20 > Gary Kline kline@thought.org http://www.thought.org Public Service Un= ix > Journey Toward the Dawn, E-Book: http://www.thought.org > The 7.97a release of Jottings: http://jottings.thought.org >=20 > _______________________________________________ > 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" It's up to the blog theme to display the title. Typically that's done in /wp-content/themes//header.php, but it isn't required. You can use some HTML tags in each post's text. Wordpress filters it, but it will preserve the more useful (, , , etc.). It tries to eliminate the more dangerous ones (