From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 00:58:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 123F3106564A for ; Sun, 27 Apr 2008 00:58:00 +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 A97188FC24 for ; Sun, 27 Apr 2008 00:57:59 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.2/8.14.2) with ESMTP id m3R0ZLl5037771; Sat, 26 Apr 2008 20:35:21 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 26 Apr 2008 20:35:21 -0400 (EDT) From: Chris Hill To: Grant Peel In-Reply-To: <000b01c8a7e1$39c74520$6501a8c0@GRANT> Message-ID: <20080426202613.U25701@tripel.monochrome.org> References: <000b01c8a7e1$39c74520$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Ports Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 00:58:00 -0000 On Sat, 26 Apr 2008, Grant Peel wrote: > What is the proper method to pass configure arguments when installing > a port? > > example, I am trying to build exim with mysql and spf support > > make -D "WITH_SPF=YES" -D "WITH_MYSQL=YES" I think for this example the proper syntax would be: make -DWITH_SPF -DWITH_MYSQL or even make -DWITH_SPF -DWITH_MYSQL install clean ..although I know nothing of exim. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 04:10:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1652A106564A for ; Sun, 27 Apr 2008 04:10:10 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id E2B2D8FC1B for ; Sun, 27 Apr 2008 04:10:09 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id DE3215083F for ; Sun, 27 Apr 2008 05:10:04 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rB3jrJ1y4APY for ; Sun, 27 Apr 2008 05:10:02 +0100 (BST) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 463255098B; Sun, 27 Apr 2008 05:10:02 +0100 (BST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20080427041002.463255098B@nyi.unixathome.org> Date: Sun, 27 Apr 2008 05:10:02 +0100 (BST) Subject: The FreeBSD Diary: 2008-04-06 - 2008-04-26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 04:10:10 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 04:23:06 2008 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 C632E1065673 for ; Sun, 27 Apr 2008 04:23:06 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id 81FDF8FC14 for ; Sun, 27 Apr 2008 04:23:05 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m3R3sjcj036697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Apr 2008 23:54:47 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1209250949; bh=HoSvIL3b9foVBFH7irNG/YDC7ek=; h=DomainKey-Signature:Date:From:To:Subject:Message-ID:User-Agent: MIME-Version:Content-Type; b=d6BV+3ppyRyVlDiNMbR8zeRulnc+gPnXaVPUV j4GtC5TFGDf+9EJu487pvMw86PSlewM9j+aueSO1yZpjtx4wg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:message-id:user-agent: mime-version:content-type; b=Pk4GjIO0DBC/ZK66AXfECDl76S/ZB7ypjjGmc39azVMv6JIOL9+v4mZg9P8c07K9U +91Xx1ri10Zx0IbmYJ8WQ== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m3R3sjI7036695; Sat, 26 Apr 2008 23:54:45 -0400 (EDT) (envelope-from danm) Date: Sat, 26 Apr 2008 23:54:45 -0400 (EDT) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Message-ID: User-Agent: Alpine 1.00 (BSF 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Sat, 26 Apr 2008 23:02:29 +0000 (UTC) Cc: Subject: Manpage for rpc.ypupdated? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 04:23:06 -0000 With all the recent changeover in namespace for rpc/yp stuff, there's been a lot moved around, but in all my searches, the ypd.upupdated daemon is completely undocumented. (even with a grep through the rest of the man directories provides no mention). Near as I can tell, it allows nis clients to make updates to the NIS maps (which is a dangerous functionality)...shouldn't there be SOME docs for this? If this should be opened as a bug, let me know. -Dan Mahoney -- "She's NOT my girlfriend!" -Dan Mahoney, Quite a bit recently. --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 05:11:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52D3106564A for ; Sun, 27 Apr 2008 05:11:14 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 28BF88FC0A for ; Sun, 27 Apr 2008 05:11:14 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m3R5BCk69590 for freebsd-questions@freebsd.org; Sat, 26 Apr 2008 22:11:12 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id FAA05477; Sun, 27 Apr 2008 05:05:29 GMT Message-Id: <200804270505.FAA05477@sopwith.solgatos.com> To: freebsd-questions@freebsd.org Date: Sat, 26 Apr 2008 22:05:29 +0100 From: Dieter Subject: Re: Sidetracked: why gjournal over soft-updates (Was: Re: UFS2 Journaling implementation detail) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 05:11:14 -0000 > SU requires that data it once sends to the drive gets written > immediately, not cached by the drive. Modern desktop drives > don't do that They do if you set them to write-through cache instead of write-back cache. Modern SATA drives also provide NCQ. When is FreeBSD going to support NCQ? From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 05:58:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B51106568F for ; Sun, 27 Apr 2008 05:58:31 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC3A8FC3C for ; Sun, 27 Apr 2008 05:58:31 +0000 (UTC) (envelope-from michael.grunewald@laposte.net) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id B97B63F6316 for ; Sun, 27 Apr 2008 07:58:29 +0200 (CEST) Received: from Llea.celt.neu (ron34-3-82-236-236-194.fbx.proxad.net [82.236.236.194]) by smtp5-g19.free.fr (Postfix) with ESMTP id 965313F630F for ; Sun, 27 Apr 2008 07:58:29 +0200 (CEST) Message-ID: <481416AC.9010600@laposte.net> Date: Sun, 27 Apr 2008 08:01:16 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; fr-FR; rv:1.8.1.11) Gecko/20080212 SeaMonkey/1.1.7 MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Distributing makefiles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 05:58:31 -0000 Hi all, I am planning to distribute some of the makefiles I wrote on various platforms, including FreeBSD. I need the help of some insightful soul to take a few decisions: --- Where to install? I think /usr/local/share/mk is fine; --- How to install? Users should put a `.MAKEFLAGS: -I/usr/local/share/mk' statement in their /etc/make.conf, are ports scripts allowed to do this automagically? If yes what's the best way to do this? (an ed script?) --- Being system or not? BSD Make has two search pathes, the system one (whith <> style inclusion) and the other one (with "" style incusion). I think I shall consider my files non system, preserving the <> pathes for BSD. But ther may be some pros and cons I am not aware. Note: I did submit this questions on `ports' about ten days ago, but I did not receive any answer for this. People subscribed to `ports' will see this message for the second time, I apologize for the annoyance. Any comments welcome, -- cheers, Michaël From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 06:13:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A92AA1065670 for ; Sun, 27 Apr 2008 06:13:12 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4C98FC0C for ; Sun, 27 Apr 2008 06:13:11 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEFAPizE0h5LWAW/2dsb2JhbACBU6gT X-IronPort-AV: E=Sophos;i="4.25,712,1199626200"; d="scan'208";a="90075752" Received: from ppp121-45-96-22.lns10.adl6.internode.on.net (HELO alpha.home) ([121.45.96.22]) by ipmail01.adl6.internode.on.net with ESMTP; 27 Apr 2008 15:43:10 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sun, 27 Apr 2008 15:43:09 +0930 User-Agent: KMail/1.8 References: <481416AC.9010600@laposte.net> In-Reply-To: <481416AC.9010600@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804271543.09429.malcolm.kay@internode.on.net> Cc: =?iso-8859-1?q?Micha=EBl_Gr=FCnewald?= Subject: Re: Distributing makefiles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 06:13:12 -0000 On Sun, 27 Apr 2008 03:31 pm, Micha=EBl Gr=FCnewald wrote: > Hi all, >=20 > I am planning to distribute some of the makefiles I wrote on various > platforms, including FreeBSD. I need the help of some insightful soul to > take a few decisions: >=20 > --- Where to install? I think /usr/local/share/mk is fine; > --- How to install? Users should put a > `.MAKEFLAGS: -I/usr/local/share/mk' > statement in their /etc/make.conf, are ports scripts allowed to do this > automagically? If yes what's the best way to do this? (an ed script?) > --- Being system or not? BSD Make has two search pathes, the system one > (whith <> style inclusion) and the other one (with "" style incusion). I > think I shall consider my files non system, preserving the <> pathes for > BSD. But ther may be some pros and cons I am not aware. I think you are confusing make with the C language with respect to search=20 paths. I believe make only uses search paths other than the current directo= ry when specificly requested for example with VPATH. Regards, Malcolm=20 >=20 > Note: I did submit this questions on `ports' about ten days ago, but I=20 > did not receive any answer for this. People subscribed to `ports' will=20 > see this message for the second time, I apologize for the annoyance. >=20 > Any comments welcome, > -- > cheers, > Micha=EBl >=20 From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 06:18:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3DE106570D for ; Sun, 27 Apr 2008 06:18:01 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 421E98FC23 for ; Sun, 27 Apr 2008 06:18:01 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEFAIG3E0h5LWAW/2dsb2JhbACBU6gU X-IronPort-AV: E=Sophos;i="4.25,712,1199626200"; d="scan'208";a="90077782" Received: from ppp121-45-96-22.lns10.adl6.internode.on.net (HELO alpha.home) ([121.45.96.22]) by ipmail01.adl6.internode.on.net with ESMTP; 27 Apr 2008 15:47:59 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sun, 27 Apr 2008 15:47:59 +0930 User-Agent: KMail/1.8 References: <481416AC.9010600@laposte.net> <200804271543.09429.malcolm.kay@internode.on.net> In-Reply-To: <200804271543.09429.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804271547.59299.malcolm.kay@internode.on.net> Cc: =?iso-8859-1?q?Micha=EBl_Gr=FCnewald?= Subject: Re: Distributing makefiles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 06:18:01 -0000 On Sun, 27 Apr 2008 03:43 pm, Malcolm Kay wrote: > On Sun, 27 Apr 2008 03:31 pm, Micha=EBl Gr=FCnewald wrote: > > Hi all, > >=20 > > I am planning to distribute some of the makefiles I wrote on various > > platforms, including FreeBSD. I need the help of some insightful soul to > > take a few decisions: > >=20 > > --- Where to install? I think /usr/local/share/mk is fine; > > --- How to install? Users should put a > > `.MAKEFLAGS: -I/usr/local/share/mk' > > statement in their /etc/make.conf, are ports scripts allowed to do this > > automagically? If yes what's the best way to do this? (an ed script?) > > --- Being system or not? BSD Make has two search pathes, the system one > > (whith <> style inclusion) and the other one (with "" style incusion). I > > think I shall consider my files non system, preserving the <> pathes for > > BSD. But ther may be some pros and cons I am not aware. >=20 > I think you are confusing make with the C language with respect to search= =20 > paths. I believe make only uses search paths other than the current direc= tory > when specificly requested for example with VPATH. >=20 > Regards, > Malcolm=20 >=20 I spoke too quickly, please cancel or ignore these remarks. Sorry, Malcolm > >=20 > > Note: I did submit this questions on `ports' about ten days ago, but I= =20 > > did not receive any answer for this. People subscribed to `ports' will= =20 > > see this message for the second time, I apologize for the annoyance. > >=20 > > Any comments welcome, > > -- > > cheers, > > Micha=EBl > >=20 >=20 From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 07:15:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6367106567B for ; Sun, 27 Apr 2008 07:15:28 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF0F8FC1A for ; Sun, 27 Apr 2008 07:15:27 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id BAFEF1910AD0 for ; Sun, 27 Apr 2008 09:15:23 +0200 (CEST) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id AE151D5004A for ; Sun, 27 Apr 2008 09:15:23 +0200 (CEST) X-Envelope-Sender: ivtoman@inet.hr Received: from [10.23.99.66] (78-3-46-196.adsl.net.t-com.hr [78.3.46.196])by ls248.t-com.hr (Qmali) with ESMTP id C59485E005Efor ; Sun, 27 Apr 2008 09:15:22 +0200 (CEST) Message-ID: <48142782.1060206@inet.hr> Date: Sun, 27 Apr 2008 09:13:06 +0200 From: Ivan Toman User-Agent: Thunderbird 2.0.0.12 (X11/20080424) To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 8bit X-imss-version: 2.050 X-imss-result: Passed X-imss-scanInfo: M:P L:N SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.0.1023(15810.001) X-imss-scores: Clean:14.15652 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ppp reconnecting problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 07:15:28 -0000 Hello! I encountered big problem after switching router from gentoo to freebsd. It does not properly reconnect ADSL link after loosing connection, for example, when ISP cycle IP address or when I pull out cable from ADSL switcher for testing purporse. I cannot realize what's going on and really need help. First problem get when ISP disconnect me after 24 hours due to IP change. Link does not properly get reconnected. ppp tries to connect, and appearenty is connected, but something is wrong because no traffic is possible and after few seconds ppp goes down and reconnects again. And again and again.... Strange above all is that during reconnecting routing table always has default route, but ping does not go. Next, I will put some information that I think is relevant to problem, but it seems to me, not very useful in debugging this. During reconnecting as I describe above, this is my routing table: [root@maraska-gw /home/coldplug]# netstat -rn Routing tables Internet: Destination       Gateway           Flags   Refs     Use Netif Expire default           172.29.252.12     UGS        1 2284023  tun0 10.23.99.64/29    link#1            UC         0       0  nfe0 10.23.99.66       00:30:84:ee:3c:cf UHLW       1    4065  nfe0  1030 10.23.99.70       00:02:b3:9e:b9:81 UHLW       1  223104  nfe0  1027 127.0.0.1         127.0.0.1         UH         0      72   lo0 172.29.252.12     78.3.33.136       UGH        1       0  tun0 Internet6: Destination                      Gateway                      Flags Netif Expire ::1                              ::1                          UHL    lo0 fe80::%lo0/64                    fe80::1%lo0                  U    lo0 fe80::1%lo0                      link#5                       UHL    lo0 ff01:5::/32                      fe80::1%lo0                  UC    lo0 ff01:6::/32                      link#6                       UGC   tun0 ff02::%lo0/32                    fe80::1%lo0                  UC    lo0 ff02::%tun0/32                   fe80::211:9ff:fe8d:4a27%tun0 UGC   tun0 [root@maraska-gw /home/coldplug]# And this.... I get if try to ping ISP's dns [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ^C --- 195.29.150.3 ping statistics --- 10 packets transmitted, 0 packets received, 100.0% packet loss [root@maraska-gw /home/coldplug]# No buffer space available??? What is that? These are lines from log, where you can see that it reconnects and never stops that [root@maraska-gw /home/coldplug]# tail -f /var/log/ppp.log Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Phase: deflink: open -> lcp Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_CLOSE Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Device disconnected Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> logout Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: logout -> hangup Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Connect time: 123 secs: 374 octets in, 96 octets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: 3218212 packets in, 2284164 packets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: total 3 bytes/sec, peak 40 bytes/sec on Sat Apr 26 12:06:24 2008 Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: hangup -> opening Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Enter pause (3) for redialing. Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: Connected! Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: opening -> dial Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: dial -> carrier Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "HTdsl") Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SESSIONID Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SUCCESS Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable ^C [root@maraska-gw /home/coldplug]# Only way to exit this trouble is restarting ppp manually! [root@maraska-gw /home/coldplug]# killall ppp [root@maraska-gw /home/coldplug]# ppp -ddial htnet Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Working in ddial mode Using interface: tun0 Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes 64 bytes from 195.29.150.3: icmp_seq=2 ttl=251 time=23.386 ms This is my config file [root@maraska-gw /home/coldplug]# cat /etc/ppp/ppp.conf default:       set log Phase tun command       nat enable yes htnet:       set device PPPoE:rl0:       set authname ertoman1@htnet-dsl       set authkey ***       set dial       set login       add default HISADDR       nat addr 10.23.99.66       nat addr 10.23.99.67       nat addr 10.23.99.70 [root@maraska-gw /home/coldplug]# I tried lot of things. "enable lqr", "enable echo"... nothing helps. Moreover, testing this by pulling out cable and replugging it give no response from system! If I do that, link goes down (real link), but system do not realize that at all! Routing table remains unchanged, default route still is there, tun0 interface still configured, ppp runs, and in /var/log/ppp.log there is no new single line after that replugging cable into ADSL modem! How is that possible? Isn't pulling out and replugging cable should be enough for ppp to realize it that tun0 should be reconfigured and ppp redialed? Of course, I start ppp as: # ppp -ddial htnet I really need reliable connection that needs no permanent monitoring by myself and manually reconnecting after being dropped. Please, give me some idea what can I do because I'm still desperate after few days of trying to fix this. For sake of completness, I had no problems with this before, on gentoo. Now I run FreeBSD 7. [root@maraska-gw /home/coldplug]# uname -a FreeBSD maraska-gw.zdw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008    [1]root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 If you think that some other messages from system will be more useful, I will hapily provide them. Thanks to all! Ivan Toman References 1. mailto:root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 07:28:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F4CA1065676 for ; Sun, 27 Apr 2008 07:28:09 +0000 (UTC) (envelope-from vvatlin@masterhost.ru) Received: from csmtp1.masterhost.ru (csmtp1.masterhost.ru [83.222.22.203]) by mx1.freebsd.org (Postfix) with SMTP id C206F8FC1F for ; Sun, 27 Apr 2008 07:28:08 +0000 (UTC) (envelope-from vvatlin@masterhost.ru) Received: (qmail 45454 invoked from network); 27 Apr 2008 07:01:25 -0000 Received: from unknown (HELO cwmail.masterhost.ru) (vvatlin@masterhost.ru@83.222.22.203) by csmtp1.masterhost.ru with SMTP; 27 Apr 2008 07:01:25 -0000 Received: from 89.19.160.237 (WebMail authenticated user vvatlin@masterhost.ru) by cwmail.masterhost.ru with HTTP; Sun, 27 Apr 2008 11:01:25 +0400 (MSD) Message-ID: <52410.89.19.160.237.1209279685.webmail@cwmail.masterhost.ru> Date: Sun, 27 Apr 2008 11:01:25 +0400 (MSD) From: vvatlin@masterhost.ru To: freebsd-questions@freebsd.org User-Agent: WebMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: only 256 pty 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 07:28:09 -0000 Hi there. How can I get more than 256 pty with FreeBSD 6.2? thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 07:36:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12BE0106566C for ; Sun, 27 Apr 2008 07:36:32 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 75DFC8FC26 for ; Sun, 27 Apr 2008 07:36:31 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls242.t-com.hr (ls242.t-com.hr [195.29.150.134]) by ls405.t-com.hr (Postfix) with ESMTP id A4E7242765 for ; Sun, 27 Apr 2008 09:36:24 +0200 (CEST) Received: from ls242.t-com.hr (localhost.localdomain [127.0.0.1]) by ls242.t-com.hr (Qmlai) with ESMTP id 98491B0837B for ; Sun, 27 Apr 2008 09:36:24 +0200 (CEST) X-Envelope-Sender: ivtoman@inet.hr Received: from [10.23.99.66] (78-3-46-196.adsl.net.t-com.hr [78.3.46.196])by ls242.t-com.hr (Qmali) with ESMTP id 0E13B5BC118for ; Sun, 27 Apr 2008 09:36:24 +0200 (CEST) Message-ID: <48142C70.7070000@inet.hr> Date: Sun, 27 Apr 2008 09:34:08 +0200 From: Ivan Toman User-Agent: Thunderbird 2.0.0.12 (X11/20080424) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-imss-version: 2.050 X-imss-result: Passed X-imss-scanInfo: M:P L:N SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.0.1023(15810.001) X-imss-scores: Clean:0.84922 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) Subject: ppp reconnecting problem (try #2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 07:36:32 -0000 Hello. My first e-mail seems very messed up, so I will try again. Sorry about that, I hope this will be OK. I encountered big problem after switching router from gentoo to freebsd. It does not properly reconnect ADSL link after loosing connection, for example, when ISP cycle IP address or when I pull out cable from ADSL switcher for testing purporse. I cannot realize what's going on and really need help. First problem get when ISP disconnect me after 24 hours due to IP change. Link does not properly get reconnected. ppp tries to connect, and appearenty is connected, but something is wrong because no traffic is possible and after few seconds ppp goes down and reconnects again. And again and again.... Strange above all is that during reconnecting routing table always has default route, but ping does not go. Next, I will put some information that I think is relevant to problem, but it seems to me, not very useful in debugging this. During reconnecting as I describe above, this is my routing table: [root@maraska-gw /home/coldplug]# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.29.252.12 UGS 1 2284023 tun0 10.23.99.64/29 link#1 UC 0 0 nfe0 10.23.99.66 00:30:84:ee:3c:cf UHLW 1 4065 nfe0 1030 10.23.99.70 00:02:b3:9e:b9:81 UHLW 1 223104 nfe0 1027 127.0.0.1 127.0.0.1 UH 0 72 lo0 172.29.252.12 78.3.33.136 UGH 1 0 tun0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff01:6::/32 link#6 UGC tun0 ff02::%lo0/32 fe80::1%lo0 UC lo0 ff02::%tun0/32 fe80::211:9ff:fe8d:4a27%tun0 UGC tun0 [root@maraska-gw /home/coldplug]# And this.... I get if try to ping ISP's dns [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ^C --- 195.29.150.3 ping statistics --- 10 packets transmitted, 0 packets received, 100.0% packet loss [root@maraska-gw /home/coldplug]# No buffer space available??? What is that? These are lines from log, where you can see that it reconnects and never stops that [root@maraska-gw /home/coldplug]# tail -f /var/log/ppp.log Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Phase: deflink: open -> lcp Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_CLOSE Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Device disconnected Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> logout Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: logout -> hangup Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Connect time: 123 secs: 374 octets in, 96 octets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: 3218212 packets in, 2284164 packets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: total 3 bytes/sec, peak 40 bytes/sec on Sat Apr 26 12:06:24 2008 Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: hangup -> opening Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Enter pause (3) for redialing. Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: Connected! Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: opening -> dial Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: dial -> carrier Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "HTdsl") Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SESSIONID Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SUCCESS Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable ^C [root@maraska-gw /home/coldplug]# Only way to exit this trouble is restarting ppp manually! [root@maraska-gw /home/coldplug]# killall ppp [root@maraska-gw /home/coldplug]# ppp -ddial htnet Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Working in ddial mode Using interface: tun0 Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes 64 bytes from 195.29.150.3: icmp_seq=2 ttl=251 time=23.386 ms This is my config file [root@maraska-gw /home/coldplug]# cat /etc/ppp/ppp.conf default: set log Phase tun command nat enable yes htnet: set device PPPoE:rl0: set authname ertoman1@htnet-dsl set authkey *** set dial set login add default HISADDR nat addr 10.23.99.66 nat addr 10.23.99.67 nat addr 10.23.99.70 [root@maraska-gw /home/coldplug]# I tried lot of things. "enable lqr", "enable echo"... nothing helps. Moreover, testing this by pulling out cable and replugging it give no response from system! If I do that, link goes down (real link), but system do not realize that at all! Routing table remains unchanged, default route still is there, tun0 interface still configured, ppp runs, and in /var/log/ppp.log there is no new single line after that replugging cable into ADSL modem! How is that possible? Isn't pulling out and replugging cable should be enough for ppp to realize it that tun0 should be reconfigured and ppp redialed? Of course, I start ppp as: # ppp -ddial htnet I really need reliable connection that needs no permanent monitoring by myself and manually reconnecting after being dropped. Please, give me some idea what can I do because I'm still desperate after few days of trying to fix this. For sake of completness, I had no problems with this before, on gentoo. Now I run FreeBSD 7. [root@maraska-gw /home/coldplug]# uname -a FreeBSD maraska-gw.zdw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 If you think that some other messages from system will be more useful, I will hapily provide them. Thanks to all! Ivan Toman From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 09:05:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858B7106566B for ; Sun, 27 Apr 2008 09:05:36 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.freebsd.org (Postfix) with ESMTP id 4BA428FC18 for ; Sun, 27 Apr 2008 09:05:36 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from [87.114.71.222] (helo=[192.168.0.3]) by ptb-relay02.plus.net with esmtp (Exim) id 1Jq2pC-0004Zf-4q for freebsd-questions@freebsd.org; Sun, 27 Apr 2008 10:05:34 +0100 Message-ID: <481441DC.60103@jessikat.plus.net> Date: Sun, 27 Apr 2008 10:05:32 +0100 From: Robin Becker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: abeae4c7314e820633238d099279d9ee Subject: shutdown forensics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 09:05:36 -0000 I'm trying to figure out what caused an unplanned shutdown of a freebsd 6.0 server; I see this in the last output reboot ~ Thu Apr 24 06:15 shutdown ~ Thu Apr 24 06:10 but cannot see anybody having been logged in at the time. Is there any way I can trace the origin of the shutdown command? I looked in the root shell history various other logs, but couldn't see anything obvious. -- Robin Becker From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 10:03:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96D0F1065673 for ; Sun, 27 Apr 2008 10:03:30 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4698FC13 for ; Sun, 27 Apr 2008 10:03:30 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id A1465C9443 for ; Sun, 27 Apr 2008 12:03:28 +0200 (CEST) Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 04037-10 for ; Sun, 27 Apr 2008 12:03:13 +0200 (CEST) Received: by relay.lc-words.com (Postfix, from userid 80) id 727B8C9461; Sun, 27 Apr 2008 12:03:13 +0200 (CEST) To: freebsd-questions@freebsd.org X-PHP-Script: relay.lc-words.com/mail/index.php for 77.253.149.16 MIME-Version: 1.0 Date: Sun, 27 Apr 2008 12:03:13 +0200 From: Message-ID: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> X-Sender: z.szalbot@lc-words.com Received: from 77-253-149-16.adsl.inetia.pl [77.253.149.16] with HTTP/1.1 (POST); Sun, 27 Apr 2008 12:03:13 +0200 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard Subject: unexpected reboot / which files to check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 10:03:30 -0000 Hello, Which files (apart from /var/log/messages) one should check to determine why server was suddenly rebooted? I am on a FreeBSD 7.0-Release. Thanks! Zbyszek From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 10:08:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3D0C106564A for ; Sun, 27 Apr 2008 10:08:42 +0000 (UTC) (envelope-from sashi@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 3A8B08FC16 for ; Sun, 27 Apr 2008 10:08:42 +0000 (UTC) (envelope-from sashi@gmx.de) Received: (qmail invoked by alias); 27 Apr 2008 09:42:01 -0000 Received: from e180219142.adsl.alicedsl.de (EHLO [49.1.1.104]) [85.180.219.142] by mail.gmx.net (mp031) with SMTP; 27 Apr 2008 11:42:01 +0200 X-Authenticated: #546547 X-Provags-ID: V01U2FsdGVkX19GjVVYHOBGWQ4DTgiXybzMhpRyis+5DSsBYWnukv ydeB3/cTEUQmon Message-ID: <48144B2D.7000300@gmx.de> Date: Sun, 27 Apr 2008 11:45:17 +0200 From: Marian Asokarajan User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: libstdc++ localization aborts with an exception X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 10:08:42 -0000 Hello, if I try to instantiate the standard C++ class std::locale for locales other than "C", it aborts with an exception in FreeBSD 7-R. I suppose it has something to do with, how libstdc++ is build under fBSD. There is an option for libstdc++ called --enable-clocale[=MODEL] use MODEL for target locale package [default=auto] these MODELs are located in the base system source directory /usr/src/contrib/libstdc++/config/locale/ And probably the "darwin" (or "generic") model is used, instead of "gnu" (s.a. line 5801 in file /usr/src/contrib/libstdc++/configure). If it is so, why doesn't the "gnu" model apply to FreeBSD ? gcc -v reports: Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] on my FreeBSD 7.0-RELEASE system. My $LANG is set to de_DE.UTF-8 (via login.conf). locale -a|grep de_DE reports: de_DE.ISO8859-1 de_DE.ISO8859-15 de_DE.UTF-8 Here's a C++ code you may want to try (compile with CC ). It works well with "setenv LANG C", but fails if LANG=de_DE.UTF-8 (or any other) ! //--------------------------------------------------- #include #include #include int main() { using std::cout; using std::endl; // C L10n const char* const lstr = std::setlocale(LC_ALL, ""); cout << "C setlocale()\nresult="; cout << ( lstr ? lstr : "0" ) << "\n" << endl; // C++ L10n cout << "C++ std::locale" << endl; std::locale loc(""); cout << "std::locale loc=" << loc.name() << endl; } //--------------------------------------------------- Output (set $LANG to de_DE.UTF-8 and run with ./a.out): ------------------------------------------------------------------- C setlocale() result=de_DE.UTF-8 C++ std::locale terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Abort (core dumped) ------------------------------------------------------------------- Thanks in advance for any ideas. Marian From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 10:13:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5F6E1065672 for ; Sun, 27 Apr 2008 10:13:48 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 6FB438FC1A for ; Sun, 27 Apr 2008 10:13:48 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.184.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id D3F2F8A081B; Sun, 27 Apr 2008 12:13:41 +0200 (CEST) Message-ID: <481451BD.4010802@bsdforen.de> Date: Sun, 27 Apr 2008 12:13:17 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: z.szalbot@lc-words.com References: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> In-Reply-To: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: unexpected reboot / which files to check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 10:13:48 -0000 z.szalbot@lc-words.com wrote: > Hello, > > Which files (apart from /var/log/messages) one should check to determine > why server was suddenly rebooted? I am on a FreeBSD 7.0-Release. > > Thanks! > > Zbyszek I would take a look weather any dumps showed up in /var/crash From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 10:42:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26CA0106564A for ; Sun, 27 Apr 2008 10:42:01 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id D59DE8FC14 for ; Sun, 27 Apr 2008 10:42:00 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.184.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 2FCA98A083A for ; Sun, 27 Apr 2008 12:41:55 +0200 (CEST) Message-ID: <48145857.9090304@bsdforen.de> Date: Sun, 27 Apr 2008 12:41:27 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: lint complains about system includes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 10:42:01 -0000 I thought it's a good idea to pass my C code through lint. After a number of small changes I was able to remove all problems in my own code, apart from the pass2 errors. So my first problem is that the complaints about the system includes are annoying. Will I have to fix all those files, PR a patch and hope it gets committed to get rid of them or is there an easier way to silence lint about errors that are really not in my hand? What about that llib-lc.ln complaint? I can only find llib-lposix.ln and llib-lstdc.ln. Then there are the pass2 problems. I tried to put prototypes with the extern keyword into my code, but that didn't solve the problems. Anyway here's some example output of lint: # lint server.c server.c: stdlib.h(274): warning: ANSI C does not support 'long long' [265] stdlib.h(275): warning: ANSI C does not support 'long long' [265] stdlib.h(275): warning: ANSI C does not support 'long long' [265] _types.h(60): warning: struct __timer never defined [233] _types.h(61): warning: struct __mq never defined [233] stdio.h(76): warning: struct __sFILEX never defined [233] signal.h(100): warning: struct __ucontext never defined [233] _pthreadtypes.h(44): warning: struct pthread never defined [233] _pthreadtypes.h(45): warning: struct pthread_attr never defined [233] _pthreadtypes.h(46): warning: struct pthread_cond never defined [233] _pthreadtypes.h(47): warning: struct pthread_cond_attr never defined [233] _pthreadtypes.h(48): warning: struct pthread_mutex never defined [233] _pthreadtypes.h(49): warning: struct pthread_mutex_attr never defined [233] _pthreadtypes.h(51): warning: struct pthread_rwlock never defined [233] _pthreadtypes.h(52): warning: struct pthread_rwlockattr never defined [233] _pthreadtypes.h(53): warning: struct pthread_barrier never defined [233] _pthreadtypes.h(54): warning: struct pthread_barrier_attr never defined [233] _pthreadtypes.h(55): warning: struct pthread_spinlock never defined [233] _pthreadtypes.h(75): warning: struct pthread_barrierattr never defined [233] sem.h(32): warning: struct sem never defined [233] lint: cannot find llib-lc.ln Lint pass2: atol used( server.c(53) ), but not defined semget used( server.c(80) ), but not defined shmctl used( server.c(170) ), but not defined signal used( server.c(91) ), but not defined exit used( server.c(208) ), but not defined semctl used( server.c(149) ), but not defined printf used( server.c(49) ), but not defined strcmp used( server.c(135) ), but not defined __error used( server.c(68) ), but not defined shmat used( server.c(72) ), but not defined shmget used( server.c(65) ), but not defined semop used( server.c(121) ), but not defined shmdt used( server.c(161) ), but not defined From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 12:26:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB60E1065679 for ; Sun, 27 Apr 2008 12:26:28 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 498D78FC14 for ; Sun, 27 Apr 2008 12:26:28 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls242.t-com.hr (ls242.t-com.hr [195.29.150.134]) by ls405.t-com.hr (Postfix) with ESMTP id 474931981635 for ; Sat, 26 Apr 2008 21:14:21 +0200 (CEST) Received: from ls242.t-com.hr (localhost.localdomain [127.0.0.1]) by ls242.t-com.hr (Qmlai) with ESMTP id 3A9F0B0837B for ; Sat, 26 Apr 2008 21:14:21 +0200 (CEST) X-Envelope-Sender: ivtoman@inet.hr Received: from [10.23.99.66] (78-3-46-196.adsl.net.t-com.hr [78.3.46.196])by ls242.t-com.hr (Qmali) with ESMTP id A1C955BC1DBfor ; Sat, 26 Apr 2008 21:14:20 +0200 (CEST) Message-ID: <48137E8B.2040402@inet.hr> Date: Sat, 26 Apr 2008 21:12:11 +0200 From: Ivan Toman User-Agent: Thunderbird 2.0.0.12 (X11/20080424) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-imss-version: 2.050 X-imss-result: Passed X-imss-scanInfo: M:P L:N SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.0.1023(15810.001) X-imss-scores: Clean:0.05959 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) Subject: Problem with reconnecting ppp (ppp -ddial isp) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 12:26:29 -0000 Hello! I encountered big problem after switching router from gentoo to freebsd. It does not properly reconnect ADSL link after loosing connection, for example, when ISP cycle IP address or when I pull out cable from ADSL switcher for testing purporse. I cannot realize what's going on and really need help. First problem get when ISP disconnect me after 24 hours due to IP change. Link does not properly get reconnected. ppp tries to connect, and appearenty is connected, but something is wrong because no traffic is possible and after few seconds ppp goes down and reconnects again. And again and again.... Strange above all is that during reconnecting routing table always has default route, but ping does not go. Next, I will put some information that I think is relevant to problem, but it seems to me, not very useful in debugging this. During reconnecting as I describe above, this is my routing table: [root@maraska-gw /home/coldplug]# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.29.252.12 UGS 1 2284023 tun0 10.23.99.64/29 link#1 UC 0 0 nfe0 10.23.99.66 00:30:84:ee:3c:cf UHLW 1 4065 nfe0 1030 10.23.99.70 00:02:b3:9e:b9:81 UHLW 1 223104 nfe0 1027 127.0.0.1 127.0.0.1 UH 0 72 lo0 172.29.252.12 78.3.33.136 UGH 1 0 tun0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff01:6::/32 link#6 UGC tun0 ff02::%lo0/32 fe80::1%lo0 UC lo0 ff02::%tun0/32 fe80::211:9ff:fe8d:4a27%tun0 UGC tun0 [root@maraska-gw /home/coldplug]# And this.... I get if try to ping ISP's dns [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ping: sendto: No buffer space available ^C --- 195.29.150.3 ping statistics --- 10 packets transmitted, 0 packets received, 100.0% packet loss [root@maraska-gw /home/coldplug]# No buffer space available??? What is that? These are lines from log, where you can see that it reconnects and never stops that [root@maraska-gw /home/coldplug]# tail -f /var/log/ppp.log Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Phase: deflink: open -> lcp Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_CLOSE Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Device disconnected Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> logout Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Disconnected! Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: logout -> hangup Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Connect time: 123 secs: 374 octets in, 96 octets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: 3218212 packets in, 2284164 packets out Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: total 3 bytes/sec, peak 40 bytes/sec on Sat Apr 26 12:06:24 2008 Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: hangup -> opening Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Enter pause (3) for redialing. Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: Connected! Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: opening -> dial Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: dial -> carrier Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "HTdsl") Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SESSIONID Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received NGM_PPPOE_SUCCESS Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> login Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: login -> lcp Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: his = PAP, mine = none Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Output: ertoman1@htnet-dsl ******** Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS (Access Accepted. ) Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: Already in NETWORK phase Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable ^C [root@maraska-gw /home/coldplug]# Only way to exit this trouble is restarting ppp manually! [root@maraska-gw /home/coldplug]# killall ppp [root@maraska-gw /home/coldplug]# ppp -ddial htnet Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Working in ddial mode Using interface: tun0 Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] Warning: usage: nat addr [addr_local addr_alias] [root@maraska-gw /home/coldplug]# ping 195.29.150.3 PING 195.29.150.3 (195.29.150.3): 56 data bytes 64 bytes from 195.29.150.3: icmp_seq=2 ttl=251 time=23.386 ms This is my config file [root@maraska-gw /home/coldplug]# cat /etc/ppp/ppp.conf default: set log Phase tun command nat enable yes htnet: set device PPPoE:rl0: set authname ertoman1@htnet-dsl set authkey *** set dial set login add default HISADDR nat addr 10.23.99.66 nat addr 10.23.99.67 nat addr 10.23.99.70 [root@maraska-gw /home/coldplug]# I tried lot of things. "enable lqr", "enable echo"... nothing helps. Moreover, testing this by pulling out cable and replugging it give no response from system! If I do that, link goes down (real link), but system do not realize that at all! Routing table remains unchanged, default route still is there, tun0 interface still configured, ppp runs, and in /var/log/ppp.log there is no new single line after that replugging cable into ADSL modem! How is that possible? Isn't pulling out and replugging cable should be enough for ppp to realize it that tun0 should be reconfigured and ppp redialed? Of course, I start ppp as: # ppp -ddial htnet I really need reliable connection that needs no permanent monitoring by myself and manually reconnecting after being dropped. Please, give me some idea what can I do because I'm still desperate after few days of trying to fix this. For sake of completness, I had no problems with this before, on gentoo. Now I run FreeBSD 7. [root@maraska-gw /home/coldplug]# uname -a FreeBSD maraska-gw.zdw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 If you think that some other messages from system will be more useful, I will hapily provide them. Thanks to all! Ivan Toman From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 13:15:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E915B106564A for ; Sun, 27 Apr 2008 13:15:58 +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 9C0A48FC1C for ; Sun, 27 Apr 2008 13:15:58 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 27 Apr 2008 09:15:58 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id JWO11690; Sun, 27 Apr 2008 09:15:57 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 27 Apr 2008 09:15:45 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18452.31872.825011.919326@jerusalem.litteratus.org> Date: Sun, 27 Apr 2008 09:15:44 -0400 To: Robin Becker In-Reply-To: <481441DC.60103@jessikat.plus.net> References: <481441DC.60103@jessikat.plus.net> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: shutdown forensics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 13:15:59 -0000 Robin Becker writes: > I'm trying to figure out what caused an unplanned shutdown of a > freebsd 6.0 server; I see this in the last output > > reboot ~ Thu Apr 24 06:15 > shutdown ~ Thu Apr 24 06:10 > > but cannot see anybody having been logged in at the time. Is > there any way I can trace the origin of the shutdown command? I see a time like that, my gut suspicion for the shutdown is "something drive y a cro job". Robert Huff > > I looked in the root shell history various other logs, but couldn't see > anything obvious. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 13:23:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00260106567E for ; Sun, 27 Apr 2008 13:23:51 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 053648FC1C for ; Sun, 27 Apr 2008 13:23:50 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3RDNhSb069432; Sun, 27 Apr 2008 15:23:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3RDNef5069429; Sun, 27 Apr 2008 15:23:43 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 27 Apr 2008 15:23:40 +0200 (CEST) From: Wojciech Puchar To: z.szalbot@lc-words.com In-Reply-To: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> Message-ID: <20080427152314.K69419@wojtek.tensor.gdynia.pl> References: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: unexpected reboot / which files to check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 13:23:52 -0000 > > Which files (apart from /var/log/messages) one should check to determine > why server was suddenly rebooted? I am on a FreeBSD 7.0-Release. not much more. check dmesg.boot it often have things from before reboot. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 13:33:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EBAC106566C for ; Sun, 27 Apr 2008 13:33:27 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0BAF18FC12 for ; Sun, 27 Apr 2008 13:33:26 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from [87.114.71.222] (helo=[192.168.0.3]) by ptb-relay02.plus.net with esmtp (Exim) id 1Jq70P-0004D8-26 for freebsd-questions@freebsd.org; Sun, 27 Apr 2008 14:33:25 +0100 Message-ID: <481480A2.7070708@jessikat.plus.net> Date: Sun, 27 Apr 2008 14:33:22 +0100 From: Robin Becker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <481441DC.60103@jessikat.plus.net> <18452.31872.825011.919326@jerusalem.litteratus.org> In-Reply-To: <18452.31872.825011.919326@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: dc26b82baa999ff2e7c79fad67736e85 Subject: Re: shutdown forensics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 13:33:27 -0000 Robert Huff wrote: > Robin Becker writes: >> I'm trying to figure out what caused an unplanned shutdown of a >> freebsd 6.0 server; I see this in the last output >> >> reboot ~ Thu Apr 24 06:15 >> shutdown ~ Thu Apr 24 06:10 >> >> but cannot see anybody having been logged in at the time. Is >> there any way I can trace the origin of the shutdown command? > > I see a time like that, my gut suspicion for the shutdown is > "something drive y a cro job". > > > Robert Huff ....... I've looked at the various cron jobs and cannot see anything that looks suspicious. Root only has an ntp job which runs at 01:17. The one other user with a crontab has jobs running at *:19 and 03:13. Looked in /var/crash and see minfree from 2005. -- Robin Becker From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 13:35:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A87011065675 for ; Sun, 27 Apr 2008 13:35:22 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.freebsd.org (Postfix) with ESMTP id 393D68FC26 for ; Sun, 27 Apr 2008 13:35:22 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080427133848.DWIV17818.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Sun, 27 Apr 2008 14:38:48 +0100 Received: from catflap.slightlystrange.org ([86.6.1.242]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080427133526.XCTB29112.aamtaout04-winn.ispmail.ntl.com@catflap.slightlystrange.org>; Sun, 27 Apr 2008 14:35:26 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 2C33761BC; Sun, 27 Apr 2008 14:35:15 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by catflap.slightlystrange.org (Postfix) with ESMTPS id DB4F3614E; Sun, 27 Apr 2008 14:35:14 +0100 (BST) Received: (from danielby@localhost) by torus.slightlystrange.org (8.14.2/8.13.4/Submit) id m3RDZDEG025642; Sun, 27 Apr 2008 14:35:13 +0100 (BST) (envelope-from freebsd-questions@slightlystrange.org) Date: Sun, 27 Apr 2008 14:35:12 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20080427133512.GA1362@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org, Grant Peel References: <000b01c8a7e1$39c74520$6501a8c0@GRANT> <20080426231957.GA90187@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20080426231957.GA90187@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 7.0-RELEASE i386 Cc: Grant Peel Subject: Re: Ports Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 13:35:22 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 27, 2008 at 01:19:57AM +0200, Roland Smith wrote: > On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote: > > Hi all, > >=20 > > What is the proper method to pass configure arguments when installing a= =20 > > port? >=20 > While you can supply arguments on the command line, it is hard to > remember. >=20 > Therefore I think it is best to set arguments in make.conf. For example; >=20 > ---------- make.conf excerpt ---------- > .if ${.CURDIR:M*/graphics/xpdf} > A4=3Dyes > .endif >=20 > .if ${.CURDIR:M*/mail/mutt-devel} > WITH_MUTT_SLANG2=3Dyes > WITHOUT_MUTT_HTML=3Dyes=20 > WITHOUT_MUTT_XML=3Dyes=20 > WITHOUT_MUTT_COMPRESSED_FOLDERS=3Dyes=20 > WITHOUT_NLS=3Dyes=20 > NOPORTDOCS=3Dyes > .endif >=20 > .if ${.CURDIR:M*/print/cups*} > CUPS_OVERWRITE_BASE=3Dtrue > .endif > ---------- make.conf excerpt ---------- >=20 > The '.if' statement ensures that the variables are only set when make is > called from the praticular port direction. I find the portconf method a little easier to manage - installing=20 ports-mgmt/portconf adds some lines to your make.conf, which allow you to set options for your ports in a file called /usr/local/etc/ports.conf. For example, mail/exim: WITH_MYSQL=3D1 | WITH_SPF=3D1 The file is honoured by manual builds, and by the likes of portinstall, portmaster etc. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgUgRAACgkQixf5fBYiFmp5ywCfe7XpM6h2gxRsNF3zAo/u96I4 vEYAoLtO1rUbg41+GkesfwJ+hP8NK2uc =NBvx -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 15:51:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40BE6106567D for ; Sun, 27 Apr 2008 15:51:16 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from svarun.infrax.si (syssvarun.infrax.si [89.212.81.4]) by mx1.freebsd.org (Postfix) with ESMTP id DD2258FC1B for ; Sun, 27 Apr 2008 15:51:15 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (sysSvarun.infrax.si [89.212.81.4]) by svarun.infrax.si (Postfix) with ESMTP id 897DF24AA72; Sun, 27 Apr 2008 17:51:13 +0200 (CEST) Received: from svarun.infrax.si ([89.212.81.4]) by localhost (svarun.infrax.si [89.212.81.4]) (amavisd-maia, port 10024) with ESMTP id 80156-08; Sun, 27 Apr 2008 17:51:06 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejko@infrax.si) by svarun.infrax.si (Postfix) with ESMTP id 48AC524AA71; Sun, 27 Apr 2008 17:51:06 +0200 (CEST) Message-ID: <4814A0E9.4010005@skoberne.net> Date: Sun, 27 Apr 2008 17:51:05 +0200 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: martes@mgwigglesworth.com, User Questions References: <1209310959.10040.116.camel@localhost> In-Reply-To: <1209310959.10040.116.camel@localhost> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: Subject: Re: VLAN Trunking with Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 15:51:16 -0000 Hey, > I am sure this topic has been discussed before, however, I have been > coming across unanswered inquiries within the last two months about > possibly using the trunking aspect of 802.1q standard network routing, > with only freebsd. > > I have attempted to create mulitple vlan interfaces and have failed, on > 6.3-Stable. > > Does anyone know if the vlan emplimentation on Freebsd allows for > trunking or, at the least, multiple vlans per physical device? This is my config: cloned_interfaces="vlan2 vlan3 vlan4 vlan5" ifconfig_re0="inet 192.168.1.62 netmask 255.255.255.192" ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128" ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240" ifconfig_em0="up" ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0" ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0" ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0" ifconfig_vlan5="192.168.100.1 vlan 5 vlandev em0" re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to a switch with 802.1q support. HTH, Nejc From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 16:07:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7DD1106566B for ; Sun, 27 Apr 2008 16:07:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id AEA928FC1F for ; Sun, 27 Apr 2008 16:07:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3RG7o4H070097; Sun, 27 Apr 2008 18:07:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3RG7ocv070094; Sun, 27 Apr 2008 18:07:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 27 Apr 2008 18:07:50 +0200 (CEST) From: Wojciech Puchar To: =?ISO-8859-2?Q?Nejc_=A9koberne?= In-Reply-To: <4814A0E9.4010005@skoberne.net> Message-ID: <20080427180614.X70090@wojtek.tensor.gdynia.pl> References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: martes@mgwigglesworth.com, User Questions Subject: Re: VLAN Trunking with Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 16:07:58 -0000 > > This is my config: > > cloned_interfaces="vlan2 vlan3 vlan4 vlan5" > ifconfig_re0="inet 192.168.1.62 netmask 255.255.255.192" > ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128" > ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240" > ifconfig_em0="up" > ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0" > ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0" > ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0" > ifconfig_vlan5="192.168.100.1 vlan 5 vlandev em0" > > re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to > a switch > with 802.1q support. > maybe off-topic but when buying switches make sure it's clearly written "802.1Q support". There are "VLAN capable" switches, some very cheap, that just block traffic between ports except between port 1 and others, but no vlan tagging. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 16:20:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE33106564A for ; Sun, 27 Apr 2008 16:20:00 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 608258FC0A for ; Sun, 27 Apr 2008 16:20:00 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id B0E2BC9424; Sun, 27 Apr 2008 18:19:58 +0200 (CEST) Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 11970-10; Sun, 27 Apr 2008 18:19:43 +0200 (CEST) Received: from [127.0.0.1] (77-253-149-16.adsl.inetia.pl [77.253.149.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: z.szalbot@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id DEF8DC9422; Sun, 27 Apr 2008 18:19:42 +0200 (CEST) Message-ID: <4814A798.5020504@lc-words.com> Date: Sun, 27 Apr 2008 18:19:36 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Dominic Fandrey References: <93414d2f9a9809bb48dacbf4890d700e@relay.lc-words.com> <481451BD.4010802@bsdforen.de> In-Reply-To: <481451BD.4010802@bsdforen.de> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070705070705000001010802" X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org Subject: Re: unexpected reboot / which files to check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 16:20:00 -0000 This is a cryptographically signed message in MIME format. --------------ms070705070705000001010802 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello all, Dominic Fandrey pisze: >> Which files (apart from /var/log/messages) one should check to determine >> why server was suddenly rebooted? I am on a FreeBSD 7.0-Release. > > I would take a look weather any dumps showed up in /var/crash Nothing in /var/crash This is the last line before reboot: Apr 27 10:48:39 relay syslogd: exiting on signal 15 This is the first line during system startup: Apr 27 10:57:40 relay syslogd: kernel boot file is /boot/kernel/kernel Which leads me to believe the system was off for a few minutes. It is a new machine, currently not too much loaded so it wouldn't take so long to start (9 minutes). Will check with the provider if there was some short power failure or something like that. Thanks! Zbigniew Szalbot -- Zbigniew Szalbot www.lc-words.com --------------ms070705070705000001010802 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNDI3MTYxOTM2WjAjBgkq hkiG9w0BCQQxFgQUYGpZnTZHQwKXeul0forIa/3Ue5gwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGALdGtYi7I3EemuL6PjCY4TKRcOssLzK5v CPDPoxZ2lP9R6d/nw+hVzmDYdSgiv1P+hlS6cnLMM5aYxRIrM9Ok1FOjNxcroPANaJwetyYp bB/I+RFHFLJOJch1SbxZW0VtUROSobp3nOi4K2yneeTFj7K9LBKBa5alWDQYy5a7yWEAAAAA AAA= --------------ms070705070705000001010802-- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 17:21:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19F70106564A; Sun, 27 Apr 2008 17:21:44 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id 785258FC1A; Sun, 27 Apr 2008 17:21:42 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from [192.168.0.1] (athedsl-316501.home.otenet.gr [85.72.91.243]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m3RHLeAI019223; Sun, 27 Apr 2008 20:21:40 +0300 Message-ID: <4814B628.7090307@otenet.gr> Date: Sun, 27 Apr 2008 20:21:44 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-doc@freebsd.org, "freebsd-questions@freebsd.org" References: <4810BCC4.9090401@otenet.gr> In-Reply-To: <4810BCC4.9090401@otenet.gr> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Article on implementing UFS journaling on desktop PCs (updated) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 17:21:44 -0000 I have just updated my recent article on journaling for desktops: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html Main differences: - The abstract is somewhat shorter - Separate providers for journal and data are needed only when the partition to be journaled is not empty. This is now clarified in the "Understanding journaling" section. - A new section "Journaling new partitions" was added (explains how to use a single provider for data / journal on an empty/new partition and how to set the size of the journal) - A "further reading" section was added with a few links related to journaling. - Various other small fixes in content / markup. Please review this new revision and send me your comments. Thanks Manolis From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 18:26:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 276F3106567F for ; Sun, 27 Apr 2008 18:26:17 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 13C378FC17 for ; Sun, 27 Apr 2008 18:26:15 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m3RIPaOk018124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Apr 2008 19:25:46 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4814C512.1030706@unsane.co.uk> Date: Sun, 27 Apr 2008 19:25:22 +0100 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080426) MIME-Version: 1.0 To: =?ISO-8859-2?Q?Nejc_=A9koberne?= References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> In-Reply-To: <4814A0E9.4010005@skoberne.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: martes@mgwigglesworth.com, User Questions Subject: Re: VLAN Trunking with Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 18:26:17 -0000 Nejc ©koberne wrote: > Hey, > >> I am sure this topic has been discussed before, however, I have been >> coming across unanswered inquiries within the last two months about >> possibly using the trunking aspect of 802.1q standard network routing, >> with only freebsd. >> I have attempted to create mulitple vlan interfaces and have failed, on >> 6.3-Stable. >> Does anyone know if the vlan emplimentation on Freebsd allows for >> trunking or, at the least, multiple vlans per physical device? > > This is my config: > > cloned_interfaces="vlan2 vlan3 vlan4 vlan5" > ifconfig_re0="inet 192.168.1.62 netmask 255.255.255.192" > ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128" > ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240" > ifconfig_em0="up" > ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0" > ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0" > ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0" > ifconfig_vlan5="192.168.100.1 vlan 5 vlandev em0" > > re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is > connected to a switch > with 802.1q support. > If you are just creating from the command line and want cisco router like subinterfaces, the following works (I have the vlan module built into my kernel might need to load it otherwise.) root@crab (19:22:09 <~>) 0 # ifconfig bge0.1 ifconfig: interface bge0.1 does not exist root@crab (19:22:13 <~>) 0 # ifconfig bge0.1 create root@crab (19:22:15 <~>) 0 # ifconfig bge0.1 bge0.1: flags=8842 metric 0 mtu 1500 options=3 ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX ) status: active vlan: 1 parent interface: bge0 root@crab (19:22:17 <~>) 0 # ifconfig bge0.1 destroy Not certain how thats represented in rc.conf, Will have a look. Vince > HTH, > Nejc > _______________________________________________ > 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 Apr 27 18:44:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B99A106567B for ; Sun, 27 Apr 2008 18:44:43 +0000 (UTC) (envelope-from guus@houtzager.net) Received: from oban.houtzager.net (unknown [IPv6:2001:828:301:53::195]) by mx1.freebsd.org (Postfix) with ESMTP id D8D888FC1A for ; Sun, 27 Apr 2008 18:44:42 +0000 (UTC) (envelope-from guus@houtzager.net) Received: from localhost (oban [127.0.0.1]) by oban.houtzager.net (Postfix) with ESMTP id 83E68586D4 for ; Sun, 27 Apr 2008 20:44:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at oban.houtzager.net Received: from oban.houtzager.net ([127.0.0.1]) by localhost (oban.houtzager.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CqHeQKeaiq0T for ; Sun, 27 Apr 2008 20:44:31 +0200 (CEST) Received: from [192.168.1.40] (195-240-108-75.ip.telfort.nl [195.240.108.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oban.houtzager.net (Postfix) with ESMTPSA id 8BD9A585CF for ; Sun, 27 Apr 2008 20:44:31 +0200 (CEST) Message-Id: From: Guus Houtzager To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 27 Apr 2008 20:44:31 +0200 X-Mailer: Apple Mail (2.919.2) Subject: ZFS + gmirror: how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 18:44:43 -0000 Hi, I'm rather new to FreeBSD and I'm having trouble with ZFS and gmirror. I've used this guide to install FreeBSD 7 on ZFS: http://www.ish.com.au/solutions/articles/freebsdzfs This goes flawless, however, the /bootdir is still just /dev/ad01sa (in my case), so if that disk breaks, I still can't boot from ad1. So I thought I could just make a gmirror containing /dev/ad0s1a and ad1s1a and use that for /bootdir. This however does not work. What I did is: - gmirror load - gmirror label -v -b round-robin gm0 /dev/ad1s1a - newfs /dev/mirror/gm0 - mount /dev/mirror/gm0 /mnt/tmp - dump -L -0 -f- /bootdir | (cd /mnt/tmp && restore -r -v -f-) - edit /etc/fstab and /mnt/root/etc/fstab: change all references to ad0s1a by /dev/mirror/gm0 - echo 'geom_mirror_load="YES"' >> /boot/loader.conf - echo 'geom_mirror_load="YES"' >> /mnt/tmp/boot/loader.conf - reboot However: I can see the bootprocess starting first ZFS followed by a message saying it's waiting for GEOM gmirror to start, which it does after a little while and then I get a prompt where I can manually tell the system where the root filesystem is. And if I tell it zfs:system/ root it does not work (my zpool is named system). Anyone know what I'm doing wrong and what's the best way to do this? Thanks in advance! PS: please CC me in any reply, as I'm not subscribed to this list. Thanks! Regards, -- Guus Houtzager Email: guus@houtzager.net ++?????++ Out of Cheese error. Redo from start. -- Terry Pratchett, Interesting Times From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 20:11:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378901065672 for ; Sun, 27 Apr 2008 20:11:40 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [213.186.42.107]) by mx1.freebsd.org (Postfix) with ESMTP id EA55E8FC16 for ; Sun, 27 Apr 2008 20:11:39 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (unknown [77.192.158.73]) by smtp.lamaiziere.net (Postfix) with ESMTP id BB5F011805AB for ; Sun, 27 Apr 2008 22:11:38 +0200 (CEST) Received: from baby-jane (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id F1BC3402492 for ; Sun, 27 Apr 2008 22:11:37 +0200 (CEST) Date: Sun, 27 Apr 2008 22:11:37 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20080427221137.246dbd8e@baby-jane> In-Reply-To: <75a268720804261056m2ea7cc48pb103b973a1a747b9@mail.gmail.com> References: <75a268720804261056m2ea7cc48pb103b973a1a747b9@mail.gmail.com> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-apple-darwin9.2.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: LOADER_TFTP_SUPPORT=YES and FreeBSD 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 20:11:40 -0000 Le Sat, 26 Apr 2008 20:56:26 +0300, "Omer Faruk Sen" a écrit : > Hi, Hello, > I am trying to build a install server. I have used make > -DLOADER_TFTP_SUPPORT=YES in /usr/src/obj and copied it over to > my /pxeboot/ which I have copied contents from FreeBSD 6.3 Install > cd. But no matter what I have done pxeboot always tries to use nfs > but no tftp. There is a similar thread that states with FreeBSD 6.3 > and above LOADER_TFTP_SUPPORT=YES doesn't work: > > http://www.opensubscriber.com/message/freebsd-questions@freebsd.org/8560733.html > > > Does anyone successfully managed to use pxeboot with tftp ( and > mfsroot) but not with the nfs mount? It seems you must recompile the kernel without NFS_ROOT. See : http://www.ultradesic.com/?section=144 I've just did it to install FreeBSD 7.0 via tftp only on a litle Soekris box. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 20:45:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE9B8106564A for ; Sun, 27 Apr 2008 20:45:55 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [213.186.42.107]) by mx1.freebsd.org (Postfix) with ESMTP id 9D94C8FC17 for ; Sun, 27 Apr 2008 20:45:55 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (unknown [77.192.158.73]) by smtp.lamaiziere.net (Postfix) with ESMTP id BA06E11805AD; Sun, 27 Apr 2008 22:45:54 +0200 (CEST) Received: from baby-jane (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id ECAB4402C4F; Sun, 27 Apr 2008 22:45:53 +0200 (CEST) Date: Sun, 27 Apr 2008 22:45:52 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20080427224552.35f96ab0@baby-jane> In-Reply-To: <48142782.1060206@inet.hr> References: <48142782.1060206@inet.hr> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-apple-darwin9.2.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ivan Toman Subject: Re: ppp reconnecting problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 20:45:56 -0000 Le Sun, 27 Apr 2008 09:13:06 +0200, Ivan Toman a __crit : > > Hello! > I encountered big problem after switching router from gentoo to > freebsd. It does not properly reconnect ADSL link after loosing > connection, for example, when ISP cycle IP address or when I pull > out cable from ADSL switcher for testing purporse. I cannot realize > what's going on and really need help. > First problem get when ISP disconnect me after 24 hours due to IP > change. Link does not properly get reconnected. ppp tries to > connect, and appearenty is connected, but something is wrong because > no traffic is possible and after few seconds ppp goes down and > reconnects again. And again and again.... If you kill ppp and restart it, does-it work again ? When I was runing ppp on FreeBSD i saw few times this kind of "already in network phase" You can restart ppp each day with cron From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 21:26:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 259621065670 for ; Sun, 27 Apr 2008 21:26:08 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id C93C68FC1B for ; Sun, 27 Apr 2008 21:26:07 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so1244847anc.13 for ; Sun, 27 Apr 2008 14:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=De4s6yPZ6+pSL/A3ttN3CVGdicx/1pZXIsw0NnUzmtQ=; b=JFz2T6U/N0703J2p3f+w1EMII9iWHvduTK49TKwlesyiFrKDLDcr9dsc6r9DbpPDAnu8Lcsj7rlm93o1Q5De8HJxsJvoCUI+dz/yCdVswV6RKLdDa9pmpzp1DhHVZZUk18005VhrS8x0CUlDa41JxDHCpskEmNqJgKxzRjJjdZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=nNhUphkbvrw9JiylGACl4RSXTLwjxGgESznIbav3li/uN7W6UVt0ZmrmL+cImPJsT/rV9A+TN1vDGuIl7qUwbIK34IkMjRXtDHmsh4CLTUV9jmJZttI74t7AKiYzi94XAk7+dqueDI+mJdY+LAsRLd8QsfXP0xd7xY+3fWvVAmc= Received: by 10.100.178.13 with SMTP id a13mr4717194anf.8.1209331567141; Sun, 27 Apr 2008 14:26:07 -0700 (PDT) Received: by 10.100.108.6 with HTTP; Sun, 27 Apr 2008 14:26:07 -0700 (PDT) Message-ID: <3b47caa90804271426k27cbfdffhaf516c9119ac2c07@mail.gmail.com> Date: Sun, 27 Apr 2008 16:26:07 -0500 From: Novembre To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Compiz Fusion brings all Gnome with itself X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Apr 2008 21:26:08 -0000 Hi, I've installed Compiz Fusion on my machine using packages. Installing it from ports was unsuccessful since it needs gio-fam-backend which in turn needs glib-2.16.3 to be installed. I don't really want to update my glib since I don't know if I need to update all my system (or at least those packages which depend on it) as well or not after updating glib (I just didn't want to take the risk). Anyhow, installing Compiz Fusion from ports brought with it all Gnome: ------------- [me@rsx4 /usr/ports]$ pkg_info | grep -i "gnome" atk-1.20.0 A GNOME accessibility toolkit (ATK) eel-2.20.0 Generally useful classes and extensions to GNOME gconf2-2.20.1 A configuration database system for GNOME gnome-control-center-2.20.1_1 Control center for GNOME 2 project gnome-desktop-2.20.1_1 Additional UI API for GNOME 2 gnome-doc-utils-0.12.2 GNOME doc utils gnome-icon-theme-2.20.0_1 A collection of icons for the GNOME 2 desktop gnome-keyring-2.20.1 A program that keeps passwords and other secrets gnome-menus-2.20.1 Implementation of the FreeDesktop Desktop Menu Spec gnome-mime-data-2.18.0_2 A MIME and Application database for GNOME gnome-panel-2.20.1 Panel component for the GNOME 2 Desktop gnome-vfs-2.20.0_2 GNOME Virtual File System gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scrip gnomehier-2.3_10 A utility port that creates the GNOME directory tree libbonobo-2.20.1_1 A component and compound document system for GNOME2 libbonoboui-2.20.0 GUI frontend to the libbonobo component of GNOME 2 libglade2-2.6.2 GNOME glade library libgnome-2.20.1.1_1 Libraries for GNOME, a GNU desktop environment libgnomecanvas-2.20.1.1 A graphics library for GNOME libgnomekbd-2.20.0 GNOME keyboard shared library libgnomeui-2.20.1.1 Libraries for the GNOME GUI, a GNU desktop environment libxml2-2.6.31 XML parser library for GNOME libxslt-1.1.22_1 The XSLT C library for GNOME nautilus-2.20.0 File manager for the GNOME desktop py25-libxml2-2.6.31 Python interface for XML parser library for GNOME ------------- especially, 'ps -ax' now shows these two processes running: ------------- 865 ?? I 0:00.15 /usr/local/libexec/gconfd-2 14 876 ?? I 0:00.03 gnome-pty-helper ------------- How can I stop them from running when I start X? And how can I remove all these useless Gnome packages that I won't use? Do I need to update everything that depends on it if I decide to update glib? Thanks :) From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 01:14:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A6E1065688 for ; Mon, 28 Apr 2008 01:14:21 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.freebsd.org (Postfix) with ESMTP id 379538FC13 for ; Mon, 28 Apr 2008 01:14:21 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-109-162-173.lsanca.dsl-w.verizon.net [71.109.162.173]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id m3S1EI4g040924 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 27 Apr 2008 18:14:20 -0700 (PDT) (envelope-from bc979@lafn.org) Message-Id: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> From: Doug Hardie To: freebsd-questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 27 Apr 2008 18:14:16 -0700 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.88.7/6973/Sun Apr 27 13:15:00 2008 on zoot.lafn.org X-Virus-Status: Clean Subject: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 01:14:21 -0000 FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago (perhaps years) I seem to recall some discussion that one or more of those was better maintained and higher quality than the others. I don't see any indications of this in the handbook. Several years ago I needed to do traffic shaping and used IPFW with dummynet. It worked but the need eventually went away. More recently I needed to incorporate spamd which defaults to PF so I used that. However, now I am back to needing traffic shaping again. I suspect trying to use both PF and IPFW simultaneously will not be a good approach. In addition, there now are instructions for using spamd with IPFW so it appears that either PF or IPFW will do what I need. Is there any additional information available to assist in selecting between those? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 01:20:43 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C212106567B for ; Mon, 28 Apr 2008 01:20:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 025FE8FC2E for ; Mon, 28 Apr 2008 01:20:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m3S1KcO7001485; Sun, 27 Apr 2008 18:20:39 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 27 Apr 2008 18:20:38 -0700 (PDT) Date: Sun, 27 Apr 2008 18:20:38 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20080428012035.GA89532@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 21++ years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: problems with a graphical locking screen/app X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 01:20:43 -0000 Maybe thie list knows. I've searched the web, and KDE Sites. NADA. For a couple weeks, when my screen blanks, it requires my passwd to get back to work. I have no screensaver srt, AFAICT. I messed with ``Configure Desktop'' to no avail. The screen has my name and a window for the passwd and below that "change user | .... | Unlock" &c. des anybody know wyhat this is? and how to fix? tx, -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 02:00:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A6611065673 for ; Mon, 28 Apr 2008 02:00:41 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id AA11C8FC24 for ; Mon, 28 Apr 2008 02:00:40 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 7604 invoked from network); 27 Apr 2008 21:00:40 -0500 Received: from 124-171-253-152.dyn.iinet.net.au (HELO ayiin) (124.171.253.152) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 27 Apr 2008 21:00:40 -0500 Date: Mon, 28 Apr 2008 12:00:33 +1000 From: Norberto Meijome To: z.szalbot@lc-words.com Message-ID: <20080428120033.68961ce2@ayiin> In-Reply-To: <4812FF0E.5070809@lc-words.com> References: <20080424181040.GB14991@nupfel.de> <48123D13.5030900@passagen.se> <20080426094747.GC14991@nupfel.de> <4812FF0E.5070809@lc-words.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; 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 network traffic query tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 02:00:41 -0000 On Sat, 26 Apr 2008 12:08:14 +0200 Zbigniew Szalbot wrote: > I hope I am not stealing the thread by asking an additional question. > Thanks to this thread I discovered :) systat -ifstat and other switches. > Does such data like below survive reboots? > > re0 in 8.062 KB/s 13.414 KB/s 1.987 GB > out 21.561 KB/s 53.346 KB/s 3.043 GB i don't think so.. and they *may* even wrap around on a server with a long uptime and lots of traffic... B _________________________ {Beto|Norberto|Numard} Meijome Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir in the rest. Hope it doesn't stink. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 03:00:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F1E1065674 for ; Mon, 28 Apr 2008 03:00:48 +0000 (UTC) (envelope-from martincad@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6BE8FC0C for ; Mon, 28 Apr 2008 03:00:48 +0000 (UTC) (envelope-from martincad@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7038196waf.3 for ; Sun, 27 Apr 2008 20:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=9UQxQFi/GxwDeL5h13JQXODTkGGnmJ70meXQRoVOUNI=; b=DNYRYtmom2mC/q16d/AGzIkNZD5eUYVdp1j7Q/BV8qhGTXMDUtNmfV8dF6BFeHt5gl89sZxxP9o/jpb5mnqqF1aCO7058c+UCR7s5jrQVm5WoXo/mKrpDY2NGlSuPBkBJ10NO5onyo7LgpEi39nTw3N4hthrxEOJ4kc2YckSxTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=TGW+fGQyeF1GBqBh/7BaeY5Qndagxxu6v+R7A5zqmAJDvhyu4FOCezMCr1curAlvsAQDDhnLbPjiXH9u8wHbeX6HYDgn1j+PqnBiADGWOGnfumW9LqfH2pi5r1MOZxzzYSUvFktVSPS5zr3xJYaCJOgg4FG9C0F5UH9WHU5MwpI= Received: by 10.114.14.1 with SMTP id 1mr5913389wan.183.1209350068724; Sun, 27 Apr 2008 19:34:28 -0700 (PDT) Received: by 10.114.67.15 with HTTP; Sun, 27 Apr 2008 19:34:28 -0700 (PDT) Message-ID: <2062979c0804271934v4208686dq5f02d9c2c21bde84@mail.gmail.com> Date: Sun, 27 Apr 2008 23:34:28 -0300 From: "Martin Candurra" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question behavior about socket syscall in release 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 03:00:48 -0000 I have found some weird behavior about the socket system call in freebsd release 6.2. The problem appears if I try to open more sockets than the ulimits allows: the socket system call gets blocked instead of returning an EMFILE error. This only happens to me in release 6.2 ( I tested in 7.0 but it works fine). The following python script is what I have used to reproduce the issue: import os import socket from random import randint import sys socketAddress = ("127.0.0.1", randint(20000, 30000)) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(socketAddress) s.listen(1) socketList = [] child = -1 for i in range(10000): child = os.fork() if (child): clientCon, address = s.accept() socketList.append(clientCon) os.waitpid(0, os.WNOHANG) else: print "child %d" % i clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if (clientSocket==-1): print("client socket error") err = clientSocket.connect(socketAddress) if (err==-1): print("client connect error") break Is there something I'm missing ? Can someone shed me some light about this ? Thanks in advance. Best regards. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 03:12:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8718106568B for ; Mon, 28 Apr 2008 03:12:38 +0000 (UTC) (envelope-from ehumphri@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE288FC14 for ; Mon, 28 Apr 2008 03:12:38 +0000 (UTC) (envelope-from ehumphri@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so790477ywh.13 for ; Sun, 27 Apr 2008 20:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0qO96H47aNGQlfmznbsNM0un1ev8levtOHwXoFjX6To=; b=riVcMhOq8JlVeAR9YWSCtglbBT+2G5+MBaTmDuzqfX4+Ryi/2A+9XBJXvaAv368fBp0Ap31WnyrEwGixr4pGeLyC0fHBbDB3dVpS7g3x5NF3xUViXTi1O04H4NdIrjOZTQWYx47/T/rw4a0FHtkfDV5GlrnFc6NLDC/4oVeB7zM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qTfgvS9710nOt2acXhTcWFP8Xsf2igq4APM9pZNRhuHLHiPA6kZRvr0J+tdL/YL+IpG2xBPLvuLbjcEzi32QyCWWQuknrEZ+ADKV0LeUZ0dOE/3t++MPWV+/mwJGFYRsYLfzROEYoHQrAZ5mJBVHMdEcENcNuEkZCwqYis+YI0I= Received: by 10.150.79.32 with SMTP id c32mr3210808ybb.158.1209350675110; Sun, 27 Apr 2008 19:44:35 -0700 (PDT) Received: by 10.151.11.10 with HTTP; Sun, 27 Apr 2008 19:44:35 -0700 (PDT) Message-ID: <9b09889b0804271944l24f9d7a8v240017ac401bd828@mail.gmail.com> Date: Sun, 27 Apr 2008 21:44:35 -0500 From: "Eric Humphries" To: "Doug Hardie" In-Reply-To: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> Cc: freebsd-questions Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 03:12:38 -0000 On Sun, Apr 27, 2008 at 8:14 PM, Doug Hardie wrote: > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago (perhaps > years) I seem to recall some discussion that one or more of those was better > maintained and higher quality than the others. I don't see any indications > of this in the handbook. Several years ago I needed to do traffic shaping > and used IPFW with dummynet. It worked but the need eventually went away. > More recently I needed to incorporate spamd which defaults to PF so I used > that. However, now I am back to needing traffic shaping again. I suspect > trying to use both PF and IPFW simultaneously will not be a good approach. > In addition, there now are instructions for using spamd with IPFW so it > appears that either PF or IPFW will do what I need. Is there any additional > information available to assist in selecting between those? 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" > PF supports traffic shaping via ALTQ. -- efk From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 04:51:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9645106566B for ; Mon, 28 Apr 2008 04:51:56 +0000 (UTC) (envelope-from jaurang@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8CA528FC22 for ; Mon, 28 Apr 2008 04:51:56 +0000 (UTC) (envelope-from jaurang@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7092345waf.3 for ; Sun, 27 Apr 2008 21:51:56 -0700 (PDT) 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:content-type:content-transfer-encoding; bh=ST7chgU+KaKEvlePYtOouVOemhX7xGUQ4Jgu22jZyls=; b=rVWo4p88kpBc0zEAudx2Xt+kruCceS6A8oLL/qjoDiz48NWOb4wX2/qUSf/3XQ6p47G3WcJQLJLBcSDqRQxmigTWOZN8gmNCySedVPqaci2tz6mlQYKt5qcRHc1qoyl0xsg+jr0DORc1RCpv0vvpohsXeqzy5Q2zenT2tP7vBuw= 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=PhOvgKBTHZkkHy9nl4FWNNK+bzr1Bcs9WUU2a8ERMj4kehqU5mut+sCggCG0yQ2NlL39e37WH96ewcmsVpo7ulW8mv/gqTLxzrPhF6UUNVUYLb5XflVrm2qfh+hWxT7Z4XYKI0iW64tK418sZ9ieXCK+M46A5/GTO9hjpvcKzRM= Received: by 10.114.184.9 with SMTP id h9mr5971368waf.151.1209356636331; Sun, 27 Apr 2008 21:23:56 -0700 (PDT) Received: from ?192.168.10.10? ( [61.255.4.45]) by mx.google.com with ESMTPS id z15sm9102300pod.11.2008.04.27.21.23.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 27 Apr 2008 21:23:55 -0700 (PDT) Message-ID: <4815512E.2000106@gmail.com> Date: Mon, 28 Apr 2008 13:23:10 +0900 From: "Ho-young, SONG" User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: 7bit Subject: fetch question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 04:51:56 -0000 Hello, i'm korea FreeBSD user i have problem i can't install port programs and portsnaps i can do wget this program but can't do fetch FreeBSD STABLE FreeBSD 7.0-STABLE what is problem? ----------------------- [root@jaurang /usr/ports/net-p2p/rtorrent]# fetch -p http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz fetch: http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz: Connection refused [root@jaurang /usr/ports/net-p2p/rtorrent]# fetch http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz fetch: http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz: Connection refused [root@jaurang /usr/ports/net-p2p/rtorrent]# wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz --2008-04-28 13:18:57-- http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz Resolving libtorrent.rakshasa.no... 66.220.1.220 Connecting to libtorrent.rakshasa.no|66.220.1.220|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 489174 (478K) [application/x-gzip] Saving to: `rtorrent-0.7.9.tar.gz' 31% [===========> ] 155,600 104K/s ^ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 04:54:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B821E1065670 for ; Mon, 28 Apr 2008 04:54:55 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 5277A8FC1D for ; Mon, 28 Apr 2008 04:54:55 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id D529DC94AA; Mon, 28 Apr 2008 06:54:53 +0200 (CEST) Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 60816-02; Mon, 28 Apr 2008 06:54:53 +0200 (CEST) Received: from [127.0.0.1] (cxw210.internetdsl.tpnet.pl [83.19.156.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: z.szalbot@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 72D81C942E; Mon, 28 Apr 2008 06:54:53 +0200 (CEST) Message-ID: <4815589B.2@lc-words.com> Date: Mon, 28 Apr 2008 06:54:51 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Norberto Meijome References: <20080424181040.GB14991@nupfel.de> <48123D13.5030900@passagen.se> <20080426094747.GC14991@nupfel.de> <4812FF0E.5070809@lc-words.com> <20080428120033.68961ce2@ayiin> In-Reply-To: <20080428120033.68961ce2@ayiin> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050202010705090507060704" Cc: freebsd-questions@freebsd.org Subject: Re: simple network traffic query tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 04:54:55 -0000 This is a cryptographically signed message in MIME format. --------------ms050202010705090507060704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Norberto Meijome pisze: > On Sat, 26 Apr 2008 12:08:14 +0200 > Zbigniew Szalbot wrote: > >> I hope I am not stealing the thread by asking an additional question. >> Thanks to this thread I discovered :) systat -ifstat and other switches. >> Does such data like below survive reboots? >> >> re0 in 8.062 KB/s 13.414 KB/s 1.987 GB >> out 21.561 KB/s 53.346 KB/s 3.043 GB > > i don't think so.. and they *may* even wrap around on a server with a long uptime and lots of traffic... Due to an unexpected power off, I have it confirmed... ;) Thanks Norberto! -- Zbigniew Szalbot www.lc-words.com --------------ms050202010705090507060704 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNDI4MDQ1NDUxWjAjBgkq hkiG9w0BCQQxFgQUmd5m48T00opEKXSilkYZaYif88swUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAC82Fn9CK8E7/tOKOCLRcNv5Y8vlrq5Wy JLrx+Ypyk+afABhQNod5CGbPCIqKt+aQU4FwDmndqMMuA1SnqUmAAr0cfQ35dIEhKbkFjXaJ cTNEe82X8lBL3HMrfDkQRkeUCAxjspUJG8m6Hf0NKtO+OYTxVGpTWLR+EgLf0Zc7Dd4AAAAA AAA= --------------ms050202010705090507060704-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 05:03:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82527106564A for ; Mon, 28 Apr 2008 05:03:54 +0000 (UTC) (envelope-from beat.siegenthaler@beatsnet.com) Received: from atom.beatsnet.com (cl-26.zrh-01.ch.sixxs.net [IPv6:2001:41e0:ff00:19::2]) by mx1.freebsd.org (Postfix) with ESMTP id EF1648FC13 for ; Mon, 28 Apr 2008 05:03:53 +0000 (UTC) (envelope-from beat.siegenthaler@beatsnet.com) Received: from [192.168.124.200] (200-internal-wlan.beatsnet.com [192.168.124.200]) (authenticated bits=0) by atom.beatsnet.com (8.14.2/8.14.2) with ESMTP id m3S53mTa086341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 28 Apr 2008 07:03:48 +0200 (CEST) (envelope-from beat.siegenthaler@beatsnet.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beatsnet.com; s=ATOM_DKIM; t=1209359032; bh=8PO+3Z/clEtKfD3m3sFFt/H0+YSH0gWXYTa/g pivMOA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=HroeafobEON/ 2owrs9zpvp9elwJwj4l7u/uogrPH5MQrttXgox4kFmJvHrLD5SmLnCNgJ53JAkkhvhe /ZKaIQyG6P9DmtX+QnY0OPFZQd8zf0izuemHTPBRlX3HNlIulbLfp3ua389P44Pk//0 1gqHzQ937i+Alz/wJk+aGUCxM= Message-ID: <48155AB3.1010203@beatsnet.com> Date: Mon, 28 Apr 2008 07:03:47 +0200 From: Beat Siegenthaler User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <460599.53231.qm@web46114.mail.sp1.yahoo.com> In-Reply-To: <460599.53231.qm@web46114.mail.sp1.yahoo.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (atom.beatsnet.com [172.20.0.45]); Mon, 28 Apr 2008 07:03:48 +0200 (CEST) X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on ATOM X-Virus-Scanned: ClamAV 0.93/6807/Thu Apr 17 00:25:48 2008 on atom X-Virus-Status: Clean Subject: Re: Can't upgrade lsof X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 05:03:54 -0000 Larry Smith wrote: > I'm a newbie trying to upgrade 'lsof'. 'Portupgrade -a' goes well except for lsof and a couple of files that depend on it (gnome-system-monitor, gnome-applets, etc.) > > I have cvs'ed my ports tree, did portsdb, pkgdb and portsclean over the last couple of days to see if it self-corrects. It didn't. Googling didn't turn up anything either. Any suggestions, advice, or comments would be greatly appreciated. "Rebuilding the World" will help. I had the same Problem and contacted the port maintainer. Also, it is reported that upgrading to latest 7-STABLE will fix this. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 05:38:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B98721065670 for ; Mon, 28 Apr 2008 05:38:30 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 6AB148FC18 for ; Mon, 28 Apr 2008 05:38:30 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 29766 invoked from network); 28 Apr 2008 00:38:29 -0500 Received: from 124-171-253-152.dyn.iinet.net.au (HELO ayiin) (124.171.253.152) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 28 Apr 2008 00:38:29 -0500 Date: Mon, 28 Apr 2008 15:38:23 +1000 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20080428153823.61710f84@ayiin> In-Reply-To: <9b09889b0804271944l24f9d7a8v240017ac401bd828@mail.gmail.com> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <9b09889b0804271944l24f9d7a8v240017ac401bd828@mail.gmail.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 05:38:30 -0000 On Sun, 27 Apr 2008 21:44:35 -0500 "Eric Humphries" wrote: > PF supports traffic shaping via ALTQ. I've been meaning to try this. does it support 'pipes' in the same sense as ipfw ? if so, it seems another reason use ipfw is gone... B _________________________ {Beto|Norberto|Numard} Meijome "With COBOL, the job description of 'computer programmer' will be a thing of the past. Everybody will program. The boss will dictate a program to his secretary, who will keypunch it for him." 1960's quote about the upcoming COBOL language (thx. Lance N!) I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 05:55:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6953A1065677 for ; Mon, 28 Apr 2008 05:55:22 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: from pinus.izb.knu.ac.kr (pinus.izb.knu.ac.kr [IPv6:2001:470:1f05:d8:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 10C338FC14 for ; Mon, 28 Apr 2008 05:55:22 +0000 (UTC) (envelope-from bh@izb.knu.ac.kr) Received: by pinus.izb.knu.ac.kr (Postfix, from userid 59) id 19E593EA4; Mon, 28 Apr 2008 14:55:19 +0900 (KST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pinus.izb.knu.ac.kr X-Spam-Level: X-Spam-Status: No, score=-48.6 required=15.1 tests=DKIM_SIGNED,DKIM_VERIFIED autolearn=disabled version=3.2.3 Received: from pinus.izb.knu.ac.kr (localhost.izb.knu.ac.kr [127.0.0.1]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 982FD3EA3; Mon, 28 Apr 2008 14:55:17 +0900 (KST) Comment: DKIM? See http://www.google.com/search?btnI&q=RFC+4871 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=izb.knu.ac.kr; h= subject:from:reply-to:to:cc:in-reply-to:references:content-type: date:message-id:mime-version:content-transfer-encoding; q= dns/txt; s=s1024; bh=GAl7YYAb3GmuootxcKH2paw9cxPzihlKKLLCw6hvXEA =; b=fA7ExkHECnLV+VNj8ej/ZHKA1GzvSL9yRVA0j5xBagYbzfastd5t4ih7ZWH 4AKZx/CDrhVIhy2zjHdEeLqBXXWD6mw5zz7ykMth1Q3MwxbnhbMrIP5tSCZXPazb KqUHQRIthsL2DSo1BPiw+NX4TeOMGfCam8Ywwlcz1YRW7xQM= Received: from [IPv6:2001:470:1f05:d8:3::2] (jihad.izb.knu.ac.kr [IPv6:2001:470:1f05:d8:3::2]) by pinus.izb.knu.ac.kr (Postfix) with ESMTP id 7D0443E98; Mon, 28 Apr 2008 14:55:17 +0900 (KST) From: Byung-Hee HWANG To: "Ho-young, SONG" In-Reply-To: <4815512E.2000106@gmail.com> References: <4815512E.2000106@gmail.com> Content-Type: text/plain Organization: InZealBomb Date: Mon, 28 Apr 2008 14:55:18 +0900 Message-Id: <1209362118.1381.2.camel@jihad.izb.knu.ac.kr> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: fetch question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bh@izb.knu.ac.kr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 05:55:22 -0000 hi, On Mon, 2008-04-28 at 13:23 +0900, Ho-young, SONG wrote: > Hello, i'm korea FreeBSD user > i have problem > i can't install port programs and portsnaps > i can do wget this program > but can't do fetch > FreeBSD STABLE FreeBSD 7.0-STABLE > what is problem? > > > ----------------------- > > [root@jaurang /usr/ports/net-p2p/rtorrent]# fetch -p > http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz > fetch: http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz: > Connection refused [...] jihad# uname -srm FreeBSD 7.0-RELEASE i386 jihad# pwd /usr/ports/net-p2p/rtorrent jihad# fetch -p usage: fetch [-146AFMPRUadlmnpqrsv] [-N netrc] [-o outputfile] [-S bytes] [-B bytes] [-T seconds] [-w seconds] [-h host -f file [-c dir] | URL ...] jihad# as you see above, your fetch(1) is strange.. ;; jihad# make fetch ===> Vulnerability check disabled, database not found => rtorrent-0.7.9.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://libtorrent.rakshasa.no/downloads/. rtorrent-0.7.9.tar.gz 100% of 477 kB 176 kBps jihad# actually i can download the distfile by fetch(1) ;; does it have any other hints? -- "Perhaps your grandchildren will become the new PEZZONOVANTI." -- Vito Corleone, "Chapter 20", page 290 From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 06:24:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15251065673 for ; Mon, 28 Apr 2008 06:24:41 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id A4DC48FC0C for ; Mon, 28 Apr 2008 06:24:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3S6OYqB074594; Mon, 28 Apr 2008 08:24:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3S6OXEl074591; Mon, 28 Apr 2008 08:24:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 28 Apr 2008 08:24:33 +0200 (CEST) From: Wojciech Puchar To: Doug Hardie In-Reply-To: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> Message-ID: <20080428082359.A74590@wojtek.tensor.gdynia.pl> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 06:24:41 -0000 > of this in the handbook. Several years ago I needed to do traffic shaping > and used IPFW with dummynet. and use it again. for me most logic, most clear and gives what i need. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 07:31:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6505A1065683 for ; Mon, 28 Apr 2008 07:31:42 +0000 (UTC) (envelope-from bsd.luigi@alshome.be) Received: from csmtp2.b-one.net (csmtp2.b-one.net [195.47.247.206]) by mx1.freebsd.org (Postfix) with ESMTP id 638E28FC17 for ; Mon, 28 Apr 2008 07:31:41 +0000 (UTC) (envelope-from bsd.luigi@alshome.be) Received: from [128.70.15.100] (85.248-78-194.adsl-static.isp.belgacom.be [194.78.248.85]) by csmtp2.b-one.net (Postfix) with ESMTP id 8B52616001428 for ; Mon, 28 Apr 2008 09:06:42 +0200 (CEST) Message-ID: <481577F9.8080504@alshome.be> Date: Mon, 28 Apr 2008 09:08:41 +0200 From: Luigi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Questions about stats X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bsd.luigi@alshome.be List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 07:31:42 -0000 Hi, I'm a user of PC-BSD in Belgium. I've installed bsdstats yet. So I'd like to know if it's possible to have stats for Belgium and where can I find it ? Thank you very much. Luigi From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 08:21:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F971065674 for ; Mon, 28 Apr 2008 08:21:19 +0000 (UTC) (envelope-from bsd.luigi@alshome.be) Received: from csmtp2.b-one.net (csmtp2.b-one.net [195.47.247.206]) by mx1.freebsd.org (Postfix) with ESMTP id 5F6508FC16 for ; Mon, 28 Apr 2008 08:21:19 +0000 (UTC) (envelope-from bsd.luigi@alshome.be) Received: from [128.70.15.100] (85.248-78-194.adsl-static.isp.belgacom.be [194.78.248.85]) by csmtp2.b-one.net (Postfix) with ESMTP id 5D5D7160017F2; Mon, 28 Apr 2008 10:21:17 +0200 (CEST) Message-ID: <48158974.7030603@alshome.be> Date: Mon, 28 Apr 2008 10:23:16 +0200 From: Luigi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Leslie Jensen , freebsd-questions References: <481577F9.8080504@alshome.be> <48158683.2090204@eskk.nu> In-Reply-To: <48158683.2090204@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Questions about stats X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bsd.luigi@alshome.be List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 08:21:19 -0000 Leslie Jensen a écrit : > > > Luigi skrev: >> Hi, >> >> I'm a user of PC-BSD in Belgium. >> >> I've installed bsdstats yet. >> >> So I'd like to know if it's possible to have stats for Belgium and where >> can I find it ? >> >> Thank you very much. >> >> Luigi >> > > Hello Luigi. > > I wrote to the webmaster at bsdstats.org about the countrystats that > cannot be seen. I've recieved no answer so I'm afraid you'll have to > be patient. It has worked before and I don't know the reason why it > doesen't work now. > > /Leslie > Hi Leslie, Thank you for your answer. I wrote to the webmaster of bsdstats.org too. But I've received no answer too. Maybe It's take a long time or they have a lot of work. I wait for answer. I've suscribe to the statslist but I received news one or two times. These informations are very important for me because I want to verify if there are other users of BSD as me in Belgium. I'm sure that they are users but I don't know how many. /Luigi From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 09:00:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C7A106567C for ; Mon, 28 Apr 2008 09:00:49 +0000 (UTC) (envelope-from invite@pimpmysearch.com) Received: from mail2.pimpmysearch.com (mail2.pimpmysearch.com [67.192.164.139]) by mx1.freebsd.org (Postfix) with ESMTP id 44C148FC0A for ; Mon, 28 Apr 2008 09:00:48 +0000 (UTC) (envelope-from invite@pimpmysearch.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=pimpmysearch.com; h=To:From:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:List-Unsubscribe:Reply-to:Sender:Message-ID; i=invite@pimpmysearch.com; bh=4tAhyzzlHu/U6XBct1m/4lhZov0=; b=JEsnfnEX2CLlCBpJ17QZaHb23OTCUJeW8TuccYEa5Ol84FLgKoYtoNnwxNyNYPnBei+zPf9RfRJ0 ZAqtQF+Xnw== DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=pimpmysearch.com; b=kom2F0wAGZRgUz6jD/wgAHu4CM57m6Ji77LxDDPXdG+pgYnMELj5BqZsG6rl9jz1YElR+wPdlKnn jCnWg6IwLg==; Received: from [74.205.42.90] (72.32.196.98) by mail2.pimpmysearch.com (PowerMTA(TM) v3.5r2) id h2m9400j4ek5 for ; Mon, 28 Apr 2008 04:00:21 -0500 (envelope-from ) To: freebsd-questions@freebsd.org From: Kiran Date: Mon, 28 Apr 2008 04:00:21 -0500 X-LibVersion: 3.3.2_4 MIME-Version: 1.0 Sender: Kiran Message-ID: <20080428090021.16918.350047276.swift@invite.pimpmysearch.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Invitation from Kiran X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bounce@pimpmysearch.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 09:00:49 -0000 View My Invitation here >> http://pimpmysearch.com/r.php?g=Yhqndwd_Nludq&m=iuhhevg-txhvwlrqv,iuhhevg.ruj&s=Kiran thanks, Kiran --------------------------------------------- This invitation was sent by Kiran (madhabhaktula@gmail.com) via PimpMySearch to freebsd-questions@freebsd.org. If you would not like to receive further invitations from your friends please let us know http://invite.pimpmysearch.com/i/stopinvites.php?id=freebsd-questions@freebsd.org Or write to: Zyber Media, PO Box 1046, Novi, MI 48376-1046, USA. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 09:38:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CBBA1065678 for ; Mon, 28 Apr 2008 09:38:05 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id F2EF08FC1E for ; Mon, 28 Apr 2008 09:38:04 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JqPo9-000087-2W; Mon, 28 Apr 2008 10:38:03 +0100 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JqPo8-0001hl-BK; Mon, 28 Apr 2008 10:38:00 +0100 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m3S9bxQI078270; Mon, 28 Apr 2008 10:37:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m3S9bxuC078269; Mon, 28 Apr 2008 10:37:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 28 Apr 2008 10:37:59 +0100 From: Anton Shterenlikht To: Chuck Swiger Message-ID: <20080428093759.GA71558@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: Chuck Swiger , freebsd-questions@freebsd.org References: <20080425160939.GA9863@mech-aslap33.men.bris.ac.uk> 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-Spam-Score: -1.4 X-Spam-Level: - Cc: freebsd-questions@freebsd.org Subject: Re: ssh StrictHostKeyChecking=no refuse connection when key changed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 09:38:05 -0000 On Fri, Apr 25, 2008 at 09:37:13AM -0700, Chuck Swiger wrote: > On Apr 25, 2008, at 9:09 AM, Anton Shterenlikht wrote: > >Is it normal that StrictHostKeyChecking=no in .ssh/config > >still refuses ssh connection when host ID has changed. > > > >I've a setup in which host ids change frequently. How > >can I setup ssh so that it ignores key change. > > You'd be better off fixing whatever it is that is making your host IDs > change, but I suppose you could also try to create a zero-length > known_hosts file, and keep it that way via: > > chflags uchg ~/.ssh/known_hosts > > You might also try to automate finding the current valid hostkeys via > ssh-keyscan. Chuck, perhaps I should explain better what's going on. I've a VMS cluster behind a FBSD frontend, acting as a router and a firewall. (Don't ask why.. the Uni are not happy to connect VMS to the local network directly. Just because they haven't been using it for 10 year, they think it is not secure - what nonsence, but nevermind.) I access VMS cluster using ssh with port forwarding. In case a node in my VMS cluster goes down, its IP is automatically given to another alive VMS node - a VMS cluster feature. For example: Imagine the VMS cluster consisting of 2 nodes - Node1 and Node2. The IP are: Node1 10.10.10.1 (failover to 10.10.10.2) Node2 10.10.10.2 (failover to 10.10.10.1) and in ipnat.rules: rdr dc0 xx.xx.xx.xx port xxxxx -> 10.10.10.1 port 22 This works fine until Node1 is down, in which case the cluster software directs all connections to 10.10.10.1 to Node2. Since its key doesn't match what's in known_hosts, the connection is refused. At present I tune the VMS cluster and reboot individual nodes frequently. I'd like to be able to tell ssh to ignore key mismatch at this stage. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 10:31:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2332D1065687 for ; Mon, 28 Apr 2008 10:31:40 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.freebsd.org (Postfix) with ESMTP id DAC898FC1F for ; Mon, 28 Apr 2008 10:31:39 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1JqQe0-0007A3-VG; Mon, 28 Apr 2008 11:31:37 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1JqQdz-000NaU-M8; Mon, 28 Apr 2008 11:31:36 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 28 Apr 2008 11:31:34 +0100 User-Agent: KMail/1.9.7 References: <20080425160939.GA9863@mech-aslap33.men.bris.ac.uk> <20080428093759.GA71558@mech-aslap33.men.bris.ac.uk> In-Reply-To: <20080428093759.GA71558@mech-aslap33.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804281131.35233.jmc-freebsd@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 79f90c7a1e5798c51df21504d32453b9 Cc: Anton Shterenlikht Subject: Re: ssh StrictHostKeyChecking=no refuse connection when key changed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 10:31:40 -0000 On Monday 28 April 2008, Anton Shterenlikht wrote: > This works fine until Node1 is down, in which case the cluster > software directs all connections to 10.10.10.1 to Node2. Since > its key doesn't match what's in known_hosts, the connection is > refused. > > At present I tune the VMS cluster and reboot individual nodes > frequently. I'd like to be able to tell ssh to ignore key mismatch > at this stage. Just a quick, and untested, thought. Could you use the same key files on all the nodes in the cluster? It might work unless ssh on the local machine objects to machines having identical keys in the known_hosts file. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 10:40:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57F6C106564A for ; Mon, 28 Apr 2008 10:40:52 +0000 (UTC) (envelope-from emorras@s21sec.com) Received: from s21sec.com (mail.s21sec.com [212.31.206.70]) by mx1.freebsd.org (Postfix) with ESMTP id 1AAF08FC22 for ; Mon, 28 Apr 2008 10:40:51 +0000 (UTC) (envelope-from emorras@s21sec.com) Received: from inv-008.s21sec.com (unknown [83.175.204.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by s21sec.com (Postfix) with ESMTP id BFA221A406E for ; Mon, 28 Apr 2008 12:27:59 +0200 (CEST) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 28 Apr 2008 12:41:41 +0200 To: freebsd-questions@freebsd.org From: Eduardo Morras Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; x-avg-checked=avg-ok-67CD2DD5 Message-Id: <20080428102759.BFA221A406E@s21sec.com> Subject: Converting from tcpdump to netflow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 10:40:52 -0000 Hello everybody: I'm capturing packets from our network using tcpdump. Only 96 bytes for each packet. Now the sysmaster says that he wants analyze the network with netflow graphics. Is there any app that can convert from tcpdump/pcap to netflow? We have no router with netflow capabilities. Should i restart the packet capture with fprobe or similar app? Can be fprobe and tcpdump work in parallel? Thanks In Advance ------------------------------------------------ Useful Acronyms : UPnP = Universal Plug and Pray From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 12:22:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B51CD1065676 for ; Mon, 28 Apr 2008 12:22:18 +0000 (UTC) (envelope-from jessy@sicha.net) Received: from msg.ecetra.com (swamp.ecetra.com [193.164.224.245]) by mx1.freebsd.org (Postfix) with ESMTP id 549A68FC19 for ; Mon, 28 Apr 2008 12:22:17 +0000 (UTC) (envelope-from jessy@sicha.net) Received: from vie-rje.office.ecetra.com (vie-rje.office.ecetra.com [10.251.148.179]) by msg.ecetra.com (8.13.6/8.13.6) with ESMTP id m3SCMFdS025211; Mon, 28 Apr 2008 14:22:15 +0200 Message-ID: <4815C177.8000208@sicha.net> Date: Mon, 28 Apr 2008 14:22:15 +0200 From: Robert Jesacher User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: Guus Houtzager References: In-Reply-To: X-Enigmail-Version: 0.95.1 OpenPGP: id=1932FF4D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ZFS + gmirror: how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 12:22:18 -0000 On 27/04/2008 20:44 Guus Houtzager wrote: > Hi, > > I'm rather new to FreeBSD and I'm having trouble with ZFS and gmirror. > I've used this guide to install FreeBSD 7 on ZFS: > http://www.ish.com.au/solutions/articles/freebsdzfs > This goes flawless, however, the /bootdir is still just /dev/ad01sa (in > my case), so if that disk breaks, I still can't boot from ad1. So I > thought I could just make a gmirror containing /dev/ad0s1a and ad1s1a > and use that for /bootdir. This however does not work. > What I did is: > - gmirror load > - gmirror label -v -b round-robin gm0 /dev/ad1s1a > - newfs /dev/mirror/gm0 > - mount /dev/mirror/gm0 /mnt/tmp > - dump -L -0 -f- /bootdir | (cd /mnt/tmp && restore -r -v -f-) > - edit /etc/fstab and /mnt/root/etc/fstab: change all references to > ad0s1a by /dev/mirror/gm0 > - echo 'geom_mirror_load="YES"' >> /boot/loader.conf > - echo 'geom_mirror_load="YES"' >> /mnt/tmp/boot/loader.conf > - reboot > However: I can see the bootprocess starting first ZFS followed by a > message saying it's waiting for GEOM gmirror to start, which it does > after a little while and then I get a prompt where I can manually tell > the system where the root filesystem is. And if I tell it > zfs:system/root it does not work (my zpool is named system). > Anyone know what I'm doing wrong and what's the best way to do this? > Thanks in advance! > > PS: please CC me in any reply, as I'm not subscribed to this list. Thanks! > > Regards, I'm not sure if this is the cause, but it looks like /boot/zfs/zpool.cache might not be up to date or missing. Once I had the same issue. You should boot up somehow (you can even use the 7.0 install CD). Make sure you have the directory /boot/zfs and do a "zpool import". After this you should have a valid zpool.cache file which you need to copy to your mirror device. PLMK if this works for you as this is also my desired setup. I "only" need to make the gmirror step tough ;-) br, Robert From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 13:03:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E66311065677 for ; Mon, 28 Apr 2008 13:03:49 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavuit02.kulnet.kuleuven.be (cavuit02.kulnet.kuleuven.be [134.58.240.44]) by mx1.freebsd.org (Postfix) with ESMTP id 26ADE8FC14 for ; Mon, 28 Apr 2008 13:03:49 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from smtps01.kuleuven.be (smtpshost01.kulnet.kuleuven.be [134.58.240.74]) by cavuit02.kulnet.kuleuven.be (Postfix) with ESMTP id 1D9FA51C00A; Mon, 28 Apr 2008 15:03:37 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps01.kuleuven.be (Postfix) with ESMTP id D841A31E702; Mon, 28 Apr 2008 15:03:36 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.2/8.14.2) with ESMTP id m3SD3Y0m015696; Mon, 28 Apr 2008 15:03:35 +0200 (CEST) (envelope-from tijl@ulyssis.org) X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Tijl Coosemans To: perryh@pluto.rain.com Date: Mon, 28 Apr 2008 15:03:32 +0200 User-Agent: KMail/1.9.7 References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804221252.20410.tijl@ulyssis.org> <4812e19f.379MkLdwjeMt+0YF%perryh@pluto.rain.com> In-Reply-To: <4812e19f.379MkLdwjeMt+0YF%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804281503.33922.tijl@ulyssis.org> X-KULeuven-Information: Katholieke Universiteit Leuven X-KULeuven-Scanned: Found to be clean X-Spam-Status: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=disabled, KUL_SMTPS -50.00) X-KULeuven-Envelope-From: tijl@ulyssis.org Cc: fbsd06@mlists.homeunix.com, freebsd-questions@freebsd.org Subject: Re: wine: notepad OK, others not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 13:03:50 -0000 On Saturday 26 April 2008 10:02:39 perryh@pluto.rain.com wrote: >> It's really easier to try to install an app under Wine... > > With, it seems, at least two exceptions: > > * Some apps -- such as Wordpad and Write -- are packaged and > installed with Windows, rather than on separate media. Are > there instructions somewhere for "installing" such an app > under wine? I'm certainly not finding it at all obvious. Such apps you can only try to copy over to Wine. Wine has its own simple version of Wordpad though. Just run "wine wordpad". > * Some add-on (separately installable) apps are packaged > on multiple diskettes (or multiple CDs for that matter). > Pre-mounting the first, and pointing wine at the mount > point, seems likely to result in getting stuck partway > through the install when it asks for the second disk. > > The version of Visio that I have is in the second category. You should ask about this on the wine-users mailing list. It should be possible to unmount the disk when it asks for the next one. If you can't then that's a bug. > The manpage describes a way of pointing wine to a device > rather than to a mounted filesystem: > > The Unix device corresponding to a DOS drive can be > specified the same way, except with '::' instead of > ':'. So for the previous example, if the CDROM device > is mounted from /dev/hdc, the corresponding symlink > would be $WINEPREFIX/dosdevices/d:: -> /dev/hdc. > > but, as reported elsewhere, wine could not find setup.exe > on the Visio install diskette with dosdevices set up this > way. I'm not entirely sure, but I think the :: link is only used for raw access to devices. Wine doesn't mount disks on its own. >> ... You also might want to have a look at >> http://wiki.winehq.org/winetricks for a script >> that can install and setup various packages ... > > Unfortunately, I can't find Visio in its list of packages. Yes, it's only for extra packages (libs, fonts,..) like mfc42.dll and such. It's just that installing DLLs via winetricks might be easier than trying to figure out what DLLs to copy from a Windows install. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 13:44:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB8291065673 for ; Mon, 28 Apr 2008 13:44:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id D5D728FC18 for ; Mon, 28 Apr 2008 13:44:53 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3SDijtM076452; Mon, 28 Apr 2008 15:44:45 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3SDiiRR076449; Mon, 28 Apr 2008 15:44:44 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 28 Apr 2008 15:44:44 +0200 (CEST) From: Wojciech Puchar To: Robert Jesacher In-Reply-To: <4815C177.8000208@sicha.net> Message-ID: <20080428154432.H76448@wojtek.tensor.gdynia.pl> References: <4815C177.8000208@sicha.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Guus Houtzager , freebsd-questions@freebsd.org Subject: Re: ZFS + gmirror: how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 13:44:54 -0000 >> I'm rather new to FreeBSD and I'm having trouble with ZFS and gmirror. >> I've used this guide to install FreeBSD 7 on ZFS: if you use ZFS, use ZFS mirroring. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 15:51:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75055106567B for ; Mon, 28 Apr 2008 15:51:35 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 551F08FC16 for ; Mon, 28 Apr 2008 15:51:34 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FAI+OFUh5LWAW/2dsb2JhbACBU6hv X-IronPort-AV: E=Sophos;i="4.25,717,1199626200"; d="scan'208";a="91117383" Received: from ppp121-45-96-22.lns10.adl6.internode.on.net (HELO alpha.home) ([121.45.96.22]) by ipmail01.adl6.internode.on.net with ESMTP; 29 Apr 2008 01:21:31 +0930 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Tue, 29 Apr 2008 01:21:29 +0930 User-Agent: KMail/1.8 References: <48142782.1060206@inet.hr> In-Reply-To: <48142782.1060206@inet.hr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804290121.29935.malcolm.kay@internode.on.net> Cc: Ivan Toman Subject: Re: ppp reconnecting problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 15:51:35 -0000 On Sun, 27 Apr 2008 04:43 pm, Ivan Toman wrote: >=20 > Hello! > I encountered big problem after switching router from gentoo to > freebsd. It does not properly reconnect ADSL link after loosing > connection, for example, when ISP cycle IP address or when I pull out > cable from ADSL switcher for testing purporse. I cannot realize what's > going on and really need help. > First problem get when ISP disconnect me after 24 hours due to IP > change. Link does not properly get reconnected. ppp tries to connect, > and appearenty is connected, but something is wrong because no traffic > is possible and after few seconds ppp goes down and reconnects again. > And again and again.... Strange above all is that during reconnecting > routing table always has default route, but ping does not go. Next, I > will put some information that I think is relevant to problem, but it > seems to me, not very useful in debugging this. > During reconnecting as I describe above, this is my routing table: > [root@maraska-gw /home/coldplug]# netstat -rn > Routing tables > Internet: > Destination=C2 =C2 =C2 =C2 =C2 =C2 =C2 Gateway=C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 Flags=C2 =C2 =C2 > Refs=C2 =C2 =C2 =C2 =C2 Use=C2 Netif Expire > default=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 172.29.252.12=C2 = =C2 =C2 =C2 =C2 > UGS=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 1=C2 2284023=C2 =C2 tun0 > 10.23.99.64/29=C2 =C2 =C2 =C2 link#1=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 > UC=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 0=C2 =C2 =C2 =C2 =C2 =C2 =C2 0= =C2 =C2 nfe0 > 10.23.99.66=C2 =C2 =C2 =C2 =C2 =C2 =C2 00:30:84:ee:3c:cf=C2 UHLW=C2 = =C2 =C2 =C2 =C2 =C2 =C2 > 1=C2 =C2 =C2 =C2 4065=C2 =C2 nfe0=C2 =C2 1030 > 10.23.99.70=C2 =C2 =C2 =C2 =C2 =C2 =C2 00:02:b3:9e:b9:81=C2 UHLW=C2 = =C2 =C2 =C2 =C2 =C2 =C2 1=C2 =C2 > 223104=C2 =C2 nfe0=C2 =C2 1027 > 127.0.0.1=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 127.0.0.1=C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 > UH=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 0=C2 =C2 =C2 =C2 =C2 =C2 72=C2= =C2 =C2 lo0 > 172.29.252.12=C2 =C2 =C2 =C2 =C2 78.3.33.136=C2 =C2 =C2 =C2 =C2 =C2 = =C2 UGH=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 > 1=C2 =C2 =C2 =C2 =C2 =C2 =C2 0=C2 =C2 tun0 > Internet6: > Destination=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 > Gateway=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 Flags=C2 Netif > Expire > ::1=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 > ::1=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 UHL=C2 =C2 =C2 =C2 > lo0 > fe80::%lo0/64=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 =C2 =C2 > fe80::1%lo0=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 U=C2 =C2 =C2 =C2 lo0 > fe80::1%lo0=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 > link#5=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 =C2 =C2 =C2 UHL=C2 =C2 =C2 =C2 lo0 > ff01:5::/32=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 > fe80::1%lo0=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 UC=C2 =C2 =C2 =C2 lo0 > ff01:6::/32=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 =C2 =C2 =C2 =C2 > link#6=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 =C2 =C2 =C2 UGC=C2 =C2 =C2 tun0 > ff02::%lo0/32=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 =C2 =C2 > fe80::1%lo0=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2= =C2 =C2 =C2 UC=C2 =C2 =C2 =C2 lo0 > ff02::%tun0/32=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 = =C2 =C2 =C2 =C2 =C2 > fe80::211:9ff:fe8d:4a27%tun0=C2 UGC=C2 =C2 =C2 tun0 > [root@maraska-gw /home/coldplug]# > And this.... I get if try to ping ISP's dns > [root@maraska-gw /home/coldplug]# ping 195.29.150.3 > PING 195.29.150.3 (195.29.150.3): 56 data bytes > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ping: sendto: No buffer space available > ^C > --- 195.29.150.3 ping statistics --- > 10 packets transmitted, 0 packets received, 100.0% packet loss > [root@maraska-gw /home/coldplug]# > No buffer space available??? What is that? > These are lines from log, where you can see that it reconnects and > never stops that > [root@maraska-gw /home/coldplug]# tail -f /var/log/ppp.log > Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> > login > Apr 26 12:06:22 maraska-gw ppp[956]: tun0: Phase: deflink: login -> > lcp > Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing > configured MRU from 1500 to 1492 > Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: deflink: his =3D PAP, > mine =3D none > Apr 26 12:06:23 maraska-gw ppp[956]: tun0: Phase: Pap Output: > ertoman1@htnet-dsl ******** > Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS > (Access Accepted. ) > Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: Already in > NETWORK phase > Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open > Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change > route failed: errno: No such process > Apr 26 12:06:24 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: > Change route failed: errno: Network is unreachable > Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Phase: deflink: open -> lcp > Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change > route failed: errno: No such process > Apr 26 12:08:23 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: > Change route failed: errno: Network is unreachable > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: Received > NGM_PPPOE_CLOSE > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Device > disconnected > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: > Disconnected! > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> > logout > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: > Disconnected! > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: logout -> > hangup > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Connect > time: 123 secs: 374 octets in, 96 octets out > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: 3218212 > packets in, 2284164 packets out > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase:=C2 total 3 bytes/se= c, > peak 40 bytes/sec on Sat Apr 26 12:06:24 2008 > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: hangup -> > opening > Apr 26 12:08:24 maraska-gw ppp[956]: tun0: Phase: deflink: Enter pause > (3) for redialing. > Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: Connected! > Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: opening -> > dial > Apr 26 12:08:27 maraska-gw ppp[956]: tun0: Phase: deflink: dial -> > carrier > Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received > NGM_PPPOE_ACNAME (hook "HTdsl") > Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received > NGM_PPPOE_SESSIONID > Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: Received > NGM_PPPOE_SUCCESS > Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: carrier -> > login > Apr 26 12:08:28 maraska-gw ppp[956]: tun0: Phase: deflink: login -> > lcp > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: deflink: Reducing > configured MRU from 1500 to 1492 > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: his =3D PAP, > mine =3D none > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Output: > ertoman1@htnet-dsl ******** > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: Pap Input: SUCCESS > (Access Accepted. ) > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: Already in > NETWORK phase > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Phase: deflink: lcp -> open > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: 0.0.0.0/0: Change > route failed: errno: No such process > Apr 26 12:08:29 maraska-gw ppp[956]: tun0: Warning: ff02:6::/32: > Change route failed: errno: Network is unreachable > ^C > [root@maraska-gw /home/coldplug]# > Only way to exit this trouble is restarting ppp manually! > [root@maraska-gw /home/coldplug]# killall ppp > [root@maraska-gw /home/coldplug]# ppp -ddial htnet > Loading /lib/libalias_cuseeme.so > Loading /lib/libalias_ftp.so > Loading /lib/libalias_irc.so > Loading /lib/libalias_nbt.so > Loading /lib/libalias_pptp.so > Loading /lib/libalias_skinny.so > Loading /lib/libalias_smedia.so > Working in ddial mode > Using interface: tun0 > Warning: usage: nat addr [addr_local addr_alias] > Warning: usage: nat addr [addr_local addr_alias] > Warning: usage: nat addr [addr_local addr_alias] > [root@maraska-gw /home/coldplug]# ping 195.29.150.3 > PING 195.29.150.3 (195.29.150.3): 56 data bytes > 64 bytes from 195.29.150.3: icmp_seq=3D2 ttl=3D251 time=3D23.386 ms > This is my config file > [root@maraska-gw /home/coldplug]# cat /etc/ppp/ppp.conf > default: > =C2 =C2 =C2 =C2 =C2 =C2 set log Phase tun command > =C2 =C2 =C2 =C2 =C2 =C2 nat enable yes > htnet: > =C2 =C2 =C2 =C2 =C2 =C2 set device PPPoE:rl0: > =C2 =C2 =C2 =C2 =C2 =C2 set authname ertoman1@htnet-dsl > =C2 =C2 =C2 =C2 =C2 =C2 set authkey *** > =C2 =C2 =C2 =C2 =C2 =C2 set dial > =C2 =C2 =C2 =C2 =C2 =C2 set login > =C2 =C2 =C2 =C2 =C2 =C2 add default HISADDR > =C2 =C2 =C2 =C2 =C2 =C2 nat addr 10.23.99.66 > =C2 =C2 =C2 =C2 =C2 =C2 nat addr 10.23.99.67 > =C2 =C2 =C2 =C2 =C2 =C2 nat addr 10.23.99.70 > [root@maraska-gw /home/coldplug]# > I tried lot of things. "enable lqr", "enable echo"... nothing helps. > Moreover, testing this by pulling out cable and replugging it give no > response from system! If I do that, link goes down (real link), but > system do not realize that at all! Routing table remains unchanged, > default route still is there, tun0 interface still configured, ppp > runs, and in /var/log/ppp.log there is no new single line after that > replugging cable into ADSL modem! How is that possible? Isn't pulling > out and replugging cable should be enough for ppp to realize it that > tun0 should be reconfigured and ppp redialed? I have seen I similar but slightly different problem on my son's server running 6.x. In that case ppp was started using /etc/rc.d/ppp which also=20 calls '/etc/rc.d/pf resync'. In this case apparently the pf firewall blocked any packets when ppp tries to automatically restart after a connection inte= rrupt. We devised a work around of running another process (script) which loops=20 testing the difference in time between the modify time of ppp.log and the c= urrent=20 time and if this is too great stops and restarts ppp, through /etc/rc.d/ppp= =2E=20 Normally the file time is updated every 30 seconds or so by setting "enable= echo".=20 The loop also includes a call to sleep of a few minutes so the the loop doe= s not=20 greatly consume processing time. This has worked well for us and I suspect = would also work in your case even though it does not fix the root cause of the pr= oblem. Unfortunately I don't have access to my son's server so I can't recall the = exact=20 details of the script but I think it was started from a rc.d script. But yo= u=20 should be able to knit something similar without too much effort. This could keep you operational while looking for the base cause of the difficulty.=20 Malcolm Kay > Of course, I start ppp as: > # ppp -ddial htnet > I really need reliable connection that needs no permanent monitoring > by myself and manually reconnecting after being dropped. Please, give > me some idea what can I do because I'm still desperate after few days > of trying to fix this. For sake of completness, I had no problems with > this before, on gentoo. Now I run FreeBSD 7. > [root@maraska-gw /home/coldplug]# uname -a > FreeBSD maraska-gw.zdw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 > 19:59:52 UTC 2008=C2 =C2 =C2 =C2 > [1]root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC=C2 i386 > If you think that some other messages from system will be more useful, > I will hapily provide them. > Thanks to all! > Ivan Toman >=20 > References >=20 > 1. mailto:root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 15:59:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D866106566C for ; Mon, 28 Apr 2008 15:59:35 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.227]) by mx1.freebsd.org (Postfix) with ESMTP id CD3868FC1D for ; Mon, 28 Apr 2008 15:59:33 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so1490466hub.8 for ; Mon, 28 Apr 2008 08:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=YBm4Pth/4LN4RzN11f/eINlF23PnxNefrhkqpwNrBSo=; b=J65z0dt1lzT8R2c0LKZgBaBw6VdnHbt8sTfwwml0ik4pWuI7A+pTxEGMGUN0D9yIqZKes5iBjAFZe5uLBsUDJaRpn0/BG/ENd0i5TXWaaiDdgw8EtRk6+YCRikGK8d1ygI2GkggJ9LJx3hyU+nnwDoRjaVd8wQP8p8Cku8VGK7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=AkjDQiFrTGEytCzo/00vTsEVlpJoBJhaVvpdKzU0oA2C1ETYjq9OphTjsyh1DXJMbg+t/jvcirXzp+DHIS1Y/Gz2wsXgwHXLVVSA7rLDmrDYp51tquViq1tuBLxDSQi4NqA0p0ZwI2Yp14L148ZsYfDT8zSxF484Vgy4amrBxJE= Received: by 10.150.220.12 with SMTP id s12mr3915668ybg.74.1209398371739; Mon, 28 Apr 2008 08:59:31 -0700 (PDT) Received: by 10.151.84.2 with HTTP; Mon, 28 Apr 2008 08:59:31 -0700 (PDT) Message-ID: <20def4870804280859g3c18eae0x1af9e97ae8776916@mail.gmail.com> Date: Mon, 28 Apr 2008 18:59:31 +0300 From: "Mr Y" To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: OS throws away large packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 15:59:35 -0000 Hi all, I'm trying to implement Large Recieve Offload for an Ethernet driver on FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. I'm using mbuf chains in this imlpementation, each mbuf is a cluster of MCLBYTES bytes. They are linked by the m_next pointer. The first packet being thrown away is 2945 bytes long. Wireshark shows the packet that is being passed to the OS is correct. Do I need to set some OS parameter to make it recieve mbuf chains? Please help. - Yony From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 17:45:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95CFB106564A; Mon, 28 Apr 2008 17:45:06 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog17.obsmtp.com (s200aog17.obsmtp.com [207.126.144.131]) by mx1.freebsd.org (Postfix) with SMTP id 8FA038FC21; Mon, 28 Apr 2008 17:45:05 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([63.174.175.251]) by eu1sys200aob017.postini.com ([207.126.147.11]) with SMTP; Mon, 28 Apr 2008 17:45:04 UTC Received: from [172.17.2.235] (unknown [172.17.2.235]) by bbbx3.usdmm.com (Postfix) with ESMTP id C5109B8E1; Mon, 28 Apr 2008 17:20:44 +0000 (UTC) Message-ID: <48160770.2080509@tomjudge.com> Date: Mon, 28 Apr 2008 12:20:48 -0500 From: Tom Judge User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Mr Y References: <20def4870804280859g3c18eae0x1af9e97ae8776916@mail.gmail.com> In-Reply-To: <20def4870804280859g3c18eae0x1af9e97ae8776916@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: OS throws away large packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 17:45:06 -0000 Mr Y wrote: > Hi all, > > I'm trying to implement Large Recieve Offload for an Ethernet driver on > FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. > I'm using mbuf chains in this imlpementation, each mbuf is a cluster of > MCLBYTES bytes. They are linked by the m_next pointer. > The first packet being thrown away is 2945 bytes long. Wireshark shows the > packet that is being passed to the OS is correct. > > Do I need to set some OS parameter to make it recieve mbuf chains? > > Please help. > Hi Yony, I seem to remember some discussion about this list last year see the following threads: http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.html http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.html From my limited reading of these threads just now and possibly bad memory. It would seem that the MRU to MTU relationship is defined in the nic driver rather than enforced further up the stack or at least that seamed to be the case with the bce driver. Hope this is helpful, Tom From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 18:42:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAF6E1065674 for ; Mon, 28 Apr 2008 18:42:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 38C758FC12 for ; Mon, 28 Apr 2008 18:42:40 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crab.unsane.co.uk (crab.unsane.co.uk [10.0.0.111]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m3SIg8hj036953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Apr 2008 19:42:08 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <48161A73.5060903@unsane.co.uk> Date: Mon, 28 Apr 2008 19:41:55 +0100 From: Vince User-Agent: Thunderbird 2.0.0.12 (X11/20080426) MIME-Version: 1.0 To: Eduardo Morras References: <20080428102759.BFA221A406E@s21sec.com> In-Reply-To: <20080428102759.BFA221A406E@s21sec.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Converting from tcpdump to netflow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 18:42:40 -0000 Eduardo Morras wrote: > Hello everybody: > > I'm capturing packets from our network using tcpdump. Only 96 bytes > for each packet. Now the sysmaster says that he wants analyze the > network with netflow graphics. Is there any app that can convert from > tcpdump/pcap to netflow? We have no router with netflow capabilities. > Should i restart the packet capture with fprobe or similar app? Can be > fprobe and tcpdump work in parallel? > net-mgmt/softflowd says it can read in pcap files and export netflow from them (see http://www.mindrot.org/projects/softflowd/ ) Vince > Thanks In Advance > > ------------------------------------------------ > Useful Acronyms : UPnP = Universal Plug and Pray > _______________________________________________ > 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 Apr 28 18:46:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9F41065678 for ; Mon, 28 Apr 2008 18:46:04 +0000 (UTC) (envelope-from guus@houtzager.net) Received: from oban.houtzager.net (unknown [IPv6:2001:828:301:53::195]) by mx1.freebsd.org (Postfix) with ESMTP id 9A35F8FC18 for ; Mon, 28 Apr 2008 18:46:03 +0000 (UTC) (envelope-from guus@houtzager.net) Received: from localhost (oban [127.0.0.1]) by oban.houtzager.net (Postfix) with ESMTP id 121B6588CD; Mon, 28 Apr 2008 20:46:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at oban.houtzager.net Received: from oban.houtzager.net ([127.0.0.1]) by localhost (oban.houtzager.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4U0XDKSkkKLQ; Mon, 28 Apr 2008 20:45:53 +0200 (CEST) Received: from [192.168.1.40] (195-240-108-75.ip.telfort.nl [195.240.108.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oban.houtzager.net (Postfix) with ESMTPSA id 310CB58716; Mon, 28 Apr 2008 20:45:53 +0200 (CEST) Message-Id: From: Guus Houtzager To: Wojciech Puchar In-Reply-To: <20080428154432.H76448@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 28 Apr 2008 20:45:52 +0200 References: <4815C177.8000208@sicha.net> <20080428154432.H76448@wojtek.tensor.gdynia.pl> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-questions@freebsd.org Subject: Re: ZFS + gmirror: how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 18:46:04 -0000 Hi, On Apr 28, 2008, at 3:44 PM, Wojciech Puchar wrote: >>> I'm rather new to FreeBSD and I'm having trouble with ZFS and >>> gmirror. >>> I've used this guide to install FreeBSD 7 on ZFS: > > if you use ZFS, use ZFS mirroring. Ofcourse, but since FreeBSD can't boot from ZFS (yet), I need a "normal" filesystem for that, and that's the one I want mirrored. I'll use zfs mirroring for everything else. Regards, -- Guus Houtzager Email: guus@houtzager.net ++?????++ Out of Cheese error. Redo from start. -- Terry Pratchett, Interesting Times From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 18:54:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B791106564A for ; Mon, 28 Apr 2008 18:54:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6E9A8FC15 for ; Mon, 28 Apr 2008 18:54:50 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3SIsWLN079348; Mon, 28 Apr 2008 20:54:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3SIsNa8079345; Mon, 28 Apr 2008 20:54:23 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 28 Apr 2008 20:54:23 +0200 (CEST) From: Wojciech Puchar To: Vince In-Reply-To: <4814C512.1030706@unsane.co.uk> Message-ID: <20080428205353.C79145@wojtek.tensor.gdynia.pl> References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> <4814C512.1030706@unsane.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: martes@mgwigglesworth.com, User Questions , =?ISO-8859-2?Q?Nejc_=A9koberne?= Subject: Re: VLAN Trunking with 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, 28 Apr 2008 18:54:59 -0000 > If you are just creating from the command line and want cisco router like > subinterfaces, the following works (I have the vlan module built into my > kernel might need to load it otherwise.) > root@crab > (19:22:09 <~>) 0 # ifconfig bge0.1 > ifconfig: interface bge0.1 does not exist > root@crab > (19:22:13 <~>) 0 # ifconfig bge0.1 create > root@crab > (19:22:15 <~>) 0 # ifconfig bge0.1 > bge0.1: flags=8842 metric 0 mtu 1500 > options=3 > ether 00:e0:81:2d:a3:16 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 1 parent interface: bge0 > root@crab > (19:22:17 <~>) 0 # ifconfig bge0.1 destroy > > Not certain how thats represented in rc.conf, Will have a look. ifconfig_bge0.1="create ip_address/mask" should work From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 19:28:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2AD6106567E for ; Mon, 28 Apr 2008 19:28:11 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from lmailproxy03.edpnet.net (lmailproxy03.edpnet.net [212.71.1.196]) by mx1.freebsd.org (Postfix) with ESMTP id 38E7D8FC15 for ; Mon, 28 Apr 2008 19:28:11 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from [192.168.1.101] (212.71.14.16.adsl.dyn.edpnet.net [212.71.14.16]) by lmailproxy03.edpnet.net (8.13.1/8.13.1) with ESMTP id m3SI0llD030035; Mon, 28 Apr 2008 20:00:47 +0200 From: beni To: freebsd-questions@freebsd.org Date: Mon, 28 Apr 2008 18:00:46 +0000 User-Agent: KMail/1.9.7 References: <20080424181040.GB14991@nupfel.de> In-Reply-To: <20080424181040.GB14991@nupfel.de> X-Face: $,~&QrDrInYiH(ZUXjNH_0r4q\`w83!}&; +8c.K[`NnZwV|m$5N{NCkWesaR.9|yqIC[<=?utf-8?q?d=0A=09P0?="xTw:F|)_r*WC\f8lz)g=a; 93dz2mP7iv)LLzBd; 6^Y:=*>@U; _\+4( MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804281800.46883.beni@brinckman.info> X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on lmailproxy03.edpnet.net X-Virus-Status: Clean X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,BAYES_60 autolearn=disabled version=3.1.9 X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on lmailproxy03.edpnet.net Cc: Tobias Kirschstein Subject: Re: simple network traffic query tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beni@brinckman.info List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 19:28:11 -0000 On Thursday 24 April 2008 18:10:40 Tobias Kirschstein wrote: > hi, > > i'm looking for a small tool to query the current network traffic (kb > IN and OUT) per interface. is there any sysctl or tool which gives me a > similar output to "systat -ifstat": > > /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 > Load Average |||| > > Interface Traffic Peak Total > lo0 in 0.000 KB/s 0.000 KB/s 226.079 KB > out 0.000 KB/s 0.000 KB/s 226.079 KB > > wpi0 in 0.000 KB/s 0.000 KB/s 164.577 MB > out 0.000 KB/s 0.000 KB/s 6.205 MB > > the background: > unfortunately the network monitor build into superkaramba does not work > for freebsd, os i want to write a widget which uses sysctl or any other > tool if available got get this information. systat is not appropriate > to be used because it does not terminate on its own as i see. I'm using a modified version of Superkarambas CompactMonitor. It is written for Linux I think, but easily adaptable for freebsd. All I did was moddify the ~/.kde/share/apps/superkaramba/themes/CompactMonitor/CompactMonitor.theme file : text x=435 y=50 sensor=network device="vr0" format="%in KB/s" decimals=1 text x=370 y=50 value="Download" text x=570 y=50 sensor=program program="netstat -ibh | grep Link#1 | awk '{print $7}'" align=right interval=1000 text x=435 y=65 sensor=network device="vr0" format="%out KB/s" decimals=1 text x=370 y=65 value="Upload" text x=570 y=65 sensor=program program="netstat -ibh | grep Link#1 | awk '{print $10}'" align=right interval=1000 Add graph x=370 y=30 sensor=network device="vr0" format="%out" w=200 h=15 color=255,127,127 interval=1000 max=100 graph x=370 y=30 sensor=network device="vr0" format="%in" w=200 h=15 color=127,230,180 interval=1000 max=100 if you want to add a graphic representation and change the "vr0" according to your (ethernet) device. It works for me with kde 3.5.8 on 7.0-stable. -- Beni. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 19:46:00 2008 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 132EE106564A for ; Mon, 28 Apr 2008 19:46:00 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id CE7378FC14 for ; Mon, 28 Apr 2008 19:45:59 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 9308210419A for ; Mon, 28 Apr 2008 15:27:00 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 28 Apr 2008 15:27:00 -0400 X-Sasl-enc: Jv1Xhybqw2odLDGGmB8L8O1/qnM8tZXaoAYKZ+D0GLqA 1209410820 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 06DF5A187 for ; Mon, 28 Apr 2008 15:26:59 -0400 (EDT) Message-Id: <69CB1288-D617-4966-9219-7C81F515CF54@goldmark.org> From: Jeffrey Goldberg To: questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 28 Apr 2008 14:26:59 -0500 X-Mailer: Apple Mail (2.919.2) Cc: Subject: Problems mounting by label X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 19:46:00 -0000 I am trying to set up labels on a USB HD so that I can mount it in the same place each time I connect it. The short version is that from what I've done (which I will detail below) when I try to $ sudo mount /dev/ufs/Back1s1 /Volumes/Back1 mount: /dev/ufs/Back1s1 : Invalid argument While $ sudo mount /dev/da4s1 /Volumes/Back1 does work. Using the latter defeats the purpose however, since I want eventually to mount things to a different mount point depending on their label. Here is more detail of what I've done so far. I'm running RELENG_7_0 One thing that I've noticed is that /dev/da4s1 and /dev/ufs/Back1s1 have different device numbers: ls -l /dev/da4* /dev/ufs crw-r----- 1 root operator 0, 121 Apr 10 03:57 /dev/da4 crw-r----- 1 root operator 0, 122 Apr 10 03:57 /dev/da4s1 /dev/ufs: total 0 crw-r----- 1 root operator 0, 123 Apr 10 03:57 Back1 crw-r----- 1 root operator 0, 124 Apr 10 03:57 Back1s1 But that might not mean anything. I first used fdisk to change the active slice to be of FreeBSD type (I'm not planning on using these disks for other systems.) Here is what fdisk currently reports $ fdisk /dev/da4 ******* Working on device /dev/da4 ******* parameters extracted from in-core disklabel are: cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=9729 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 16065, size 156280320 (76308 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 512/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: I also used glabel to try to get a label on it, but couldn't see how I could use the glabel information for mounting. here is what glabel reports for the device $ glabel dump /dev/da4s1 Metadata on /dev/da4s1: Magic string: GEOM::LABEL Metadata version: 2 Label: Backup 1 So not knowing how to use the glabel information for mounting I used the -L option to newfs when I created the USF2 filesystem on /dev/da4s1 $ tunefs -p /dev/da4s1 tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) disabled tunefs: gjournal: (-J) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) Back1 [jeffrey@kreacher /dev/ufs]$ (oops, I probably should turn on ACLs for this, but that is another matter). Any pointers to help in getting this slice mountable in the same place every time. I feel like I must be very close to how this should be done, but something is a bit off. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 19:46:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4152106564A for ; Mon, 28 Apr 2008 19:46:26 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id A11258FC19 for ; Mon, 28 Apr 2008 19:46:26 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JqZIs-000OFO-V4; Mon, 28 Apr 2008 15:46:23 -0400 Message-ID: <013d01c8a968$89c71e00$6501a8c0@GRANT> From: "Grant Peel" To: , References: <20080424181040.GB14991@nupfel.de> <200804281800.46883.beni@brinckman.info> Date: Mon, 28 Apr 2008 15:46:22 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: Tobias Kirschstein Subject: Re: simple network traffic query tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 19:46:26 -0000 Take a look at ipa. -Grant ----- Original Message ----- From: "beni" To: Cc: "Tobias Kirschstein" Sent: Monday, April 28, 2008 2:00 PM Subject: Re: simple network traffic query tool > On Thursday 24 April 2008 18:10:40 Tobias Kirschstein wrote: >> hi, >> >> i'm looking for a small tool to query the current network traffic (kb >> IN and OUT) per interface. is there any sysctl or tool which gives me a >> similar output to "systat -ifstat": >> >> /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 >> Load Average |||| >> >> Interface Traffic Peak Total >> lo0 in 0.000 KB/s 0.000 KB/s 226.079 >> KB >> out 0.000 KB/s 0.000 KB/s 226.079 >> KB >> >> wpi0 in 0.000 KB/s 0.000 KB/s 164.577 >> MB >> out 0.000 KB/s 0.000 KB/s 6.205 >> MB >> >> the background: >> unfortunately the network monitor build into superkaramba does not work >> for freebsd, os i want to write a widget which uses sysctl or any other >> tool if available got get this information. systat is not appropriate >> to be used because it does not terminate on its own as i see. > > I'm using a modified version of Superkarambas CompactMonitor. It is > written > for Linux I think, but easily adaptable for freebsd. > All I did was moddify the > ~/.kde/share/apps/superkaramba/themes/CompactMonitor/CompactMonitor.theme > file : > > text x=435 y=50 sensor=network device="vr0" format="%in KB/s" > decimals=1 > text x=370 y=50 value="Download" > text x=570 y=50 sensor=program program="netstat -ibh | grep Link#1 | > awk '{print $7}'" align=right interval=1000 > > text x=435 y=65 sensor=network device="vr0" format="%out KB/s" decimals=1 > text x=370 y=65 value="Upload" > text x=570 y=65 sensor=program program="netstat -ibh | grep Link#1 | > awk '{print $10}'" align=right interval=1000 > > Add > graph x=370 y=30 sensor=network device="vr0" format="%out" w=200 h=15 > color=255,127,127 interval=1000 max=100 > graph x=370 y=30 sensor=network device="vr0" format="%in" w=200 h=15 > color=127,230,180 interval=1000 max=100 > if you want to add a graphic representation and change the "vr0" according > to > your (ethernet) device. > > It works for me with kde 3.5.8 on 7.0-stable. > -- > Beni. > _______________________________________________ > 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 Apr 28 19:50:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2003F106564A for ; Mon, 28 Apr 2008 19:50:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (unknown [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id B98758FC14 for ; Mon, 28 Apr 2008 19:50:11 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from [IPv6:2a01:348:10f:0:6d0d:28f6:f87:a81] (unknown [IPv6:2a01:348:10f:0:6d0d:28f6:f87:a81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 4F0EF30108; Mon, 28 Apr 2008 20:50:10 +0100 (BST) Message-ID: <48162A6E.8050607@cran.org.uk> Date: Mon, 28 Apr 2008 20:50:06 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Doug Hardie References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> In-Reply-To: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 19:50:12 -0000 Doug Hardie wrote: > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > (perhaps years) I seem to recall some discussion that one or more of > those was better maintained and higher quality than the others. I don't > see any indications of this in the handbook. Several years ago I needed > to do traffic shaping and used IPFW with dummynet. It worked but the > need eventually went away. More recently I needed to incorporate spamd > which defaults to PF so I used that. However, now I am back to needing > traffic shaping again. I suspect trying to use both PF and IPFW > simultaneously will not be a good approach. In addition, there now are > instructions for using spamd with IPFW so it appears that either PF or > IPFW will do what I need. Is there any additional information available > to assist in selecting between those? Thanks. As I understand it pf is often found to be easiest to use and has lots of features like altq and os fingerprinting but is quite a bit slower than ipfw. -- Bruce From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 21:37:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AE7C106564A for ; Mon, 28 Apr 2008 21:37:26 +0000 (UTC) (envelope-from loonybomber@yahoo.com) Received: from web31707.mail.mud.yahoo.com (web31707.mail.mud.yahoo.com [68.142.201.187]) by mx1.freebsd.org (Postfix) with SMTP id CC1A68FC1C for ; Mon, 28 Apr 2008 21:37:25 +0000 (UTC) (envelope-from loonybomber@yahoo.com) Received: (qmail 48142 invoked by uid 60001); 28 Apr 2008 21:10:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0jpAX9c9e63Sbp5keMEAt+q9jGKpZ5RCjO+0gCDLyLa9ufDd/aWkBgDjeoBHT3l8wyHoFU5YueVTh7scvGJs4ys8fnEeoGwJj5RdUwvlyVJUz6n1ZWdV3UWYTj8EOGGzmUuxKmJsmQKnOQ+0yoIl54m6Mog3USacfYIIwR73OiU=; X-YMail-OSG: jMWZXIEVM1nbyqMaqQYi2FhVepvQ_doXvDbZCV0nbqxmOuAsldrdofkqPTy7KjBi.5pWjzKpbQppXPu05TXHyL18eH3hDLeq4nhD Received: from [75.111.41.9] by web31707.mail.mud.yahoo.com via HTTP; Mon, 28 Apr 2008 14:10:45 PDT X-Mailer: YahooMailRC/902.40 YahooMailWebService/0.7.185 Date: Mon, 28 Apr 2008 14:10:45 -0700 (PDT) From: loony To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <357988.47182.qm@web31707.mail.mud.yahoo.com> Subject: Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD & BSD Books X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 21:37:26 -0000 What are folks recommendations for the updated edition of BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD (Paperback)by Christopher Negus (Author), Francois Caen (Author)? Overall, Absolute FreeBSD boosted my confidence/competence but as my only printed Unix/Linux/BSD resource although it is not the "be one and end all" resource to FreeBSD as I was hoping for, particularly when it comes to slightly more advanced topics as building a production LAMP server. I have the budget for another book. I don't have access to a print version so I can really check it out before I buy. Has anyone found BSD UNIX useful, more than useless, or redundant? Is it organized and indexed well? Is a good read on the toilet or only when when your working on a box? Hasn't some other sys admin documented their commands really well and shared them? This recommendation would be for a FreeBSD novice user. If they didn't know how to script and had a choice between BSD UNIX Toolbox and a book about how to script, what would they be better off getting? On that note, does anyone have recommendations for a freebsd orientated beginners guide to scripting and using scripts to manage a freebsd box and common systems/services/daemons? loonybomber ________________________________ May the admins live long and prosper. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 22:08:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71C991065672 for ; Mon, 28 Apr 2008 22:08:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 0344F8FC16 for ; Mon, 28 Apr 2008 22:08:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3SM8Wmk010273; Tue, 29 Apr 2008 00:08:33 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 71B8EB832; Tue, 29 Apr 2008 00:08:32 +0200 (CEST) Date: Tue, 29 Apr 2008 00:08:32 +0200 From: Roland Smith To: loony Message-ID: <20080428220832.GA49086@slackbox.xs4all.nl> Mail-Followup-To: loony , freebsd-questions@freebsd.org References: <357988.47182.qm@web31707.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <357988.47182.qm@web31707.mail.mud.yahoo.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD & BSD Books X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 22:08:35 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 28, 2008 at 02:10:45PM -0700, loony wrote: >=20 > Overall, Absolute FreeBSD boosted my confidence/competence but as my > only printed Unix/Linux/BSD resource although it is not the "be one > and end all" resource to FreeBSD as I was hoping for, particularly > when it comes to slightly more advanced topics as building a > production LAMP server. I have the budget for another book.=20 Configuring a ?AMP server is largely not really OS specific (apart from things like firewalling). The AMP part should work on all UNIX-like systems. Of course FreeBSD has ports, which makes installation of the software easier. Some searching on the internet is certain to give you lots of tutorials. > This recommendation would be for a FreeBSD novice user. If they > didn't know how to script and had a choice between BSD UNIX Toolbox > and a book about how to script, what would they be better off getting? Depends on the persons other exerience. I switched to FreeBSD after having used Slackware Linux for several years. With the Handbook and the manual pages, I fealt at home straight away. For novices, I would teach them system administration first, and scripting later. > On that note, does anyone have recommendations for a freebsd > orientated beginners guide to scripting and using scripts to manage a > freebsd box and common systems/services/daemons? There is a lot of usefull documentation included with FreeBSD, starting with the Handbook and FAQ. Look in /usr/share/doc/en_US.ISO8859-1/books Daemons belonging to the base system or available via ports come with a control script in (/usr/local)/etc/rc.d. There is no need to write your own, unless you want to contribute a new port, which is not really a job for a novice. However, one can learn a lot by studying the already available scripts and the infrastructure that supports them.=20 I've also found the Advanced Bash-Scripting Guide [http://tldp.org/LDP/abs/html/] usefull, although one has to be carefull of bash-specific features not supported by FreeBSD's /bin/sh. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgWSuAACgkQEnfvsMMhpyXXpgCgmICIEKXz6wCf9hxyaTwlGbEr i8AAn2gpoQGV/Z49pQ7xbTbCuZskOZ2f =jCKH -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 22:11:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE251065670 for ; Mon, 28 Apr 2008 22:11:50 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 174888FC1B for ; Mon, 28 Apr 2008 22:11:50 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 1E11A34EDB; Tue, 29 Apr 2008 00:11:47 +0200 (CEST) Date: Tue, 29 Apr 2008 00:11:45 +0200 From: cpghost To: Ivan Toman Message-ID: <20080429001145.0f40ad25@epia-2.farid-hajji.net> In-Reply-To: <48137E8B.2040402@inet.hr> References: <48137E8B.2040402@inet.hr> Organization: Cordula's Web X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; 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: Problem with reconnecting ppp (ppp -ddial isp) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 22:11:50 -0000 On Sat, 26 Apr 2008 21:12:11 +0200 Ivan Toman wrote: > First problem get when ISP disconnect me after 24 hours due to IP > change. Link does not properly get reconnected. ppp tries to connect, > and appearenty is connected, but something is wrong because no > traffic is possible and after few seconds ppp goes down and > reconnects again. And again and again.... Strange above all is that > during reconnecting routing table always has default route, but ping > does not go. Next, I will put some information that I think is > relevant to problem, but it seems to me, not very useful in debugging > this. I don't know if it's exactly the same problem, but I've had a similar problem with userland ppp and even submitted logfiles of forced disconnects. I thought the problem was with ng_pppoe, but apparently, it is with ppp(8). Unfortunately, ppp's maintainer didn't reply or chime in, and the problem is obviously still lingering there, deep inside ppp or between ppp and ng_pppoe. :( The thread started here: http://lists.freebsd.org/pipermail/freebsd-stable/2007-December/038874.html You may not have hit the very same bug, but the circumstances are pretty much similar. Someone really ought to have a look at ppp. Fortunately, with the help from Alexander and Julian, I've switched to net/mpd5, and didn't encounter any problems with this 24h forced ADSL disconnect ever since (running RELENG_7 now). Just give it a try: you'll like it! I'm now using the following /usr/local/etc/mpd5/mpd.conf: --------------- /usr/local/etc/mpd5/mpd.conf ---------------------- startup: # configure users set user mpd XXXXXXXXXX # configure the console set console self 127.0.0.1 5005 set console user mpd set console open # configure the web server set web self 192.168.254.1 5006 set web user mpd set web open default: load pppoe_client pppoe_client: create bundle static B1 set iface route default set iface enable nat set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set ipcp disable vjcomp create link static L1 pppoe set link action bundle B1 set auth authname "XXXXXXXXXXXXXXXXXXXXXXXXXXXX" set auth password "XXXXXXXXXXXXXX" set link max-redial 0 set link mtu 1460 set link mru 1460 set link keep-alive 10 60 set link disable acfcomp set link disable protocomp set pppoe iface sis0 set pppoe service "" set log +echo open ------------------- /usr/local/etc/mpd5/mpd.conf ----------------------- Good luck! > Ivan Toman -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 22:31:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C40AF106564A for ; Mon, 28 Apr 2008 22:31:33 +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 769558FC1F for ; Mon, 28 Apr 2008 22:31:33 +0000 (UTC) (envelope-from jon@radel.com) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 7554301; Mon, 28 Apr 2008 18:31:32 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 7554299; Mon, 28 Apr 2008 18:31:18 -0400 Message-ID: <48165036.2040700@radel.com> Date: Mon, 28 Apr 2008 18:31:18 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: loony References: <357988.47182.qm@web31707.mail.mud.yahoo.com> In-Reply-To: <357988.47182.qm@web31707.mail.mud.yahoo.com> X-Enigmail-Version: 0.95.3 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020303040500070809070102" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for BSD Unix Toolbox: 1000+ Commands for FreeBSD & BSD Books X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Apr 2008 22:31:33 -0000 This is a cryptographically signed message in MIME format. --------------ms020303040500070809070102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit loony wrote: > > What are folks recommendations for the updated edition of BSD UNIX Toolbox: > 1000+ Commands for FreeBSD, OpenBSD and NetBSD (Paperback)by Christopher Negus > (Author), Francois Caen (Author)? Amazon.com started shipping pre-ordered copies only today, so I can't imagine too many people have had a chance to form in-depth impressions yet. I'll try to say more after I actually have browsed my copy. :-) For the moment, I will strongly second Roland Smith's reminder that ?AMP is largely OS independent so long as you use a *n?x that Apache/MySQL/etc. are well supported under. You may well do better to find a "Use Apache to build a web site" or "(language of your choice) with (database of your choice)" book that suits your development philosophy. --Jon Radel --------------ms020303040500070809070102 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDMyNDE2NTkyMVoX DTA5MDMyNDE2NTkyMVowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPdCxQufreHHDAI9YN2axx87Rf 0TK1PYFMlJHi4y1ebdAMPqR6M44bz+3m8YnKn1bmIf7dWyisWyAIQYCOhW/2r66o4MdF9qJ9 z5uhMy+28zaJP/Glg64C3WPM0VfveCgvu+ApEyf2JDbjc/hUomw8KpppgOcn1wX6PZGbhHVv eAvDTWJ0ugqo08Ny6GR0bsGvePmxdWSQq+0aGTHqA1I2EozJBZ8W5xlUtKe22j56i1Uw1ujk Rlosdu2PTs8QOY1OUHuLPnEV9EWtYF7g6bXDUDsJxypXZy9qTipPplYXjdWgkLVRvezri+BN kgin8UKhKLQ99vS25zrMFKu80g31AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQAR4u9o4CFvztyo0sZb3tCQIWYb 5U4jW9da3goVwWIkMz+qeCb2kiTQfsSmOdF9YJ8VTRdYW0l0fQbqL5JikVhaYeX85cpqZ3iA /PPJpfPtJw8g5jJOAROVAvxydMZXQYxyIBMV4HNG3qir44YnyfmJXkBtRFYWdxBc7bQpoZSZ jzCCAvMwggJcoAMCAQICEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDMyNDE2NTky MVoXDTA5MDMyNDE2NTkyMVowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPdCxQufreHHDAI9YN2axx 87Rf0TK1PYFMlJHi4y1ebdAMPqR6M44bz+3m8YnKn1bmIf7dWyisWyAIQYCOhW/2r66o4MdF 9qJ9z5uhMy+28zaJP/Glg64C3WPM0VfveCgvu+ApEyf2JDbjc/hUomw8KpppgOcn1wX6PZGb hHVveAvDTWJ0ugqo08Ny6GR0bsGvePmxdWSQq+0aGTHqA1I2EozJBZ8W5xlUtKe22j56i1Uw 1ujkRlosdu2PTs8QOY1OUHuLPnEV9EWtYF7g6bXDUDsJxypXZy9qTipPplYXjdWgkLVRvezr i+BNkgin8UKhKLQ99vS25zrMFKu80g31AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQAR4u9o4CFvztyo0sZb3tCQ IWYb5U4jW9da3goVwWIkMz+qeCb2kiTQfsSmOdF9YJ8VTRdYW0l0fQbqL5JikVhaYeX85cpq Z3iA/PPJpfPtJw8g5jJOAROVAvxydMZXQYxyIBMV4HNG3qir44YnyfmJXkBtRFYWdxBc7bQp oZSZjzCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQbZOR8X/3dLH0sJ+2vLUPdjAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wODA0MjgyMjMxMThaMCMGCSqGSIb3DQEJBDEWBBR8d+0rRm6Deh7IUTXmGCEkSmcGiDBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEG2TkfF/93Sx9LCftry1 D3YwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEBBQAEggEARJ0j ETfYHIrXortU+lbtZBxEm7YTkdkgKx0XQxeRVkkyNuvZn9L5yKZYnRAeL3aoT3nAwFafwO7f xc5lbhnrUuzdfb8busN8mw+CQ21MQuhZrAn+BklcgX2HAfNGw/b1t/49S8CxSfHEhLi9CS2e dvDJc7NeqjK2bJbq0xSldErtxvc+1f7CbcauoyumzEprTGODM3KLizTqz5H9mcUU/OUnUn87 M1SM78dF6yvzr+1xNlnQisfxTaxGnuZ5URalw+ppPg5l1i4YP19Medx/HQvg9qStWKkYHMvq D3b67xXkBk0OHF9lh5GVMoclwDs/3vbW8YOqly7deBA4QAc6dAAAAAAAAA== --------------ms020303040500070809070102-- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 00:56:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A66106564A for ; Tue, 29 Apr 2008 00:56:36 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id B32898FC0C for ; Tue, 29 Apr 2008 00:56:35 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.145] Received: from adsl-76-238-148-145.dsl.irvnca.sbcglobal.net (adsl-76-238-148-145.dsl.irvnca.sbcglobal.net [76.238.148.145]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m3T0uXVs000421 for ; Mon, 28 Apr 2008 19:56:34 -0500 Date: Mon, 28 Apr 2008 17:56:32 -0700 (PDT) From: Chris Maness X-X-Sender: chris@ns1.kq6up.org To: FreeBSD List Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Syncing Mail After Cut Over X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 00:56:36 -0000 Whould it be acceptable to use rsync to sync the mail spool after using dump/restore onto new hardware? I plan on doing some testing first and leave the original server up while testing, so the servers mail spool will be out of sync. Chris Maness (909) 223-9179 http://www.chrismaness.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 01:03:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3B8D106564A for ; Tue, 29 Apr 2008 01:03:49 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id B9FCE8FC1F for ; Tue, 29 Apr 2008 01:03:49 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 6E87068BDAA47; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zevjXYJTeYEZ; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 456B468610B2E; Mon, 28 Apr 2008 18:03:48 -0700 (PDT) Date: Mon, 28 Apr 2008 18:03:48 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20080429010348.GA3568@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 OpenPKG/2.5 Subject: Re: Syncing Mail After Cut Over X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 01:03:50 -0000 On Mon, Apr 28, 2008, Chris Maness wrote: >Whould it be acceptable to use rsync to sync the mail spool after using >dump/restore onto new hardware? I plan on doing some testing first and >leave the original server up while testing, so the servers mail spool will >be out of sync. This is easy if your mail stores use Maildir where each message is in a file. I have done it many times, including at ISPs with tens of thousands of e-mail accounts. We set up a new server, create the necessary accounts on it, move all DNS to point to that server so that clients go to the new one, then rsync over their old $HOME directories to the new server. It's a completely different kettle of fish if the mail stores are in single files such as the standard BSD/Unix mail stores, U.W. IMAP's binary format, etc. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Liberty means responsibility. That is why most men dread it. -- George Bernard Shaw From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 04:44:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00AB31065675 for ; Tue, 29 Apr 2008 04:44:13 +0000 (UTC) (envelope-from mayank@in.niksun.com) Received: from in.niksun.com (210.18.76.166.sify.net [210.18.76.166]) by mx1.freebsd.org (Postfix) with ESMTP id 8AF9D8FC24 for ; Tue, 29 Apr 2008 04:44:12 +0000 (UTC) (envelope-from mayank@in.niksun.com) Received: from mayank.in.niksun.com (unknown [10.60.5.28]) by in.niksun.com (Postfix) with ESMTP id 6B66A5D1C for ; Tue, 29 Apr 2008 10:08:02 +0530 (IST) From: Mayank Jain Nawal Organization: Niksun To: freebsd-questions@freebsd.org Date: Tue, 29 Apr 2008 09:51:31 +0530 User-Agent: KMail/1.9.7 X-Face: l'yl$K9Yi#1Bf%_ilN|'0Y>Ce":CbE`jr2FvNdsp=R5w iqp~2*mkSy!0ePWdN?i`ebQq{oo ZoVfEBWW/~mF'XztJ[N&fYA3@yg MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804290951.32587.mayank@in.niksun.com> Subject: Re: cvsup:Release not specified for collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 04:44:13 -0000 Hi, Use the following supfile. #supfile *default host=cvsup1.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all Don't use both of the options like host as well as default host comment out one from both of the option. Regards Mayank Jain Nawal Hi, I am trying to update my ports collection for the first time on a FreeBSD4.8 i386 machine. I've edited the example file. I'm getting the error: "Release not specified for collection "host=cvsup1freebsd.org"" Here is my ports-supfile: # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.19.2.8 2002/12/15 15:47:22 lioux Exp $ host=cvsup1freebsd.org base=/usr prefix=/usr *default host=cvsup1.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix ports-all Do I have this file setup correctly? TIA, Tim tim at cxq5.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 04:52:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BBBF1065679 for ; Tue, 29 Apr 2008 04:52:09 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from desexchf.destra.com (desexchf.destra.com [202.125.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id 185A98FC1B for ; Tue, 29 Apr 2008 04:52:08 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from [192.168.0.87] ([202.91.207.2]) by desexchf.destra.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 14:41:44 +1000 Message-Id: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> From: Hartleigh Burton To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 29 Apr 2008 14:40:09 +1000 X-Mailer: Apple Mail (2.919.2) X-OriginalArrivalTime: 29 Apr 2008 04:41:44.0732 (UTC) FILETIME=[53A065C0:01C8A9B3] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 04:52:09 -0000 Hiya! I have a problem with / currently being at 108% capacity. I have found a previous thread in the archives which explains a few questions but I can't find what is taking up all the additional space. At best without destroying what I still do not understand I can manage to get / to about 101% capacity. To answer a couple of potential questions straight up, there is nothing in /root and /tmp is on a separate partition. intranet# df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 989M 986M -76M 108% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1e 989M 216K 910M 0% /tmp /dev/da0s1f 58G 4.8G 48G 9% /usr /dev/da0s1d 4.8G 2.2G 2.3G 49% /var /dev/da1p1 3.3T 682G 2.4T 22% /db devfs 1.0K 1.0K 0B 100% /var/named/dev intranet# du -h -d1 2.0K ./.snap 1.5K ./dev 218K ./tmp 4.8G ./usr 2.2G ./var 1.7M ./etc 2.0K ./cdrom 2.0K ./dist 1.1M ./bin 71M ./boot 4.4M ./lib 360K ./libexec 2.0K ./media 512B ./net 2.0K ./proc 3.8M ./rescue 26K ./root 4.1M ./sbin 512B ./host 682G ./db 689G . If I move the old kernel/GENERIC files from /boot I can manage to get back to 101%, I really have no idea where the rest of the space has gone though. Is there any way to locate large files on a specific partition? I did have a problem not too long ago where my /db array did not mount and MySQL managed to recreate the default/sample database on /db/ mysql, could this default database be somewhere else on / while the / db array problem was fixed? *scratches head* Hartz. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 05:44:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C74811065673 for ; Tue, 29 Apr 2008 05:44:12 +0000 (UTC) (envelope-from colin@ips.gov.au) Received: from gatekeeper.ips.gov.au (ns.ips.gov.au [138.24.1.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8818FC17 for ; Tue, 29 Apr 2008 05:44:12 +0000 (UTC) (envelope-from colin@ips.gov.au) Received: from gpo.dmz.ips.gov.au (gpo.dmz.ips.gov.au [138.24.8.4]) by gatekeeper.ips.gov.au (Postfix) with ESMTP id 8663122835; Tue, 29 Apr 2008 15:34:00 +1000 (EST) Received: from localhost (localhost.dmz.ips.gov.au [127.0.0.1]) by gpo.dmz.ips.gov.au (Postfix) with ESMTP id 7B6E77E813; Tue, 29 Apr 2008 15:34:00 +1000 (EST) X-Virus-Scanned: amavisd-new at ips.gov.au Received: from gpo.dmz.ips.gov.au ([127.0.0.1]) by localhost (gpo.dmz.ips.gov.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MVYbBHX592u8; Tue, 29 Apr 2008 15:33:55 +1000 (EST) Date: Tue, 29 Apr 2008 15:34:12 +1000 From: Colin Yuile To: Hartleigh Burton Message-Id: <20080429153412.fa5e75b6.colin@ips.gov.au> In-Reply-To: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> Organization: IPS Radio and Space Services X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 05:44:12 -0000 On Tue, 29 Apr 2008 14:40:09 +1000 Hartleigh Burton wrote: > Hiya! > > I have a problem with / currently being at 108% capacity. I have found > a previous thread in the archives which explains a few questions but I > can't find what is taking up all the additional space. At best without > destroying what I still do not understand I can manage to get / to > about 101% capacity. > > To answer a couple of potential questions straight up, there is > nothing in /root and /tmp is on a separate partition. > > intranet# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 989M 986M -76M 108% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/da0s1e 989M 216K 910M 0% /tmp > /dev/da0s1f 58G 4.8G 48G 9% /usr > /dev/da0s1d 4.8G 2.2G 2.3G 49% /var > /dev/da1p1 3.3T 682G 2.4T 22% /db > devfs 1.0K 1.0K 0B 100% /var/named/dev > > intranet# du -h -d1 > 2.0K ./.snap > 1.5K ./dev > 218K ./tmp > 4.8G ./usr > 2.2G ./var > 1.7M ./etc > 2.0K ./cdrom > 2.0K ./dist > 1.1M ./bin > 71M ./boot > 4.4M ./lib > 360K ./libexec > 2.0K ./media > 512B ./net > 2.0K ./proc > 3.8M ./rescue > 26K ./root > 4.1M ./sbin > 512B ./host > 682G ./db > 689G . > > > > If I move the old kernel/GENERIC files from /boot I can manage to get > back to 101%, I really have no idea where the rest of the space has > gone though. Is there any way to locate large files on a specific > partition? > > I did have a problem not too long ago where my /db array did not mount > and MySQL managed to recreate the default/sample database on /db/ > mysql, could this default database be somewhere else on / while the / > db array problem was fixed? > > *scratches head* > It is possible that you have mounted a filesystem onto a non empty directory. The stuff in the dir used as a mount point will be hidden by the mount. Colin From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:05:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEEF9106568C for ; Tue, 29 Apr 2008 06:05:55 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8ED8FC1C for ; Tue, 29 Apr 2008 06:05:55 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from raats.xs4all.nl (localhost.jarasoft.net [127.0.0.1]) by raats.xs4all.nl (Postfix) with ESMTP id 5689016A59B; Tue, 29 Apr 2008 07:50:36 +0200 (CEST) Received: from jara3 (unknown [192.168.1.101]) by raats.xs4all.nl (Postfix) with ESMTPA id D816916A47B; Tue, 29 Apr 2008 07:50:35 +0200 (CEST) Message-ID: <003701c8a9bc$ee7a08e0$0202fea9@jarasoft.net> From: "Jack Raats" To: "Hartleigh Burton" , References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> Date: Tue, 29 Apr 2008 07:50:29 +0200 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Signed-With-GnuPG: GPGrelay Version 0.959 (Win32) X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 06:05:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - ----- Original Message ----- From: "Hartleigh Burton" To: Sent: Tuesday, April 29, 2008 6:40 AM Subject: a monster stole my / > Hiya! > > I have a problem with / currently being at 108% capacity. I have found > a previous thread in the archives which explains a few questions but I > can't find what is taking up all the additional space. At best without > destroying what I still do not understand I can manage to get / to > about 101% capacity. > > To answer a couple of potential questions straight up, there is > nothing in /root and /tmp is on a separate partition. > > intranet# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 989M 986M -76M 108% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/da0s1e 989M 216K 910M 0% /tmp > /dev/da0s1f 58G 4.8G 48G 9% /usr > /dev/da0s1d 4.8G 2.2G 2.3G 49% /var > /dev/da1p1 3.3T 682G 2.4T 22% /db > devfs 1.0K 1.0K 0B 100% /var/named/dev > I once had the same problem. A .core file in the / caused the problem. After deleting the .core file everything was back to normal Jack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFIFrcmPh5RwW/NzC4RAmi6AJ4y2w8TFbjui35jOhExaPSzI0PzngCgmjVw KRkjtNbM8jI97Yy/5Fto4ok= =eY56 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:07:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDC99106566C for ; Tue, 29 Apr 2008 06:07:33 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.244]) by mx1.freebsd.org (Postfix) with ESMTP id 901E88FC21 for ; Tue, 29 Apr 2008 06:07:33 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so4812017hsc.11 for ; Mon, 28 Apr 2008 23:07:33 -0700 (PDT) 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:content-type:content-transfer-encoding; bh=kab8Wrz2KUpAeFB+6XQfYizDA/vy+GwdkMyMR/4NAZc=; b=fM0QKeUOOTk+4UEj3DZqyldV9AOAicYt3s38Yx7llOhydZ7Ue22lsd5Nqv5PU8Jm0ePVctfjNRPx/adOcwNQPXdnPOGXV1iQH9tYqv3RSRNbWx2oA/rsaWMMxmKcKFz4pNVXcOHp41VvpMAj1XUhsajIbuuTOMfPHi0Gtp1KoLc= 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=DGjsShsRl6+fYNvEAQeVg84298TqdBCni4e2RPaJ2v9EQKpFGy2s82LbNABwbmwVWNhmJociefjmGuEFoE5cwKANWZYlrvcDi7d4qSUafETit0Skl5CIOfGXselnZ3awPv8BpL0G3JvUkNuAUGpxnsCkZYdZTAbFH/EXG6lAqao= Received: by 10.90.86.9 with SMTP id j9mr799482agb.54.1209447798558; Mon, 28 Apr 2008 22:43:18 -0700 (PDT) Received: from ?127.0.0.1? ( [190.17.114.148]) by mx.google.com with ESMTPS id 36sm8209818agc.9.2008.04.28.22.43.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Apr 2008 22:43:17 -0700 (PDT) Message-ID: <4816B575.8070701@gmail.com> Date: Tue, 29 Apr 2008 02:43:17 -0300 From: Sdavtaker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FBSD install fails with nforce on asus p5n-e sli. any ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 06:07:34 -0000 Hello, Im trying to install 7.0 from boot only CD and having problems detecting the network. The NIS is a nforce integrated to the mother asus P5n-e sli The card is working in DFBSD and windows, I think it worked in Linux too, but need to try it out again to be sure about the last. Dhclient fails, write the config by hand doesnt work neither. Someone had installed 7.0 with this mother? Thanks for any help. Sdav From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:09:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D86E0106566C for ; Tue, 29 Apr 2008 06:09:06 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 604F88FC1A for ; Tue, 29 Apr 2008 06:09:06 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwotgx01p.mx.bigpond.com ([121.223.241.235]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20080429060905.KPAP23069.nschwmtas02p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com> for ; Tue, 29 Apr 2008 06:09:05 +0000 Received: from mail.pattersonsoftware.com ([121.223.241.235]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20080429060903.GUAV1861.nschwotgx01p.mx.bigpond.com@mail.pattersonsoftware.com> for ; Tue, 29 Apr 2008 06:09:03 +0000 Received: from localhost (mail [192.168.111.46]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 8F1015363D8 for ; Tue, 29 Apr 2008 16:09:03 +1000 (EST) X-Virus-Scanned: amavisd-new at pattersonsoftware.com Received: from mail.pattersonsoftware.com ([192.168.111.46]) by localhost (mail.pattersonsoftware.com [192.168.111.46]) (amavisd-new, port 10024) with ESMTP id Jz35zhPFuLyF for ; Tue, 29 Apr 2008 16:08:54 +1000 (EST) Received: from elegia (60-242-254-180.static.tpgi.com.au [60.242.254.180]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 3760553609B for ; Tue, 29 Apr 2008 16:08:53 +1000 (EST) Date: Tue, 29 Apr 2008 16:08:51 +1000 From: Gary Newcombe To: freebsd-questions@freebsd.org Message-Id: <20080429160851.8f21394e.gary@pattersonsoftware.com> Organization: Patterson Software X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.4816BB80.00C0,ss=1,fgs=0 Subject: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:09:06 -0000 G'day. This is an X61 laptop, and I'm trying to use the Fn keys to call scripts to do various jobs, while informing users or getting input using Xdialog popups. Here's an example case. Rebooting the pc if pressing Fn+F4. [/etc/devd.conf] ... notify 10 { match "system" "ACPI"; match "subsystem" "IBM"; action "/root/bin/acpi_oem_exec.sh $notify ibm"; }; [/root/bin/acpi_oem_exec.sh] ... #!/bin/sh NOTIFY=`echo $1` case ${NOTIFY} in 0x04) /home/rep/bin/script.sh & MESSAGE="do script" ;; *) MESSAGE="nothing found" ;; esac ... [/etc/sysctl.conf] ... dev.acpi_ibm.0.events=1 [/home/rep/bin/reboot.sh] ... #!/bin/sh if [ ! -f /tmp/reboot ] ; then touch /tmp/reboot title="Reboot computer" msg="Laptop is rebooting immediately..." Xdialog --title "$title" --beep --ok-label "OK" --infobox "$msg" 5 40 2000 > /dev/null 2>&1 wavplay /home/rep/sounds/shutdown.wav > /dev/null 2>&1 shutdown -r now fi exit 0 >From a fresh boot and startx, pressing Fn+F4 from the window manager (Window Maker) calls the script and executes, but no Xdialog or sound. If I startx and run devd in the foreground with: sh /etc/rc.d/devd stop && devd -dD\ all is fine, Xdialogs displayed and sound too. Likewise, if I restart devd from an xterm (sh /etc/rc.d/devd restart), all is fine: However, if I restart devd from an ssh term or another console, only sound, no Xdialogs. I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly it does. Any clues? Also, does anyone have any ideas how I can call Xdialog to get the windows displayed? Many thanks, Gary --- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:13:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EB081065672 for ; Tue, 29 Apr 2008 06:13:09 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id D77348FC22 for ; Tue, 29 Apr 2008 06:13:08 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m3T6D7mV074944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Apr 2008 23:13:08 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m3T6D6DW074943; Mon, 28 Apr 2008 23:13:06 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA15507; Mon, 28 Apr 08 23:12:32 PDT Date: Mon, 28 Apr 2008 23:10:37 -0700 From: perryh@pluto.rain.com To: tijl@ulyssis.org Message-Id: <4816bbdd.lbQT9XZN0V0Ecl9s%perryh@pluto.rain.com> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804221252.20410.tijl@ulyssis.org> <4812e19f.379MkLdwjeMt+0YF%perryh@pluto.rain.com> <200804281503.33922.tijl@ulyssis.org> In-Reply-To: <200804281503.33922.tijl@ulyssis.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: fbsd06@mlists.homeunix.com, freebsd-questions@freebsd.org Subject: Re: wine: notepad OK, others not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:13:09 -0000 > Wine has its own simple version of Wordpad though. > Just run "wine wordpad". This version has its own notepad, but it doesn't appear to have wordpad. (There's no "wordpad.exe" that I can find, but there are two identical copies of "notepad.exe" -- one in .../windows and the other in .../windows/system32.) > I'm not entirely sure, but I think the :: link is only used for > raw access to devices. Wine doesn't mount disks on its own. For floppies, which AFAIK are always formatted as FAT, I'd settle for having it use mtools so the disk wouldn't need to be mounted at all :) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:17:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93673106564A for ; Tue, 29 Apr 2008 06:17:56 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 12D768FC15 for ; Tue, 29 Apr 2008 06:17:55 +0000 (UTC) (envelope-from ivtoman@inet.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 2F02F40785; Tue, 29 Apr 2008 08:17:54 +0200 (CEST) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 102E3D50051; Tue, 29 Apr 2008 08:17:54 +0200 (CEST) X-Envelope-Sender: ivtoman@inet.hr Received: from [10.23.99.66] (78-3-52-174.adsl.net.t-com.hr [78.3.52.174])by ls248.t-com.hr (Qmali) with ESMTP id 7D48C5E0198; Tue, 29 Apr 2008 08:17:53 +0200 (CEST) Message-ID: <4816BCF0.90208@inet.hr> Date: Tue, 29 Apr 2008 08:15:12 +0200 From: Ivan Toman User-Agent: Thunderbird 2.0.0.12 (X11/20080424) To: cpghost References: <48137E8B.2040402@inet.hr> <20080429001145.0f40ad25@epia-2.farid-hajji.net> In-Reply-To: <20080429001145.0f40ad25@epia-2.farid-hajji.net> Content-Transfer-Encoding: 7bit X-imss-version: 2.050 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.0.1023(15810.001) X-imss-scores: Clean:25.31849 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) MIME-Version: 1.0 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 reconnecting ppp (ppp -ddial isp) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:17:56 -0000 cpghost wrote: On Sat, 26 Apr 2008 21:12:11 +0200 Ivan Toman [1] wrote: First problem get when ISP disconnect me after 24 hours due to IP change. Link does not properly get reconnected. ppp tries to connect, and appearenty is connected, but something is wrong because no traffic is possible and after few seconds ppp goes down and reconnects again. And again and again.... Strange above all is that during reconnecting routing table always has default route, but ping does not go. Next, I will put some information that I think is relevant to problem, but it seems to me, not very useful in debugging this. I don't know if it's exactly the same problem, but I've had a similar problem with userland ppp and even submitted logfiles of forced disconnects. I thought the problem was with ng_pppoe, but apparently, it is with ppp(8). Unfortunately, ppp's maintainer didn't reply or chime in, and the problem is obviously still lingering there, deep inside ppp or between ppp and ng_pppoe. :( The thread started here: [2]http://lists.freebsd.org/pipermail/freebsd-stable/2007-December/038874.html You may not have hit the very same bug, but the circumstances are pretty much similar. Someone really ought to have a look at ppp. Fortunately, with the help from Alexander and Julian, I've switched to net/mpd5, and didn't encounter any problems with this 24h forced ADSL disconnect ever since (running RELENG_7 now). Just give it a try: you'll like it! I'm now using the following /usr/local/etc/mpd5/mpd.conf: Hello dear cpghost, thanks for answer! I don't know why but it seems that some messages sent to mailing list does not appear imediately (in fact, I sent yesterday one that is not even now there as reply to Patrick Lamaizière's post). In that reply I stated that i managed to use that mpd client instead of ppp and it works great! I found no case when it hangs, so for now I can tell the problem is "solved". Just, couldn't find way to configure mpd5, it seems it does not have same rules for conf file as mpd4 that I setup to work for me. Now with your example, I will probably try to upgrade to mpd5, thanks. Yes it does look to me as ppp bug, or in something closely related to ppp. If somebody want to go deeper into this I can send more findings of myself, but for me, mpd will go on from now. Thanks all! (hope message will appear on mailing list) Ivan References 1. mailto:ivtoman@inet.hr 2. http://lists.freebsd.org/pipermail/freebsd-stable/2007-December/038874.html From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:26:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8263106568D for ; Tue, 29 Apr 2008 06:26:20 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from desexchf.destra.com (desexchf.destra.com [202.125.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0598FC21 for ; Tue, 29 Apr 2008 06:26:19 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from [192.168.0.87] ([202.91.207.2]) by desexchf.destra.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 16:27:59 +1000 Message-Id: From: Hartleigh Burton To: Colin Yuile In-Reply-To: <20080429153412.fa5e75b6.colin@ips.gov.au> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 29 Apr 2008 16:26:24 +1000 References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> <20080429153412.fa5e75b6.colin@ips.gov.au> X-Mailer: Apple Mail (2.919.2) X-OriginalArrivalTime: 29 Apr 2008 06:27:59.0715 (UTC) FILETIME=[2B699B30:01C8A9C2] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:26:21 -0000 That solved my problem thank you Colin. Stopped MySQL, unmounted /dev/da1p1 -> /db, removed old MySQL data files, remounted da1p1 & restarted MySQL. intranet# df -H Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 1.0G 91M 864M 10% / devfs 1.0k 1.0k 0B 100% /dev /dev/da0s1e 1.0G 229k 954M 0% /tmp /dev/da0s1f 62G 5.1G 52G 9% /usr /dev/da0s1d 5.2G 2.3G 2.4G 49% /var devfs 1.0k 1.0k 0B 100% /var/named/dev /dev/da1p1 3.6T 733G 2.6T 22% /db On 29/04/2008, at 3:34 PM, Colin Yuile wrote: > On Tue, 29 Apr 2008 14:40:09 +1000 > Hartleigh Burton wrote: > >> Hiya! >> >> I have a problem with / currently being at 108% capacity. I have >> found >> a previous thread in the archives which explains a few questions >> but I >> can't find what is taking up all the additional space. At best >> without >> destroying what I still do not understand I can manage to get / to >> about 101% capacity. >> >> To answer a couple of potential questions straight up, there is >> nothing in /root and /tmp is on a separate partition. >> >> intranet# df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/da0s1a 989M 986M -76M 108% / >> devfs 1.0K 1.0K 0B 100% /dev >> /dev/da0s1e 989M 216K 910M 0% /tmp >> /dev/da0s1f 58G 4.8G 48G 9% /usr >> /dev/da0s1d 4.8G 2.2G 2.3G 49% /var >> /dev/da1p1 3.3T 682G 2.4T 22% /db >> devfs 1.0K 1.0K 0B 100% /var/named/ >> dev >> >> intranet# du -h -d1 >> 2.0K ./.snap >> 1.5K ./dev >> 218K ./tmp >> 4.8G ./usr >> 2.2G ./var >> 1.7M ./etc >> 2.0K ./cdrom >> 2.0K ./dist >> 1.1M ./bin >> 71M ./boot >> 4.4M ./lib >> 360K ./libexec >> 2.0K ./media >> 512B ./net >> 2.0K ./proc >> 3.8M ./rescue >> 26K ./root >> 4.1M ./sbin >> 512B ./host >> 682G ./db >> 689G . >> >> >> >> If I move the old kernel/GENERIC files from /boot I can manage to get >> back to 101%, I really have no idea where the rest of the space has >> gone though. Is there any way to locate large files on a specific >> partition? >> >> I did have a problem not too long ago where my /db array did not >> mount >> and MySQL managed to recreate the default/sample database on /db/ >> mysql, could this default database be somewhere else on / while the / >> db array problem was fixed? >> >> *scratches head* >> > > > It is possible that you have mounted a filesystem onto a non empty > directory. > The stuff in the dir used as a mount point will be hidden by the > mount. > > Colin > From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 06:33:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8589106564A for ; Tue, 29 Apr 2008 06:33:33 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 57CB68FC20 for ; Tue, 29 Apr 2008 06:33:33 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so1076259ywh.13 for ; Mon, 28 Apr 2008 23:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=SGWuMT2adfVj0TdX3YVrIRSwJVekRwCuthP7U6P9W7A=; b=Hb1HBdOT6s+2xgSPIfv59x87hF+fB3qejs8YXw9hNQJcQ0jmq5vqswlWHJABUJ2rVbbhDTmsjs6CeC95Yr9F2lX2Vte4SHZ+1BElgcb5a5d/j9PwF4OWNooa08pH1gySTL2YltiDYSMC1zmRy/65lAkXaVBzv5cgKBd6sd6rDl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nxHyNW8w3LA6EO1FdwZWctkG6enlrYJZyI2hIupm9UMYAFcGMqrv8/7sYiJBgbPRRAvWekf/isgUtz+3sQMft6AS+RYryHfk/jdmAHyE+Az+4ABcsOAEZ40O7SxTnQmBtx0D+6vksMZpTRJBv5YjFeAJwIoxIZ0tuqoGQsbEXf4= Received: by 10.150.84.28 with SMTP id h28mr4707568ybb.204.1209450811941; Mon, 28 Apr 2008 23:33:31 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Mon, 28 Apr 2008 23:33:31 -0700 (PDT) Message-ID: Date: Tue, 29 Apr 2008 14:33:31 +0800 From: "Ruel Luchavez" To: "Mayank Jain Nawal" In-Reply-To: <200804290951.32587.mayank@in.niksun.com> MIME-Version: 1.0 References: <200804290951.32587.mayank@in.niksun.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: cvsup:Release not specified for collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:33:33 -0000 Hi, put # in your first host, base and prefix. dont use the both host. it will work then.. best reagards.. On Tue, Apr 29, 2008 at 12:21 PM, Mayank Jain Nawal wrote: > > > Hi, > > Use the following supfile. > > > > > #supfile > > *default host=cvsup1.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix > > ports-all > > > > Don't use both of the options like host as well as default host comment > out > one from both of the option. > > Regards > Mayank Jain Nawal > > > > Hi, > > I am trying to update my ports collection for the first time on a > FreeBSD4.8 i386 machine. I've edited the example file. I'm getting the > error: > > "Release not specified for collection "host=cvsup1freebsd.org"" > > Here is my ports-supfile: > > # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.19.2.8 2002/12/15 > 15:47:22 lioux Exp $ > host=cvsup1freebsd.org > base=/usr > prefix=/usr > *default host=cvsup1.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default delete use-rel-suffix > > ports-all > > Do I have this file setup correctly? > > TIA, > > Tim > tim at cxq5.com > _______________________________________________ > 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 Apr 29 06:56:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 994B91065677 for ; Tue, 29 Apr 2008 06:56:20 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACCC8FC12 for ; Tue, 29 Apr 2008 06:56:19 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.1.12) with ESMTP id 25718272 for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 08:56:17 +0200 Message-ID: <4816C6D2.8090309@supsi.ch> Date: Tue, 29 Apr 2008 08:57:22 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: raid and dump/restore after the disaster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 06:56:20 -0000 Hi all! I'm playing with new HW and FreeBSD 6.3 and 7.0. I set up raid 1 on two sata disks (fakeraid on ICH9R) and as long as I can see, it seams to work very well. Now I'm trying to simulate 1 disk failure (I just take out a disk and boot again). Doesn't matter which of the two disks I take out, the bios correctly shows the raid as degraded and bootable, loads the FreeBSD loader, who loads the kernel and starts the boot. But when the kernel comes to the drives (or the swap?) it fatal traps 12. The trap descriptions sais that current process is 0 (swapper). Reading that I commented out the swap partition from fstab, but that doesn't help. How can I get the system to finish the boot? Thank you and best regards. -- Robi From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 07:16:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050071065670 for ; Tue, 29 Apr 2008 07:16:39 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 510288FC13 for ; Tue, 29 Apr 2008 07:16:37 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.1.12) with ESMTP id 25718745 for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 09:16:36 +0200 Message-ID: <4816CB95.1000805@supsi.ch> Date: Tue, 29 Apr 2008 09:17:41 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <480938EC.2000103@supsi.ch> <20080419090036.GA6302@slackbox.xs4all.nl> <480A21B4.3010702@supsi.ch> <20080419220653.GA53245@slackbox.xs4all.nl> <480E2C78.9050407@supsi.ch> In-Reply-To: <480E2C78.9050407@supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: is this hardware supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 07:16:39 -0000 Hi. Here I'm back with a very short report on installing FreeBSD 6.3/7.0 and others on this mainboard: http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ClassValue=Motherboard&ProductID=2534&ProductName=GA-G33M-DS2R It's a Gigabyte (model GA-G33M-DS2R) mainboard based on the Intel G33 + ICH9R Chipset and Intel E8200 processor. I tried to install FreeBSD 6.3 and 7.0, xen 4.1 and CentOS 5.1 The results are all in favour of FreeBSD :) FreeBSD: It installs without any problem both using MB SATA fakeraid or plain SATA disk. All HW is correctly recognized and in no more than 5 minutes FreeBSD is fully installed, configured and up and running on network. No tests on graphics, though. xen: Installation fails as it says the system doesn't have a NIC. After providing the NIC driver during installation, linux doesn't see the SATA fakeraid, but only the bare disks. CentOS: Installation gets to the end and lets a bootable system, but the system doesn't recognice the NIC nor the SATA fakeraid. Graphics is correctly configured and Gnome starts up correctly. Best regards. Roberto Nunnari wrote: > Roland, > > Thank you for your support. I'll post here the result of > installing FreeBSD on that HW. > > Best regards. > Robi. > > > Roland Smith wrote: >> On Sat, Apr 19, 2008 at 06:45:40PM +0200, Roberto Nunnari wrote: >>> Hi! >>> >>> Ok. So what about this? >>> http://de.asus.com/products.aspx?modelmenu=2&model=1178&l1=3&l2=11&l3=307 >>> >>> >>> Has anybody been using it? >>> With what success? >>> Can anybody use the embedded RAID controller to make a HW RAID 1 >>> with two SATA disks? >> >> According to ata(4), the ICH8 chipset is supported. According to >> ataraid(4) the jmicron is supported. >> >> But if it doesn't work, you can always use gmirror(8). >> >>> Is the NIC supported and working well? >> >> Hard to say. The spec page you provided doesn't list the type of Realtek >> chip used. Again, if it doesn't work get a cheap Realtek 8139 card. >> >>> Again, I couldn't find any of its chipsets in the 6.3 supported >>> HW list, so that's why I ask the list. >> >> It is better to check the manual pages of drivers. >> >>> But in this case I'm a bit muc more confident that FreeBSD 6.3 >>> can run on this HW >> >> I recently booted FreeBSD on a system with a intel motherboard with a >> ICH9 chipset. Everything seemed to work OK. >> >> Roland > > _______________________________________________ > 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" -- Robi From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 08:19:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07DA01065674 for ; Tue, 29 Apr 2008 08:19:28 +0000 (UTC) (envelope-from dedan.kiruri@apca.co.ug) Received: from apca.co.ug (mail.apca.co.ug [212.88.116.190]) by mx1.freebsd.org (Postfix) with ESMTP id 23D278FC1F for ; Tue, 29 Apr 2008 08:19:26 +0000 (UTC) (envelope-from dedan.kiruri@apca.co.ug) Received: from [192.168.0.110] (helo=IT) by apca.co.ug with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JqkbQ-0004ky-Im for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 10:50:26 +0300 From: "Dedan Kiruri" To: Date: Tue, 29 Apr 2008 10:53:33 +0300 Organization: APCA Message-ID: <000601c8a9ce$223ed780$66bc8680$@kiruri@apca.co.ug> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acipzh5+q1n1RlNYRTq+uvsghiEmLw== Content-Language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dedan.kiruri@apca.co.ug List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 08:19:28 -0000 I have a Free Bsd server and I don't know how to update 1. antivirus. 2. Adjust the spam assassin levels. I get this message after sending mails "501 failure after end of data Bad from mx records Cached" relay not > permitted (in reply to RCPT TO command) unexpected disconnection while reading SMTP command from hydstra.com Thanks Dedan Kiruri ou IT Support Co-ordinator African Palliative Care Association PO Box 72518 Plot 850 Dr Gibbons Road Kampala, Uganda Mob: +256 752 664 514 Tel: +256 414 266251 Fax: +256 414 266217 email: dedan.kiruri@apca.co.ug www.apca.co.ug APCA's Mission Statement is to promote and support affordable and culturally appropriate Palliative Care throughout Africa This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. If you are not the intended recipient, please advise the sender ( dedan.kiruri@apca.co.ug) immediately and destroy all copies of the original e-mail message and any attachments. Any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 08:26:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F14EE10656AB for ; Tue, 29 Apr 2008 08:26:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1F97C8FC15 for ; Tue, 29 Apr 2008 08:26:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3T8PiGK085272; Tue, 29 Apr 2008 10:25:44 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3T8PiVb085269; Tue, 29 Apr 2008 10:25:44 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 29 Apr 2008 10:25:44 +0200 (CEST) From: Wojciech Puchar To: Dedan Kiruri In-Reply-To: <000601c8a9ce$223ed780$66bc8680$@kiruri@apca.co.ug> Message-ID: <20080429102535.V85268@wojtek.tensor.gdynia.pl> References: <000601c8a9ce$223ed780$66bc8680$@kiruri@apca.co.ug> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: 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: Tue, 29 Apr 2008 08:26:59 -0000 ask the one who installed it. On Tue, 29 Apr 2008, Dedan Kiruri wrote: > I have a Free Bsd server and I don't know how to update 1. antivirus. > > > 2. Adjust the spam assassin levels. > > > > I get this message after sending mails "501 failure after end of data Bad > from mx records Cached" > > relay > > not > >> permitted (in reply to RCPT TO command) > > > > unexpected disconnection while reading SMTP command from hydstra.com > > > > Thanks > > Dedan Kiruri ou > IT Support Co-ordinator > African Palliative Care Association > PO Box 72518 > Plot 850 Dr Gibbons Road > Kampala, Uganda > Mob: +256 752 664 514 > Tel: +256 414 266251 > Fax: +256 414 266217 > email: dedan.kiruri@apca.co.ug > > www.apca.co.ug > > APCA's Mission Statement is to promote and support affordable and culturally > appropriate Palliative Care throughout Africa > > This e-mail message, including any attachments, is for the sole use of the > intended recipient(s) and may contain private, confidential, and/or > privileged information. If you are not the intended recipient, please > advise the sender ( > dedan.kiruri@apca.co.ug) immediately and destroy all copies of the original > e-mail message and any attachments. Any use, distribution, amendment, > copying or any action taken or omitted to be taken in reliance of this > message or attachments is prohibited > > > > _______________________________________________ > 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 Apr 29 08:28:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D65CD1065676 for ; Tue, 29 Apr 2008 08:28:08 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA038FC27 for ; Tue, 29 Apr 2008 08:28:07 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1JqlC1-0004dE-FV for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 09:28:05 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1JqlC0-0004lN-0r for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 09:28:04 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 29 Apr 2008 09:28:03 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804290928.03808.jmc-freebsd@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: d1d12027adfe61ff9637c4ff622fb8f1 Subject: Distfile size mismatch for ImageMagick portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 08:28:08 -0000 Upgrading ImageMagick from 6.3.6.9 to 6.4.0.11 fails after downloading the distfile with "size mismatch: expected 5837175, actual 5836089". I don't see anything relevant in UPDATING or on the Freshports site. I've run pkgdb -u and downloaded a fresh copy of /usr/ports/graphics/ImageMagick but still get the problem. Is this a general problem or have I overlooked something? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 09:03:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB4D3106567A for ; Tue, 29 Apr 2008 09:03:21 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id 629FF8FC28 for ; Tue, 29 Apr 2008 09:03:21 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so4681099wxd.7 for ; Tue, 29 Apr 2008 02:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=GodMrwVBu9Ld3DUdCnX2Pf6W2Xgg4sTp9/gMafTxYxA=; b=IrrMJKaF9MvCMgXgvMc7QtBavKlzpuqvGarQ/xx/9uDxcSAjYvde/4/Y96b11pzWFtJ52r/7CuN+vCEdlJoslUWpGwQvC2l14IUYhv3frzAEbnJM+TJ7pI/Uyb9ZsjmuqP7wiFSwrqfJZkSwhIRlx7Qzwdjv5o67TILjS+0MngU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=wGEIygQWeRuLbnfrIQUtoadutSJIPacnJEa7vqTCsFG8DZf+Q31guaKjoCo/mhNTI4/o/RJs9xcwR3HzGYSrEtv7HvgjcfgLB4fw5X+Q+uGCsCppVhtO8apgpIIahtAQOgZQSQey5cXjEdcj6ZyGBVlKc7NiBC2i2uSiOo/eAWQ= Received: by 10.142.215.5 with SMTP id n5mr335171wfg.177.1209459799873; Tue, 29 Apr 2008 02:03:19 -0700 (PDT) Received: by 10.143.192.2 with HTTP; Tue, 29 Apr 2008 02:03:19 -0700 (PDT) Message-ID: <75a268720804290203h490a300ap728354046e9eafd1@mail.gmail.com> Date: Tue, 29 Apr 2008 12:03:19 +0300 From: "Omer Faruk Sen" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: install.cfg and command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 09:03:21 -0000 Hi, At http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/040502.htmlit states that I can run commands while installing server like: command="echo keyrate="fast" >> /etc/rc.conf" system But when I use that I get error I can't issue that command. Is there a speacial way to execute commands like that in install.cfg ( echo " " >> file_on_disk_not_in_memory_filesystem ) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 09:54:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E9A5106567B for ; Tue, 29 Apr 2008 09:54:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 669E38FC45 for ; Tue, 29 Apr 2008 09:54:32 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3T9sRbH085717; Tue, 29 Apr 2008 11:54:27 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3T9sPsv085714; Tue, 29 Apr 2008 11:54:26 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 29 Apr 2008 11:54:25 +0200 (CEST) From: Wojciech Puchar To: Omer Faruk Sen In-Reply-To: <75a268720804290203h490a300ap728354046e9eafd1@mail.gmail.com> Message-ID: <20080429115404.S85697@wojtek.tensor.gdynia.pl> References: <75a268720804290203h490a300ap728354046e9eafd1@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: install.cfg and command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 09:54:33 -0000 > http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/040502.htmlit > states that I can run commands while installing server like: > > command="echo keyrate="fast" >> /etc/rc.conf" command="echo keyrate=\"fast\" >>/etc/rc.conf" > system > > But when I use that I get error I can't issue that command. Is there a > speacial way to execute commands like that in install.cfg ( echo " " >> > file_on_disk_not_in_memory_filesystem ) > _______________________________________________ > 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 Apr 29 10:02:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41ABD1065672 for ; Tue, 29 Apr 2008 10:02:37 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from mellanox.co.il (mail.mellanox.co.il [194.90.237.43]) by mx1.freebsd.org (Postfix) with ESMTP id 1FDB18FC14 for ; Tue, 29 Apr 2008 10:02:35 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yoniy@mellanox.co.il) with SMTP; 29 Apr 2008 12:35:52 +0300 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 29 Apr 2008 12:35:51 +0300 Message-ID: <6C2C79E72C305246B504CBA17B5500C903E6C3B1@mtlexch01.mtl.com> In-Reply-To: <48160770.2080509@tomjudge.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OS throws away large packets Thread-Index: AcipVDsANurcsXo+RzKO3aKAgW4uUgAelKmA From: "Yehonatan Yossef" To: "Tom Judge" , "Mr Y" Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, Liran Liss Subject: RE: OS throws away large packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 10:02:37 -0000 =20 > -----Original Message----- > From: Tom Judge [mailto:tom@tomjudge.com]=20 > Sent: Monday, April 28, 2008 8:21 PM > To: Mr Y > Cc: freebsd-questions@freebsd.org; freebsd-net@freebsd.org > Subject: Re: OS throws away large packets >=20 > Mr Y wrote: > > Hi all, > >=20 > > I'm trying to implement Large Recieve Offload for an=20 > Ethernet driver=20 > > on FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. > > I'm using mbuf chains in this imlpementation, each mbuf is=20 > a cluster=20 > > of MCLBYTES bytes. They are linked by the m_next pointer. > > The first packet being thrown away is 2945 bytes long.=20 > Wireshark shows=20 > > the packet that is being passed to the OS is correct. > >=20 > > Do I need to set some OS parameter to make it recieve mbuf chains? > >=20 > > Please help. > >=20 >=20 > Hi Yony, >=20 > I seem to remember some discussion about this list last year=20 > see the following threads: >=20 > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.htm l > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.htm l > >From my limited reading of these threads just now and possibly bad memory. It would seem that the MRU to MTU relationship is defined in the nic driver rather than=20 > enforced further up the stack or at least that seamed to be the case with the bce driver. > >Hope this is helpful, >=20 > Tom Hi Tom, >From what I understand these threads are referring to the bce hardware configuration (bus configuration) and driver mbuf allocation size. Am I correct? In my case I'm not trying to receive packets >MTU from the HW, but to chain mbuf clusters, each is MCLBYTES long, and pass the mbuf chain to the OS. Since tcpdump (analyzed by wireshark) catches the packets above the driver and reports a good packet (and 2945 bytes long), I assume my driver functionality is ok. From what I know tcpdump is supposed to immitate the way the stack sees the packet, yet it is discarded. My logic says there is an OS parameter handled by the driver (at net device init time for example) that will set the OS to receive large mbuf chains, or a kernel tcp parameter. Is the tcp stack submitted to the mtu somehow? Yony From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 10:30:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22D63106566C for ; Tue, 29 Apr 2008 10:30:39 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id D0B038FC1A for ; Tue, 29 Apr 2008 10:30:38 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1Jqmkt-00076T-2y>; Tue, 29 Apr 2008 12:08:11 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1Jqmkt-0001j5-22>; Tue, 29 Apr 2008 12:08:11 +0200 Message-ID: <4816F370.6070706@zedat.fu-berlin.de> Date: Tue, 29 Apr 2008 10:07:44 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Subject: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 10:30:39 -0000 Hello out there, my question may sound a bit weird, but the situation is as follows: I use OpenLDAP 2.4 for authetication purposes within our lab's net and every user's account is of the objectclass 'posixAccount'. As we know, this class does not contain the attribute 'host', which belongs to structural class 'account' and both posixAccount and account are of type structural and therefore can not be mixed. For some first steps in host-based and LDAP-backed up logins I need to allow logins on several machines by looking at the host (I use PAM for both authtentication and accounting). Looking at /usr/local/etc/nss_ldap.conf (or simply ldap.conf) I find a tag pam_check_host_attr yes to be set when we want to use host based logins. But this does not work due to the above mentioned reasons. Is there a elegant workaround for this situation? Thanks in advance, Oliver -- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 10:51:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29EA7106564A for ; Tue, 29 Apr 2008 10:51:44 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.freebsd.org (Postfix) with ESMTP id C38898FC1E for ; Tue, 29 Apr 2008 10:51:43 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id ABEDE2840C; Tue, 29 Apr 2008 22:51:42 +1200 (NZST) Date: Tue, 29 Apr 2008 22:51:42 +1200 From: Jonathan Chen To: "O. Hartmann" Message-ID: <20080429105142.GA69915@osiris.chen.org.nz> References: <4816F370.6070706@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4816F370.6070706@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 10:51:44 -0000 On Tue, Apr 29, 2008 at 10:07:44AM +0000, O. Hartmann wrote: > Hello out there, > my question may sound a bit weird, but the situation is as follows: > > I use OpenLDAP 2.4 for authetication purposes within our lab's net and > every user's account is of the objectclass 'posixAccount'. As we know, > this class does not contain the attribute 'host', which belongs to > structural class 'account' and both posixAccount and account are of > type structural and therefore can not be mixed. Is there really such a rule? There's an of examples in O'Reilly's "LDAP System Administration" that has a mixed "account" + "posixAccount" objectClasses for a node to implement the situation of: One User and a Group of Hosts. -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 11:01:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A0AE106564A for ; Tue, 29 Apr 2008 11:01:26 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 026128FC1D for ; Tue, 29 Apr 2008 11:01:25 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1JqnaO-00085N-P9>; Tue, 29 Apr 2008 13:01:24 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1JqnaO-000517-OG>; Tue, 29 Apr 2008 13:01:24 +0200 Message-ID: <4816FFEA.9030009@zedat.fu-berlin.de> Date: Tue, 29 Apr 2008 11:00:58 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: Jonathan Chen References: <4816F370.6070706@zedat.fu-berlin.de> <20080429105142.GA69915@osiris.chen.org.nz> In-Reply-To: <20080429105142.GA69915@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: freebsd-questions@freebsd.org Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 11:01:26 -0000 Jonathan Chen wrote: > On Tue, Apr 29, 2008 at 10:07:44AM +0000, O. Hartmann wrote: >> Hello out there, >> my question may sound a bit weird, but the situation is as follows: >> >> I use OpenLDAP 2.4 for authetication purposes within our lab's net and >> every user's account is of the objectclass 'posixAccount'. As we know, >> this class does not contain the attribute 'host', which belongs to >> structural class 'account' and both posixAccount and account are of >> type structural and therefore can not be mixed. > > Is there really such a rule? There's an of examples in > O'Reilly's "LDAP System Administration" that has a mixed > "account" + "posixAccount" objectClasses for a node to implement > the situation of: One User and a Group of Hosts. Well, simply try to include both structural object classes 'account' and posixAccount and you'll get a class violation - so it is here ... Oliver P.S. O'Reilly's book seems to be a little bit outdated, it reflects schemata prior to OpenLDAP 2.3 I guess and I use 2.4 by the way. I read many turoials mixin up both account and posixAccount but this isn't allowed any more with newer versions - as I understand. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 12:34:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F997106566C for ; Tue, 29 Apr 2008 12:34:53 +0000 (UTC) (envelope-from felixtoh23@yahoo.com) Received: from n67.bullet.mail.sp1.yahoo.com (n67.bullet.mail.sp1.yahoo.com [98.136.44.47]) by mx1.freebsd.org (Postfix) with SMTP id 107DE8FC17 for ; Tue, 29 Apr 2008 12:34:53 +0000 (UTC) (envelope-from felixtoh23@yahoo.com) Received: from [216.252.122.216] by n67.bullet.mail.sp1.yahoo.com with NNFMP; 29 Apr 2008 12:21:23 -0000 Received: from [69.147.84.34] by t1.bullet.sp1.yahoo.com with NNFMP; 29 Apr 2008 12:21:23 -0000 Received: from [127.0.0.1] by omp210.mail.sp1.yahoo.com with NNFMP; 29 Apr 2008 12:21:23 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 148630.75155.bm@omp210.mail.sp1.yahoo.com Received: (qmail 57119 invoked by uid 60001); 29 Apr 2008 12:21:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=WUZY6kdQNNVhgjOZMjHKuQ3HXqdWcgm8bNCzZeOistZN8jQ7X9vGX8oXKpvV7yvky8Psoa3VMthtNotWOqEg+cMKEiFzqXvReINFGj80fjZ/p6tYTZ+EYAF2hoqBaOySfFGfsdaCY65hSqkZ56O+GW2bYwgng1SGZmZ6UgPIQp0=; X-YMail-OSG: y2i4GvgVM1k.771LtO5Fv4ne.aWjgmEmM7yY8pTn6mQkZ9G39Y2kvXFTSkRC4S8EgQ-- Received: from [60.48.35.107] by web45101.mail.sp1.yahoo.com via HTTP; Tue, 29 Apr 2008 05:21:23 PDT Date: Tue, 29 Apr 2008 05:21:23 -0700 (PDT) From: Felix Toh To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <35746.53635.qm@web45101.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem Installing, BTX Halted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 12:34:53 -0000 Hi there, I am new to FreeBSD and trying to install a fresh FreeBSD OS to my computer. However, I am getting BTX error as below: Building the boot loader arguments Looking up /BOOT/LOADER.. Found relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard int=0000000d err=00000000 efl=00030206 eip=00002937 eax=00008001 ebx=00000700 ecx=00000000 edx=0000009f esi=00000b3c edi=00000000 ebp=00000000 esp=000003d2 cs=f000 ds=48ae es=4892 fs=0000 gs=0000 ss=9dbb cs=eip=2e 0f 01 16 58 2b 0f 20-c0 0c 01 0f 22 c0 b8 30 00 8e c0 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=01 80 00 00 20 28 00 00-00 00 3c 0b 00 00 00 00 00 00 f8 03 00 00 00 07-00 00 9f 00 00 00 00 00 BTX halted I have verified my CD built from iso image (tried both i386 and AMD64 ) and could not figure out what the problem is. I have also disable all unrelated BIOS setting but still no luck. Hope someone will be able to help out. FYI, my system is: Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ Memory: 1GB, Single Channel, 64-Bit, 2T Main Board: Abit NF-M2P Bios: v6.00PG NVMM: 4.071.0302/02/07 80GB Hard-drive. Thanks. Regards, Felix --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 14:07:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 857201065672 for ; Tue, 29 Apr 2008 14:07:18 +0000 (UTC) (envelope-from jmok@attglobal.net) Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3F48FC1D for ; Tue, 29 Apr 2008 14:07:17 +0000 (UTC) (envelope-from jmok@attglobal.net) Received: from [192.168.16.50] ([210.17.159.154]) by cwb.pacific.net.hk with ESMTP id m3TE7FoT010024 for ; Tue, 29 Apr 2008 22:07:16 +0800 Message-ID: <48172B92.9080606@attglobal.net> Date: Tue, 29 Apr 2008 22:07:14 +0800 From: John Mok User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: CVSUP mirror failed on 7.0-RELEASE - Unknown collection src-all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 14:07:18 -0000 Hi, I tried to setup a local mirror by installing cvsup-mirror on FreeBSD 7.0-RELEASE. The update.sh run to completion, but client failed to cvsup to the local mirror. In cvsupd.log, the error messsages follow :- Apr 29 21:41:34 havana cvsupd[2631]: CVSup server started Apr 29 21:41:34 havana cvsupd[2631]: Software version: SNAP_16_1h Apr 29 21:41:34 havana cvsupd[2631]: Protocol version: 17.0 Apr 29 21:41:34 havana cvsupd[2631]: Ready to service requests Apr 29 21:41:43 havana cvsupd[2633]: +0 root@210.17.184.72 (havana.sml-citizen.com.hk) [SNAP_16_1h/17.0] Apr 29 21:41:43 havana cvsupd[2633]: =0 Unknown collection "src-all" Apr 29 21:41:44 havana cvsupd[2633]: -0 [0Kin+0Kout] Finished successfully I used the cvsup-mirror port on FreeBSD 6.x and it worked out of the box. I hope someone could point me what went wrong. Thanks a lot. John Mok From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 14:36:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86041106564A for ; Tue, 29 Apr 2008 14:36:23 +0000 (UTC) (envelope-from martincad@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 5A36A8FC21 for ; Tue, 29 Apr 2008 14:36:23 +0000 (UTC) (envelope-from martincad@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so36686waf.3 for ; Tue, 29 Apr 2008 07:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+JA9d/2KyPErwfVrpgm69tf4Dc8IQDdldBIr59OkFvE=; b=SUMs73xVPkQEuSJ9OQk8se9qvwt1yXUmsz7jJURSqL4eFVeSEdR8YXFhHJRgzQYoxufzGnUcmZ5qwvO1EeIiTfWPygWGK5+JgqeFE9g7Q5sDk+VtsU/MaxnkcJJ60rAhCcDVyWxNrCp6P8jfUrZfQ7v7pYVp1Nzq6/mW394cMEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iJ5hphxMwjDckx0eX591e2Wvvuc1avMUdyuIx/PisGinSFXNyuRJI0ULgg4lO7Hjo4/CFi6zNDNUJvePO6YnKlG4b+W7u9IgJFOqTgD1ZYk0z8FGXqlRkipaY753LSBY97cMkDrzyqb1yvyM1JrpfJlh3MDhjugrqOCHzSmohgQ= Received: by 10.114.193.1 with SMTP id q1mr7957492waf.75.1209479783033; Tue, 29 Apr 2008 07:36:23 -0700 (PDT) Received: by 10.114.67.15 with HTTP; Tue, 29 Apr 2008 07:36:22 -0700 (PDT) Message-ID: <2062979c0804290736v439ffd94pe749c4dca52fb2c2@mail.gmail.com> Date: Tue, 29 Apr 2008 11:36:22 -0300 From: "Martin Candurra" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question about socket syscall in release 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 14:36:23 -0000 I have found some weird behavior about the socket system call in freebsd release 6.2. The problem appears if I try to open more sockets than the ulimits allows: the socket system call gets blocked instead of returning an EMFILE error. This only happens to me in release 6.2 ( I tested in 7.0 but it works fine). The following python script is what I have used to reproduce the issue: import os import socket from random import randint import sys socketAddress = ("127.0.0.1", randint(20000, 30000)) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(socketAddress) s.listen(1) socketList = [] child = -1 for i in range(10000): child = os.fork() if (child): clientCon, address = s.accept() socketList.append(clientCon) os.waitpid(0, os.WNOHANG) else: print "child %d" % i clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) if (clientSocket==-1): print("client socket error") err = clientSocket.connect(socketAddress) if (err==-1): print("client connect error") break Is there something I'm missing ? Can someone shed me some light about this ? Thanks in advance. Best regards. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 15:19:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B63081065674 for ; Tue, 29 Apr 2008 15:19:11 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7D1CE8FC2A for ; Tue, 29 Apr 2008 15:19:11 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from [127.0.0.1] (cele.sonicboom.org [66.93.34.172]) by entwistle.sonicboom.org (8.14.2/8.14.2) with ESMTP id m3TFJ3gI004616 for ; Tue, 29 Apr 2008 08:19:10 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48173C85.1000107@brianwhalen.net> Date: Tue, 29 Apr 2008 08:19:33 -0700 From: Brian User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) 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 7 with 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, 29 Apr 2008 15:19:11 -0000 The system gets thru the install fine, and does the next reboot ok. But, if I do a very simple cvsup to get freebsd 7-stable source, then a kernel rebuild, the system has what looks like a drive/controller recognition problem next time. It sees the proper root slice of ad5s1a, but cant boot it. It shows an error with sio1, unable to open device or something similar. Has this been seen before? Brian From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 15:38:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56191065673 for ; Tue, 29 Apr 2008 15:38:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC118FC21 for ; Tue, 29 Apr 2008 15:38:03 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m3TFYsY2028077; Tue, 29 Apr 2008 11:34:54 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m3TFYsgY028076; Tue, 29 Apr 2008 11:34:54 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 29 Apr 2008 11:34:54 -0400 From: Jerry McAllister To: Hartleigh Burton Message-ID: <20080429153454.GG27692@gizmo.acns.msu.edu> References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 15:38:03 -0000 On Tue, Apr 29, 2008 at 02:40:09PM +1000, Hartleigh Burton wrote: > Hiya! > > I have a problem with / currently being at 108% capacity. I have found > a previous thread in the archives which explains a few questions but I > can't find what is taking up all the additional space. At best without > destroying what I still do not understand I can manage to get / to > about 101% capacity. oI see you have used du. I usually do cd / du -sk * Since the 'h switches between K, G, M, I find it a little harder to eyeball than picking just one of K, M or G. I also find the -s more useful in a general situation than -dn since it gives a good general summary. The one thing I can think of would be some file that has been rm-ed but not released by some process. The space will still stay allocated until the file is released by all processes. A reboot can help that. If reboot doesn't free anything up, then you have some serious digging to do. Your / file system is quite large and you have most of the usually culprits moved somewhere else. So, you should not need anywhere near that much disk for /. Good luck, ////jerry > > To answer a couple of potential questions straight up, there is > nothing in /root and /tmp is on a separate partition. > > intranet# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1a 989M 986M -76M 108% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/da0s1e 989M 216K 910M 0% /tmp > /dev/da0s1f 58G 4.8G 48G 9% /usr > /dev/da0s1d 4.8G 2.2G 2.3G 49% /var > /dev/da1p1 3.3T 682G 2.4T 22% /db > devfs 1.0K 1.0K 0B 100% /var/named/dev > > intranet# du -h -d1 > 2.0K ./.snap > 1.5K ./dev > 218K ./tmp > 4.8G ./usr > 2.2G ./var > 1.7M ./etc > 2.0K ./cdrom > 2.0K ./dist > 1.1M ./bin > 71M ./boot > 4.4M ./lib > 360K ./libexec > 2.0K ./media > 512B ./net > 2.0K ./proc > 3.8M ./rescue > 26K ./root > 4.1M ./sbin > 512B ./host > 682G ./db > 689G . > > > > If I move the old kernel/GENERIC files from /boot I can manage to get > back to 101%, I really have no idea where the rest of the space has > gone though. Is there any way to locate large files on a specific > partition? > > I did have a problem not too long ago where my /db array did not mount > and MySQL managed to recreate the default/sample database on /db/ > mysql, could this default database be somewhere else on / while the / > db array problem was fixed? > > *scratches head* > > > > > > Hartz. > _______________________________________________ > 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 Apr 29 15:39:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA26C1065676 for ; Tue, 29 Apr 2008 15:39:13 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5B9818FC2F for ; Tue, 29 Apr 2008 15:39:13 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m3TFa2mY028098; Tue, 29 Apr 2008 11:36:02 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m3TFa0va028097; Tue, 29 Apr 2008 11:36:00 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 29 Apr 2008 11:36:00 -0400 From: Jerry McAllister To: Colin Yuile Message-ID: <20080429153600.GH27692@gizmo.acns.msu.edu> References: <8176B9AB-92B0-4150-9127-C41D79D0E7C4@destra.com> <20080429153412.fa5e75b6.colin@ips.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080429153412.fa5e75b6.colin@ips.gov.au> User-Agent: Mutt/1.4.2.2i Cc: Hartleigh Burton , freebsd-questions@freebsd.org Subject: Re: a monster stole my / X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 15:39:13 -0000 On Tue, Apr 29, 2008 at 03:34:12PM +1000, Colin Yuile wrote: > On Tue, 29 Apr 2008 14:40:09 +1000 > Hartleigh Burton wrote: > > > Hiya! > > > > I have a problem with / currently being at 108% capacity. I have found > > a previous thread in the archives which explains a few questions but I > > can't find what is taking up all the additional space. At best without > > destroying what I still do not understand I can manage to get / to > > about 101% capacity. > > > > To answer a couple of potential questions straight up, there is > > nothing in /root and /tmp is on a separate partition. > > > > intranet# df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/da0s1a 989M 986M -76M 108% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/da0s1e 989M 216K 910M 0% /tmp > > /dev/da0s1f 58G 4.8G 48G 9% /usr > > /dev/da0s1d 4.8G 2.2G 2.3G 49% /var > > /dev/da1p1 3.3T 682G 2.4T 22% /db > > devfs 1.0K 1.0K 0B 100% /var/named/dev > > > > intranet# du -h -d1 > > 2.0K ./.snap > > 1.5K ./dev > > 218K ./tmp > > 4.8G ./usr > > 2.2G ./var > > 1.7M ./etc > > 2.0K ./cdrom > > 2.0K ./dist > > 1.1M ./bin > > 71M ./boot > > 4.4M ./lib > > 360K ./libexec > > 2.0K ./media > > 512B ./net > > 2.0K ./proc > > 3.8M ./rescue > > 26K ./root > > 4.1M ./sbin > > 512B ./host > > 682G ./db > > 689G . > > > > > > > > If I move the old kernel/GENERIC files from /boot I can manage to get > > back to 101%, I really have no idea where the rest of the space has > > gone though. Is there any way to locate large files on a specific > > partition? > > > > I did have a problem not too long ago where my /db array did not mount > > and MySQL managed to recreate the default/sample database on /db/ > > mysql, could this default database be somewhere else on / while the / > > db array problem was fixed? > > > > *scratches head* > > > > > It is possible that you have mounted a filesystem onto a non empty directory. > The stuff in the dir used as a mount point will be hidden by the mount. > > Colin Good one. I had forgotten that one. ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 16:23:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E8A106564A for ; Tue, 29 Apr 2008 16:23:21 +0000 (UTC) (envelope-from linuxien64@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC448FC15 for ; Tue, 29 Apr 2008 16:23:21 +0000 (UTC) (envelope-from linuxien64@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so90170waf.3 for ; Tue, 29 Apr 2008 09:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=ksPd6qUblyElenJzaIrDVDrmcojNlFiIvQAWUOh2/5M=; b=Ju1CVSsxtXHPExE7WEHRjMw/Fw4i2VK+9nW8G/pMSPgrCyjocLQ4dA+q1cZW5bf8gTmL2bcGL1YAlEYxamRN8xJtxIz4eBZGRopr9hf2heqsN7Ag2cT0n+D4PkeW6j5Ufw7NP8SPWEbw06RoTfur78zAHvGdFjl7GN+E6sWzUfc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=F1Ls8tT/DA08umm2yvB/uhJgJ4e/06UkdvcPWiqcWBrQUc3gPo25aa+PaBSz4KhyKbYr9dje+l+dcssQ5jQy/6wjaA33kvE6R8dN7jvaBEDTAsWkl4JOV+4S4XteOkt8MUX1P6MbTyTsFIWu5+nHsjwSrjavG90N/a+6R+BHmtw= Received: by 10.115.109.1 with SMTP id l1mr1524985wam.90.1209486200778; Tue, 29 Apr 2008 09:23:20 -0700 (PDT) Received: by 10.114.132.2 with HTTP; Tue, 29 Apr 2008 09:23:20 -0700 (PDT) Message-ID: <2ec9f38d0804290923mb0bc3a0s4fa5a87e16fc79be@mail.gmail.com> Date: Tue, 29 Apr 2008 18:23:20 +0200 From: Gregory To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Ask for information X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 16:23:21 -0000 Sir, Some days ago, I wrote you a mail but I get no answer. The mail was the following : > Sir, > > Presently, my hard disk is managed by a 3112A chipset (SATA I). >As you probably know it, this chipset isn't compatible with FreeBSD. >Can you advise me an external card that you compatible with FreeBSD >to manage my hard disk ? I've sent a mail to ldlc.be asking for >a card that manage my hard disk but they seem to have no card >compatible with FreeBSD. I'm running FreeBSD since begin of 6.1 >but I can'nt access some disks. Wich card containing HDD SATA I >chipset do you suggest ? > Gregory HOLLAND >P.S. : I've done a talk to the FOSDEM (Free and Open Source Software >Developers European Meeting). The topic of my talk was >"End User migration from Linux to FreeBSD" >I'm running FreeBSD 6.3 now. In June, I'll update to FreeBSD 7.0. >I need an Internal PCI card I have the possibility to buy a SWEEX PU103 with a Sil3512 chipset. Does FreeBSD 7.0 support this chipset ? From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 16:49:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD25B106566B for ; Tue, 29 Apr 2008 16:49:03 +0000 (UTC) (envelope-from achristianson@orases.com) Received: from server515.appriver.com (server515h.exghost.com [72.32.253.71]) by mx1.freebsd.org (Postfix) with ESMTP id 712098FC1B for ; Tue, 29 Apr 2008 16:49:03 +0000 (UTC) (envelope-from achristianson@orases.com) Received: by server515.appriver.com (CommuniGate Pro PIPE 5.2.0) with PIPE id 25270307; Tue, 29 Apr 2008 11:48:54 -0500 Received: from FE1.exchange.rackspace.com ([72.32.49.5] verified) by server515.appriver.com (CommuniGate Pro SMTP 5.2.0) with ESMTP id 25270210 for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 11:48:51 -0500 Received: from 34093-EVS4C2.exchange.rackspace.com ([192.168.1.66]) by FE1.exchange.rackspace.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Apr 2008 11:48:59 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 29 Apr 2008 11:48:50 -0500 Message-ID: <776B93361B7BEE4FAD9E720FFBC746B6017D4721@34093-EVS4C2.exchange.rackspace.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Running PostgreSQL 7 & 8 Simultaneously Thread-Index: AciqGObcSJMv5MzXTwKaYDc4/7AJLA== From: "Andy Christianson" To: X-OriginalArrivalTime: 29 Apr 2008 16:48:59.0155 (UTC) FILETIME=[EBC4F630:01C8AA18] X-Policy: GLOBAL X-Primary: achristianson@orases.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: achristianson@orases.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: PRIVATE->UNITED STATES->UNITED STATES X-Note-Sending-IP: 72.32.49.5 X-Note-Reverse-DNS: fe1.exchange.rackspace.com X-Note-WHTLIST: achristianson@orases.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 91 92 138 X-Note: Mail Class: ALLOWEDSENDER Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Running PostgreSQL 7 & 8 Simultaneously X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 16:49:03 -0000 I need to run two different versions of PostgreSQL. Currently my server is configured to use PostgreSQL 7.4 and I need to also run PostgreSQL 8.3. I noticed that there are different ports for different versions of PostgreSQL. If I install the port for 8.3, will that cause any problems with my existing 7.4 configuration? 8.3 will need to run on a different port, of course, but other than that I can't think of any other issues. =20 Thanks in advance for any advice. Andrew I. Christianson Internet Engineer=20 Orases Consulting Corporation Interactive Business and Technology Solutions =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D phone/ 301.694.8991 ext. 100 fax/ 301.694.8993 Email/ achristianson@orases.com =20 http://www.orases.com =20 From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 16:51:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F84A1065672 for ; Tue, 29 Apr 2008 16:51:30 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id D9E608FC21 for ; Tue, 29 Apr 2008 16:51:29 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so87243wra.13 for ; Tue, 29 Apr 2008 09:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=930BCB8n27D5GT7nFsXklTNyfQypuALXz4WY4USB/8c=; b=hhtoaVxNOvEXJ+sZifjM9OsMn30VTUE3jTL65XKvqbX9kM7gp0/kvtciuQhkUHTuqKk2grWUlsQXVVn+e9KOLSYC1M2HhiFvYegzhU05ZuXpmycksz0J5VvESLLxAwRWDdj8QLgLCriGjJF4PB/cC9yiOiqHA/wpcVrHzbMdCoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tuzolo6y4CFDbs8lI3njeOREAYqU77QYb7XvmpIdjixgHNuKTlkSim78MU7ny9AsS61iGxyvbu6F4atBD8WqkrBUwhhuOyyis1fRyu0Iud8wHZ2BPcAPDtC2lN7lg8wFUJNrAei+hEc3d9rT8fe6lmQvH9Qbh+Cq0fTEtSYllIY= Received: by 10.100.106.1 with SMTP id e1mr1859438anc.24.1209487889087; Tue, 29 Apr 2008 09:51:29 -0700 (PDT) Received: by 10.100.208.8 with HTTP; Tue, 29 Apr 2008 09:51:29 -0700 (PDT) Message-ID: <51d7a5160804290951p43cd3bbfw91c968bf5247c6ba@mail.gmail.com> Date: Tue, 29 Apr 2008 09:51:29 -0700 From: perikillo To: "FreeBSD Mailing List" In-Reply-To: <48162A6E.8050607@cran.org.uk> MIME-Version: 1.0 References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 16:51:30 -0000 On Mon, Apr 28, 2008 at 12:50 PM, Bruce Cran wrote: > Doug Hardie wrote: > > > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > > (perhaps years) I seem to recall some discussion that one or more of those > > was better maintained and higher quality than the others. I don't see any > > indications of this in the handbook. Several years ago I needed to do > > traffic shaping and used IPFW with dummynet. It worked but the need > > eventually went away. More recently I needed to incorporate spamd which > > defaults to PF so I used that. However, now I am back to needing traffic > > shaping again. I suspect trying to use both PF and IPFW simultaneously will > > not be a good approach. In addition, there now are instructions for using > > spamd with IPFW so it appears that either PF or IPFW will do what I need. > > Is there any additional information available to assist in selecting > > between those? Thanks. > > > > As I understand it pf is often found to be easiest to use and has lots of > features like altq and os fingerprinting but is quite a bit slower than > ipfw. > > -- > Bruce > > _______________________________________________ > 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" > Reading this post, i have some doubt, how is IPFW support for VoIP packets, can do traffic shaping?, i read that PF can do that, I'm right? Thanks!!! From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 17:01:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 093811065676 for ; Tue, 29 Apr 2008 17:01:24 +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 CEBE78FC0C for ; Tue, 29 Apr 2008 17:01:23 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.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 D7B03EBC3E; Tue, 29 Apr 2008 13:01:22 -0400 (EDT) Date: Tue, 29 Apr 2008 13:01:35 -0400 From: Bill Moran To: Gregory Message-Id: <20080429130135.2596e860.wmoran@potentialtech.com> In-Reply-To: <2ec9f38d0804290923mb0bc3a0s4fa5a87e16fc79be@mail.gmail.com> References: <2ec9f38d0804290923mb0bc3a0s4fa5a87e16fc79be@mail.gmail.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; 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: Ask for information X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 17:01:24 -0000 In response to Gregory : > Sir, > > Some days ago, I wrote you a mail but I get no answer. The mail was the > following : > > > Sir, > > > > Presently, my hard disk is managed by a 3112A chipset (SATA I). > >As you probably know it, this chipset isn't compatible with FreeBSD. > >Can you advise me an external card that you compatible with FreeBSD > >to manage my hard disk ? I've sent a mail to ldlc.be asking for > >a card that manage my hard disk but they seem to have no card > >compatible with FreeBSD. I'm running FreeBSD since begin of 6.1 > >but I can'nt access some disks. Wich card containing HDD SATA I > >chipset do you suggest ? > > > Gregory HOLLAND > > >P.S. : I've done a talk to the FOSDEM (Free and Open Source Software > >Developers European Meeting). The topic of my talk was > >"End User migration from Linux to FreeBSD" > >I'm running FreeBSD 6.3 now. In June, I'll update to FreeBSD 7.0. > > >I need an Internal PCI card > > I have the possibility to buy a SWEEX PU103 with a Sil3512 chipset. Does > FreeBSD 7.0 > support this chipset ? Well, between the top posting and the ambiguous reply quoting, I'm not sure what your original question actually was. However, all the questions in this email should be answerable on this page: http://www.freebsd.org/releases/6.3R/hardware-i386.html -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 17:05:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 330AD106564A for ; Tue, 29 Apr 2008 17:05:16 +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 03BB18FC17 for ; Tue, 29 Apr 2008 17:05:15 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.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 EF547EBC3E; Tue, 29 Apr 2008 13:05:14 -0400 (EDT) Date: Tue, 29 Apr 2008 13:05:27 -0400 From: Bill Moran To: "Andy Christianson" Message-Id: <20080429130527.b769474f.wmoran@potentialtech.com> In-Reply-To: <776B93361B7BEE4FAD9E720FFBC746B6017D4721@34093-EVS4C2.exchange.rackspace.com> References: <776B93361B7BEE4FAD9E720FFBC746B6017D4721@34093-EVS4C2.exchange.rackspace.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; 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: Running PostgreSQL 7 & 8 Simultaneously X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 17:05:16 -0000 In response to "Andy Christianson" : > I need to run two different versions of PostgreSQL. Currently my server > is configured to use PostgreSQL 7.4 and I need to also run PostgreSQL > 8.3. I noticed that there are different ports for different versions of > PostgreSQL. If I install the port for 8.3, will that cause any problems > with my existing 7.4 configuration? 8.3 will need to run on a different > port, of course, but other than that I can't think of any other issues. > > > > Thanks in advance for any advice. The ports collection does not support this directly, however it's not too difficult to set up. Ports won't allow you to install two different version of PostgreSQL simultaneously, so the two choices you have are: 1) Install one from the ports and the other manually. 2) Use the jail system to create FreeBSD virtual machines to install the different versions in. I like #2 the best, personally, but I've done it both ways. With #1, you have to ensure they're configured to use different directories for their data files, and that they listen on different ports. With #2, you have to change the UID of the pgsql user in each jail so they don't overwrite each other's shared memory, and enable SYSV SHM for jails (via sysctl) -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 17:10:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86FF9106567E for ; Tue, 29 Apr 2008 17:10:57 +0000 (UTC) (envelope-from nayak_purushotham@yahoo.com) Received: from web56112.mail.re3.yahoo.com (web56112.mail.re3.yahoo.com [216.252.110.206]) by mx1.freebsd.org (Postfix) with SMTP id 18DC78FC14 for ; Tue, 29 Apr 2008 17:10:56 +0000 (UTC) (envelope-from nayak_purushotham@yahoo.com) Received: (qmail 55091 invoked by uid 60001); 29 Apr 2008 16:44:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=YnivesAkeZgAW7og0U2f/110Vh+zAHrGe7avVU1QqjV+UafWVrxqn2y2iIUG7aTjJ+uUZcQV7//wTId8oaSvCI/CKUl+hyOk6Xwwakc0pqivKZM61tskmehvpTT2biIsqFEalaDDcVXJirthLhG7nLt1Gl5n/JijXZHDVhQZTtY=; X-YMail-OSG: VwkeCBgVM1kNN1cF4__AGISfCd.EvlJqPzA.c8Devt8bE_UkKexO9mdBueYkpmJDGw-- Received: from [138.69.160.1] by web56112.mail.re3.yahoo.com via HTTP; Tue, 29 Apr 2008 09:44:15 PDT X-Mailer: YahooMailWebService/0.7.185 Date: Tue, 29 Apr 2008 09:44:15 -0700 (PDT) From: Purushotham Nayak To: freebsd-questions@freebsd.org Message-ID: <745065.54909.qm@web56112.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Profiled C++ libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nayak_purushotham@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 17:10:57 -0000 Hi All, I'm trying to use gprof to profile some code but compilation fails because it can't find libstdc++_p (GCC 3.4.6). I tried using gcc 4.2 but it can't find m_p. I have /usr/src/contrib/libstdc++ but can't find the documentation that the README file is referring to (docs/html/documentation.html). Can anyone please let me know how to get a profiled version of the c++ library for my platform. I'm using FreeBSD 6.0 i386. Many Thanks, Purushotham _________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. [1]Try it now. References 1. http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 17:18:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC70C1065674 for ; Tue, 29 Apr 2008 17:18:20 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from mellanox.co.il (mail.mellanox.co.il [194.90.237.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD7B8FC1A for ; Tue, 29 Apr 2008 17:18:19 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yoniy@mellanox.co.il) with SMTP; 29 Apr 2008 20:18:18 +0300 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 29 Apr 2008 20:18:17 +0300 Message-ID: <6C2C79E72C305246B504CBA17B5500C903E6C7C6@mtlexch01.mtl.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: OS throws away large packets Thread-Index: AciqHQPHKo0i2sbEQwOQ0ytUrodH6g== From: "Yehonatan Yossef" To: "Sam Leffler" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, Liran Liss Subject: RE: OS throws away large packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 17:18:20 -0000 > >>> Hi all, > >>> > >>> I'm trying to implement Large Recieve Offload for an > >>> =20 > >> Ethernet driver > >> =20 > >>> on FreeBSD 6.3, but all my >MTU packets are being thrown > by the OS. > >>> I'm using mbuf chains in this imlpementation, each mbuf is > >>> =20 > >> a cluster > >> =20 > >>> of MCLBYTES bytes. They are linked by the m_next pointer. > >>> The first packet being thrown away is 2945 bytes long.=20 > >>> =20 > >> Wireshark shows > >> =20 > >>> the packet that is being passed to the OS is correct. > >>> > >>> Do I need to set some OS parameter to make it recieve mbuf chains? > >>> > >>> Please help. > >>> > >>> =20 > >> Hi Yony, > >> > >> I seem to remember some discussion about this list last > year see the > >> following threads: > >> > >> > >> =20 > >=20 > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.htm l > > =20 > >=20 > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.htm l > > =20 > > >From my limited reading of these threads just now and possibly bad > > memory. It would seem that the MRU to MTU relationship is > defined in > > the nic driver rather than > > =20 > >> enforced further up the stack or at least that seamed to > be the case > >> =20 > > with the bce driver. > > =20 > >> Hope this is helpful, > >> > >> Tom > >> =20 > > > > Hi Tom, > > > > >From what I understand these threads are referring to the bce=20 > > >hardware > > configuration (bus configuration) and driver mbuf > allocation size. Am > > I correct? > > In my case I'm not trying to receive packets >MTU from the > HW, but to > > chain mbuf clusters, each is MCLBYTES long, and pass the > mbuf chain to > > the OS. > > Since tcpdump (analyzed by wireshark) catches the packets above the=20 > > driver and reports a good packet (and 2945 bytes long), I assume my=20 > > driver functionality is ok. From what I know tcpdump is supposed to=20 > > immitate the way the stack sees the packet, yet it is discarded. > > My logic says there is an OS parameter handled by the > driver (at net > > device init time for example) that will set the OS to receive large=20 > > mbuf chains, or a kernel tcp parameter. Is the tcp stack > submitted to > > the mtu somehow? > > > > =20 > I don't see where you've identified what version of the os you're=20 > working with. There's a check in the 802.3 input path on earlier=20 > systems to discard frames >mtu. This was removed not too long ago=20 > with LRO in mind; check the history of sys/net/if_ethersubr.c. >=20 > Sam >=20 =20 Hi Sam, I have mentioned working on 6.3. =20 FreeBSD 6.2 had this check in if_ethersubr.c / ether_input: =20 539 if (m->m_pkthdr.len > 540 ETHER_MAX_FRAME(ifp, etype, m->m_flags & M_HASFCS)) { 541 if_printf(ifp, "discard oversize frame " 542 "(ether type %x flags %x len %u > max %lu)\n", 543 etype, m->m_flags, m->m_pkthdr.len, 544 ETHER_MAX_FRAME(ifp, etype, 545 m->m_flags & M_HASFCS)); 546 ifp->if_ierrors++; 547 m_freem(m); 548 return; 549 } =20 Patching it was explained by neterion in http://trac.neterion.com/cgi-bin/trac.cgi/wiki/FreeBSD. This check no longer exists in 6.3, nor any other oversize packet handling (I couldn't find any so far). I also get no error prints from the OS. =20 =20 From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 16:17:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2EC1065686; Tue, 29 Apr 2008 16:17:19 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD478FC19; Tue, 29 Apr 2008 16:17:19 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m3TGHHLE048179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Apr 2008 09:17:18 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48174A0D.1090302@freebsd.org> Date: Tue, 29 Apr 2008 09:17:17 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Yehonatan Yossef References: <6C2C79E72C305246B504CBA17B5500C903E6C3B1@mtlexch01.mtl.com> In-Reply-To: <6C2C79E72C305246B504CBA17B5500C903E6C3B1@mtlexch01.mtl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist X-Mailman-Approved-At: Tue, 29 Apr 2008 17:40:07 +0000 Cc: Tom Judge , freebsd-net@freebsd.org, Liran Liss , freebsd-questions@freebsd.org, Mr Y Subject: Re: OS throws away large packets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 16:17:19 -0000 Yehonatan Yossef wrote: > > > >> -----Original Message----- >> From: Tom Judge [mailto:tom@tomjudge.com] >> Sent: Monday, April 28, 2008 8:21 PM >> To: Mr Y >> Cc: freebsd-questions@freebsd.org; freebsd-net@freebsd.org >> Subject: Re: OS throws away large packets >> >> Mr Y wrote: >> >>> Hi all, >>> >>> I'm trying to implement Large Recieve Offload for an >>> >> Ethernet driver >> >>> on FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. >>> I'm using mbuf chains in this imlpementation, each mbuf is >>> >> a cluster >> >>> of MCLBYTES bytes. They are linked by the m_next pointer. >>> The first packet being thrown away is 2945 bytes long. >>> >> Wireshark shows >> >>> the packet that is being passed to the OS is correct. >>> >>> Do I need to set some OS parameter to make it recieve mbuf chains? >>> >>> Please help. >>> >>> >> Hi Yony, >> >> I seem to remember some discussion about this list last year >> see the following threads: >> >> >> > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.htm > l > > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.htm > l > > >From my limited reading of these threads just now and possibly bad > memory. It would seem that the MRU to MTU relationship is defined in > the nic driver rather than > >> enforced further up the stack or at least that seamed to be the case >> > with the bce driver. > >> Hope this is helpful, >> >> Tom >> > > Hi Tom, > > >From what I understand these threads are referring to the bce hardware > configuration (bus configuration) and driver mbuf allocation size. Am I > correct? > In my case I'm not trying to receive packets >MTU from the HW, but to > chain mbuf clusters, each is MCLBYTES long, and pass the mbuf chain to > the OS. > Since tcpdump (analyzed by wireshark) catches the packets above the > driver and reports a good packet (and 2945 bytes long), I assume my > driver functionality is ok. From what I know tcpdump is supposed to > immitate the way the stack sees the packet, yet it is discarded. > My logic says there is an OS parameter handled by the driver (at net > device init time for example) that will set the OS to receive large mbuf > chains, or a kernel tcp parameter. Is the tcp stack submitted to the mtu > somehow? > > I don't see where you've identified what version of the os you're working with. There's a check in the 802.3 input path on earlier systems to discard frames >mtu. This was removed not too long ago with LRO in mind; check the history of sys/net/if_ethersubr.c. Sam From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 18:54:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F891065678 for ; Tue, 29 Apr 2008 18:54:10 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 82AC58FC0C for ; Tue, 29 Apr 2008 18:54:09 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so125043fgg.35 for ; Tue, 29 Apr 2008 11:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; bh=xEQFd7rbdVSYeLfmqIYuyIYfP5z6AJef7iet01CQjkg=; b=kRJwJJwcX/fyO6PVpk3Ae14B8F0WcHQJ9TNjdCi9wjSM8RxKJM4GAGUpVizhVaOFKyQJGMIl5D7xg8SqFEMb9uqGFVXpxGs8aWy2pttgefmrVnrp1rzuh+ERuv+XwC4vsAj6aPPFtXIB1uLUjo5Hxx1y3GqHNNuPRgK0H44jCug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; b=axGb8Sa+S2zptW+AylEuEcip2iOdzSAM9rN98mcRjRPVMK3izdJTfaBJ0c0oH3PmeuceznVtMeXoQ8+Bd6zrZzsTDOs5Org6Nc4DMGcgnkpuZ/pvfVfrDNlsv061QidR+ZarNYmKWnOZ66zat7Z5XN2RCiyXOQm78VAlTsljMHc= Received: by 10.86.97.7 with SMTP id u7mr79372fgb.54.1209495247887; Tue, 29 Apr 2008 11:54:07 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id p38sm461901fke.13.2008.04.29.11.54.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Apr 2008 11:54:07 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-questions@freebsd.org Date: Tue, 29 Apr 2008 20:53:27 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3179800.CTlCjNseaC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200804292053.49076.naylor.b.david@gmail.com> Subject: Perforce and cvsup access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 18:54:10 -0000 --nextPart3179800.CTlCjNseaC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to get a driver of perforce (//depot/projects/vap) to test out= =20 however I do not know how to. I found out that perforce has been exported = to=20 cvsup on cvsup10.freebsd.org and cvsup18.freebsd.org but I cannot find the= =20 correct collection to use (and is there a list of the collections somewhere= ?) Thanks in advance David --nextPart3179800.CTlCjNseaC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBIF268UaaFgP9pFrIRAldgAKCCOD5KNCDp/6Ygsn06fvjaY8c0gACcD/2b iNm43ehVQ+oZngsVWm08MHY= =viXD -----END PGP SIGNATURE----- --nextPart3179800.CTlCjNseaC-- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 19:47:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E2301065788 for ; Tue, 29 Apr 2008 19:47:41 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from mail.ticino.com (mail.ticino.com [195.190.166.61]) by mx1.freebsd.org (Postfix) with ESMTP id AD6438FC15 for ; Tue, 29 Apr 2008 19:47:40 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from [127.0.0.1] (unverified [62.48.103.172]) by mail.ticino.com (Rockliffe SMTPRA 7.0.3) with ESMTP id for ; Tue, 29 Apr 2008 21:35:11 +0200 Message-ID: <48177873.8080600@supsi.ch> Date: Tue, 29 Apr 2008 21:35:15 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4816C6D2.8090309@supsi.ch> In-Reply-To: <4816C6D2.8090309@supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080429-1, 29.04.2008), Outbound message X-Antivirus-Status: Clean Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on next reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 19:47:41 -0000 Nobody on this, please? :) Roberto Nunnari wrote: > Hi all! > > I'm playing with new HW and FreeBSD 6.3 and 7.0. > > I set up raid 1 on two sata disks (fakeraid on ICH9R) > and as long as I can see, it seams to work very well. > > Now I'm trying to simulate 1 disk failure (I just take > out a disk and boot again). Doesn't matter which of the > two disks I take out, the bios correctly shows the raid > as degraded and bootable, loads the FreeBSD loader, who > loads the kernel and starts the boot. > But when the kernel comes to the drives (or the swap?) > it fatal traps 12. The trap descriptions sais that > current process is 0 (swapper). > > Reading that I commented out the swap partition from fstab, > but that doesn't help. > > How can I get the system to finish the boot? > > Thank you and best regards. > From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 19:58:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40570106567A for ; Tue, 29 Apr 2008 19:58:10 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavuit02.kulnet.kuleuven.be (cavuit02.kulnet.kuleuven.be [134.58.240.44]) by mx1.freebsd.org (Postfix) with ESMTP id EE9628FC12 for ; Tue, 29 Apr 2008 19:58:09 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from smtps01.kuleuven.be (smtpshost01.kulnet.kuleuven.be [134.58.240.74]) by cavuit02.kulnet.kuleuven.be (Postfix) with ESMTP id 8CE8B51C004; Tue, 29 Apr 2008 21:58:03 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps01.kuleuven.be (Postfix) with ESMTP id 36E0B31E703; Tue, 29 Apr 2008 21:58:03 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.2/8.14.2) with ESMTP id m3TJw2SY038132; Tue, 29 Apr 2008 21:58:02 +0200 (CEST) (envelope-from tijl@ulyssis.org) X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Tijl Coosemans To: nayak_purushotham@yahoo.com Date: Tue, 29 Apr 2008 21:58:00 +0200 User-Agent: KMail/1.9.7 References: <745065.54909.qm@web56112.mail.re3.yahoo.com> In-Reply-To: <745065.54909.qm@web56112.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804292158.01628.tijl@ulyssis.org> X-KULeuven-Information: Katholieke Universiteit Leuven X-KULeuven-Scanned: Found to be clean X-Spam-Status: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=disabled, KUL_SMTPS -50.00) X-KULeuven-Envelope-From: tijl@ulyssis.org Cc: freebsd-questions@freebsd.org Subject: Re: Profiled C++ libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 19:58:10 -0000 On Tuesday 29 April 2008 18:44:15 Purushotham Nayak wrote: > I'm trying to use gprof to profile some code but compilation fails > because it can't find libstdc++_p (GCC 3.4.6). I tried using gcc 4.2 > but it can't find m_p. I have /usr/src/contrib/libstdc++ but can't > find the documentation that the README file is referring to > (docs/html/documentation.html). Can anyone please let me know how to > get a profiled version of the c++ library for my platform. > > I'm using FreeBSD 6.0 i386. I thought they were installed by default, but in any case you should find libstdc++_p.a under /usr/obj after doing this: % cd /usr/src/gnu/lib/libstdc++/ % make obj && make depend && make Make sure you don't have anything like NO_PROFILE, NOPROFILE or WITHOUT_PROFILE defined in /etc/make.conf. From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 20:11:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A659106564A for ; Tue, 29 Apr 2008 20:11:05 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 0FA968FC12 for ; Tue, 29 Apr 2008 20:11:04 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so155151fgg.35 for ; Tue, 29 Apr 2008 13:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:message-id; bh=FPFoS5r0xr8dUEvusoVYTUeVCUjh9d6Iq+tF8l5XYcE=; b=XFeA7/+p37gzwvWZauoNT6C2Q5REfDGURs4TkjU3ViAkWYCJIj6DLV8Zha9uiFeoWzeVdMLTfBFXZic9YPMN/hDRs+Bfzl9lU34nep/Kt0kXozfsUCfcZQVlnWvYZkHIgD+T12QWSJXtxrIKWj2Q4UxAPf86zSUATHvwTeA6s7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:message-id; b=i1HsoTg4DMKXG+WFZdr2JQNKabpf65egcJZsYTYP4jAphq+VW0acWRF7YhX2OBYk/4bRv/l2CXgA6eewyelWXKa6MdnKs445hOvZC/CSDucAbJ08u2+OVwCtNQb2CHYdld9eak6KzaMYjT/o/FHCn4Go/dUpRsSsFQTf/s/pJl8= Received: by 10.86.66.19 with SMTP id o19mr230670fga.46.1209499863727; Tue, 29 Apr 2008 13:11:03 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id c28sm19646fka.19.2008.04.29.13.10.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Apr 2008 13:11:03 -0700 (PDT) From: David Naylor Organization: Private To: Sdavtaker Date: Tue, 29 Apr 2008 22:10:41 +0200 User-Agent: KMail/1.9.7 References: <4816B575.8070701@gmail.com> In-Reply-To: <4816B575.8070701@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1545037.AGahDvml5A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200804292210.45874.naylor.b.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: FBSD install fails with nforce on asus p5n-e sli. any ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 20:11:05 -0000 --nextPart1545037.AGahDvml5A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 29 April 2008 07:43:17 you wrote: > Hello, > Im trying to install 7.0 from boot only CD and having problems detecting > the network. > The NIS is a nforce integrated to the mother asus P5n-e sli > The card is working in DFBSD and windows, I think it worked in Linux > too, but need to try it out again to be sure about the last. > Dhclient fails, write the config by hand doesnt work neither. > Someone had installed 7.0 with this mother? > Thanks for any help. > Sdav Hi, Is your board based on the nForce 650i chipset? I have been struggling to = get=20 this chipset to work with SMP, have you been able to get more than 1 CPU=20 working and have access to the hard drives / cd drives? Try safemode, it may allow you network access. Good luck David --nextPart1545037.AGahDvml5A Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBIF4DFUaaFgP9pFrIRAq90AJ97TgniqVfq/FKEo/ADyY6NMD66nwCbB9DH TkNJp9/qCYZZ2HVN1PwXQ6E= =B7OO -----END PGP SIGNATURE----- --nextPart1545037.AGahDvml5A-- From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 20:12:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE351106566B for ; Tue, 29 Apr 2008 20:12:32 +0000 (UTC) (envelope-from engywook@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id ABB418FC13 for ; Tue, 29 Apr 2008 20:12:32 +0000 (UTC) (envelope-from engywook@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so201683rnf.12 for ; Tue, 29 Apr 2008 13:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=l8JHZjZji+7NwA8/9Km4locBAMnUxFkp/mt77L1wRGw=; b=mS1rN2/9oPKxWfAvdgN8gex3RN74vO3C9iDDdhpXrWrPp1M9rfFjz5rNz6Nrum8fbTXPC8044UTbr0sByAvhn8DbZVRTToWBWJZpu0SX3hP7/BZW7a/3inA9db8Oh39jtCdrykqULPaivY7u/DXXhEofwHGVZ69sw2aBu8tj890= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=yBtwEYPZqEWbkywf68ugCoqlNZHSOTHpaG1rMZMLbKjCxjH5CMxGi/g82ZQtwwyptbgppszU2PMTObeyUtxDAcHbgWCCKBAWlaSVMN0sbYbS5AQRFpBg90lGHeLQzbRSch5NempfqSA0MUTqpZ4dNHuq/WxS3543oHWTHOdw0Zw= Received: by 10.142.141.21 with SMTP id o21mr3045174wfd.102.1209498354113; Tue, 29 Apr 2008 12:45:54 -0700 (PDT) Received: by 10.143.3.10 with HTTP; Tue, 29 Apr 2008 12:45:54 -0700 (PDT) Message-ID: <24adbbc00804291245i33d258b0g93b7094210708638@mail.gmail.com> Date: Tue, 29 Apr 2008 21:45:54 +0200 From: "Daniel Andersson" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: rxvt-unicode - termcap. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 20:12:33 -0000 Hi I seem to have some trouble with my /etc/termcap. I get "Cannot find termcap entry for 'rxvt-unicode'" when i try to recover a screen on my FreeBSD server. I use rxvt-unicode to connect to the server. Is there some neat way to fix this? I don't want to install all rxvt's deps on the server to get it to work... gnome-terminal works fine though. Cheers, Daniel From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 20:43:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0BCE1065670 for ; Tue, 29 Apr 2008 20:43:24 +0000 (UTC) (envelope-from fbsdstble@gdmckee.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 954968FC22 for ; Tue, 29 Apr 2008 20:43:24 +0000 (UTC) (envelope-from fbsdstble@gdmckee.com) Received: from [172.23.170.136] (helo=anti-virus01-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1Jqwfb-0006by-S9 for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 21:43:23 +0100 Received: from [82.36.186.17] (helo=gdmckee.home) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1Jqwfa-00051P-MX for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 21:43:23 +0100 Received: from [192.168.0.99] (helo=P2000) by gdmckee.home with smtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JqwfZ-0009Z0-6M for freebsd-questions@freebsd.org; Tue, 29 Apr 2008 21:43:21 +0100 Message-ID: From: "Gordon McKee" To: "FreeBSD Questions" Date: Tue, 29 Apr 2008 21:43:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 Subject: PowerD Processor Not Recognised!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 20:43:24 -0000 Hi Just installed FreeBSD 7 and get the following error. It doesn't make any difference, but can someone add this CPU to the list of recognized CPU's? Would be nice if powerd could use the adaptive mode correctly. Hardware info from from dsmsg.today ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fed13000, 1000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 728072806000728 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 728072806000728 device_attach: est1 attach returned 6 Kind regards Gordon From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 21:33:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02199106564A for ; Tue, 29 Apr 2008 21:33:14 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id CE6408FC17 for ; Tue, 29 Apr 2008 21:33:13 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so240487waf.3 for ; Tue, 29 Apr 2008 14:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Sko17Jt4ezlvsMOrOhgDHhdPEeRiSzscBZxviT8FIfg=; b=rvO2XThi1rJRHVikBwGYSQ9hhHiShXxqNj/Fj6yv/eXfZdl211BZo3We5jsSgb3shSOkSDvQkVOeNCxnB7mabrY0RrVSTo1OIRp/ECr0G9+1BO5pH8l2KgBzx+It8453V1m9IqdLASv60sXPE+BzYZ+kpkvUu0IXf+6pgGR8Xzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=koJExX/MyxAKMApSkMsmqVEMsTXBlev+31tSZYy++xuf4mFx8f9yS3p0cGWOdmuUWa8pxXw1vPkHcfh92HXumpD1YxfZ2NI2Q5Iwv06vk3Slm4nnict0/miwScG4InDRLimdNyGnOuaWzau0ceXtRbZu2SCNLasYDWTxr12HwsQ= Received: by 10.115.54.7 with SMTP id g7mr8567384wak.212.1209504793498; Tue, 29 Apr 2008 14:33:13 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Tue, 29 Apr 2008 14:33:13 -0700 (PDT) Message-ID: <6ae50c2d0804291433t1affcdafi7c44c1c3f4de449a@mail.gmail.com> Date: Tue, 29 Apr 2008 17:33:13 -0400 From: alexus To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 21:33:14 -0000 i can't seem to figure this out su-3.2# ipnat -l List of active MAP/Redirect filters: rdr fxp0 0.0.0.0/32 port 22 -> 172.16.172.16 port 22 tcp List of active sessions: su-3.2# netstat -tan | grep LISTEN | grep 22 tcp4 0 0 172.16.172.16.22 *.* LISTEN su-3.2# i'm trying to ssh from outside, no luck :( -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:14:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC664106564A for ; Tue, 29 Apr 2008 23:14:52 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 86ADF8FC23 for ; Tue, 29 Apr 2008 23:14:52 +0000 (UTC) (envelope-from sdavtaker@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so241432wxd.7 for ; Tue, 29 Apr 2008 16:14:51 -0700 (PDT) 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:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=MTxNvx6AIvimnNsI74/ANX5aUI8V6X1DAzaw7RQKPAY=; b=Ip9RLTns9Xr6e8Y8OhiT1wAKENtbOBLGHhnRjfVA687wG+E/2YKXQXuS3q1JGUHQwcvpU9brR3SxDhdqj5b5mQ32OJlmcgLZYx0YBx2PsOXxhDNP8FLX2r+ty80JT9kgFuYOo1kZEISCZh/WkrqavbMtas9oAahwAiqaUJkbudY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=N8BY36ee2yRNMyxSU/gNCCDq9OiPEpwco2dtdVgVy+SLO3T3NY/IvFKC/97UKvvBM0j4OfVry/RetOrWBJ+tW48+WgvXINthGuj+fI1s3U3JvxC76msNdmz0IsWQGfvyGljo71ZJW4vnAxCx2HKqafvpLMh6MXDCD8WoG4OU3Ko= Received: by 10.90.68.3 with SMTP id q3mr61840aga.35.1209510891755; Tue, 29 Apr 2008 16:14:51 -0700 (PDT) Received: from ?127.0.0.1? ( [190.17.114.148]) by mx.google.com with ESMTPS id 7sm419294agd.5.2008.04.29.16.14.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Apr 2008 16:14:50 -0700 (PDT) Message-ID: <4817ABEA.9050003@gmail.com> Date: Tue, 29 Apr 2008 20:14:50 -0300 From: Sdavtaker User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: David Naylor References: <4816B575.8070701@gmail.com> <200804292210.45874.naylor.b.david@gmail.com> In-Reply-To: <200804292210.45874.naylor.b.david@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: FBSD install fails with nforce on asus p5n-e sli. any ideas? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 23:14:52 -0000 David Naylor wrote: > On Tuesday 29 April 2008 07:43:17 you wrote: > >> Hello, >> Im trying to install 7.0 from boot only CD and having problems detecting >> the network. >> The NIS is a nforce integrated to the mother asus P5n-e sli >> The card is working in DFBSD and windows, I think it worked in Linux >> too, but need to try it out again to be sure about the last. >> Dhclient fails, write the config by hand doesnt work neither. >> Someone had installed 7.0 with this mother? >> Thanks for any help. >> Sdav >> > > Hi, > > Is your board based on the nForce 650i chipset? I have been struggling to get > this chipset to work with SMP, have you been able to get more than 1 CPU > working and have access to the hard drives / cd drives? > > Try safemode, it may allow you network access. > > Good luck > > David > Thanks for the info, i had gave it a try and failed. The network card is detected as nfe0: port 0xf207 mem 0xfe02b000-0xfe02bfff irq 5 at device 20.0 on pci0 I found another 2 problems now. When I use the first boot option, i cant make the card get a ip, neither the HD is detected (SATA). And when I use safe mode i never boot, it halts tring to mount ufs:root.... the chipset of the mainboard is: NVIDIA® nForce® 650i SLI™ CD drive was detected as atapi. :-/ Damian From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:16:12 2008 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 2769F106567F for ; Tue, 29 Apr 2008 23:16:12 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2D08FC0A for ; Tue, 29 Apr 2008 23:16:11 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([80.101.78.208]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3TNG9t2005849 for ; Wed, 30 Apr 2008 01:16:10 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m3TNG9Hh021263 for ; Wed, 30 Apr 2008 01:16:09 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Wed, 30 Apr 2008 01:16:09 +0200 From: Marco Beishuizen To: FreeBSD-Questions Message-ID: <20080430011609.3f4094b5@yokozuna.lan> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: OpenOffice and "Environment error: "JAVA_HOME" should not be defined" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 23:16:12 -0000 Hi, When I try to install OO from the ports I get the message "Environment error: "JAVA_HOME" should not be defined". Does anyone know how to get rid of this? Thanks, Marco -- Alas, I am dying beyond my means. -- Oscar Wilde [as he sipped champagne on his deathbed] From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:20:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDC7F106566C for ; Tue, 29 Apr 2008 23:20:21 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 0824A8FC0A for ; Tue, 29 Apr 2008 23:20:20 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 66357 invoked by uid 1008); 29 Apr 2008 23:20:17 -0000 Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.31.243) by ipad.com.br with SMTP; 29 Apr 2008 23:20:17 -0000 From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Tue, 29 Apr 2008 20:27:47 -0300 User-Agent: KMail/1.9.7 References: <20080430011609.3f4094b5@yokozuna.lan> In-Reply-To: <20080430011609.3f4094b5@yokozuna.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804292027.47495.mlobo@digiart.art.br> Subject: Re: OpenOffice and "Environment error: "JAVA_HOME" should not be defined" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 23:20:22 -0000 On Tuesday 29 April 2008 20:16:09 Marco Beishuizen wrote: > Hi, > > When I try to install OO from the ports I get the message "Environment > error: "JAVA_HOME" should not be defined". > > Does anyone know how to get rid of this? > > Thanks, > > Marco unset JAVA_HOME make install -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:26:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B94106564A for ; Tue, 29 Apr 2008 23:26:15 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1D98FC1F for ; Tue, 29 Apr 2008 23:26:15 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([80.101.78.208]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3TNQDcb001301 for ; Wed, 30 Apr 2008 01:26:14 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.2/8.14.2) with ESMTP id m3TNQDEj022209 for ; Wed, 30 Apr 2008 01:26:13 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Wed, 30 Apr 2008 01:26:13 +0200 From: Marco Beishuizen To: freebsd-questions@freebsd.org Message-ID: <20080430012613.3032eff8@yokozuna.lan> In-Reply-To: <200804292027.47495.mlobo@digiart.art.br> References: <20080430011609.3f4094b5@yokozuna.lan> <200804292027.47495.mlobo@digiart.art.br> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: OpenOffice and "Environment error: "JAVA_HOME" should not be defined" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 23:26:16 -0000 On Tue, 29 Apr 2008 20:27:47 -0300 Mario Lobo wrote: > > unset JAVA_HOME > make install > Yes, this seems to work. Thanks. Marco -- If the weather is extremely bad, church attendance will be down. If the weather is extremely good, church attendance will be down. If the bulletin covers are in short supply, however, church attendance will exceed all expectations. -- Reverend Chichester From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:30:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB2A1065672 for ; Tue, 29 Apr 2008 23:30:23 +0000 (UTC) (envelope-from matt@conundrum.com) Received: from coke.conundrum.com (coke.conundrum.com [216.235.9.139]) by mx1.freebsd.org (Postfix) with ESMTP id AF93B8FC21 for ; Tue, 29 Apr 2008 23:30:22 +0000 (UTC) (envelope-from matt@conundrum.com) Received: from [192.0.2.59] (fw01.cr.crp.cira.ca [192.228.22.245]) by coke.conundrum.com (8.13.1/8.12.6) with ESMTP id m3TMw25B009415; Tue, 29 Apr 2008 18:58:13 -0400 (EDT) (envelope-from matt@conundrum.com) Message-Id: <1583208D-3D15-4EFD-8ED4-68C5DA4B5AE3@conundrum.com> From: Matthew Pounsett To: freebsd-questions@freebsd.org Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-9--725555760" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 29 Apr 2008 18:57:57 -0400 X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.919.2) Subject: lagg(4)/vlan(4) on-boot configuration problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 29 Apr 2008 23:30:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-9--725555760 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I'm trying to get a bonded vlan up using the new lagg driver on 6.3- RELEASE. I seem to be having problems with getting the network to configure at boot time, and I think I've found the reason. It would appear that order of operations is very important when configuring a lagg device. If I do this... # ifconfig lagg0 create # ifconfig lagg0 up laggproto failover laggport bce0 laggport bce1 # ifconfig lagg0.811 create # ifconfig lagg0.811 10.4.11.41/24 # ifconfig bce0 up # ifconfig bce1 up ... then everything works. If I do this... # ifconfig bce0 up # ifconfig bce1 up # ifconfig lagg0 create # ifconfig lagg0 up laggproto failover laggport bce0 laggport bce1 # ifconfig lagg0.811 create # ifconfig lagg0.811 10.4.11.41/24 ... then the lagg0.811 interface is useless, however no errors are emitted during configuration. It would appear that /etc/rc.d/netif is probably doing the latter, as when I try to configure the above interface using rc.conf nothing works. This is the relevant rc.conf block I'm using: cloned_interfaces="lagg0 lagg0.811" ifconfig_lagg0="up laggproto failover laggport bce0 laggport bce1" ifconfig_lagg0_811="10.4.11.41/24" ifconfig_bce0="up" ifconfig_bce1="up" Does anyone have suggestions for things I might be doing wrong here, before I file a bug? Thanks, Matt --Apple-Mail-9--725555760 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkgXp/YACgkQmFeRJ0tjIxHVpQCfXNW9coxuP7uwGH7SyddxdPvz nhYAoJVhVgKNMxDiCz58zRLWZiMMyIZz =Tsif -----END PGP SIGNATURE----- --Apple-Mail-9--725555760-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 00:21:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3307B106566C for ; Wed, 30 Apr 2008 00:21:11 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id EFB548FC12 for ; Wed, 30 Apr 2008 00:21:10 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: by py-out-1112.google.com with SMTP id u52so415882pyb.10 for ; Tue, 29 Apr 2008 17:21:10 -0700 (PDT) Received: by 10.141.22.1 with SMTP id z1mr39148rvi.67.1209514869417; Tue, 29 Apr 2008 17:21:09 -0700 (PDT) Received: by 10.141.78.7 with HTTP; Tue, 29 Apr 2008 17:21:09 -0700 (PDT) Message-ID: <919383240804291721n549d778ka675614966a1db83@mail.gmail.com> Date: Tue, 29 Apr 2008 20:21:09 -0400 From: "Edward Ruggeri" To: "FreeBSD Questions" In-Reply-To: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> Subject: Re: Even more documentation? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 00:21:11 -0000 On Fri, Apr 25, 2008 at 10:32 PM, Edward Ruggeri wrote: > Hi all, > > I've used FreeBSD for about two years now. Besides using Linux for > projects on school computers, I never had much experience with > Unix-like operating systems. While I get by nicely on FreeBSD, I > recently felt that I didn't have a very solid understanding of it's > organization or structure. I suppose one can't know everything about > an operating system with as much functionality as FreeBSD, but I > started to feel like my knowledge was really ad-hoc, and that I didn't > completely understand what I was doing (as if I had learned only by > example). > > To that end, I started reading the FreeBSD handbook front-to-back. > I've gotten to Part III, and while it's been very valuable, I still > feel like I'm learning by example, and not by understanding the > operating system. I'm starting to think I'm expecting something out > of the handbook it's not designed to do. > > It seems like the man pages would be a good place to go, but my > trouble with using them is that they're difficult to put together the > information on different pages. I suppose I want something like a > textbook. I dream of a K&R type text that is very comprehensive and > well-organized. > > If anyone has advice, I'd very much appreciate it! > > Sincerely, > > -- Ned Ruggeri > I have read the many replies from various people, and they have all been exceptionally helpful. Thanks very much everyone! From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 00:37:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70302106564A for ; Wed, 30 Apr 2008 00:37:13 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id 561AD8FC15 for ; Wed, 30 Apr 2008 00:37:13 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: by rv-out-0506.google.com with SMTP id b25so155226rvf.43 for ; Tue, 29 Apr 2008 17:37:13 -0700 (PDT) Received: by 10.141.198.9 with SMTP id a9mr34552rvq.219.1209515832647; Tue, 29 Apr 2008 17:37:12 -0700 (PDT) Received: by 10.141.78.7 with HTTP; Tue, 29 Apr 2008 17:37:12 -0700 (PDT) Message-ID: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> Date: Tue, 29 Apr 2008 20:37:12 -0400 From: "Edward Ruggeri" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Dynamic Memory Allocation Limit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 00:37:13 -0000 I have recently been writing an implementation of the sieve of Eratosthenes in C. To find all primes less than N, I dynamically create an array of chars (relatively small datatype) of length N+1 (I know I don't need to represent evens). Everything works great up until around 600 million, at which case memory allocation fails. At this point, I am asking for 600M chars, which is about 572MB (I might be failing to take account of offset?). My system has about 2GB of memory. Top says: Mem: 159M Active, 1113M Inact, 185M Wired, 56M Cache, 112M Buf, 481M Free. >From the man page, I am not completely clear what these values mean. However, I have read elsewhere that memory labeled as inactive should be available for the heap Is there a limit to how much memory may be allocated to a process? Any other reasons someone might think of? I am using FreeBSD 6.3-prerelease, with SMP for a Athlon X2 4200+ (if it makes a difference). Sorry if this is a RTFM question ... Sincerely, -- Ned Ruggeri From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 01:02:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86BED106566B for ; Wed, 30 Apr 2008 01:02:07 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from desexchf.destra.com (desexchf.destra.com [202.125.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id 205E78FC18 for ; Wed, 30 Apr 2008 01:02:06 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from [192.168.0.87] ([202.91.207.2]) by desexchf.destra.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Apr 2008 11:03:47 +1000 Message-Id: <561D8FDB-EF75-4F2B-9DC5-62DC2A09AC7A@destra.com> From: Hartleigh Burton To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 30 Apr 2008 11:02:03 +1000 X-Mailer: Apple Mail (2.919.2) X-OriginalArrivalTime: 30 Apr 2008 01:03:47.0790 (UTC) FILETIME=[0B9326E0:01C8AA5E] Subject: rmuser failed / cannot readd user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 01:02:07 -0000 Hi readers! I am having problems with adding/removing user accounts. This seems to be related to a problem I was having yesterday (Subject: a monster stole my /), adding a user when / was at 108% capacity. I added a user called "mrawebuser", which failed because there was not enough free space on / at the time. Now when I try to add the user again it says the user already exists when it doesn't. I have used rmuser to remove the account and also manually check /etc/passwd, /etc/ master.passwd, & /etc/group - none of these files contain any reference to "mrawebuser". If I repeat the rmuser command it will find the user every time. Basically I would like to start fresh, completely remove this user and any reference to the account then recreate it. intranet# adduser -v Username: mrawebuser Full name: MRA Web User Uid (Leave empty for default): Login group [mrawebuser]: Login group is mrawebuser. Invite mrawebuser into other groups? []: Login class [default]: Shell (sh csh tcsh nologin) [sh]: Home directory [/home/mrawebuser]: Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: Username : mrawebuser Password : ***** Full Name : MRA Web User Uid : 1005 Class : Groups : mrawebuser Home : /home/mrawebuser Shell : /bin/sh Locked : no OK? (yes/no): y pw: login name `mrawebuser' already exists adduser: ERROR: There was an error adding user (mrawebuser). Add another user? (yes/no): n Goodbye! intranet# rmuser -v mrawebuser Matching password entry: mrawebuser:*:1004:1005::0:0:MRA Web User:/home/mrawebuser:/bin/sh Is this the entry you wish to remove? y Remove user's home directory (/home/mrawebuser)? n Removing crontab for (mrawebuser):. Removing at(1) jobs owned by (mrawebuser): 0 removed. Removing IPC mechanisms. Terminating all processes owned by (mrawebuser): -KILL signal sent to 0 processes. Removing files owned by (mrawebuser) in /tmp: 0 removed. Removing files owned by (mrawebuser) in /var/tmp: 0 removed. Removing mail spool(s) for (mrawebuser):. Removing user (mrawebuser) from the system:pw: user 'mrawebuser' does not exist: No such file or directory Done. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 01:35:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E511065675 for ; Wed, 30 Apr 2008 01:35:14 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id CCC338FC1F for ; Wed, 30 Apr 2008 01:35:13 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so118968wah.3 for ; Tue, 29 Apr 2008 18:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=m5QCSMjFp/RNhHxFnDch/HmWSG5W0ZBDUQs+qbZ+c/I=; b=Vw01TeidtEYXzuOv6mPLYv3h4/GUkBR2/qTafR038HSbqhkgqbjIXzHTBKx02u7uavM9+DoX31119as47GtjmNQ9ihI8vS5paxaZDMrK/0nyKVYRv8LF8lr5a0Qlx9XJgfYkhRZIMYDuYckiBXVrUGoldMKOO+FZ5PFiRtYNHPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vwDZaaSmeh9u735FEPxjJ30EouHOb/G7Wj/ohRkTlFSVUl/6fpCW48rxHX4B0RWlrggribwkeo/Wusvr360DV4eilCg/xfMpEGyb4mjSMO6npLCBsj4jL0kvhWA1AUywiK3SH9uVgnAW1xWkNe7GhaIvdcvaLTNzQpCPaTUj2Ls= Received: by 10.115.18.1 with SMTP id v1mr125797wai.81.1209519313444; Tue, 29 Apr 2008 18:35:13 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Tue, 29 Apr 2008 18:35:13 -0700 (PDT) Message-ID: <6ae50c2d0804291835m4a76f247u3cde8316a483e9c8@mail.gmail.com> Date: Tue, 29 Apr 2008 21:35:13 -0400 From: alexus To: "freebsd-questions@freebsd.org" In-Reply-To: <6ae50c2d0804291433t1affcdafi7c44c1c3f4de449a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0804291433t1affcdafi7c44c1c3f4de449a@mail.gmail.com> Subject: Re: ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 01:35:14 -0000 anyone? On Tue, Apr 29, 2008 at 5:33 PM, alexus wrote: > i can't seem to figure this out > > su-3.2# ipnat -l > List of active MAP/Redirect filters: > rdr fxp0 0.0.0.0/32 port 22 -> 172.16.172.16 port 22 tcp > > List of active sessions: > su-3.2# netstat -tan | grep LISTEN | grep 22 > tcp4 0 0 172.16.172.16.22 *.* LISTEN > su-3.2# > > i'm trying to ssh from outside, no luck :( > > -- > http://alexus.org/ > -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 02:45:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43131065670 for ; Wed, 30 Apr 2008 02:45:05 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feba:6042]) by mx1.freebsd.org (Postfix) with ESMTP id 377868FC24 for ; Wed, 30 Apr 2008 02:45:05 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m3U2isGI017355; Wed, 30 Apr 2008 04:44:55 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 04:44:54 +0200 User-Agent: KMail/1.9.7 References: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> In-Reply-To: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804300444.54527.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Edward Ruggeri Subject: Re: Dynamic Memory Allocation Limit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 02:45:05 -0000 On Wednesday 30 April 2008, Edward Ruggeri wrote: > I have recently been writing an implementation of the sieve of > Eratosthenes in C. To find all primes less than N, I dynamically > create an array of chars (relatively small datatype) of length N+1 (I > know I don't need to represent evens). When I wrote my version a long time ago, I made it possible to split the set of possible prime numbers in blocks of managable sizes to avoid this problem :) this ofcourse made the algorithm somewhat slower. (Also I stored the state of 8 odd numbers in one byte, reducing memory usage significantly) > > Everything works great up until around 600 million, at which case > memory allocation fails. At this point, I am asking for 600M chars, > which is about 572MB (I might be failing to take account of offset?). > > My system has about 2GB of memory. Top says: Mem: 159M Active, 1113M > Inact, 185M Wired, 56M Cache, 112M Buf, 481M Free. > > >From the man page, I am not completely clear what these values mean. > > However, I have read elsewhere that memory labeled as inactive should > be available for the heap Yes, it is. > > Is there a limit to how much memory may be allocated to a process? > Any other reasons someone might think of? Yes, there is the datasize limit. limits(1) will show you how much memory each process can allocate. To increase "datasize", set the tunable kern.maxdsiz (more info in tuning(7)). I guess the system is running FreeBSD/i386, because I think the default limit is about ~500MB on FreeBSD/i386. Note that it isn't possible to allow processes to use more than ~3GB of memory on FreeBSD/i386 because of that platform's constraints. More is possible on for example FreeBSD/amd64. > > I am using FreeBSD 6.3-prerelease, with SMP for a Athlon X2 4200+ (if > it makes a difference). Sorry if this is a RTFM question ... > > Sincerely, > > -- Ned Ruggeri Good luck, Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 04:41:48 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C79E106566C for ; Wed, 30 Apr 2008 04:41:48 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id 271198FC17 for ; Wed, 30 Apr 2008 04:41:47 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m3U4fjJX023547 for ; Tue, 29 Apr 2008 23:41:46 -0500 Message-ID: <4817F889.80006@chrismaness.com> Date: Tue, 29 Apr 2008 21:41:45 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 04:41:48 -0000 I was trying to compile a 7.0 Release and the compile failed. I have never had a kernel compilation fail before. Here is the last of the output: opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/kern/kern_descrip.c /usr/src/sys/kern/kern_descrip.c:211:36: error: macro "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdused': /usr/src/sys/kern/kern_descrip.c:211: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:211: error: (Each undeclared identifier is reported only once /usr/src/sys/kern/kern_descrip.c:211: error: for each function it appears in.) /usr/src/sys/kern/kern_descrip.c:227:36: error: macro "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdunused': /usr/src/sys/kern/kern_descrip.c:227: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) cc1: warnings being treated as errors /usr/src/sys/kern/kern_descrip.c: In function 'kern_fcntl': /usr/src/sys/kern/kern_descrip.c:383: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:386: warning: implicit declaration of function 'FILEDESC_UNLOCK' /usr/src/sys/kern/kern_descrip.c:386: warning: nested extern declaration of 'FILEDESC_UNLOCK' /usr/src/sys/kern/kern_descrip.c:540: warning: implicit declaration of function 'FILEDESC_LOCK_FAST' /usr/src/sys/kern/kern_descrip.c:540: warning: nested extern declaration of 'FILEDESC_LOCK_FAST' /usr/src/sys/kern/kern_descrip.c:543: warning: implicit declaration of function 'FILEDESC_UNLOCK_FAST' /usr/src/sys/kern/kern_descrip.c:543: warning: nested extern declaration of 'FILEDESC_UNLOCK_FAST' /usr/src/sys/kern/kern_descrip.c: In function 'do_dup': /usr/src/sys/kern/kern_descrip.c:631: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:670: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c: In function 'kern_close': /usr/src/sys/kern/kern_descrip.c:994: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:997: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1202:36: error: macro "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdgrowtable': /usr/src/sys/kern/kern_descrip.c:1202: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1224: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1263:36: error: macro "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdalloc': /usr/src/sys/kern/kern_descrip.c:1263: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1313:36: error: macro "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdavail': /usr/src/sys/kern/kern_descrip.c:1313: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c: In function 'falloc': /usr/src/sys/kern/kern_descrip.c:1351: warning: implicit declaration of function 'suser_cred' /usr/src/sys/kern/kern_descrip.c:1351: warning: nested extern declaration of 'suser_cred' /usr/src/sys/kern/kern_descrip.c:1351: error: 'SUSER_RUID' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1376: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdinit': /usr/src/sys/kern/kern_descrip.c:1409: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c:1409: error: 'FILEDESC_LOCK_DESC' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1411: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fddrop': /usr/src/sys/kern/kern_descrip.c:1460: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c: In function 'fdcopy': /usr/src/sys/kern/kern_descrip.c:1514: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1524: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1535: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdfree': /usr/src/sys/kern/kern_descrip.c:1570: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1598: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1612: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c:1622: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c:1653: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'setugidsafety': /usr/src/sys/kern/kern_descrip.c:1733: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1751: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdclose': /usr/src/sys/kern/kern_descrip.c:1761: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdcloseexec': /usr/src/sys/kern/kern_descrip.c:1786: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1808: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'closef': /usr/src/sys/kern/kern_descrip.c:1904: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1921: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function '_fget': /usr/src/sys/kern/kern_descrip.c:1962: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fgetsock': /usr/src/sys/kern/kern_descrip.c:2073: warning: implicit declaration of function 'NET_ASSERT_GIANT' /usr/src/sys/kern/kern_descrip.c:2073: warning: nested extern declaration of 'NET_ASSERT_GIANT' /usr/src/sys/kern/kern_descrip.c: In function 'dupfdopen': /usr/src/sys/kern/kern_descrip.c:2238: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'filedesc_to_leader_alloc': /usr/src/sys/kern/kern_descrip.c:2378: warning: statement with no effect *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [root@ns2 /usr/src]# exit exit From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 04:50:33 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99A0E106566B for ; Wed, 30 Apr 2008 04:50:33 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id 53B468FC16 for ; Wed, 30 Apr 2008 04:50:33 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m3U4oUnm030459; Tue, 29 Apr 2008 23:50:31 -0500 Message-ID: <4817FA96.7070606@chrismaness.com> Date: Tue, 29 Apr 2008 21:50:30 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Felix Toh Subject: Problem Installing, BTX Halted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 04:50:33 -0000 Message: 1 Date: Tue, 29 Apr 2008 05:21:23 -0700 (PDT) From: Felix Toh Subject: Problem Installing, BTX Halted To: freebsd-questions@freebsd.org Message-ID: <35746.53635.qm@web45101.mail.sp1.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Hi there, I am new to FreeBSD and trying to install a fresh FreeBSD OS to my computer. However, I am getting BTX error as below: Building the boot loader arguments Looking up /BOOT/LOADER.. Found relocating the loader and the BTX Starting the BTX loader BTX loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard int=0000000d err=00000000 efl=00030206 eip=00002937 eax=00008001 ebx=00000700 ecx=00000000 edx=0000009f esi=00000b3c edi=00000000 ebp=00000000 esp=000003d2 cs=f000 ds=48ae es=4892 fs=0000 gs=0000 ss=9dbb cs=eip=2e 0f 01 16 58 2b 0f 20-c0 0c 01 0f 22 c0 b8 30 00 8e c0 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=01 80 00 00 20 28 00 00-00 00 3c 0b 00 00 00 00 00 00 f8 03 00 00 00 07-00 00 9f 00 00 00 00 00 BTX halted I have verified my CD built from iso image (tried both i386 and AMD64 ) and could not figure out what the problem is. I have also disable all unrelated BIOS setting but still no luck. Hope someone will be able to help out. FYI, my system is: Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ Memory: 1GB, Single Channel, 64-Bit, 2T Main Board: Abit NF-M2P Bios: v6.00PG NVMM: 4.071.0302/02/07 80GB Hard-drive. Thanks. Regards, Felix #################################################################### I was having this issue too a while back. I replaced the CD-ROM with a new CD-ROM/DVD drive and now it works ok. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 05:06:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AFCE1065672 for ; Wed, 30 Apr 2008 05:06:12 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 46FAF8FC12 for ; Wed, 30 Apr 2008 05:06:12 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <4817FE3F.8030701@intersonic.se> Date: Wed, 30 Apr 2008 07:06:07 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Transfer CD image to USB memory stick? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 05:06:12 -0000 Hi, Could someone please point me to information how to achieve this? Have new hardware that lacks CD/floppy and want to install FreBSD... Thanks, --per From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 05:35:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF8DF106564A for ; Wed, 30 Apr 2008 05:35:27 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.freebsd.org (Postfix) with ESMTP id 87FA78FC0A for ; Wed, 30 Apr 2008 05:35:27 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id DAB633227EF for ; Wed, 30 Apr 2008 07:35:25 +0200 (CEST) Received: from DIMENSION (lns-bzn-48f-62-147-252-233.adsl.proxad.net [62.147.252.233]) by smtp7-g19.free.fr (Postfix) with ESMTP id 885E13227E8 for ; Wed, 30 Apr 2008 07:35:25 +0200 (CEST) From: "Olivier GARNIER" To: References: <6ae50c2d0804291433t1affcdafi7c44c1c3f4de449a@mail.gmail.com> <6ae50c2d0804291835m4a76f247u3cde8316a483e9c8@mail.gmail.com> Date: Wed, 30 Apr 2008 07:35:32 +0200 Message-ID: <000701c8aa84$026c5c00$6501a8c0@DIMENSION> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <6ae50c2d0804291835m4a76f247u3cde8316a483e9c8@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciqYoS0ndkcm+8wTXuDH6OVWVMO0QAIRtwg Subject: RE: ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 05:35:27 -0000 Other informations ? Have you try to login in ssh from your ssh server computer ? Is it working ? Have you try nmap on your ssh server computer tu see if 22 port is open = ? Can you show us what is the ssh commande you type to try to connect ? -----Message d'origine----- De=A0: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] De la part de alexus Envoy=E9=A0: mercredi 30 avril 2008 03:35 =C0=A0: freebsd-questions@freebsd.org Objet=A0: Re: ipnat anyone? On Tue, Apr 29, 2008 at 5:33 PM, alexus wrote: > i can't seem to figure this out > > su-3.2# ipnat -l > List of active MAP/Redirect filters: > rdr fxp0 0.0.0.0/32 port 22 -> 172.16.172.16 port 22 tcp > > List of active sessions: > su-3.2# netstat -tan | grep LISTEN | grep 22 > tcp4 0 0 172.16.172.16.22 *.* = LISTEN > su-3.2# > > i'm trying to ssh from outside, no luck :( > > -- > http://alexus.org/ > --=20 http://alexus.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 Wed Apr 30 05:07:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF2F106566B for ; Wed, 30 Apr 2008 05:07:06 +0000 (UTC) (envelope-from br073n@gmail.com) Received: from ag-out-0910.google.com (ag-out-0910.google.com [72.14.246.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA928FC16 for ; Wed, 30 Apr 2008 05:07:06 +0000 (UTC) (envelope-from br073n@gmail.com) Received: by ag-out-0910.google.com with SMTP id 37so228559agc.3 for ; Tue, 29 Apr 2008 22:07:05 -0700 (PDT) MIME-Version: 1.0 Message-ID: Date: Tue, 29 Apr 2008 21:55:52 -0700 (PDT) Received: by 10.100.41.4 with SMTP id o4mr40681ano.29.1209531352549; Tue, 29 Apr 2008 21:55:52 -0700 (PDT) In-Reply-To: X-IP: 76.222.3.168 References: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) From: br073n@gmail.com To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 30 Apr 2008 05:39:06 +0000 Subject: Re: keysym error while starting X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 05:07:06 -0000 On Apr 8, 7:35 am, "Tsu-Fan Cheng" wrote: > Hi, > I found that I can't start x-window because of some keysym error, > when entering X using xinit, I have these on the screen: > expected keysym, gotXF86KbdLightOnOff: line 70 of pc [snip] Do you also have an error about libXft.so.2? Just below the above message on my machine was a complaint about not finding libXft.so.2, and the answer was to do "deinstall && reinstall" in that part of the ports tree. Now, I have the same error as above, but it doesn't prevent me getting X.org to run. Ed From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 05:58:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39483106567C for ; Wed, 30 Apr 2008 05:58:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 98C018FC1F for ; Wed, 30 Apr 2008 05:58:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m3U5vt9v017278; Wed, 30 Apr 2008 06:57:57 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m3U5vt9v017278 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209535077; bh=AhRrvCAEkFOqIA HwgbId6iC2yIz8Qlhi+x716N4PyVA=; 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=Mes sage-ID:=20<48180A5E.60807@infracaninophile.co.uk>|Date:=20Wed,=203 0=20Apr=202008=2006:57:50=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-A gent:=20Thunderbird=202.0.0.12=20(X11/20080427)|MIME-Version:=201.0 |To:=20Hartleigh=20Burton=20|CC:=20fre ebsd-questions@freebsd.org|Subject:=20Re:=20rmuser=20failed=20/=20c annot=20readd=20user|References:=20<561D8FDB-EF75-4F2B-9DC5-62DC2A0 9AC7A@destra.com>|In-Reply-To:=20<561D8FDB-EF75-4F2B-9DC5-62DC2A09A C7A@destra.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multip art/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicat ion/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE16543B3D 91CD9766BEEF7F4"; b=bvwgnZq4StLvjegj/j9j3s/RDjiUEvfptiBO0kT+5UP9pDt RcJ9OUHUb+lGgOk+P7JcM5Ga++EIgwjjjbU3/GVuy+/+qG+X0ms5giMGT8TjBvyJ8a+ zRBDqQYuv3iBCUDs22LEF9iAPj2/tS0Gpvo4Nu6/s83SScGEP3B1HuSzw= Message-ID: <48180A5E.60807@infracaninophile.co.uk> Date: Wed, 30 Apr 2008 06:57:50 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: Hartleigh Burton References: <561D8FDB-EF75-4F2B-9DC5-62DC2A09AC7A@destra.com> In-Reply-To: <561D8FDB-EF75-4F2B-9DC5-62DC2A09AC7A@destra.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE16543B3D91CD9766BEEF7F4" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 30 Apr 2008 06:57:57 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: rmuser failed / cannot readd user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 05:58:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE16543B3D91CD9766BEEF7F4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hartleigh Burton wrote: > I added a user called "mrawebuser", which failed because there was not = > enough free space on / at the time. Now when I try to add the user agai= n=20 > it says the user already exists when it doesn't. I have used rmuser to = > remove the account and also manually check /etc/passwd,=20 > /etc/master.passwd, & /etc/group - none of these files contain any=20 > reference to "mrawebuser". If I repeat the rmuser command it will find = > the user every time. Run this command: # pwd_mkdb -p /etc/master.passwd Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE16543B3D91CD9766BEEF7F4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkgYCmMACgkQ8Mjk52CukIxN+ACeIMdZHoRrzEUyo4m5ixIty82n QaYAmQErACNEQlZeOgg9bqQUVoNhIhm4 =hhej -----END PGP SIGNATURE----- --------------enigE16543B3D91CD9766BEEF7F4-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 06:11:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA421065674 for ; Wed, 30 Apr 2008 06:11:39 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from desexchf.destra.com (desexchf.destra.com [202.125.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA278FC12 for ; Wed, 30 Apr 2008 06:11:38 +0000 (UTC) (envelope-from Hartleigh.Burton@destra.com) Received: from [192.168.0.87] ([202.91.207.2]) by desexchf.destra.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Apr 2008 16:13:19 +1000 Message-Id: <93BFE498-EC35-496C-AD76-9938ED745911@destra.com> From: Hartleigh Burton To: Matthew Seaman In-Reply-To: <48180A5E.60807@infracaninophile.co.uk> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 30 Apr 2008 16:11:35 +1000 References: <561D8FDB-EF75-4F2B-9DC5-62DC2A09AC7A@destra.com> <48180A5E.60807@infracaninophile.co.uk> X-Mailer: Apple Mail (2.919.2) X-OriginalArrivalTime: 30 Apr 2008 06:13:19.0372 (UTC) FILETIME=[4919ACC0:01C8AA89] Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: rmuser failed / cannot readd user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 06:11:39 -0000 Problem solvered ;) Thanks Matthew. Hartleigh Burton Network Support Officer Direct +61 7 3166 2202 Telephone +61 7 3166 2202 Mobile 0421 646 978 Facsimile +61 7 3349 8806 Email hartleigh.burton@destra.com MSN IM hartleigh@gmail.com Address 701 Macarthur Avenue Central, Eagle Farm, QLD, 4009. On 30/04/2008, at 3:57 PM, Matthew Seaman wrote: > Hartleigh Burton wrote: > >> I added a user called "mrawebuser", which failed because there was >> not enough free space on / at the time. Now when I try to add the >> user again it says the user already exists when it doesn't. I have >> used rmuser to remove the account and also manually check /etc/ >> passwd, /etc/master.passwd, & /etc/group - none of these files >> contain any reference to "mrawebuser". If I repeat the rmuser >> command it will find the user every time. > > Run this command: > > # pwd_mkdb -p /etc/master.passwd > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 06:22:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21944106566B for ; Wed, 30 Apr 2008 06:22:33 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 565868FC13 for ; Wed, 30 Apr 2008 06:22:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3U6MLlI099701; Wed, 30 Apr 2008 08:22:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3U6MIvN099698; Wed, 30 Apr 2008 08:22:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 30 Apr 2008 08:22:18 +0200 (CEST) From: Wojciech Puchar To: Edward Ruggeri In-Reply-To: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> Message-ID: <20080430082210.U99651@wojtek.tensor.gdynia.pl> References: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: Dynamic Memory Allocation Limit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 06:22:33 -0000 > However, I have read elsewhere that memory labeled as inactive should > be available for the heap > > Is there a limit to how much memory may be allocated to a process? > Any other reasons someone might think of? ulimit -a From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 06:25:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC4A106566C for ; Wed, 30 Apr 2008 06:25:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0D28D8FC19 for ; Wed, 30 Apr 2008 06:25:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3U6P5Ko099727; Wed, 30 Apr 2008 08:25:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3U6P4be099724; Wed, 30 Apr 2008 08:25:05 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 30 Apr 2008 08:25:04 +0200 (CEST) From: Wojciech Puchar To: Gary Newcombe In-Reply-To: <20080429160851.8f21394e.gary@pattersonsoftware.com> Message-ID: <20080430082403.T99651@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 06:25:11 -0000 > match "subsystem" "IBM"; > action "/root/bin/acpi_oem_exec.sh $notify ibm"; > }; > > I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly it does. Any clues? > > Also, does anyone have any ideas how I can call Xdialog to get the windows displayed? > you run Xdialog from root (devd is root), you run X from user. ln -s /home//.Xuathority to /root/.Xauthority and of course add DISPLAY=:0 before Xdialog From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 07:07:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFAE81065672 for ; Wed, 30 Apr 2008 07:07:49 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id 42D1F8FC1B for ; Wed, 30 Apr 2008 07:07:48 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.1.12) with ESMTP id 25744099 for freebsd-questions@freebsd.org; Wed, 30 Apr 2008 09:07:46 +0200 Message-ID: <48181B1E.7080809@supsi.ch> Date: Wed, 30 Apr 2008 09:09:18 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4816C6D2.8090309@supsi.ch> In-Reply-To: <4816C6D2.8090309@supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: raid and dump/restore after the disaster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 07:07:49 -0000 Hi! Anybody on this, pleeeease? :) Am I missing something basilar, or it's a FreeBSD bug? Incomplete support for the ICH9R? I cannot attach the boot log, because the boot process panics just before mounting the disks and nothing is logged on /var/log/ Anyways, booting in verbose mode shows that the last activities before it panics are on the disks and fakeraid.. it finds one of the disks and then the last output before the panic is about the Intel MatrixRAID. Any thoughts on this, please? Best regards Robi Roberto Nunnari wrote: > Hi all! > > I'm playing with new HW and FreeBSD 6.3 and 7.0. > > I set up raid 1 on two sata disks (fakeraid on ICH9R) > and as long as I can see, it seams to work very well. > > Now I'm trying to simulate 1 disk failure (I just take > out a disk and boot again). Doesn't matter which of the > two disks I take out, the bios correctly shows the raid > as degraded and bootable, loads the FreeBSD loader, who > loads the kernel and starts the boot. > But when the kernel comes to the drives (or the swap?) > it fatal traps 12. The trap descriptions sais that > current process is 0 (swapper). > > Reading that I commented out the swap partition from fstab, > but that doesn't help. > > How can I get the system to finish the boot? > > Thank you and best regards. > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 07:25:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F21F106566B for ; Wed, 30 Apr 2008 07:25:29 +0000 (UTC) (envelope-from gabrimate@ippimail.com) Received: from viefep23-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 826B68FC13 for ; Wed, 30 Apr 2008 07:25:28 +0000 (UTC) (envelope-from gabrimate@ippimail.com) Received: from edge04.upc.biz ([192.168.13.239]) by viefep18-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080430070847.IBVX632.viefep18-int.chello.at@edge04.upc.biz> for ; Wed, 30 Apr 2008 09:08:47 +0200 Received: from warspage.no-ip.org ([80.98.160.208]) by edge04.upc.biz with edge04 id Kj8a1Z00J4W4Vxc01j8bSD; Wed, 30 Apr 2008 09:08:47 +0200 X-SourceIP: 80.98.160.208 Received: from localhost (catv-5062a0d0.catv.broadband.hu [80.98.160.208]) by warspage.no-ip.org (Postfix) with ESMTP id D1C94A265A for ; Wed, 30 Apr 2008 09:11:09 +0200 (CEST) Date: Wed, 30 Apr 2008 09:07:18 +0200 From: Gabri Mate To: freebsd-questions@freebsd.org Message-ID: <20080430070718.GA20384@notebook> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: ml370 and smartarray 431 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 07:25:29 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear List, i have a really old (from 2001) ml370 with a smart array 431 raid controller. FreeBSD 7 installs perfectly but i couldn't find a way to monitor my drives. I've installed the hpacucli port, but it says that it can't find any controllers in the system. Do you know any solution for this problem? Thank you! --=20 Gabri Mate gabrimate@ippimail.com --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGBqmirulBXbMK3gRAhkqAJ9K8hnLRbZT2wHQgNEcninEyb8W9QCeKxmd ZT44CBoylgNe7Vk7ctKvNOQ= =7Udo -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 08:16:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A6B61065673 for ; Wed, 30 Apr 2008 08:16:16 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 164BA8FC12 for ; Wed, 30 Apr 2008 08:16:16 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <48182ACC.7050004@intersonic.se> Date: Wed, 30 Apr 2008 10:16:12 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.12 (X11/20080303) MIME-Version: 1.0 To: Gabri Mate References: <20080430070718.GA20384@notebook> In-Reply-To: <20080430070718.GA20384@notebook> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ml370 and smartarray 431 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 08:16:16 -0000 Gabri Mate wrote: > Dear List, > > i have a really old (from 2001) ml370 with a smart array 431 raid > controller. FreeBSD 7 installs perfectly but i couldn't find a way to > monitor my drives. I've installed the hpacucli port, but it says that it > can't find any controllers in the system. > > Do you know any solution for this problem? We use lmon from ports, works with some tweaking. There are possibly others as well. --per From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 08:55:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D80E1065670 for ; Wed, 30 Apr 2008 08:55:21 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [213.239.213.48]) by mx1.freebsd.org (Postfix) with ESMTP id CAA9C8FC1E for ; Wed, 30 Apr 2008 08:55:20 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id 5B57A17052; Wed, 30 Apr 2008 10:55:19 +0200 (CEST) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 15C198C5; Wed, 30 Apr 2008 10:55:18 +0200 (CEST) To: freebsd-questions@freebsd.org References: <4817FE3F.8030701@intersonic.se> From: Christian Laursen Date: Wed, 30 Apr 2008 10:55:18 +0200 In-Reply-To: <4817FE3F.8030701@intersonic.se> (Per olof Ljungmark's message of "Wed\, 30 Apr 2008 07\:06\:07 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: Transfer CD image to USB memory stick? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 08:55:21 -0000 Per olof Ljungmark writes: > Could someone please point me to information how to achieve this? Have > new hardware that lacks CD/floppy and want to install FreBSD... I have a script that makes a disk image from a bootonly FreeBSD install image. I usually install grub on the USB memory stick and use memdisk from the syslinux package to load the image. A sample menu entry for grub is included in the script. http://borderworlds.dk/~xi/iso2diskimage.pl -- Christian Laursen From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 09:00:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A9101065673 for ; Wed, 30 Apr 2008 09:00:54 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6E38FC26 for ; Wed, 30 Apr 2008 09:00:54 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Jr8BJ-0006u7-2w>; Wed, 30 Apr 2008 11:00:53 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Jr8BJ-00008o-22>; Wed, 30 Apr 2008 11:00:53 +0200 Message-ID: <48183529.2040309@zedat.fu-berlin.de> Date: Wed, 30 Apr 2008 09:00:25 +0000 From: "O. Hartmann" Organization: Freie =?ISO-8859-15?Q?Universit=E4t_Berlin?= User-Agent: Thunderbird 2.0.0.12 (X11/20080422) MIME-Version: 1.0 To: Jonathan Chen References: <4816F370.6070706@zedat.fu-berlin.de> <20080429105142.GA69915@osiris.chen.org.nz> <4816FFEA.9030009@zedat.fu-berlin.de> In-Reply-To: <4816FFEA.9030009@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: freebsd-questions@freebsd.org Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 09:00:54 -0000 O. Hartmann wrote: > Jonathan Chen wrote: >> On Tue, Apr 29, 2008 at 10:07:44AM +0000, O. Hartmann wrote: >>> Hello out there, >>> my question may sound a bit weird, but the situation is as follows: >>> >>> I use OpenLDAP 2.4 for authetication purposes within our lab's net >>> and every user's account is of the objectclass 'posixAccount'. As we >>> know, this class does not contain the attribute 'host', which belongs >>> to structural class 'account' and both posixAccount and account are >>> of type structural and therefore can not be mixed. >> >> Is there really such a rule? There's an of examples in >> O'Reilly's "LDAP System Administration" that has a mixed >> "account" + "posixAccount" objectClasses for a node to implement >> the situation of: One User and a Group of Hosts. > > Well, simply try to include both structural object classes 'account' and > posixAccount and you'll get a class violation - so it is here ... > > Oliver > > P.S. O'Reilly's book seems to be a little bit outdated, it reflects > schemata prior to OpenLDAP 2.3 I guess and I use 2.4 by the way. I read > many turoials mixin up both account and posixAccount but this isn't > allowed any more with newer versions - as I understand. > Sorry, I made a mistake, 'account' and 'inetOrgPerson' and 'person' collide, not 'posixAccount', so it's my fault. Oliver From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 09:12:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A715A1065671 for ; Wed, 30 Apr 2008 09:12:11 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwmtas04p.mx.bigpond.com (nschwmtas04p.mx.bigpond.com [61.9.189.146]) by mx1.freebsd.org (Postfix) with ESMTP id 3E53B8FC27 for ; Wed, 30 Apr 2008 09:12:11 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwotgx03p.mx.bigpond.com ([121.223.241.235]) by nschwmtas04p.mx.bigpond.com with ESMTP id <20080430091209.YXNH21542.nschwmtas04p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com>; Wed, 30 Apr 2008 09:12:09 +0000 Received: from mail.pattersonsoftware.com ([121.223.241.235]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20080430091206.PKHI1860.nschwotgx03p.mx.bigpond.com@mail.pattersonsoftware.com>; Wed, 30 Apr 2008 09:12:06 +0000 Received: from localhost (mail [192.168.111.46]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 315575363D1; Wed, 30 Apr 2008 19:11:57 +1000 (EST) X-Virus-Scanned: amavisd-new at pattersonsoftware.com Received: from mail.pattersonsoftware.com ([192.168.111.46]) by localhost (mail.pattersonsoftware.com [192.168.111.46]) (amavisd-new, port 10024) with ESMTP id 6mu4Fe1Bo8sQ; Wed, 30 Apr 2008 19:11:40 +1000 (EST) Received: from elegia (60-242-254-180.static.tpgi.com.au [60.242.254.180]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 60648536105; Wed, 30 Apr 2008 19:11:34 +1000 (EST) Date: Wed, 30 Apr 2008 19:11:29 +1000 From: Gary Newcombe To: wojtek@wojtek.tensor.gdynia.pl Message-Id: <20080430191129.f646e26a.gary@pattersonsoftware.com> In-Reply-To: <20080430082403.T99651@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> Organization: Patterson Software X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150201.481837E9.0060,ss=1,fgs=0 Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 09:12:11 -0000 On Wed, 30 Apr 2008 08:25:04 +0200 (CEST), Wojciech Puchar wrote: > > I'm curious to know what is actually going on here. I wouldn't have thought the context from which devd is restarted would make any difference, but clearly it does. Any clues? > > > > Also, does anyone have any ideas how I can call Xdialog to get the windows displayed? > > > > you run Xdialog from root (devd is root), you run X from user. Even if running X under root, it's the same behaviour. Unless devd is restarted, there is no sound or xdialogs. If I restart devd from another console, then the sound device becomes available and sound can be heard, but no Xdialogs. If devd is restarted from within X, then both sound and Xdialogs are ok. This is with any window manager, and nothing much else is running here to screw things up. The script is definitely being run on the keypress each time. There's obviously something I'm missing about devd here. > > ln -s /home//.Xuathority to /root/.Xauthority > > and of course add > > DISPLAY=:0 before Xdialog > _______________________________________________ > 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 Apr 30 09:18:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A10B1065676 for ; Wed, 30 Apr 2008 09:18:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6AEE78FC20 for ; Wed, 30 Apr 2008 09:18:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3U9IND9004924; Wed, 30 Apr 2008 11:18:23 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3U9IMb2004921; Wed, 30 Apr 2008 11:18:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 30 Apr 2008 11:18:22 +0200 (CEST) From: Wojciech Puchar To: Gary Newcombe In-Reply-To: <20080430191129.f646e26a.gary@pattersonsoftware.com> Message-ID: <20080430111804.H4920@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> <20080430191129.f646e26a.gary@pattersonsoftware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 09:18:29 -0000 > Even if running X under root, it's the same behaviour. Unless devd is > restarted, there is no sound or xdialogs. If I restart devd from > another console, then the sound device becomes available and sound can do you restart devd from xterm? if so - DISPLAY gets set > be heard, but no Xdialogs. If devd is restarted from within X, then > both sound and Xdialogs are ok. This is with any window manager, and > nothing much else is running here to screw things up. > > The script is definitely being run on the keypress each time. There's > obviously something I'm missing about devd here. > >> >> ln -s /home//.Xuathority to /root/.Xauthority >> >> and of course add >> >> DISPLAY=:0 before Xdialog > >> _______________________________________________ >> 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 Wed Apr 30 09:22:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F7D1106566C for ; Wed, 30 Apr 2008 09:22:51 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6A48FC1E for ; Wed, 30 Apr 2008 09:22:49 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m3U9Lo9K019294 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 30 Apr 2008 11:21:51 +0200 (SAST) (envelope-from jonathan@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 11:24:50 +0200 User-Agent: KMail/1.7.2 References: <4816F370.6070706@zedat.fu-berlin.de> <4816FFEA.9030009@zedat.fu-berlin.de> <48183529.2040309@zedat.fu-berlin.de> In-Reply-To: <48183529.2040309@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804301124.50382.jonathan@hst.org.za> X-Spam-Score: -4.399 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 09:22:51 -0000 On Wednesday 30 April 2008 11:00, O. Hartmann wrote: > O. Hartmann wrote: > > Jonathan Chen wrote: > >> On Tue, Apr 29, 2008 at 10:07:44AM +0000, O. Hartmann wrote: > >>> Hello out there, > >>> my question may sound a bit weird, but the situation is as follows: > >>> > >>> I use OpenLDAP 2.4 for authetication purposes within our lab's net > >>> and every user's account is of the objectclass 'posixAccount'. As we > >>> know, this class does not contain the attribute 'host', which belongs > >>> to structural class 'account' and both posixAccount and account are > >>> of type structural and therefore can not be mixed. > >> > >> Is there really such a rule? It's true that an object can only belong to one structural class (although it can belong to many auxiliary classes). I use the auxiliary class extensibleObject, which allows you to add any attribute to an LDAP object. My user accounts have three object classes: inetOrgPerson (the structural class), posixAccount and extensibleObject. The rules for the first two are still enforced, but I am able to add the Host: attribute. Jonathan From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 09:40:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDA9E1065672 for ; Wed, 30 Apr 2008 09:40:04 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4BBB48FC1C for ; Wed, 30 Apr 2008 09:40:04 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from nschwotgx01p.mx.bigpond.com ([121.223.241.235]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20080430094001.LADR14575.nschwmtas01p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Wed, 30 Apr 2008 09:40:01 +0000 Received: from mail.pattersonsoftware.com ([121.223.241.235]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20080430093959.QBKK1861.nschwotgx01p.mx.bigpond.com@mail.pattersonsoftware.com>; Wed, 30 Apr 2008 09:39:59 +0000 Received: from localhost (mail [192.168.111.46]) by mail.pattersonsoftware.com (Postfix) with ESMTP id E73365363D1; Wed, 30 Apr 2008 19:39:50 +1000 (EST) X-Virus-Scanned: amavisd-new at pattersonsoftware.com Received: from mail.pattersonsoftware.com ([192.168.111.46]) by localhost (mail.pattersonsoftware.com [192.168.111.46]) (amavisd-new, port 10024) with ESMTP id dqrnFz5thoXo; Wed, 30 Apr 2008 19:39:36 +1000 (EST) Received: from elegia (60-242-254-180.static.tpgi.com.au [60.242.254.180]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 519C453609B; Wed, 30 Apr 2008 19:39:13 +1000 (EST) Date: Wed, 30 Apr 2008 19:39:05 +1000 From: Gary Newcombe To: Wojciech Puchar Message-Id: <20080430193905.572bab9d.gary@pattersonsoftware.com> In-Reply-To: <20080430111804.H4920@wojtek.tensor.gdynia.pl> References: <20080429160851.8f21394e.gary@pattersonsoftware.com> <20080430082403.T99651@wojtek.tensor.gdynia.pl> <20080430191129.f646e26a.gary@pattersonsoftware.com> <20080430111804.H4920@wojtek.tensor.gdynia.pl> Organization: Patterson Software X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.48183E71.0055,ss=1,fgs=0 Cc: freebsd-questions@freebsd.org Subject: Re: Spawning Xdialogs from devd... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 09:40:04 -0000 On Wed, 30 Apr 2008 11:18:22 +0200 (CEST), Wojciech Puchar wrote: > > Even if running X under root, it's the same behaviour. Unless devd is > > restarted, there is no sound or xdialogs. If I restart devd from > > another console, then the sound device becomes available and sound can > > do you restart devd from xterm? if so - DISPLAY gets set If I set DISPLAY first in .cshrc, there's no difference. Also, if I set DISPLAY in another console before restarting devd, still same case as before. Also, how about the sound? Is it that devd can't hook into the drivers in question so early in the boot process or something? > > > > be heard, but no Xdialogs. If devd is restarted from within X, then > > both sound and Xdialogs are ok. This is with any window manager, and > > nothing much else is running here to screw things up. > > > > The script is definitely being run on the keypress each time. There's > > obviously something I'm missing about devd here. > > From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 10:23:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35D18106564A for ; Wed, 30 Apr 2008 10:23: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 A86408FC2A for ; Wed, 30 Apr 2008 10:23:31 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl62-8.kln.forthnet.gr [77.49.189.8]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-4) with ESMTP id m3UAN6Pm032540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Apr 2008 13:23:15 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m3UAN62Z002658; Wed, 30 Apr 2008 13:23:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m3UAMvJc002657; Wed, 30 Apr 2008 13:22:57 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: "Edward Ruggeri" References: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> Date: Wed, 30 Apr 2008 13:22:57 +0300 In-Reply-To: <919383240804291737k513360bcje6c4c85dc4621903@mail.gmail.com> (Edward Ruggeri's message of "Tue, 29 Apr 2008 20:37:12 -0400") Message-ID: <87k5ifljzy.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m3UAN6Pm032540 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.908, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.49, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: Dynamic Memory Allocation Limit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 10:23:32 -0000 On Tue, 29 Apr 2008 20:37:12 -0400, "Edward Ruggeri" wrote: > I have recently been writing an implementation of the sieve of > Eratosthenes in C. To find all primes less than N, I dynamically > create an array of chars (relatively small datatype) of length N+1 (I > know I don't need to represent evens). > > Everything works great up until around 600 million, at which case > memory allocation fails. At this point, I am asking for 600M chars, > which is about 572MB (I might be failing to take account of offset?). You are hitting the limit set as kern.maxdsiz (512 MB by default). One possible 'optimization', which can bump the total count of numbers you can represent in your sieve (at a small cost of extra complexity) is to use a single *bit* for each number, and the macros from FreeBSD's . By using a bit-map for the numbers, you can represent eight times as many numbers in a sieve of the same size. Another option is to bump the value of kern.maxdsiz at boot time. This has been described many many times in the list archives, so a Google search should quickly yield several hits. > I am using FreeBSD 6.3-prerelease, with SMP for a Athlon X2 4200+ (if > it makes a difference). Sorry if this is a RTFM question ... That's fine. A question never asked is much worse than a question which causes people to learn even more about FreeBSD :) From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 10:37:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 689CC1065672 for ; Wed, 30 Apr 2008 10:37:21 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD638FC15 for ; Wed, 30 Apr 2008 10:37:21 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 70CC21CC91; Wed, 30 Apr 2008 02:37:20 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 12:37:18 +0200 User-Agent: KMail/1.9.7 References: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> <6a5b467e0804240922g5f3d8617g2bbdce52c10c006f@mail.gmail.com> <6a5b467e0804240935v2a8e8612ned13d94fd77c83af@mail.gmail.com> In-Reply-To: <6a5b467e0804240935v2a8e8612ned13d94fd77c83af@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804301237.19181.fbsd.questions@rachie.is-a-geek.net> Cc: Ashant Chalasani Subject: Re: Install port without man page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 10:37:21 -0000 On Thursday 24 April 2008 18:35:16 Ashant Chalasani wrote: > Also part of the output of > [root@fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean > MANPREFIX=/tmp/ PREFIX=/mnt/ > > is.. > ..... > install -c -m 444 dhcpd /mnt//sbin > chmod 755 /mnt//sbin/dhcpd > install -c dhcpd.man8 /mnt//man/man8/dhcpd.8 > install -c dhcpd.conf.man5 /mnt//man/man5/dhcpd.conf.5 > install -c dhcpd.leases.man5 /mnt//man/man5/dhcpd.leases.5 > ===> Installing rc.d startup script(s) > ...... > > ps: > [root@fbsd70]# uname -a FreeBSD fbsd70.kwest.wapsol.de 7.0-RELEASE > FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > On Thu, Apr 24, 2008 at 6:22 PM, Ashant Chalasani wrote: > > I've experimented with the isc-dhcp3-server port all 3 options - > > NO_INSTALL_MANPAGES, NOPORTDOCS and MANPREFIX and in every case there > > were manpages installed in /mnt/man/ > > > > [root@fbsd70 /mnt/man]# find . -name *dhcp* > > ./man5/dhcp-options.5 > > ./man5/dhcp-eval.5 > > ./man5/dhcpd.conf.5 > > ./man5/dhcpd.leases.5 > > ./man8/dhcpd.8 > > > > However, with > > [root@fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean > > MANPREFIX=/tmp/ PREFIX=/mnt/ > > > > we got... > > > > ===> Compressing manual pages for isc-dhcp3-server-3.0.5_2 > > gzip: can't stat: /tmp//man/man1/omshell.1: No such file or directory > > gzip: can't stat: /tmp//man/man5/dhcpd.conf.5: No such file or directory > > gzip: can't stat: /tmp//man/man5/dhcpd.leases.5: No such file or > > directory gzip: can't stat: /tmp//man/man5/dhcp-eval.5: No such file or > > directory gzip: can't stat: /tmp//man/man5/dhcp-options.5: No such file > > or directory gzip: can't stat: /tmp//man/man8/dhcpd.8: No such file or > > directory That's because MANPREFIX relies on an mtree being present, meaning man/man[1-9] directories should be below it. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 10:45:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D503F1065673 for ; Wed, 30 Apr 2008 10:45:42 +0000 (UTC) (envelope-from princenagi@mtnl.net.in) Received: from smtp.mtnl.net.in (mumnode4.mtnl.net.in [202.159.228.5]) by mx1.freebsd.org (Postfix) with ESMTP id 704378FC15 for ; Wed, 30 Apr 2008 10:45:41 +0000 (UTC) (envelope-from princenagi@mtnl.net.in) Received: from 192.168.1.2 ([59.184.140.83]) by pop.mtnl.net.in (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0K04003HZWJTS3@pop.mtnl.net.in> for freebsd-questions@freebsd.org; Wed, 30 Apr 2008 16:15:40 +0530 (IST) Date: Wed, 30 Apr 2008 16:15:26 +0530 From: SMT To: Freebsd Questions Message-id: <"19351078[PADEB67P]"@Prince> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1160 X-Mailer: Microsoft Outlook Express 6.00.2800.1160 Content-type: multipart/mixed; boundary="Boundary_(ID_sTyUTxsf/MR70iwDhJtLBw)" X-Priority: 1 X-MSMail-priority: High X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: WMW 90-2 Boring A0017 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: SMT List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 10:45:42 -0000 This is a multi-part message in MIME format. --Boundary_(ID_sTyUTxsf/MR70iwDhJtLBw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Satgur MACHINE TOOLS Add: R-907, MIDC, Rabale, Navi Mumbai, India - 400701. Dealers , Buyers & Sellers of Imported Machine Tools of All types Ph. No. +91-22-27694278 / 79, Fax- +91-22-27603987, www.satgurmachinetools.com email : princenagi@hotmail.com Machine Details Stock ID A0017-F002-2007-08 Machine Category Boring Machines Machine Type Table Type Boring Status Open For Sale Make WMW UNION 90/2 Year 1989 Spindle Diameter 90 mm Cross Travel 1250 mm Vertical Travel 1250 mm Longitudinal Travel 1500 mm Facing Chuck YES Tail Stock No Sprindle Travel 800 mm Image(s) See Attachment PRICE: Rs. 17.00 Lacs + Taxes We make every effort to provide accurate information however we reserve the right to correct or change any typographical errors, specifications or pricing. All items offered are subject to prior sale, and it is the buyer's responsibility to verify that the specifications are accurate via personal inspection of the equipment offered. All machines offered from our stock may be inspected under power in our showroom at Rabale, Navi Mumbai. Above stated price does not include insurance, dismantling, loading, transport, fastening charges or any other costs apart from the machine itself. PLEASE VISIT OUR WEBSITE WWW.SATGURMACHINETOOLS.COM FOR OTHER MACHINES THAT WE CAN OFFER YOU !!! For Satgur Machine Tools Prince Nagi (CEO) M-0091-9820136040 --Boundary_(ID_sTyUTxsf/MR70iwDhJtLBw)-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 11:02:26 2008 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 F4084106564A for ; Wed, 30 Apr 2008 11:02:25 +0000 (UTC) (envelope-from dulwichpicturesgallery@gmail.com) Received: from xianz.nmsrv.com (xianz.nmsrv.com [209.139.239.179]) by mx1.freebsd.org (Postfix) with ESMTP id DB10B8FC1C for ; Wed, 30 Apr 2008 11:02:25 +0000 (UTC) (envelope-from dulwichpicturesgallery@gmail.com) Received: (qmail 30780 invoked by uid 99); 30 Apr 2008 10:35:45 -0000 X-AntiVirus: Clean Date: 30 Apr 2008 10:35:45 -0000 Message-ID: <20080430103545.30779.qmail@xianz.nmsrv.com> To: questions@freebsd.org From: "Dulwich Picture Gallery" User-Agent: Mail/1.0.0 MIME-Version: 1.0 X-Sender: Error-To: Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: Part-Time Job Opportunity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 11:02:26 -0000 Good Day to you Sir/Madam. I am pleased to give you an offer for employment as a consultant withour fledgling company. We at Dulwich Picture Gallery have a mission to help individuals with investing into the Art & Antique but due to our wide range of customers and low reach in terms of offices worldwide,we have decided to make ties with individuals around the world who arewilling to be a part of our mission to make the future bright for our investors. JOB DESCRIPTION: Currently, due to the abundance of Art and Antique in the West African region, we are pitching our Resource Office there besides our Head Office that present here in the UK. We have abundant investors in the USA and Europe but sometimes havedifficulties getting their investment bids across to us, your job will entail the cashing in of investment bids from our investors, in any form they may come (personalized checks, cashiers check or cash) and sending the funds back to one of our offices through means that will be given to you when the time arises. Our seasoned workers set up this form of employment so it doesnt affect your day job if you have one. RENUMERATION: In an instance whereby you cash in an investment bid for our customer,you will be entitled to 10% of the total amount you cash. For example; if you cash an investment bid of $3000, your pay on that bid will be $300, which is subject to change depending on the number of bids that you cash. IMPORTANT: You must be over 18 years of age.U.S,UK,CANADIAN OR AUSTRALIAN CITIZENSHIP.If you meet these conditions and wish to apply send this reference position number#3456234 and please contact us by replying at this e-mail address (dulwichpicturesgallery@gmail.com) to receive a Representative Contract agreement.Please mail along with the requested informations below Yours Faithfully, Mr.Knowles Nicolas Administrative Secretary, Dulwich Picture Gallery Gallery Road, Dulwich Village, London SE21 7AD Rc:122132 www.dulwichpicturegallery.org.uk Reply to your messages and manage your action items at Xianz This message has been automatically generated by Xianz Please do not reply to this message. Xianz.com - Friends Faith Fellowship From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 11:17:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4EE8106566C for ; Wed, 30 Apr 2008 11:17:29 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) Received: from mail1.firstbhph.com (mail1.firstbhph.com [67.108.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5D8D18FC1B for ; Wed, 30 Apr 2008 11:17:28 +0000 (UTC) (envelope-from dyioulos@firstbhph.com) X-First1-MailScanner-Watermark: 1210159031.0494@4KzyfDiv+WL8pHtsdiJaFg Received: from [192.168.100.52] (localhost [127.0.0.1]) by mail1.firstbhph.com (8.14.2/8.12.11) with ESMTP id m3UBHAUL005864 for ; Wed, 30 Apr 2008 07:17:10 -0400 From: Dimitri Yioulos Organization: First 1 Financial Corporation To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 07:17:18 -0400 User-Agent: KMail/1.9.3 References: <20080430103545.30779.qmail@xianz.nmsrv.com> In-Reply-To: <20080430103545.30779.qmail@xianz.nmsrv.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804300717.18433.dyioulos@firstbhph.com> X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: archive@firstbhph.com X-First1-MailScanner-Information: Please contact First 1 Financial Corporation for more information X-MailScanner-ID: m3UBHAUL005864 X-First1-MailScanner: Found to be clean X-First1-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-MailScanner-From: dyioulos@firstbhph.com X-MailScanner-To: archive@firstbhph.com, freebsd-questions@freebsd.org Subject: Re: Part-Time Job Opportunity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 11:17:29 -0000 On Wednesday 30 April 2008 6:35 am, Dulwich Picture Gallery wrote: > Good Day to you Sir/Madam. > > I am pleased to give you an offer for employment as a consultant withour > fledgling company. > > We at Dulwich Picture Gallery have a mission to help individuals with > investing into the Art > > & Antique but due to our wide range of customers and low reach in terms of > offices > > worldwide,we have decided to make ties with individuals around the world > who arewilling to be > > a part of our mission to make the future bright for our investors. > > JOB DESCRIPTION: > Currently, due to the abundance of Art and Antique in the West African > region, we are > > pitching our Resource Office there besides our Head Office that present > here in the UK. We > > have abundant investors in the USA and Europe but sometimes > havedifficulties getting their > > investment bids across to us, your job will entail the cashing in of > investment bids from our > > investors, in any form they may come (personalized checks, cashiers check > or cash) and > > sending the funds back to one of our offices through means that will be > given to you when the > > time arises. Our seasoned workers set up this form of employment so it > doesnt affect your day > > job if you have one. > > RENUMERATION: > In an instance whereby you cash in an investment bid for our customer,you > will be entitled to > > 10% of the total amount you cash. For example; if you cash an investment > bid of $3000, your > > pay on that bid will be $300, which is subject to change depending on the > number of bids that > > you cash. > > IMPORTANT: > You must be over 18 years of age.U.S,UK,CANADIAN OR AUSTRALIAN > CITIZENSHIP.If you meet these > > conditions and wish to apply send this reference position number#3456234 > and please contact > > us by replying at this e-mail address (dulwichpicturesgallery@gmail.com) to > receive a > > Representative Contract agreement.Please mail along with the requested > informations below > > Yours Faithfully, > Mr.Knowles Nicolas > Administrative Secretary, > Dulwich Picture Gallery > Gallery Road, Dulwich Village, > London SE21 7AD > Rc:122132 > www.dulwichpicturegallery.org.uk > Reply to your messages and manage your action items at Xianz > > This message has been automatically generated by Xianz > Please do not reply to this message. > > Xianz.com - Friends Faith Fellowship > My dream job! -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 12:23:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD7EC106566C for ; Wed, 30 Apr 2008 12:23:48 +0000 (UTC) (envelope-from farooqhussain786@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 87E728FC2D for ; Wed, 30 Apr 2008 12:23:48 +0000 (UTC) (envelope-from farooqhussain786@gmail.com) Received: by wf-out-1314.google.com with SMTP id 28so321427wfa.7 for ; Wed, 30 Apr 2008 05:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=IQB9mBp0caFL8BVJZuQAcX75H6Q2B+qifTn9+I6Y7cc=; b=J5+ZBeqjv/4vasXhoBcD4c/KHWbItaa7SVw2XnE6EVEowep1d9h1TmmEneWw630h6y/aASms2ebcI8gRwsxQwloEEAXnlAW+gTfqsaCaB/Q0fum2Sso9BTKqNDo95N2+I0J5OZcwFVAED9/zz0AqsNtxKqzOb+OlRAHmk3runck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=b4HawQVtLpgRpKlvyT/ohCUYh/6BMJnwaH/k2E0foOLpCumcD60+45PtlFF+EO+yN459khvKH9B/5DPzpFTsbi+LpCLFYRuGg0y9gAtwK4r4fRg/LnzjrgedFetfKB9DcKqBNw7eXRGAaMQz9824UoA+8iViZIY8dQvNlrEGn0k= Received: by 10.142.125.5 with SMTP id x5mr280531wfc.124.1209558228124; Wed, 30 Apr 2008 05:23:48 -0700 (PDT) Received: by 10.142.246.19 with HTTP; Wed, 30 Apr 2008 05:23:48 -0700 (PDT) Message-ID: <2c13f6e70804300523o4be559edo7583b1bcf2b20d85@mail.gmail.com> Date: Wed, 30 Apr 2008 17:23:48 +0500 From: "Farooq Hussain" To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 30 Apr 2008 12:27:58 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Wed, 30 Apr 2008 12:23:48 -0000 Hello I want the my apache server should executed PHP file. But its't not doing this. Please tell me how i will configure PHP with apache. i have already install apache22 and mysql now i want to configure my Roundcube mail server but when i access it from my server it will return PHP code in browser -- Thanks Farooq Hussain From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 12:35:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2541065672 for ; Wed, 30 Apr 2008 12:35:01 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id BE01F8FC1A for ; Wed, 30 Apr 2008 12:35:00 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id EC018C943E for ; Wed, 30 Apr 2008 14:34:58 +0200 (CEST) Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 75160-06 for ; Wed, 30 Apr 2008 14:34:58 +0200 (CEST) Received: from [127.0.0.1] (cxw210.internetdsl.tpnet.pl [83.19.156.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 9AFD3C941F for ; Wed, 30 Apr 2008 14:34:58 +0200 (CEST) Message-ID: <4818676E.3050303@lc-words.com> Date: Wed, 30 Apr 2008 14:34:54 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <2c13f6e70804300523o4be559edo7583b1bcf2b20d85@mail.gmail.com> In-Reply-To: <2c13f6e70804300523o4be559edo7583b1bcf2b20d85@mail.gmail.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms010808080605040005070509" Subject: Re: Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 12:35:01 -0000 This is a cryptographically signed message in MIME format. --------------ms010808080605040005070509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, Farooq Hussain pisze: > Hello > > I want the my apache server should executed PHP file. But its't not doing > this. Please tell me how i will configure PHP with apache. i have already > install apache22 and mysql now i want to configure my Roundcube mail server > but when i access it from my server it will return PHP code in browser http://www.purplehat.org/?page_id=10 and http://www.purplehat.org/?page_id=20 HTH -- Zbigniew Szalbot www.lc-words.com --------------ms010808080605040005070509 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNDMwMTIzNDU0WjAjBgkq hkiG9w0BCQQxFgQUxgbuJlfKeJP3S1kty2jOZngt2EUwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGASsmYckj96JlM+JzZSa2jR7/Gpzzb/XTG 5sOgln9Q9P5veTdrkCX7xUkiVgbxwvrd6+7tfv3ryJelqHG0c2wroToZIQqVcu+HHfYXiH6u xUB/rAdlkESFH71H4RuroWQ6a3LdPuvoGv+01x50pvDk5av2V6JOQ4JNCITNWrnNCZUAAAAA AAA= --------------ms010808080605040005070509-- From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 13:29:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050121065670 for ; Wed, 30 Apr 2008 13:29:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id C8E5E8FC20 for ; Wed, 30 Apr 2008 13:29:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id B176728459; Wed, 30 Apr 2008 09:29:05 -0400 (EDT) To: Mike Clarke References: <200804290928.03808.jmc-freebsd@milibyte.co.uk> From: Lowell Gilbert Date: Wed, 30 Apr 2008 09:29:05 -0400 In-Reply-To: <200804290928.03808.jmc-freebsd@milibyte.co.uk> (Mike Clarke's message of "Tue\, 29 Apr 2008 09\:28\:03 +0100") Message-ID: <44k5if5v4u.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Distfile size mismatch for ImageMagick portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 13:29:07 -0000 Mike Clarke writes: > Upgrading ImageMagick from 6.3.6.9 to 6.4.0.11 fails after downloading > the distfile with "size mismatch: expected 5837175, actual 5836089". > > I don't see anything relevant in UPDATING or on the Freshports site. > I've run pkgdb -u and downloaded a fresh copy > of /usr/ports/graphics/ImageMagick but still get the problem. > > Is this a general problem or have I overlooked something? The tarball was re-rolled. The port has now been updated accordingly. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 14:01:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA01A106566B for ; Wed, 30 Apr 2008 14:01:42 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF9F8FC0A for ; Wed, 30 Apr 2008 14:01:42 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so256123ele.8 for ; Wed, 30 Apr 2008 07:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xMg0PRLY9ppeXZojbWIfx0RQ/oBQs/ZJewZKsp7b4Jo=; b=s+twQNdyC3zoyjlZpZ5oTfvbktJhGFNImRQgvmvamrYYe92mk7hZEkKUIFAhK2ri+X452jh3WM82zrzwU1qrEPEWmT/W6dBLLdqPStByob8m1b+XZYrccxpHfaK/5bUENx5rNOrC8/R7TFSCNcuLk8Sh2d7wt06dy2dufqkPMG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ByDc/eFy+gSidbD3nB3l9io3r7Mo/mkqauPBkEmbq+EO/4aWO9TVb7bKN9hx1L/vXlWxerX2SJZRjCY05dGdx5oKkbOwK+tM75b/yIb60iSCd7/kWUqTMhdmqojSCtGha7HZ38BLUzpzMyIgsO/F2VLpkOBBacf4SNlV3N9pjLo= Received: by 10.114.106.1 with SMTP id e1mr724077wac.71.1209564101526; Wed, 30 Apr 2008 07:01:41 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Wed, 30 Apr 2008 07:01:41 -0700 (PDT) Message-ID: <6ae50c2d0804300701u28199e3at2cca519d416a5fea@mail.gmail.com> Date: Wed, 30 Apr 2008 10:01:41 -0400 From: alexus To: "Olivier GARNIER" In-Reply-To: <000701c8aa84$026c5c00$6501a8c0@DIMENSION> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <6ae50c2d0804291433t1affcdafi7c44c1c3f4de449a@mail.gmail.com> <6ae50c2d0804291835m4a76f247u3cde8316a483e9c8@mail.gmail.com> <000701c8aa84$026c5c00$6501a8c0@DIMENSION> Cc: freebsd-questions@freebsd.org Subject: Re: ipnat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 14:01:42 -0000 c3UtMy4yIyBpcG5hdCAtbApMaXN0IG9mIGFjdGl2ZSBNQVAvUmVkaXJlY3QgZmlsdGVyczoKbWFw IGZ4cDAgMTcyLjE2LjE3Mi4xNi8zMiAtPiAwLjAuMC4wLzMyCnJkciBmeHAwIDAuMC4wLjAvMCBw b3J0IDIyIC0+IDE3Mi4xNi4xNzIuMTYgcG9ydCAyMiB0Y3AKCkxpc3Qgb2YgYWN0aXZlIHNlc3Np b25zOgpzdS0zLjIjCgp0aGlzIGNvbmZpZ3VyYXRpb24gc2VlbXMgdG8gYmUgd29ya2luZyBqdXN0 IGxpa2UgaSB3YW50ZWQgaXQsIGkganVzdAp3YW50ZWQgdG8gbWFrZSBzdXJlIGl0cyBjb3JyZWN0 IGluIHRlcm1zIG9mIG5ldHdvcmtpbmcKZmlyc3QgcnVsZSBwcm92aWRlcyAiTkFUIiBmb3Igd2hh dGV2ZXIgY29taW5nIG91dCBmcm9tCjE3Mi4xNi4xNzIuMTYvMzIgdG8gZXZlcnl0aGluZyBvdXRz aWRlCnJkciBydWxlIGlzIHJlZGlyZWN0cyBwb3J0IDIyIHRjcCBmcm9tIG91dHNpZGUgdG8gMTcy LjE2LjE3Mi4xNi8zMgoKYSBsaXR0bGUgY29uZnVzaW9uIGkgZ2V0IGlzIGR1ZSB0byBpbiBmaXJz dCBydWxlIHRoZXJlIGlzIDAuMC4wLjAvMzIKYW5kIGluIHNlY29uZCBydWxlIHRoZXJlIGlzIDAu MC4wLjAvMAoKCk9uIFdlZCwgQXByIDMwLCAyMDA4IGF0IDE6MzUgQU0sIE9saXZpZXIgR0FSTklF UiA8b2xpLmdhcm5pZXJAZnJlZS5mcj4gd3JvdGU6Cj4gT3RoZXIgaW5mb3JtYXRpb25zID8KPiBI YXZlIHlvdSB0cnkgdG8gbG9naW4gaW4gc3NoIGZyb20geW91ciBzc2ggc2VydmVyIGNvbXB1dGVy ID8KPiBJcyBpdCB3b3JraW5nID8KPgo+IEhhdmUgeW91IHRyeSBubWFwIG9uIHlvdXIgc3NoIHNl cnZlciBjb21wdXRlciB0dSBzZWUgaWYgMjIgcG9ydCBpcyBvcGVuID8KPiBDYW4geW91IHNob3cg dXMgd2hhdCBpcyB0aGUgc3NoIGNvbW1hbmRlIHlvdSB0eXBlIHRvIHRyeSB0byBjb25uZWN0ID8K Pgo+Cj4gLS0tLS1NZXNzYWdlIGQnb3JpZ2luZS0tLS0tCj4gRGUgOiBvd25lci1mcmVlYnNkLXF1 ZXN0aW9uc0BmcmVlYnNkLm9yZwo+IFttYWlsdG86b3duZXItZnJlZWJzZC1xdWVzdGlvbnNAZnJl ZWJzZC5vcmddIERlIGxhIHBhcnQgZGUgYWxleHVzCj4gRW52b3nDqSA6IG1lcmNyZWRpIDMwIGF2 cmlsIDIwMDggMDM6MzUKPiDDgCA6IGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnCj4gT2Jq ZXQgOiBSZTogaXBuYXQKPgo+Cj4gYW55b25lPwo+Cj4gT24gVHVlLCBBcHIgMjksIDIwMDggYXQg NTozMyBQTSwgYWxleHVzIDxhbGV4dXNAZ21haWwuY29tPiB3cm90ZToKPiA+IGkgY2FuJ3Qgc2Vl bSB0byBmaWd1cmUgdGhpcyBvdXQKPiA+Cj4gPiAgc3UtMy4yIyBpcG5hdCAtbAo+ID4gIExpc3Qg b2YgYWN0aXZlIE1BUC9SZWRpcmVjdCBmaWx0ZXJzOgo+ID4gIHJkciBmeHAwIDAuMC4wLjAvMzIg cG9ydCAyMiAtPiAxNzIuMTYuMTcyLjE2IHBvcnQgMjIgdGNwCj4gPgo+ID4gIExpc3Qgb2YgYWN0 aXZlIHNlc3Npb25zOgo+ID4gIHN1LTMuMiMgbmV0c3RhdCAtdGFuIHwgZ3JlcCBMSVNURU4gfCBn cmVwIDIyCj4gPiAgdGNwNCAgICAgICAwICAgICAgMCAgMTcyLjE2LjE3Mi4xNi4yMiAgICAgICAq LiogICAgICAgICAgICAgICAgICAgIExJU1RFTgo+ID4gIHN1LTMuMiMKPiA+Cj4gPiAgaSdtIHRy eWluZyB0byBzc2ggZnJvbSBvdXRzaWRlLCBubyBsdWNrIDooCj4gPgo+ID4gIC0tCj4gPiAgaHR0 cDovL2FsZXh1cy5vcmcvCj4gPgo+Cj4KPgo+IC0tCj4gaHR0cDovL2FsZXh1cy5vcmcvCj4gX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KPiBmcmVlYnNkLXF1 ZXN0aW9uc0BmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QKPiBodHRwOi8vbGlzdHMuZnJlZWJzZC5v cmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucwo+IFRvIHVuc3Vic2NyaWJlLCBz ZW5kIGFueSBtYWlsIHRvICJmcmVlYnNkLXF1ZXN0aW9ucy11bnN1YnNjcmliZUBmcmVlYnNkLm9y ZyIKPgo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4g ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0Cj4gaHR0cDovL2xpc3Rz LmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1xdWVzdGlvbnMKPiBUbyB1bnN1 YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVzdGlvbnMtdW5zdWJzY3JpYmVA ZnJlZWJzZC5vcmciCj4KCgoKLS0gCmh0dHA6Ly9hbGV4dXMub3JnLwo= From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 14:43:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 449E6106566B for ; Wed, 30 Apr 2008 14:43:46 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id F1BB08FC13 for ; Wed, 30 Apr 2008 14:43:45 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so362085wra.13 for ; Wed, 30 Apr 2008 07:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=14732KMDID6yEBhlb3V2+3y8GuA1tybyxzQNokOdlhQ=; b=WtkSgOHReFWuJYrMttp2ECcdN9xIBRkDoEbkAybyihquBn2QNAAG9i8QYbaXQtE8VUrL8TPY8XYwoOilF6PDkQiSmHbqYDDhhCF3oGhWDUtCaAznMM4Pv/+BH6sbOfE5z+E0vpNSIYJSIA77w8LwROza4UH97Ag3qTyya/DQFkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=dtpAFk+5hQEoRcceHCAbERRD+r57ZPjPRxcBqhASXHSCA/7RCOQOyruKLKgMdtQ4ivhqa6M9yZLHudMTMRBgGBHRlYsZH6dGqeOfc3SHlWxZrVBhSZMoj4M91kJVPkzWpXy32X6DFTONTjuXYmvBI//bDMQKkqpq4T0aMO1gE3w= Received: by 10.141.122.20 with SMTP id z20mr328823rvm.293.1209566624828; Wed, 30 Apr 2008 07:43:44 -0700 (PDT) Received: by 10.140.126.11 with HTTP; Wed, 30 Apr 2008 07:43:44 -0700 (PDT) Message-ID: <226ae0c60804300743x3d92cb28lbff81cf37b49df65@mail.gmail.com> Date: Wed, 30 Apr 2008 10:43:44 -0400 From: "David Robillard" To: "Jonathan McKeown" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 14:43:46 -0000 > On Wednesday 30 April 2008 11:00, O. Hartmann wrote: [ --- 8< --- SNIP! --- 8< --- ] > It's true that an object can only belong to one structural class (although it > can belong to many auxiliary classes). > > I use the auxiliary class extensibleObject, which allows you to add any > attribute to an LDAP object. My user accounts have three object classes: > inetOrgPerson (the structural class), posixAccount and extensibleObject. The > rules for the first two are still enforced, but I am able to add the Host: > attribute. > > Jonathan That sounds very interesting Jonathan. Could you please share with us the complete LDIF data used to create such a user? Something like this for example: # test.user.ldif # # Create a test user. dn: cn=test.user, ou=users, dc=domain, dc=com objectclass: top objectclass: person objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount cn: Test User sn: test.user uid: test.user userPassword: {SSHA}GmbwsRvJugoiT5NIIJ2bk+5YVfWMUVa1 uidNumber: 9999 gidNumber: 9999 gecos: Test User mail: test.user@domain.com telephonenumber: 123 456 7890 x1234 loginShell: /usr/local/bin/bash homeDirectory: /nfs/home/test.user # Link this user to it's group. dn: cn=test, ou=groups, dc=domain, dc=com objectClass: top objectClass: posixGroup cn: test gidNumber: 9999 memberUid: test.user # EOF Many thanks, DA+ -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 15:38:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871BF1065680 for ; Wed, 30 Apr 2008 15:38:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 261C28FC13 for ; Wed, 30 Apr 2008 15:38:15 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m3UFc41r051367; Wed, 30 Apr 2008 10:38:06 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080430103752.0256e788@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 30 Apr 2008 10:39:50 -0500 To: Roberto Nunnari , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <48181B1E.7080809@supsi.ch> References: <4816C6D2.8090309@supsi.ch> <48181B1E.7080809@supsi.ch> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080430-1, 04/30/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m3UFc41r051367 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: raid and dump/restore after the disaster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 15:38:16 -0000 At 02:09 AM 4/30/2008, Roberto Nunnari wrote: >Hi! > >Anybody on this, pleeeease? :) > >Am I missing something basilar, or it's a FreeBSD bug? >Incomplete support for the ICH9R? > >I cannot attach the boot log, because the boot process >panics just before mounting the disks and nothing is >logged on /var/log/ > >Anyways, booting in verbose mode shows that the last >activities before it panics are on the disks and fakeraid.. >it finds one of the disks and then the last output before >the panic is about the Intel MatrixRAID. > >Any thoughts on this, please? > >Best regards >Robi > > >Roberto Nunnari wrote: >>Hi all! >>I'm playing with new HW and FreeBSD 6.3 and 7.0. >>I set up raid 1 on two sata disks (fakeraid on ICH9R) >>and as long as I can see, it seams to work very well. >>Now I'm trying to simulate 1 disk failure (I just take >>out a disk and boot again). Doesn't matter which of the >>two disks I take out, the bios correctly shows the raid >>as degraded and bootable, loads the FreeBSD loader, who >>loads the kernel and starts the boot. >>But when the kernel comes to the drives (or the swap?) >>it fatal traps 12. The trap descriptions sais that >>current process is 0 (swapper). >>Reading that I commented out the swap partition from fstab, >>but that doesn't help. >>How can I get the system to finish the boot? >>Thank you and best regards. > I believe these are software RAID and the support for the failover is in the system BIOS. If a drive fails, you need to replace the failed drive and rebuild the array. If you want hot swapable drives in an array, you will need to use a different RAID card that supports that feature. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 16:14:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38BE71065670 for ; Wed, 30 Apr 2008 16:14:55 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd2mo1so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 00C588FC0A for ; Wed, 30 Apr 2008 16:14:54 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K0500D58BSFD4E0@l-daemon> for freebsd-questions@freebsd.org; Wed, 30 Apr 2008 10:14:39 -0600 (MDT) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd3mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K050077VBSDKH30@pd3mr3so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 30 Apr 2008 10:14:39 -0600 (MDT) Received: from gom.home ([70.67.160.176]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K0500BQBBSA2W40@l-daemon> for freebsd-questions@freebsd.org; Wed, 30 Apr 2008 10:14:35 -0600 (MDT) Received: from gom.home (localhost [127.0.0.1]) by gom.home (Postfix) with ESMTP id CDC31B83E for ; Wed, 30 Apr 2008 09:14:29 -0700 (PDT) Date: Wed, 30 Apr 2008 09:14:28 -0700 From: prad In-reply-to: <2c13f6e70804300523o4be559edo7583b1bcf2b20d85@mail.gmail.com> To: freebsd-questions@freebsd.org Message-id: <20080430091428.0f93391a@gom.home> MIME-version: 1.0 X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <2c13f6e70804300523o4be559edo7583b1bcf2b20d85@mail.gmail.com> Subject: Re: 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: Wed, 30 Apr 2008 16:14:55 -0000 On Wed, 30 Apr 2008 17:23:48 +0500 "Farooq Hussain" wrote: > Please tell me how i will configure PHP with apache. > does anyone know why php package doesn't run from apache and you need to install it from ports (selecting the apache option)? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 16:19:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91E47106564A for ; Wed, 30 Apr 2008 16:19:15 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2358FC16 for ; Wed, 30 Apr 2008 16:19:15 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by ptb-relay03.plus.net with esmtp (Exim) id 1JrF1V-0005UW-Ci; Wed, 30 Apr 2008 17:19:13 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1JrF1U-0007pM-HB; Wed, 30 Apr 2008 17:19:13 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 17:19:11 +0100 User-Agent: KMail/1.9.7 References: <200804290928.03808.jmc-freebsd@milibyte.co.uk> <44k5if5v4u.fsf@be-well.ilk.org> In-Reply-To: <44k5if5v4u.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804301719.12331.jmc-freebsd@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: a009bcaab3d1289a6e8f1c340b37a9a5 Cc: Lowell Gilbert Subject: Re: Distfile size mismatch for ImageMagick portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 16:19:15 -0000 On Wednesday 30 April 2008, Lowell Gilbert wrote: > The tarball was re-rolled. > The port has now been updated accordingly. Thanks. I've got the new version now -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 16:36:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FF341065670 for ; Wed, 30 Apr 2008 16:36:03 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACC88FC1C for ; Wed, 30 Apr 2008 16:36:02 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA09.westchester.pa.mail.comcast.net with comcast id KrfA1Z04N0mv7h05901F00; Wed, 30 Apr 2008 16:17:47 +0000 Received: from LIGHTBULB.LOCAL ([68.35.224.189]) by OMTA11.westchester.pa.mail.comcast.net with comcast id KsL01Z00B45o48c3X00000; Wed, 30 Apr 2008 16:20:02 +0000 X-Authority-Analysis: v=1.0 c=1 a=Ck9RShW4xEpR9f8_v-sA:9 a=wMDdHx_L4YUnFXRz2P1iEVpCKd8A:4 a=50e4U0PicR4A:10 Message-ID: <48189C0F.5000108@comcast.net> Date: Wed, 30 Apr 2008 12:19:27 -0400 From: Nathan Lay User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: BSDL C data structure library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 16:36:03 -0000 Hi list, As the subject suggests, is there a BSD licensed generalized C data structure library? I noticed there is GDSL but I really don't want to use it because of the GPL. If such a data structure library doesn't exist, I'd be extremely happy and willing to write one for the BSD community. Best Regards, Nathan Lay From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 16:54:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E57810657A0 for ; Wed, 30 Apr 2008 16:54:23 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 666728FC24 for ; Wed, 30 Apr 2008 16:54:23 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 43A371CC91; Wed, 30 Apr 2008 08:54:22 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 18:54:19 +0200 User-Agent: KMail/1.9.7 References: <48189C0F.5000108@comcast.net> In-Reply-To: <48189C0F.5000108@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804301854.20425.fbsd.questions@rachie.is-a-geek.net> Cc: Nathan Lay Subject: Re: BSDL C data structure library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 16:54:23 -0000 On Wednesday 30 April 2008 18:19:27 Nathan Lay wrote: > Hi list, > As the subject suggests, is there a BSD licensed generalized C data > structure library? I noticed there is GDSL but I really don't want to > use it because of the GPL. If such a data structure library doesn't > exist, I'd be extremely happy and willing to write one for the BSD > community. Well, partly. queue(3) shows you the linked lists/queues that are basically a preprocessor hack, but work quite well. I personally dont know about anything in base, for the other structures mentioned on the GDSL homepage. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 17:07:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 137071065680 for ; Wed, 30 Apr 2008 17:07:44 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id C33228FC20 for ; Wed, 30 Apr 2008 17:07:43 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.2/8.14.2) with ESMTP id m3UH7fsw014085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 30 Apr 2008 12:07:41 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.2/8.14.2/Submit) id m3UGxHR7091153; Wed, 30 Apr 2008 11:59:17 -0500 (CDT) (envelope-from dan) Date: Wed, 30 Apr 2008 11:59:17 -0500 From: Dan Nelson To: Mel Message-ID: <20080430165917.GF52393@dan.emsphone.com> References: <48189C0F.5000108@comcast.net> <200804301854.20425.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804301854.20425.fbsd.questions@rachie.is-a-geek.net> X-OS: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org, Nathan Lay Subject: Re: BSDL C data structure library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 17:07:44 -0000 In the last episode (Apr 30), Mel said: > On Wednesday 30 April 2008 18:19:27 Nathan Lay wrote: > > As the subject suggests, is there a BSD licensed generalized C data > > structure library? I noticed there is GDSL but I really don't want > > to use it because of the GPL. If such a data structure library > > doesn't exist, I'd be extremely happy and willing to write one for > > the BSD community. > > Well, partly. queue(3) shows you the linked lists/queues that are > basically a preprocessor hack, but work quite well. I personally dont > know about anything in base, for the other structures mentioned on > the GDSL homepage. also provides implementations of splay and red-black trees. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 17:11:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C8261065675 for ; Wed, 30 Apr 2008 17:11:22 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B13CA8FC18; Wed, 30 Apr 2008 17:11:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4818A835.4080503@FreeBSD.org> Date: Wed, 30 Apr 2008 19:11:17 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Mel References: <48189C0F.5000108@comcast.net> <200804301854.20425.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200804301854.20425.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Nathan Lay Subject: Re: BSDL C data structure library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 17:11:22 -0000 Mel wrote: > On Wednesday 30 April 2008 18:19:27 Nathan Lay wrote: >> Hi list, >> As the subject suggests, is there a BSD licensed generalized C data >> structure library? I noticed there is GDSL but I really don't want to >> use it because of the GPL. If such a data structure library doesn't >> exist, I'd be extremely happy and willing to write one for the BSD >> community. > > Well, partly. queue(3) shows you the linked lists/queues that are basically a > preprocessor hack, but work quite well. > I personally dont know about anything in base, for the other structures > mentioned on the GDSL homepage. > See e.g. for splay and RB trees Kris From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 18:07:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7F9F1065673 for ; Wed, 30 Apr 2008 18:07:32 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC688FC0C for ; Wed, 30 Apr 2008 18:07:32 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so117766ana.13 for ; Wed, 30 Apr 2008 11:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=xswS3qhrQHr1MFKCECqNvufdmpET1uSM15Lz5dJrTg4=; b=hBf6ynKOq8gTeFj4Snf/gU7323Rx2pxlauCrTqau7gvPclGZLejo6M7mVQd+X2fxLKVq6OzZ9lsJ4VDrfT0yiABc1bZGw3+Kb8+MV2bWVPujUKMusq/L14ruk7gThX3wID/12JIC+gGkkO+GvDNN6uooAPYCDmC8HJrVxbLi1+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=tDjGikn+Aki8KVnMnwtd4UThOINdRLNVfAgSujPIqHbSJUR/4NeD8KWGwR56Nx0/Ltem7l4s30O/VuAv23u1EfEMJJ3WA3t8Q6C1CLqJ5yA4VoNTMowaa2q4RvsrdEh250QE5V0fJZplLhXH5a5sahdd8oSxiPSPnCxHgFfsdng= Received: by 10.100.127.15 with SMTP id z15mr1749995anc.61.1209578851818; Wed, 30 Apr 2008 11:07:31 -0700 (PDT) Received: by 10.100.253.13 with HTTP; Wed, 30 Apr 2008 11:07:31 -0700 (PDT) Message-ID: <539c60b90804301107j7b1aefa4tabaa67a43410e3a5@mail.gmail.com> Date: Wed, 30 Apr 2008 11:07:31 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 2852d8b3fd1cbc65 Subject: driver for Atheros L2 10/100 lan? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 18:07:33 -0000 Anyone know if this is in the works? Not an issue, my second NIC works fine, but I'd like to use the onboard one day... Steve From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 18:58:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C3801065670 for ; Wed, 30 Apr 2008 18:58:57 +0000 (UTC) (envelope-from sashi@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 893A88FC21 for ; Wed, 30 Apr 2008 18:58:56 +0000 (UTC) (envelope-from sashi@gmx.de) Received: (qmail invoked by alias); 30 Apr 2008 18:58:54 -0000 Received: from e180197194.adsl.alicedsl.de (EHLO [49.1.1.104]) [85.180.197.194] by mail.gmx.net (mp042) with SMTP; 30 Apr 2008 20:58:54 +0200 X-Authenticated: #546547 X-Provags-ID: V01U2FsdGVkX19H7edopbJHQVhniNqdiuz9gOMogHVHcie82X3hqe aIsCAaFnYBo+s8 Message-ID: <4818C23C.1000707@gmx.de> Date: Wed, 30 Apr 2008 21:02:20 +0200 From: Sashi Asokarajan User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48144B2D.7000300@gmx.de> In-Reply-To: <48144B2D.7000300@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: libstdc++ localization aborts with an exception X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 18:58:57 -0000 Marian Asokarajan wrote: > And probably the "darwin" (or "generic") model is used, instead of "gnu" > (s.a. line 5801 in file /usr/src/contrib/libstdc++/configure). > If it is so, why doesn't the "gnu" model apply to FreeBSD ? I posted the same question to the libstdc++ mailing list and benjamin kindly answered my question and he suggested the following: BK> It looks like it has something to do with ctype, and nothing to do with BK> named locales. BK> Named locales only work on GNU systems, or with systems that implement BK> the new POSIX locale model (newlocale/duplocale/strcoll_l, etc). From BK> what I understand, neither FreeBSD 7 nor Darwin meet these requirements. So, is his suggestion right ? -- Sashi Asokarajan From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 19:19:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2343A106566C for ; Wed, 30 Apr 2008 19:19:10 +0000 (UTC) (envelope-from thenudnik@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id CD2E18FC15 for ; Wed, 30 Apr 2008 19:19:09 +0000 (UTC) (envelope-from thenudnik@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so338553ywh.13 for ; Wed, 30 Apr 2008 12:19:03 -0700 (PDT) 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:content-type:content-transfer-encoding; bh=GTlGAhS2EkWGUR4iM/ePDCi1NoZVTnKnzlmN3Dv51oQ=; b=lsDSiA4bhfj0X6J4vhZS8TMlQ1UfpXXINcG4YAcADqSrNCvJUEJihZC/RAHJeCMM7tjQlqAeoNg5530NjoVr2Uu8LWvB0zwuN2IAe6OenR2Wtc+VwXweTWdGQkeBoUx5LE9dVkqTUqn4jB/R55Sq8MtF6MUGMpMshcAdgLj0v6c= 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=XeM52u0AdZJ6r3Td6TWZz5su5Bhsw8D92MRq8jHPTZBdx+X/0Gy69fm0UytJ4lr5lpUqWiO9jzUtdxCrkRy804a+SCqozNVv4VVozEeVQbISZIdty7RrJINLDmfHWD/X/C39oSGLgNxKmZ3sAnRdokSZ8XQmwtwY9F5xCgpCBFI= Received: by 10.150.83.42 with SMTP id g42mr1502698ybb.198.1209582721197; Wed, 30 Apr 2008 12:12:01 -0700 (PDT) Received: from dhcppc0.hourly ( [67.235.234.20]) by mx.google.com with ESMTPS id 5sm3142276ywd.0.2008.04.30.12.11.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Apr 2008 12:12:00 -0700 (PDT) Message-ID: <4818C475.9070800@gmail.com> Date: Wed, 30 Apr 2008 15:11:49 -0400 From: "David M. Patronis" User-Agent: Thunderbird 2.0.0.9 (X11/20080212) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Mystery Hardware Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 19:19:10 -0000 When I burn a data cd using the burncd utility, I get this error at the end of the session: acd0: FAILURE-READ_BIG HARDWARE ERROR asc=0x3e ascq=0x2 When I burn a second disc, there is no error message, and I've yet to have a bad burn. In fact I'm getting quality superior to that I was able to produce using Windows or Linux. What does the error mean, should I be concerned, and if so, what steps should I take to resolve the problem? David From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 19:36:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F3DE106566B for ; Wed, 30 Apr 2008 19:36:25 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: from web25007.mail.ukl.yahoo.com (web25007.mail.ukl.yahoo.com [217.146.183.110]) by mx1.freebsd.org (Postfix) with SMTP id 58F1F8FC18 for ; Wed, 30 Apr 2008 19:36:24 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: (qmail 21807 invoked by uid 60001); 30 Apr 2008 19:36:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=PEHQ8J/CGlGXxza9QG2z2WeVPH6EREVTIWK81KbGIkxhi/XsHm+Alh1sLuvpeVEKJAUB1ovgkALofQAuA4kVbhanSf4orIWE93gCwJKJUwlOJyF8A70YNHIjVd6AwjPUsEngY0c/DMSdIywOri5POuowr8kKgjVXVgufg9aNe/o=; X-YMail-OSG: J89dI40VM1kGi0Coi8mVn5aBRMK9aAVbf8jW1723fmjIN4MGfozQ6FlMlDUa33bU3ZuEYL2XcpG8BL3aVdWIr932eJr5RtDKHScK6PLArQNvzqi_QGq8T4rCyA-- Received: from [83.67.114.101] by web25007.mail.ukl.yahoo.com via HTTP; Wed, 30 Apr 2008 20:36:22 BST Date: Wed, 30 Apr 2008 20:36:22 +0100 (BST) From: Robert Davison To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <921773.21289.qm@web25007.mail.ukl.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 19:36:25 -0000 Im getting the followng error from freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Can anyone shed any light on why the public key is failing. --------------------------------- Sent from Yahoo! Mail. A Smarter Email. From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 19:43:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 269EC106564A for ; Wed, 30 Apr 2008 19:43:27 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id AFEE58FC29 for ; Wed, 30 Apr 2008 19:43:21 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA02.westchester.pa.mail.comcast.net with comcast id KvAQ1Z00q0bG4ec5204000; Wed, 30 Apr 2008 19:42:58 +0000 Received: from LIGHTBULB.LOCAL ([68.35.224.189]) by OMTA03.westchester.pa.mail.comcast.net with comcast id KvjK1Z00645o48c3P00000; Wed, 30 Apr 2008 19:43:21 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=RxGvw6ywAAAA:8 a=qjaWQYVQAcIiWVAZCZwA:9 a=ZqSxM_HMNsAEzXobjzMA:7 a=42x_FW_dD9FC7daNuCcwKz-Q7xMA:4 a=SV7veod9ZcQA:10 a=M15ajoi-1mQA:10 Message-ID: <4818CBB6.2050901@comcast.net> Date: Wed, 30 Apr 2008 15:42:46 -0400 From: Nathan Lay User-Agent: Thunderbird 2.0.0.12 (X11/20080313) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48189C0F.5000108@comcast.net> In-Reply-To: <48189C0F.5000108@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: BSDL C data structure library X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 19:43:27 -0000 Nathan Lay wrote: > Hi list, > As the subject suggests, is there a BSD licensed generalized C data > structure library? I noticed there is GDSL but I really don't want to > use it because of the GPL. If such a data structure library doesn't > exist, I'd be extremely happy and willing to write one for the BSD > community. > > Best Regards, > Nathan Lay > _______________________________________________ > 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" > Hi list, Thanks for all the prompt responses. I knew about the macros but was thinking of something more automated and complete (in the sense that all common data structures are supported). I implemented a simple and generalized vector in C to demonstrate what I have in mind: http://people.scs.fsu.edu/~nlay/bdsl.tar.gz A toy program is included. I ultimately want close to STL's functionality. Any comments and criticisms are appreciated. Best Regards, Nathan Lay From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 19:44:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 592571065674 for ; Wed, 30 Apr 2008 19:44:21 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: from web25006.mail.ukl.yahoo.com (web25006.mail.ukl.yahoo.com [217.146.183.109]) by mx1.freebsd.org (Postfix) with SMTP id A19AB8FC0C for ; Wed, 30 Apr 2008 19:44:20 +0000 (UTC) (envelope-from rob_27_preston@yahoo.co.uk) Received: (qmail 56901 invoked by uid 60001); 30 Apr 2008 19:44:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=TI43sJmbcl9LD0MLhLfsWuJSNbtYGAGtEV1tJUD8MdOvCeJm40CBwPvcXFZ3KiKOBlMuJg/eUAC8W5YRSyd6waCR6vHg0iMtfoLxrNBzZXMQRVqF0CHv2NKgm8GVOVKlrNDLM9mBT0yQMS8NfOZE/pEr+2p+Bm4BRPR5vkln/gw=; X-YMail-OSG: 5y1uslMVM1lWHj7YIbUmQ0MXlBm6RJmac1PBxy.8JqH39oLrw7taP8k6DJ219K.guH28k82509PQx.TVvqLm.PBWwT.QhbgZp_VQmB3EdVsSnCz10T4fLQzm5Q-- Received: from [83.67.114.101] by web25006.mail.ukl.yahoo.com via HTTP; Wed, 30 Apr 2008 20:44:19 BST Date: Wed, 30 Apr 2008 20:44:18 +0100 (BST) From: Robert Davison To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <327038.56826.qm@web25006.mail.ukl.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd-update key error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 19:44:21 -0000 Im getting the followng error from freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Can anyone shed any light on why the public key is failing. --------------------------------- Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 21:23:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA81106567A for ; Wed, 30 Apr 2008 21:23:28 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 386908FC1A for ; Wed, 30 Apr 2008 21:23:28 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so722092wah.3 for ; Wed, 30 Apr 2008 14:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=1KiCtoOBJb8wtrrdJ1IleZnKBQ8/yMszbJX8s6sEQtg=; b=qzvha/yAhuzpDT4LPHsWimYwGUAoWyJfkh4+8ty0KknojJgVGFmWEvjmZdnz0S2O5Kc+ow3ool1K8LIm9PmotPqlB5vt9AMcP1ORNGugmkUueRxvnlMa8JfNDFwpoJK9B0MW4sN62HbGfVmxYm1ZeHoB+5YyFKCptU+ezc4R8bY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sto5TRucs7C8eDoAq1vzmvyptqIia5tWkpkGNBFCWIlmMVBDq4QFNrFAhgkvkI4u8MKGDT8QgT0NoiTku9irjnZCJxOrQD685Y7cqrBqMPHvWzTiHf/xn1IPAxQG23oYJp5RJpHUYbyozxNqYMKxim626QaeTxptNPNBbBXs7SE= Received: by 10.114.171.1 with SMTP id t1mr1325941wae.124.1209590607965; Wed, 30 Apr 2008 14:23:27 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Wed, 30 Apr 2008 14:23:27 -0700 (PDT) Message-ID: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> Date: Wed, 30 Apr 2008 17:23:27 -0400 From: alexus To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 21:23:28 -0000 dd# make cleandepend && make depend rm -f .depend machine amd64 cd ../../../modules; MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend ===> aac (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> accf_data (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> accf_http (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> acpi (cleandepend) ===> acpi/acpi (cleandepend) "Makefile", line 4: "ACPI can only be compiled into the kernel on the amd64 and ia64 platforms" *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/dd. dd# I took GENERIC and rewise it a little bit -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 21:51:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C18D91065671 for ; Wed, 30 Apr 2008 21:51:36 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id CA24B8FC1D for ; Wed, 30 Apr 2008 21:51:34 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from [10.1.11.1] ([10.1.11.1]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m3ULoTD3051746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 30 Apr 2008 23:50:30 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Wed, 30 Apr 2008 23:52:01 +0200 User-Agent: KMail/1.9.4 References: <226ae0c60804300743x3d92cb28lbff81cf37b49df65@mail.gmail.com> In-Reply-To: <226ae0c60804300743x3d92cb28lbff81cf37b49df65@mail.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-Spam-Score: -4.368 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 21:51:36 -0000 On Wednesday 30 April 2008 16:43, David Robillard wrote: > > On Wednesday 30 April 2008 11:00, O. Hartmann wrote: > > [ --- 8< --- SNIP! --- 8< --- ] > > > It's true that an object can only belong to one structural class > > (although it can belong to many auxiliary classes). > > > > I use the auxiliary class extensibleObject, which allows you to add any > > attribute to an LDAP object. My user accounts have three object classes: > > inetOrgPerson (the structural class), posixAccount and extensibleObject. > > The rules for the first two are still enforced, but I am able to add the > > Host: attribute. > > > > Jonathan > > That sounds very interesting Jonathan. Could you please share with us > the complete LDIF data used to create such a user? This is live from my LDAP server: # jfm, group, hst.org.za dn: cn=jfm,ou=group,dc=hst,dc=org,dc=za objectClass: posixGroup gidNumber: 1001 cn: jfm # jfm, people, hst.org.za dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za objectClass: inetOrgPerson objectClass: posixAccount objectClass: extensibleObject sn: McKeown cn: Jonathan McKeown uidNumber: 1001 gidNumber: 1001 mail: jonathan@hst.org.za loginShell: /usr/local/bin/bash host: charlotte.hst.org.za host: clare.hst.org.za uid: jfm homeDirectory: /home/jfm There is, of course, also a userPassword attribute in the user account. (You didn't expect me to show you that, did you?!) Using posixGroup, the attribute for adding additional members to a group is memberUid. There's a bit more to getting this all working: configuring slapd.conf with appropriate schemas, installing and configuring pam_ldap and nss_ldap, and setting up PAM correctly. I can go into excruciating detail if you like... My only irritation is that although passwd(1) in 6.3 has the code within it to allow it to be controlled by PAM, it's all currently diked out, so that you can't use passwd(1) transparently with LDAP users. (As far as I know this hasn't changed in 7.0). inetOrgPerson gives you a huge number of optional fields for other information, up to and including a JPEG photo. It inherits from organizationalPerson which inherits from person, so you need to combine all three sets of attributes to get the complete spec for inetOrgPerson (note the only MUST attributes are sn and cn from person): NAME 'inetOrgPerson' DESC 'RFC2798: Internet Organizational Person' SUP organizationalPerson STRUCTURAL MAY ( audio $ businessCategory $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ givenName $ homePhone $ homePostalAddress $ initials $ jpegPhoto $ labeledURI $ mail $ manager $ mobile $ o $ pager $ photo $ roomNumber $ secretary $ uid $ userCertificate $ x500uniqueIdentifier $ preferredLanguage $ userSMIMECertificate $ userPKCS12 ) NAME 'organizationalPerson' DESC 'RFC2256: an organizational person' SUP person STRUCTURAL MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) We're hardly using any of these, but it seemed to make more sense to build it in, in case. Jonathan From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 22:28:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945B2106566B for ; Wed, 30 Apr 2008 22:28:46 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 462638FC19 for ; Wed, 30 Apr 2008 22:28:46 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so139516ana.13 for ; Wed, 30 Apr 2008 15:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=0mrUvjL156CEp0MU5GTbgPbhf8EEHzbymp1VF+G7S2E=; b=mLMyOQ9HYp+BujbIcaZ2zOmwjAmBciGm2PG1TXYi9a2CXVNC2jXF+f8F+xghUibu+l8osoil/uO3MhKOT1md6oKPb8KMP6emKO5m137ebEZHGEq+yLWlf7516Osl4w3R9qXRtTLGPkObxBWH5bTdNSwpgItx00rZm4pjB7Gkil4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kxemDDc3FJ0QxA2WneHJbDFLU27QtP/oLT50fkbgtLwfXoGWKnLpK/38saX/syM21YfFhglTAVYx5DSBV9Q+lS/C2Y8BfllunJuIxrjWK0sBgE2ZjMR8HnaIteYvhwyGBHv1FFOHB5ctY7XPhh7Qa5oYYplUo0u0jc3c3EqOsjs= Received: by 10.101.68.10 with SMTP id v10mr2218639ank.45.1209594525605; Wed, 30 Apr 2008 15:28:45 -0700 (PDT) Received: by 10.100.208.8 with HTTP; Wed, 30 Apr 2008 15:28:45 -0700 (PDT) Message-ID: <51d7a5160804301528r5d25b643j72c3397fc79bc581@mail.gmail.com> Date: Wed, 30 Apr 2008 15:28:45 -0700 From: perikillo To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Support for SCSI Card LSI LSI20160? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Apr 2008 22:28:46 -0000 I have a scsi card from LSI, the model is LSI20160, some knows if this is support on FreeBSD 6.x or FreeBSD 7.0? I have been googling but i didn't anything related. Thanks!! From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 23:58:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92421065670 for ; Wed, 30 Apr 2008 23:58:53 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from post.queensu.ca (post.QueensU.CA [130.15.126.6]) by mx1.freebsd.org (Postfix) with ESMTP id 7C64F8FC16 for ; Wed, 30 Apr 2008 23:58:53 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from U48.N136.QueensU.CA (U48.N136.QueensU.CA [130.15.136.48]) by post.queensu.ca (8.13.1/8.13.1) with ESMTP id m3UNwdVY026310 for ; Wed, 30 Apr 2008 19:58:49 -0400 (EDT) Date: Wed, 30 Apr 2008 20:58:46 -0300 (ADT) From: A Hamilton-Wright To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: dmesg empty after shutdown -r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 23:58:53 -0000 This is very strange. After "shutdown -r now" and the subsequent reboot, I have logged in to my machine FreeBSD qemg.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Everything seems to be running normally, except "dmesg" produces no output, and /var/run/dmesg.boot is zero bytes long. Does anyone have any ideas why this would ever occur? Or even how it could occur? Andrew. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 02:38:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34766106566B for ; Thu, 1 May 2008 02:38:45 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id DF5528FC16 for ; Thu, 1 May 2008 02:38:44 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so420062ywh.13 for ; Wed, 30 Apr 2008 19:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=G9cECo911EXGDVvVtkyTYatHSJlPAtAP4tJe69neCtc=; b=Ay8RTXVZqGqOUzD2bXZvTZ4dyB0CcWZkZDze9BhiKQQ9SDKwNvf9lIEI2A6wQWtJ5rygYuSoYZ/4q+q0AiQjZo2hWvofItBmpN3VhCo262SVZqo50vjoofxnLPlaRSssJGPHw1fTngRmEoLUNGxJsRWgCvRBpWP1cX9EO/UKDeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=sn5Oz7ma5B7QLp/2lbNWlgWR4mQ34X7WT9cmnb3fIbjHBH0qoQqosnKsCcrpJ4yoLvgZyrsXZ6QMtPztkubZDmJOYa18M/9CIBbVX8aIVKjVwi/USTGw3i1tS2gizYGrDc/0PHtSuXQefITr++cqoWdyWJZI/Pn/OPXyyakY3wI= Received: by 10.150.83.29 with SMTP id g29mr1892750ybb.142.1209609516231; Wed, 30 Apr 2008 19:38:36 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Wed, 30 Apr 2008 19:38:36 -0700 (PDT) Message-ID: Date: Thu, 1 May 2008 10:38:36 +0800 From: "Ruel Luchavez" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: DNS 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, 01 May 2008 02:38:45 -0000 Hi.. I dont know if this post belong here..but i try searching anywhere but none could solve my problem..hope someone will help me here I have problem in my load images using Mozilla & IE, the image can't load for example in site of friendster most images don't load, i have read lots of blogs about it some says that its a "BUG" from friendster but they say they it was already. Suddenly, i read from one blog by changing the DNS in IPV4 properties of Network Connection it will fix the problem honestly i followed the instruction and gotcha it work out. but when i resume it to its current configuration "Obtain DBS server automatically" the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server "/etc/rc.d/named restart" but nothing happens the problem is still there..Is there any one here could help me solve it? Hope someone here will help me, I'm stuck in this problem for 3 weeks, another thing only site friendster the images dont load no other site else... Thanks..:( From owner-freebsd-questions@FreeBSD.ORG Thu May 1 02:44:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FB4106564A for ; Thu, 1 May 2008 02:44:57 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id EFEE48FC12 for ; Thu, 1 May 2008 02:44:56 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 26761 invoked by uid 1006); 1 May 2008 02:18:16 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 0.117385 secs); 01 May 2008 02:18:16 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO laz1) (172.16.0.69) by -v with SMTP; 1 May 2008 02:18:16 -0000 Received: from [10.75.0.1] by webmail.vandaliamo.net with HTTP; Thu, 1 May 2008 02:18:16 +0000 Date: Thu, 1 May 2008 02:18:16 +0000 (GMT) From: Jay Hall To: freebsd-questions@freebsd.org Message-ID: <19839418.168091209608296130.JavaMail.javamailuser@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=no Content-Transfer-Encoding: 7bit User-Agent: Laszlo Mail 2 X-Originating-IP: [10.75.0.1] Content-Disposition: inline Subject: Perl 5.8.8 Compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhall@vandaliamo.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 02:44:57 -0000 I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location. make: don't know how to make . Stop. I have run make depend, and it finishes without any problems. I'm sure this is something simple I am missing because I have been looking at the problem for so long. Thanks in advance for your assistance. Jay From owner-freebsd-questions@FreeBSD.ORG Thu May 1 05:46:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79829106566C for ; Thu, 1 May 2008 05:46:52 +0000 (UTC) (envelope-from freebsd-questions@lists.goldenpath.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 5C15B8FC18 for ; Thu, 1 May 2008 05:46:52 +0000 (UTC) (envelope-from freebsd-questions@lists.goldenpath.org) Received: from randymail-a8.g.dreamhost.com (sd-green-bigip-202.dreamhost.com [208.97.132.202]) by hapkido.dreamhost.com (Postfix) with ESMTP id BCB3D1787B2 for ; Wed, 30 Apr 2008 22:20:23 -0700 (PDT) Received: from [127.0.0.1] (shekel.dreamhost.com [208.113.247.228]) by randymail-a8.g.dreamhost.com (Postfix) with ESMTP id 8F043AF917; Wed, 30 Apr 2008 22:20:22 -0700 (PDT) Message-ID: <48195315.2010101@lists.goldenpath.org> Date: Thu, 01 May 2008 01:20:21 -0400 From: "T." User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Edward Ruggeri References: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> In-Reply-To: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Even more documentation? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 05:46:52 -0000 Edward Ruggeri wrote: > Hi all, > > I've used FreeBSD for about two years now. Besides using Linux for > projects on school computers, I never had much experience with > Unix-like operating systems. While I get by nicely on FreeBSD, I > recently felt that I didn't have a very solid understanding of it's > organization or structure. I suppose one can't know everything about > an operating system with as much functionality as FreeBSD, but I > started to feel like my knowledge was really ad-hoc, and that I didn't > completely understand what I was doing (as if I had learned only by > example). > > To that end, I started reading the FreeBSD handbook front-to-back. > I've gotten to Part III, and while it's been very valuable, I still > feel like I'm learning by example, and not by understanding the > operating system. I'm starting to think I'm expecting something out > of the handbook it's not designed to do. > > It seems like the man pages would be a good place to go, but my > trouble with using them is that they're difficult to put together the > information on different pages. I suppose I want something like a > textbook. I dream of a K&R type text that is very comprehensive and > well-organized. > > If anyone has advice, I'd very much appreciate it! > > Sincerely, > > -- Ned Ruggeri A lot more than just the handbook and man pages: http://www.freebsd.org/doc/en/books/ Design and Implementation is dense if you're not at that level of understanding yet. It's the high level, comprehensive OS engineering manual. And, like any engineering manual, by it's nature (not reflecting on McKusick), it can put you to sleep trying to read it front to back. Honestly, it's too much too fast to practically learn from unless your already familiar with designing and implementing an OS and just want to get up to speed on FreeBSD. The purpose spans the whole OS, so it's impossible to find focus on some relevant achievable goal in a straight front to back reading. I'm finding it better for referencing particular internals you're focusing on at the moment. A fun and exciting whirlwind tour that cuts quickly to the most significant internals and is strictly focused with a well defined and immediately achievable purpose is "Designing BSD Rootkits" by Joseph Kong. You'll be tinkering with protocol structures and manipulating critical system tables a lot faster. It's a serious eye-opener. What you will find is that, in terms of development, /usr/src and analysis tools are the ultimate resources. In terms of system administration, the Handbook, man pages and domain specific documentation are your best reference. Your best resource is experience. Ultimately, FreeBSD is just another system. The system must have a purpose. Your purpose will entail providing services. Your experience will be in mastering these services. Services are more so defined by their protocols and APIs than by the systems they're hosted on. Once you put it in perspective, the system is really just another collection of services, but these focus on providing a standard interface to the actual hardware beneath that make it all possible. But that's not entirely accurate, because ultimately, it's people that have made it possible, not the machines. Again and again, it comes down to "Purpose" and focus. So, the real question becomes not one of resources (of which, there are plenty), but of inspiration and creativity. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 06:12:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E33F6106564A for ; Thu, 1 May 2008 06:12:49 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id C01588FC19 for ; Thu, 1 May 2008 06:12:49 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m416ClRl017315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Apr 2008 23:12:49 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m416ClKs017314; Wed, 30 Apr 2008 23:12:47 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01503; Wed, 30 Apr 08 23:02:20 PDT Date: Wed, 30 Apr 2008 23:00:23 -0700 From: perryh@pluto.rain.com To: tijl@ulyssis.org Message-Id: <48195c77.gWKwJdFnMZSip4d4%perryh@pluto.rain.com> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804201359.36883.tijl@ulyssis.org> <480ed31a.HvK8tbgcrTzAxWiD%perryh@pluto.rain.com> <200804231409.21628.tijl@ulyssis.org> In-Reply-To: <200804231409.21628.tijl@ulyssis.org> 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: wine: notepad OK, others not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 06:12:50 -0000 > You have to mount the floppy and then link a: to the mount point. > So if you mount it under /mnt you'd need this: > > mount -t msdosfs /dev/fd0 /mnt > ln -s /mnt ~/.wine/dosdevices/a: That got only a little bit farther. It did find the setup program, and the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although it did allow AltTab to bring up FVWM's window list). After clicking OK: Visio Setup i Setup failed. and it quit. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 08:20:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DDC81065676 for ; Thu, 1 May 2008 08:20:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E518D8FC26 for ; Thu, 1 May 2008 08:20:27 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id CCB041CC91; Thu, 1 May 2008 00:20:26 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 10:19:50 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> Cc: A Hamilton-Wright Subject: Re: dmesg empty after shutdown -r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 08:20:28 -0000 On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > After "shutdown -r now" and the subsequent reboot, I have > logged in to my machine > FreeBSD qemg.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 > UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > amd64 > > Everything seems to be running normally, except "dmesg" produces > no output, and /var/run/dmesg.boot is zero bytes long. > > Does anyone have any ideas why this would ever occur? Or even how > it could occur? dmesg -M doesn't show anything either? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 09:00:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36F8F1065670 for ; Thu, 1 May 2008 09:00:57 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.freebsd.org (Postfix) with ESMTP id B25CB8FC20 for ; Thu, 1 May 2008 09:00:56 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id 7348D32281D for ; Thu, 1 May 2008 11:00:54 +0200 (CEST) Received: from DIMENSION (lns-bzn-48f-62-147-252-233.adsl.proxad.net [62.147.252.233]) by smtp7-g19.free.fr (Postfix) with ESMTP id 6F896322807 for ; Thu, 1 May 2008 11:00:53 +0200 (CEST) From: "Olivier GARNIER" To: Date: Thu, 1 May 2008 11:01:02 +0200 Message-ID: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AciraeG5DUSV3Rx+TpCfgVZUFwe0EA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Nut problem and last message repeated in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 09:00:57 -0000 There are my questions: > Does anyone become to correct the same problem and can help me to correct this? > Can anyone tell my how to see the "last message" which is repeated hundred times? I've got an MGE ellipse 750 USBS. I've connected it to my server with USB cable. I've installed NUT via ports. Now this service is crashing very often. For example it crashes yesterday 23h16, I restarted it and when I watch it today : # dmesg - a . Apr 30 23:12:38 myhost last message repeated 120 times Apr 30 23:16:28 myhost last message repeated 46 times Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - Server disconnected May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - Data stale May 1 08:58:19 myhost last message repeated 7 times May 1 09:00:24 myhost last message repeated 25 times May 1 09:10:29 myhost last message repeated 121 times May 1 09:20:34 myhost last message repeated 121 times May 1 09:30:35 myhost last message repeated 120 times May 1 09:40:40 myhost last message repeated 121 times May 1 09:50:40 myhost last message repeated 120 times May 1 10:00:40 myhost last message repeated 120 times May 1 10:10:40 myhost last message repeated 120 times May 1 10:20:40 myhost last message repeated 120 times May 1 10:30:40 myhost last message repeated 120 times May 1 10:40:40 myhost last message repeated 120 times [myuser@myhost ~]$ /usr/local/etc/rc.d/nut stop Password: Stopping nut. Network UPS Tools - UPS driver controller 2.2.1 [myuser@myhost ~]$ /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Thanks. Olivier From owner-freebsd-questions@FreeBSD.ORG Thu May 1 09:39:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C1D21065672; Thu, 1 May 2008 09:39:56 +0000 (UTC) (envelope-from geo@pulsar.bg) Received: from pulsar.bg (pulsar.bg [213.130.70.6]) by mx1.freebsd.org (Postfix) with ESMTP id C210F8FC15; Thu, 1 May 2008 09:39:55 +0000 (UTC) (envelope-from geo@pulsar.bg) Received: from [212.72.201.62] (helo=GEOPC) by pulsar.bg with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JrV1o-0004Ry-Aa; Thu, 01 May 2008 12:24:36 +0300 Date: Thu, 1 May 2008 12:24:36 +0300 From: Georgi Iovchev X-Mailer: The Bat! (v3.0.1.33) Professional Organization: Pulsar Ltd X-Priority: 3 (Normal) Message-ID: <422521026.20080501122436@pulsar.bg> To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: geo@pulsar.bg Subject: is there driver for (Bearlake) HECI Controller for releng_7 (or 7_0_0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Georgi Iovchev List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 09:39:56 -0000 Hello lists Intel G33 motherboard (Intel DG33FB) with FreeBSD 7 AMD64 (7.0-RELEASE-p1) one thing is missing: [root@asterisk ~]# pciconf -lv | grep -A3 none none0@pci0:0:3:0: class=0x078000 card=0x50448086 chip=0x29c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) HECI Controller' class = simple comms Actually I dont know if I really need this (machine will be used for asterisk voip solution), but for completeness is there a driver for this piece of hardware? 10x in advance From owner-freebsd-questions@FreeBSD.ORG Thu May 1 09:56:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB251106564A for ; Thu, 1 May 2008 09:56:27 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4718FC15 for ; Thu, 1 May 2008 09:56:27 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id A7A8B1CC91; Thu, 1 May 2008 01:56:26 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 11:56:24 +0200 User-Agent: KMail/1.9.7 References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> In-Reply-To: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805011156.25336.fbsd.questions@rachie.is-a-geek.net> Cc: Olivier GARNIER Subject: Re: Nut problem and last message repeated in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 09:56:27 -0000 On Thursday 01 May 2008 11:01:02 Olivier GARNIER wrote: > > Can anyone tell my how to see the "last message" which is repeated > > hundred > > times? ... > Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - > Server disconnected > > May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - > Data stale > > May 1 08:58:19 myhost last message repeated 7 times It's a bit bad choice of words, better would be "previous message repeated 7 times". So the message that is repeated, is the message directly above it. Sorry, can't help you with NUT, but it looks like server disconnects are not handled correctly and just generate hundreds of messages about stale data, rather then refreshing the data. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 11:05:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FD20106564A for ; Thu, 1 May 2008 11:05:54 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 676078FC29 for ; Thu, 1 May 2008 11:05:54 +0000 (UTC) (envelope-from aijaz.abaig@gmail.com) Received: by wf-out-1314.google.com with SMTP id 28so726713wfa.7 for ; Thu, 01 May 2008 04:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=pBp36kvw2MmkywTpyBxyK9BnpNwVb15FrEaukOjpiVI=; b=MnhcqThQRqfb/wbxZfvF6DEY2t4VVHA9wBvcfY8tHE4+Wn8SDcKb/9W8fCMSWHuFuLjZkB5lqFVA9IbkekK9fajojWdrMvt3ej95stBD+KTJ6V1p6oCIkrA5g+GiOy24RrsDHLoPdZKeqXWPz5esa+17YaUWKqdWF5reKTqEIjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qdU6dDS9TI07DfcBnePjUrUCByVZBaseHPZsntdVThwe9KCDhzoBolws2gOEv6syW256Y7lo305JRMXG7UGbnxQSI5zLDCszvFbVQA5w1hLyq6TKhqfcn2xr4LgWwEWmv9kGwQWgsO7YH4gfh/ln2Fivk/kgbD6/jZqI/lbQAZ8= Received: by 10.142.218.4 with SMTP id q4mr731194wfg.261.1209639950877; Thu, 01 May 2008 04:05:50 -0700 (PDT) Received: by 10.142.230.7 with HTTP; Thu, 1 May 2008 04:05:50 -0700 (PDT) Message-ID: <101a1afc0805010405s127300aew5b2d0ecd65c5b6fa@mail.gmail.com> Date: Thu, 1 May 2008 13:05:50 +0200 From: "Aijaz Baig" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gdm sessions - xfce + fluxbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 11:05:54 -0000 Hello, I would want to have a choice at login time between xfce (my default desktop wm) and fluxbox. I have followed the steps from this document : http://geek00l.blogspot.com/2006/06/freebsd-fluxbox-gdm.html but i did not have the xsessions directory under /usr/X11R6/share/gnome/. so i created one and created another file called Fluxbox.desktop inside it. Then followed the rest of the document as is. Additionally I copied the startfluxbox binary to the ~/.Xclients file under the binary for xfce. What has happened now is that I still dont see no choice under the sessions menu in gdm morever i get logged on to xfce first. Now when I log on from xfce I get logged on to fluxbox meaning the fluxbox desktop may be waiting for the x-resources like the screen, mouse etc to become available and then when it does become available it starts to run. Im rather confused. Please help me with this and perhaps give me some insight as to why it is the wa it is if you can Hope to hear from you fellas -- Best Regards, Aijaz From owner-freebsd-questions@FreeBSD.ORG Thu May 1 11:17:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A59B1065674 for ; Thu, 1 May 2008 11:17:16 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 08EEE8FC46 for ; Thu, 1 May 2008 11:17:10 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so1140508fge.35 for ; Thu, 01 May 2008 04:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=S3A9OlInnGuk7KOsnnfKiypuJ/8lcl2tmOnU3ukK0HM=; b=i8ieB9HQpp0qIVpIIMEKKFzvRyeSSBk1Ngk0vgMhXLb2OV2Z4pXX6l2lMhWxBgZ0i/zmi1KJWvciPWc+OrpRWQIpaYDoFUIiOZRVHXBQWeHEJUEpefNqnJQyu+fQsbzIjpFhM0E7hryvVlxYg37b5D421w6la8fFHNY4T7o73pI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=KgKZSeQuJfvtjXGNVYEHBPzPevFr9XhIeBfHprhq8rnhBwr80vyjqcdXiefPdaMjYH5/bEVXfnsQRFC5WZEPQPuHCPjNsj8iRmDQ3B8nj5kcZYhidI06clHbojwa0LH2GHmfkI4wReFSQTq5KtNI1gVFoHPZYkmubUqgbdD8fcY= Received: by 10.86.77.5 with SMTP id z5mr3074474fga.42.1209640629198; Thu, 01 May 2008 04:17:09 -0700 (PDT) Received: from marvelman.marvels.xx ( [77.57.75.125]) by mx.google.com with ESMTPS id l19sm1308179fgb.9.2008.05.01.04.17.07 (version=SSLv3 cipher=OTHER); Thu, 01 May 2008 04:17:08 -0700 (PDT) Message-Id: From: Anselm Strauss To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 1 May 2008 13:17:03 +0200 X-Mailer: Apple Mail (2.919.2) Subject: 7.0-RELEASE + newer kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 11:17:16 -0000 So, I'm one of those trying to run FreeBSD on one of the newest Macbooks. The hardware support looks very good, except that the network chips are not supported. But the Ethernet chip is supported by the msk driver in the current 7.0-STABLE kernel. Now, before I push the whole system from RELEASE to STABLE, is there some chance I can stay with 7.0-RELEASE and just use a new version of the msk module with the release kernel? I compiled the miibus.ko and if_msk.ko modules from a stable kernel, but the latter complains about an undefined symbol 'm_collapse' at loading. This symbol is defined in sys/kern/uipc_mbuf.c, so I think I have bad chances running the new driver on the old kernel. The reasons why I hesitate to upgrade to 7.0-STABLE are: - freebsd-update won't work anymore. How do I then get informed about security updates? - Can't install distributions with sysinstall anymore. Do I just compile everything from source? - How do I actually update from release to stable? I have to compile everything myself from the sources, right? As well as for any update? Thanks for any suggestions, Anselm From owner-freebsd-questions@FreeBSD.ORG Thu May 1 11:34:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E8B4106566B for ; Thu, 1 May 2008 11:34:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2FD358FC1B for ; Thu, 1 May 2008 11:34:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 41F4F1CC91; Thu, 1 May 2008 03:34:49 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 13:34:46 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> Cc: Anselm Strauss Subject: Re: 7.0-RELEASE + newer kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 11:34:50 -0000 On Thursday 01 May 2008 13:17:03 Anselm Strauss wrote: > The reasons why I hesitate to upgrade to 7.0-STABLE are: > > - freebsd-update won't work anymore. How do I then get informed about > security updates? Using your favorite RSS reader and subscribe to: http://www.freebsd.org/security/advisories.rdf > - Can't install distributions with sysinstall anymore. Do I just > compile everything from source? Yes (to distributions, no to ports), but you have to upgrade by source to -STABLE to begin with, unless you want to go the hard way and bake a new CD/DVD. > - How do I actually update from release to stable? I have to compile > everything myself from the sources, right? As well as for any update? The handbook has an entire section for this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 11:58:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19A31065670 for ; Thu, 1 May 2008 11:58:44 +0000 (UTC) (envelope-from andrewhw@ieee.org) Received: from post.queensu.ca (post.QueensU.CA [130.15.126.6]) by mx1.freebsd.org (Postfix) with ESMTP id 54D468FC14 for ; Thu, 1 May 2008 11:58:44 +0000 (UTC) (envelope-from andrewhw@ieee.org) Received: from U48.N136.QueensU.CA (U48.N136.QueensU.CA [130.15.136.48]) by post.queensu.ca (8.13.1/8.13.1) with ESMTP id m41BwaLI019455; Thu, 1 May 2008 07:58:36 -0400 (EDT) Date: Thu, 1 May 2008 08:58:45 -0300 (ADT) From: "A. Hamilton-Wright" Sender: andrew@qemg.org To: Mel In-Reply-To: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> Message-ID: References: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: dmesg empty after shutdown -r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 11:58:44 -0000 > On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > >> After "shutdown -r now" and the subsequent reboot, I have (... no dmesg) On Thu, 1 May 2008, Mel wrote: > > dmesg -M doesn't show anything either? Wish I'd thought to try that last night. I eventually shut it down again (shutdown -p) until I could come in this morning and take a look at the console while booting -- and now everything is fine. I have now tried a few reboots (shutdown -r) and halts (shutdown -h), and I have a dmesg every time it recovers. I will certainly keep an eye on this and see if I can reproduce this in any fashion. If anyone else sees this phenomena (even transiently), I would love to know about it. Andrew. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 12:33:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70D701065670 for ; Thu, 1 May 2008 12:33:05 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2AF8FC19 for ; Thu, 1 May 2008 12:33:05 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 067FD1CC91; Thu, 1 May 2008 04:33:03 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 14:33:02 +0200 User-Agent: KMail/1.9.7 References: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805011433.02733.fbsd.questions@rachie.is-a-geek.net> Cc: "A. Hamilton-Wright" Subject: Re: dmesg empty after shutdown -r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 12:33:05 -0000 On Thursday 01 May 2008 13:58:45 A. Hamilton-Wright wrote: > > On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > >> After "shutdown -r now" and the subsequent reboot, I have > > (... no dmesg) > > On Thu, 1 May 2008, Mel wrote: > > dmesg -M doesn't show anything either? > > Wish I'd thought to try that last night. I eventually shut it > down again (shutdown -p) until I could come in this morning and > take a look at the console while booting -- and now everything > is fine. I have now tried a few reboots (shutdown -r) and halts > (shutdown -h), and I have a dmesg every time it recovers. Just for the record, I asked because by default, dmesg uses kvm_read(3) to read the kernel's message buffer. -M tries to read the sysctl kern.msgbuf, so in the event kvm_read screwed up somewhere without noting an error, the 'backdoor' might just work. Pure speculation without having looked in detail at the kernel code, but I wanted to rule it out. What I did suspect, is that kernel's message buffer didn't get filled to begin with and that's a whole different ballgame. FYI: unless you really need dmesg to work for normal operations, you could've just let it up running and use scroll-lock+arrows/pgup|down to go all the way back up to btx loader. If it was the kernel message buffer not getting filled, I'd suspect some kind of message complaining about that. I know that doesn't help now, but for next time and googlers ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 13:27:13 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EDBF106566C for ; Thu, 1 May 2008 13:27:13 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id B26E98FC1C for ; Thu, 1 May 2008 13:27:12 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id AD2A628459; Thu, 1 May 2008 09:27:11 -0400 (EDT) To: Chris Maness References: <4817F889.80006@chrismaness.com> From: Lowell Gilbert Date: Thu, 01 May 2008 09:27:11 -0400 In-Reply-To: <4817F889.80006@chrismaness.com> (Chris Maness's message of "Tue\, 29 Apr 2008 21\:41\:45 -0700") Message-ID: <44ej8mxihc.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@FreeBSD.org Subject: Re: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 13:27:13 -0000 Chris Maness writes: > I was trying to compile a 7.0 Release and the compile failed. I have > never had a kernel compilation fail before. > > Here is the last of the output: > > opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror > /usr/src/sys/kern/kern_descrip.c > /usr/src/sys/kern/kern_descrip.c:211:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdused': > /usr/src/sys/kern/kern_descrip.c:211: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:211: error: (Each undeclared > identifier is reported only once > /usr/src/sys/kern/kern_descrip.c:211: error: for each function it > appears in.) > /usr/src/sys/kern/kern_descrip.c:227:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdunused': > /usr/src/sys/kern/kern_descrip.c:227: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > cc1: warnings being treated as errors > /usr/src/sys/kern/kern_descrip.c: In function 'kern_fcntl': > /usr/src/sys/kern/kern_descrip.c:383: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:386: warning: implicit declaration of > function 'FILEDESC_UNLOCK' > /usr/src/sys/kern/kern_descrip.c:386: warning: nested extern > declaration of 'FILEDESC_UNLOCK' > /usr/src/sys/kern/kern_descrip.c:540: warning: implicit declaration of > function 'FILEDESC_LOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:540: warning: nested extern > declaration of 'FILEDESC_LOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:543: warning: implicit declaration of > function 'FILEDESC_UNLOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:543: warning: nested extern > declaration of 'FILEDESC_UNLOCK_FAST' > /usr/src/sys/kern/kern_descrip.c: In function 'do_dup': > /usr/src/sys/kern/kern_descrip.c:631: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:670: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c: In function 'kern_close': > /usr/src/sys/kern/kern_descrip.c:994: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:997: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1202:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdgrowtable': > /usr/src/sys/kern/kern_descrip.c:1202: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1224: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1263:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdalloc': > /usr/src/sys/kern/kern_descrip.c:1263: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1313:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdavail': > /usr/src/sys/kern/kern_descrip.c:1313: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c: In function 'falloc': > /usr/src/sys/kern/kern_descrip.c:1351: warning: implicit declaration > of function 'suser_cred' > /usr/src/sys/kern/kern_descrip.c:1351: warning: nested extern > declaration of 'suser_cred' > /usr/src/sys/kern/kern_descrip.c:1351: error: 'SUSER_RUID' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1376: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdinit': > /usr/src/sys/kern/kern_descrip.c:1409: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1409: error: 'FILEDESC_LOCK_DESC' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1411: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fddrop': > /usr/src/sys/kern/kern_descrip.c:1460: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c: In function 'fdcopy': > /usr/src/sys/kern/kern_descrip.c:1514: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1524: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1535: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdfree': > /usr/src/sys/kern/kern_descrip.c:1570: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1598: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1612: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1622: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1653: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'setugidsafety': > /usr/src/sys/kern/kern_descrip.c:1733: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1751: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdclose': > /usr/src/sys/kern/kern_descrip.c:1761: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdcloseexec': > /usr/src/sys/kern/kern_descrip.c:1786: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1808: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'closef': > /usr/src/sys/kern/kern_descrip.c:1904: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1921: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function '_fget': > /usr/src/sys/kern/kern_descrip.c:1962: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fgetsock': > /usr/src/sys/kern/kern_descrip.c:2073: warning: implicit declaration > of function 'NET_ASSERT_GIANT' > /usr/src/sys/kern/kern_descrip.c:2073: warning: nested extern > declaration of 'NET_ASSERT_GIANT' > /usr/src/sys/kern/kern_descrip.c: In function 'dupfdopen': > /usr/src/sys/kern/kern_descrip.c:2238: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'filedesc_to_leader_alloc': > /usr/src/sys/kern/kern_descrip.c:2378: warning: statement with no effect > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > [root@ns2 /usr/src]# exit > exit That's really weird. Is that an unchanged GENERIC kernel, with an empty make.conf? If so, youseem to have something inconsistent in your sources. How did you install the sources? Can you wipe them clean and try again? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 13:30:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFFCB1065677 for ; Thu, 1 May 2008 13:30:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id B9BC48FC17 for ; Thu, 1 May 2008 13:30:48 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 145A528459; Thu, 1 May 2008 09:30:48 -0400 (EDT) To: jhall@vandaliamo.net References: <19839418.168091209608296130.JavaMail.javamailuser@localhost> From: Lowell Gilbert Date: Thu, 01 May 2008 09:30:47 -0400 In-Reply-To: <19839418.168091209608296130.JavaMail.javamailuser@localhost> (Jay Hall's message of "Thu\, 1 May 2008 02\:18\:16 +0000 \(GMT\)") Message-ID: <44abjaxibc.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Perl 5.8.8 Compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 13:30:49 -0000 Jay Hall writes: > I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make > it through the configuration just fine, but when I attempt to run the > make command, I receive the following error message. I am creating a > custom install. The only parameter I am changing is the installation > location. > > make: don't know how to make . Stop. > > I have run make depend, and it finishes without any problems. > > I'm sure this is something simple I am missing because I have been > looking at the problem for so long. > > Thanks in advance for your assistance. Even for non-standard location installs, I recommend using the ports instead of building yourself, but if you really want to do it by hand, expect to need to know a bit more about what you're doing. In this case, I suspect you need to use gmake instead of (the native) make. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 14:33:58 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDE51065680 for ; Thu, 1 May 2008 14:33:58 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id DF9328FC19 for ; Thu, 1 May 2008 14:33:57 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.145] Received: from squirrel.kq6up.org (adsl-76-238-148-145.dsl.irvnca.sbcglobal.net [76.238.148.145]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m41EXX7t026133; Thu, 1 May 2008 09:33:34 -0500 Received: from 163.150.112.1 (SquirrelMail authenticated user chris) by squirrel.kq6up.org with HTTP; Thu, 1 May 2008 07:33:34 -0700 (PDT) Message-ID: <25822.163.150.112.1.1209652414.squirrel@squirrel.kq6up.org> In-Reply-To: <44ej8mxihc.fsf@be-well.ilk.org> References: <4817F889.80006@chrismaness.com> <44ej8mxihc.fsf@be-well.ilk.org> Date: Thu, 1 May 2008 07:33:34 -0700 (PDT) From: chris@chrismaness.com To: freebsd-questions@FreeBSD.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Chris Maness Subject: Re: Kernel Compile Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 14:33:58 -0000 > Chris Maness writes: > >> I was trying to compile a 7.0 Release and the compile failed. I have >> never had a kernel compilation fail before. >> >> Here is the last of the output: >> >> opt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx bla bla bla > > That's really weird. Is that an unchanged GENERIC kernel, with an > empty make.conf? If so, youseem to have something inconsistent in > your sources. How did you install the sources? Can you wipe them > clean and try again? > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > Thanks for responding. I used CVSUP to update the source. This system is actually a restore from another server that I dumped from. The original server worked just fine (I tried it as an experiment). This is the only issue I have seen on the restored server so far. I just did a binary upgrade and am now rebuilding all of the ports from scratch. I will do as you suggested when that is done (rm -rf /usr/src/) and start from scratch. I thought the fact that the compile failed was really strange. I have never seen that before. Chris Maness From owner-freebsd-questions@FreeBSD.ORG Thu May 1 15:49:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256CA1065680 for ; Thu, 1 May 2008 15:49:16 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id EAF028FC1B for ; Thu, 1 May 2008 15:49:15 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so629978rvf.43 for ; Thu, 01 May 2008 08:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; bh=MvQDKfSx19XUCUF3pByVpNMaoHoQ9ZJB/0dDwuWzOkA=; b=o1u4hZjJyVVkEawWu8s70AyWLydvJg5mpeuxbNbhSM49Q1qmGxC67REmsx7CGx4ae3z6JpUtRqUhcbswt34AIDuOSWty8QCHKDDIRT1Tq+Gjg1YvJik2AH8NN3vX7m7Kja6Uj3tuBBaIrj15KNZmQCleD1TcwF7ZfylPEpEE+PA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=QJyeJPQXwohEpBttFelP+kst09u/4/lK8Kb8X6LM+yu/gVxbY2n6mp3iZlt4Cxgfc3s0n39sHajM1mpHK7CQ3hKVni+YpG8TviHXvJ01VlKXTqjN4kmvPSjMQ0RDcLOJC8kAzOgyEgvJm3QW7mbBK2Qcugte79f71YcHxOyIiNk= Received: by 10.141.137.16 with SMTP id p16mr889503rvn.192.1209656955412; Thu, 01 May 2008 08:49:15 -0700 (PDT) Received: by 10.140.126.11 with HTTP; Thu, 1 May 2008 08:49:15 -0700 (PDT) Message-ID: <226ae0c60805010849j796f682cjea77773ca7aa3049@mail.gmail.com> Date: Thu, 1 May 2008 11:49:15 -0400 From: "David Robillard" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Edward Capriolo , Jonathan McKeown Subject: Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 15:49:16 -0000 > On Wednesday 30 April 2008 16:43, David Robillard wrote: > > > On Wednesday 30 April 2008 11:00, O. Hartmann wrote: > > > > [ --- 8< --- SNIP! --- 8< --- ] > > > > That sounds very interesting Jonathan. Could you please share with us > > the complete LDIF data used to create such a user? > > This is live from my LDAP server: > > # jfm, group, hst.org.za > dn: cn=jfm,ou=group,dc=hst,dc=org,dc=za > objectClass: posixGroup > gidNumber: 1001 > cn: jfm > > # jfm, people, hst.org.za > dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za > objectClass: inetOrgPerson > objectClass: posixAccount > objectClass: extensibleObject > sn: McKeown > cn: Jonathan McKeown > uidNumber: 1001 > gidNumber: 1001 > mail: jonathan@hst.org.za > loginShell: /usr/local/bin/bash > host: charlotte.hst.org.za > host: clare.hst.org.za > uid: jfm > homeDirectory: /home/jfm > > There is, of course, also a userPassword attribute in the user account. (You > didn't expect me to show you that, did you?!) lol Well, if it's in {SSHA} format and you change a few digits here and there, that's not a security issue :) > Using posixGroup, the attribute for adding additional members to a group is memberUid. > > There's a bit more to getting this all working: configuring slapd.conf with > appropriate schemas, installing and configuring pam_ldap and nss_ldap, and > setting up PAM correctly. I can go into excruciating detail if you like... Well, I'd certainly love to see how you've set things up. We could compare with what I've published on my wiki. The documentation is not finished, but it's a start. I'd really appreciate if people could check it out and tell me where the document could be enhanced, if I made any mistakes, things like that. Check it out here: http://wiki.zerocatastrophe.com/wiki/UNIX/FreeBSD/Kerberos+OpenLDAP Notice that I've updated my documentation to reflect your LDIF data as I believe it to be the very flexible. Thanks! I know that Edward Capriolo (in Cc: to this email) has also published some Kerberos & OpenLDAP documentations online. Edward, care to join us here? > My only irritation is that although passwd(1) in 6.3 has the code within it to > allow it to be controlled by PAM, it's all currently diked out, so that you > can't use passwd(1) transparently with LDAP users. (As far as I know this > hasn't changed in 7.0). Indeed, that's also a problem I have. How do you go about to solve this? > inetOrgPerson gives you a huge number of optional fields for other > information, up to and including a JPEG photo. It inherits from > organizationalPerson which inherits from person, so you need to combine all > three sets of attributes to get the complete spec for inetOrgPerson (note the > only MUST attributes are sn and cn from person): > > [ --- 8< --- SNIP! --- 8< --- ] > > We're hardly using any of these, but it seemed to make more sense to build it > in, in case. You're right, I totally agree. > Jonathan Cheers! DA+ -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From owner-freebsd-questions@FreeBSD.ORG Thu May 1 16:51:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B7CA1065673 for ; Thu, 1 May 2008 16:51:39 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: from av9-2-sn3.vrr.skanova.net (av9-2-sn3.vrr.skanova.net [81.228.9.186]) by mx1.freebsd.org (Postfix) with ESMTP id 319DC8FC1E for ; Thu, 1 May 2008 16:51:38 +0000 (UTC) (envelope-from mail@chdevelopment.se) Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 7D09F3823D; Thu, 1 May 2008 18:23:13 +0200 (CEST) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 67FB438233; Thu, 1 May 2008 18:23:13 +0200 (CEST) Received: from melissa.chdevelopment.se (90-230-132-56-no68.tbcn.telia.com [90.230.132.56]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 1E36D37E45; Thu, 1 May 2008 18:23:13 +0200 (CEST) Message-ID: <4819EE70.60609@chdevelopment.se> Date: Thu, 01 May 2008 18:23:12 +0200 From: Christer Hermansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080404 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Ruel Luchavez References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: DNS 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, 01 May 2008 16:51:39 -0000 Ruel Luchavez wrote: > when i resume it to its current configuration > "Obtain DBS server automatically" the problem is back, is this a problem in > my DNS server? > I'm using the FreeBSD 6.2 version... > > I already restarted the DNS Server "/etc/rc.d/named restart" but nothing > happens the problem is still there..Is there any one here could help > me solve it? > > I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson From owner-freebsd-questions@FreeBSD.ORG Thu May 1 16:53:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E5D1065675 for ; Thu, 1 May 2008 16:53:11 +0000 (UTC) (envelope-from ervin23@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id CD0958FC0C for ; Thu, 1 May 2008 16:53:10 +0000 (UTC) (envelope-from ervin23@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so506492nfh.33 for ; Thu, 01 May 2008 09:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Lt9JVJJxWdpl7rhpfwaaHPd4ERqDZfm8WkuLzoNbTec=; b=WMs7pQMztFC07Ep0e4rOuCune0X8SiqkY0c375jrc8+oxc/oxUjVyDNE5qAgjLxG02d+Y4yFT6YCg7JS5YizxPEY+xfCs7joLcImViCc8CsnPyoNAqAFpKX75aWasfl6GqRXV/rAzw8ZvzwDuXWb1z3wKGbpMxZsKr9mFWDkrnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MoA+iTrO2ZY6IhDxXA/KeM6fDHORFgKzoIqI/boLLOCdpR/lerTDorVrKwROhp9jEQwOGogezUiiP1CCc0MmqURFmkoNzLkhlgvY8j3s1pBdLaSH52Q/Z/KmqVMkobuI9CzM9oyInTWoit9A+MWw69Xrzvy+r3b96Fx5M0P3iyQ= Received: by 10.142.178.13 with SMTP id a13mr875130wff.50.1209660788438; Thu, 01 May 2008 09:53:08 -0700 (PDT) Received: by 10.142.52.20 with HTTP; Thu, 1 May 2008 09:53:03 -0700 (PDT) Message-ID: Date: Thu, 1 May 2008 18:53:03 +0200 From: ervin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: PHP5 install error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 16:53:11 -0000 hi made a portsnap fetch update .... but I still get this error ---- ideas? portaudit shows the vulnerability ... but that should be included in the port or? Error: make clean && make install ===> Cleaning for php5-5.2.5_1 ===> php5-5.2.5_1 has known vulnerabilities: => php -- integer overflow vulnerability. Reference: => Please update your ports tree and try again. *** Error code 1 Stop in /var/ports/lang/php5. mvh/best regards ervin From owner-freebsd-questions@FreeBSD.ORG Thu May 1 17:53:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35FA3106566C for ; Thu, 1 May 2008 17:53:24 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id BF2728FC15 for ; Thu, 1 May 2008 17:53:23 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 7443 invoked by uid 1006); 1 May 2008 17:53:22 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 0.981677 secs); 01 May 2008 17:53:22 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO laz1) (172.16.0.69) by -v with SMTP; 1 May 2008 17:53:21 -0000 Received: from [10.75.0.1] by webmail.vandaliamo.net with HTTP; Thu, 1 May 2008 17:53:21 +0000 Date: Thu, 1 May 2008 17:53:21 +0000 (GMT) From: Jay Hall To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Message-ID: <17174274.182011209664401216.JavaMail.javamailuser@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=no Content-Transfer-Encoding: 7bit User-Agent: Laszlo Mail 2 X-Originating-IP: [10.75.0.1] Content-Disposition: inline Subject: Re: Perl 5.8.8 Compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhall@vandaliamo.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 17:53:24 -0000 I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > Jay Hall writes: > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make >> it through the configuration just fine, but when I attempt to run the >> make command, I receive the following error message. I am creating a >> custom install. The only parameter I am changing is the installation >> location. >> >> make: don't know how to make . Stop. >> >> I have run make depend, and it finishes without any problems. >> >> I'm sure this is something simple I am missing because I have been >> looking at the problem for so long. >> >> Thanks in advance for your assistance. > > Even for non-standard location installs, I recommend using the ports > instead of building yourself, but if you really want to do it by hand, > expect to need to know a bit more about what you're doing. In this > case, I suspect you need to use gmake instead of (the native) make. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 17:53:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 364381065670 for ; Thu, 1 May 2008 17:53:24 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id BF38D8FC16 for ; Thu, 1 May 2008 17:53:23 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 7443 invoked by uid 1006); 1 May 2008 17:53:22 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(-1.4/100.0):. Processed in 0.981677 secs); 01 May 2008 17:53:22 -0000 X-Spam-Status: No, hits=-1.4 required=100.0 X-Spam-Level: Received: from unknown (HELO laz1) (172.16.0.69) by -v with SMTP; 1 May 2008 17:53:21 -0000 Received: from [10.75.0.1] by webmail.vandaliamo.net with HTTP; Thu, 1 May 2008 17:53:21 +0000 Date: Thu, 1 May 2008 17:53:21 +0000 (GMT) From: Jay Hall To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Message-ID: <17174274.182011209664401216.JavaMail.javamailuser@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=no Content-Transfer-Encoding: 7bit User-Agent: Laszlo Mail 2 X-Originating-IP: [10.75.0.1] Content-Disposition: inline Subject: Re: Perl 5.8.8 Compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhall@vandaliamo.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 17:53:24 -0000 I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > Jay Hall writes: > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make >> it through the configuration just fine, but when I attempt to run the >> make command, I receive the following error message. I am creating a >> custom install. The only parameter I am changing is the installation >> location. >> >> make: don't know how to make . Stop. >> >> I have run make depend, and it finishes without any problems. >> >> I'm sure this is something simple I am missing because I have been >> looking at the problem for so long. >> >> Thanks in advance for your assistance. > > Even for non-standard location installs, I recommend using the ports > instead of building yourself, but if you really want to do it by hand, > expect to need to know a bit more about what you're doing. In this > case, I suspect you need to use gmake instead of (the native) make. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 17:55:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E50C106566B for ; Thu, 1 May 2008 17:55:50 +0000 (UTC) (envelope-from vaughajj@jmu.edu) Received: from mpdir5.jmu.edu (mpdir5.jmu.edu [134.126.12.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3AA728FC0C for ; Thu, 1 May 2008 17:55:50 +0000 (UTC) (envelope-from vaughajj@jmu.edu) Received: from jmu74b3530692a (ip18-89.pc.jmu.edu [134.126.18.89]) by mpdir5.jmu.edu (MOS 3.8.4-GA) with ESMTP id GER48602 (AUTH vaughajj); Thu, 1 May 2008 13:45:38 -0400 (EDT) Message-Id: <200805011745.GER48602@jmu.edu> From: "John" To: Date: Thu, 1 May 2008 13:45:32 -0400 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcirsybqKqfANwaRSveHjl1M++83iA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Junkmail-Whitelist: YES (by domain whitelist at mpdir5.jmu.edu) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jjvaughan@gmail.com Subject: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 17:55:50 -0000 Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name "bin." Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John From owner-freebsd-questions@FreeBSD.ORG Thu May 1 18:09:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C41A1065671 for ; Thu, 1 May 2008 18:09:33 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1AFEC8FC1E for ; Thu, 1 May 2008 18:09:33 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 99296654FB; Thu, 1 May 2008 13:09:32 -0500 (CDT) Date: Thu, 01 May 2008 13:09:32 -0500 From: Paul Schmehl To: John , freebsd-questions@freebsd.org Message-ID: <7E01AC8E821E45790B514F2E@utd65257.utdallas.edu> In-Reply-To: <200805011745.GER48602@jmu.edu> References: <200805011745.GER48602@jmu.edu> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: jjvaughan@gmail.com Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 18:09:33 -0000 --On Thursday, May 01, 2008 13:45:32 -0400 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra > config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. /var/db/mysql/hostname-bin.number /var/db/mysql/hostname-bin.index /var/db/mysql/hostname.err And if you've enabled query logging (stores passwords in plain text!) /var/db/mysql/query.log -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 18:14:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136DA1065674 for ; Thu, 1 May 2008 18:14:42 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE398FC1F for ; Thu, 1 May 2008 18:14:41 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m41IEJJT001385; Thu, 1 May 2008 13:14:20 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 01 May 2008 13:14:12 -0500 To: "Olivier GARNIER" , From: Derek Ragona In-Reply-To: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080501-0, 05/01/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m41IEJJT001385 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Nut problem and last message repeated in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 18:14:42 -0000 At 04:01 AM 5/1/2008, Olivier GARNIER wrote: >There are my questions: > > > Does anyone become to correct the same problem and can help me to correct >this? > > > Can anyone tell my how to see the "last message" which is repeated hundred >times? > > > >I've got an MGE ellipse 750 USBS. > >I've connected it to my server with USB cable. > >I've installed NUT via ports. > > > >Now this service is crashing very often. > >For example it crashes yesterday 23h16, I restarted it and when I watch it >today : > > > ># dmesg - a > >. > >Apr 30 23:12:38 myhost last message repeated 120 times > >Apr 30 23:16:28 myhost last message repeated 46 times > >Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - >Server disconnected > >May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - >Data stale > >May 1 08:58:19 myhost last message repeated 7 times > >May 1 09:00:24 myhost last message repeated 25 times > >May 1 09:10:29 myhost last message repeated 121 times > >May 1 09:20:34 myhost last message repeated 121 times > >May 1 09:30:35 myhost last message repeated 120 times > >May 1 09:40:40 myhost last message repeated 121 times > >May 1 09:50:40 myhost last message repeated 120 times > >May 1 10:00:40 myhost last message repeated 120 times > >May 1 10:10:40 myhost last message repeated 120 times > >May 1 10:20:40 myhost last message repeated 120 times > >May 1 10:30:40 myhost last message repeated 120 times > >May 1 10:40:40 myhost last message repeated 120 times > >[myuser@myhost ~]$ /usr/local/etc/rc.d/nut stop > >Password: > >Stopping nut. > >Network UPS Tools - UPS driver controller 2.2.1 > >[myuser@myhost ~]$ /usr/local/etc/rc.d/nut start > >Network UPS Tools - UPS driver controller 2.2.1 > >Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) > > > >Using subdriver: MGE HID 1.01 > >Starting nut. > >Network UPS Tools upsd 2.2.1 > >listening on 0.0.0.0 port 3493 > >Connected to UPS [ellipse]: usbhid-ups-ellipse > > Make sure you are using the correct driver. Nut has consolidated and changed drivers in recent releases. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 18:20:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEAF41065676 for ; Thu, 1 May 2008 18:20:05 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9A0A08FC1E for ; Thu, 1 May 2008 18:20:04 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id m41Hu8FB057986; Thu, 1 May 2008 12:56:08 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id M74yBh5rM6Hn; Thu, 1 May 2008 12:56:05 -0500 (CDT) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.13.8/8.13.8) with ESMTP id m41Hu2DX057979; Thu, 1 May 2008 12:56:03 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <481A043D.6020508@daleco.biz> Date: Thu, 01 May 2008 12:56:13 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20080213 SeaMonkey/1.1.7 MIME-Version: 1.0 To: ervin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PHP5 install error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 18:20:05 -0000 ervin wrote: > hi > made a portsnap fetch update .... but I still get this error ---- ideas? > portaudit shows the vulnerability ... but that should be included in > the port or? > > Error: > make clean && make install > ===> Cleaning for php5-5.2.5_1 > ===> php5-5.2.5_1 has known vulnerabilities: > => php -- integer overflow vulnerability. > Reference: > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /var/ports/lang/php5. > > mvh/best regards ervin 1. Wait until the PHP port gets updated. 2. OR, uninstall portaudit and throw all sheets to the wind. 3. OR, read the appropriate manpage for either ports(7) or portaudit and determine how to override the portaudit check. I've not got portaudit installed on this box, and ports(7) is a rather long manpage, so I'll leave this exercise to the reader. Oh, and <#include disclaimer.h> and all that.... HTH, Kevin Kinsey -- FORCE YOURSELF TO RELAX! From owner-freebsd-questions@FreeBSD.ORG Thu May 1 18:23:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F1631065672 for ; Thu, 1 May 2008 18:23:58 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0D57D8FC0C for ; Thu, 1 May 2008 18:23:57 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id E19F51CC91; Thu, 1 May 2008 10:23:56 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 20:23:21 +0200 User-Agent: KMail/1.9.7 References: <200805011745.GER48602@jmu.edu> In-Reply-To: <200805011745.GER48602@jmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012023.22509.fbsd.questions@rachie.is-a-geek.net> Cc: John , jjvaughan@gmail.com Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 18:23:58 -0000 On Thursday 01 May 2008 19:45:32 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no > extra config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. > I'll also note that it is not in var/db/mysql with the rest of the mysql > data files and the ib_logfiles which would have been useful, but the data I > am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 18:32:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 507D5106566B for ; Thu, 1 May 2008 18:32:50 +0000 (UTC) (envelope-from jjvaughan@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id D10018FC1E for ; Thu, 1 May 2008 18:32:49 +0000 (UTC) (envelope-from jjvaughan@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so921347fkk.11 for ; Thu, 01 May 2008 11:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=bceMo+9cdTaUjIsM7VcqHjIHLUOz4blmca5Sh+P1Zmk=; b=OH0xBjURFvJp4T20xB5eeTlvxB3HfjYTlo7RuK9i3PDm4MFYOkvTQSUVSd7i26VuvjkkvTMDDaxbhI5nyczjpnT+Km23cvaqn2H7xPCnBimDjVCxVPp1ij6vhuv9eWif4b8CAAw5mefdPaRgQsbYKFxhkmxIAZzZ2eA3oHbFLpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qrKP1roojHAHm5sGzQ5OnbksiLd8pKP1LDkXlntAyQeJag6caPIzsKxMTwx84cRxGmdYzd3tMmMx4QpeOug6p3UrrqZppQD1l3KxuTNButC2PKMaJNekPgVnnHV5NYunxxxWFy6OPk0OpeSiG+pX+9tebNz9epT88iBXuBd2R6Y= Received: by 10.82.145.7 with SMTP id s7mr258379bud.81.1209665042092; Thu, 01 May 2008 11:04:02 -0700 (PDT) Received: by 10.82.173.15 with HTTP; Thu, 1 May 2008 11:04:02 -0700 (PDT) Message-ID: Date: Thu, 1 May 2008 14:04:02 -0400 From: "John Vaughan" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 18:32:50 -0000 Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name "bin." Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John From owner-freebsd-questions@FreeBSD.ORG Thu May 1 19:05:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A332B1065687 for ; Thu, 1 May 2008 19:05:21 +0000 (UTC) (envelope-from gulenler@boun.edu.tr) Received: from pelikan3.cc.boun.edu.tr (pelikan3.cc.boun.edu.tr [193.140.192.28]) by mx1.freebsd.org (Postfix) with ESMTP id 57F368FC1C for ; Thu, 1 May 2008 19:05:21 +0000 (UTC) (envelope-from gulenler@boun.edu.tr) Received: from pelikan3.cc.boun.edu.tr (unknown [127.0.0.1]) by pelikan3.cc.boun.edu.tr (Symantec Mail Security) with ESMTP id 8CF45AE8336; Thu, 1 May 2008 21:37:06 +0300 (EEST) X-AuditID: c18cc01c-ab157ba000000e12-32-481a0dd2118c Received: from 88.244.194.244 ([88.244.194.244]) by webmail.boun.edu.tr (IMP) with HTTP for ; Thu, 1 May 2008 21:29:19 +0300 Message-ID: <1209666559.481a0c00026b4@webmail.boun.edu.tr> Date: Thu, 1 May 2008 21:29:20 +0300 From: Berk Gulenler To: jhall@vandaliamo.net References: <17174274.182011209664401216.JavaMail.javamailuser@localhost> In-Reply-To: <17174274.182011209664401216.JavaMail.javamailuser@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: Perl 5.8.8 Compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: berk.gulenler@boun.edu.tr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 19:05:21 -0000 I solved the problem with using Perl 5.10.0 on FreeBSD 7. But it is not stable. Quoting Jay Hall : > I received the same error with both make and gmake. > > Thanks, > > > Jay > > > On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > > > Jay Hall writes: > > > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make > >> it through the configuration just fine, but when I attempt to run the > >> make command, I receive the following error message. I am creating a > >> custom install. The only parameter I am changing is the installation > >> location. > >> > >> make: don't know how to make . Stop. > >> > >> I have run make depend, and it finishes without any problems. > >> > >> I'm sure this is something simple I am missing because I have been > >> looking at the problem for so long. > >> > >> Thanks in advance for your assistance. > > > > Even for non-standard location installs, I recommend using the ports > > instead of building yourself, but if you really want to do it by hand, > > expect to need to know a bit more about what you're doing. In this > > case, I suspect you need to use gmake instead of (the native) make. > > > > -- > > Lowell Gilbert, embedded/networking software engineer, Boston area > > http://be-well.ilk.org/~lowell/ > _______________________________________________ > 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 May 1 19:13:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C161065672 for ; Thu, 1 May 2008 19:13:49 +0000 (UTC) (envelope-from vaughajj@jmu.edu) Received: from mpdir4.jmu.edu (mpdir4.jmu.edu [134.126.12.43]) by mx1.freebsd.org (Postfix) with ESMTP id D8E9F8FC15 for ; Thu, 1 May 2008 19:13:48 +0000 (UTC) (envelope-from vaughajj@jmu.edu) Received: from jmu74b3530692a (ip18-89.pc.jmu.edu [134.126.18.89]) by mpdir4.jmu.edu (MOS 3.8.4-GA) with ESMTP id DSZ93243 (AUTH vaughajj); Thu, 1 May 2008 15:13:47 -0400 (EDT) Message-Id: <200805011913.DSZ93243@jmu.edu> From: "John" To: Date: Thu, 1 May 2008 15:13:41 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AciruWyjbIKzfUkaQT6BP7dC7dA1jQAAXi6w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <200805012023.22509.fbsd.questions@rachie.is-a-geek.net> X-Junkmail-Whitelist: YES (by domain whitelist at mpdir4.jmu.edu) Subject: RE: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 19:13:49 -0000 Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I didn't run myisamchk since I'm trying to restore data that was mistakenly deleted and not recovering from a corruption. -John -----Original Message----- From: Mel [mailto:fbsd.questions@rachie.is-a-geek.net] Sent: Thursday, May 01, 2008 2:23 PM To: freebsd-questions@freebsd.org Cc: John; jjvaughan@gmail.com Subject: Re: Recovering mysql data - mysqlbinlog On Thursday 01 May 2008 19:45:32 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no > extra config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. > I'll also note that it is not in var/db/mysql with the rest of the mysql > data files and the ib_logfiles which would have been useful, but the data I > am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 19:52:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C521065678 for ; Thu, 1 May 2008 19:52:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E49CF8FC17 for ; Thu, 1 May 2008 19:52:08 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id BB6F01CC91; Thu, 1 May 2008 11:52:07 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 21:52:05 +0200 User-Agent: KMail/1.9.7 References: <200805011913.DSZ93243@jmu.edu> In-Reply-To: <200805011913.DSZ93243@jmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> Cc: John Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 19:52:09 -0000 On Thursday 01 May 2008 21:13:41 John wrote: > Thank you Mel and Paul for the suggestions. From what I understand the > general query log is more for debugging and the binary log is for point in > time recovery and replication. I'll be adding a my.cnf file (using the > my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on > and now I'm the wiser thanks to you guys. I wonder why the default is no. > I can't think of anyone who wouldn't find the binary logging beneficial. I can think of a reason for FreeBSD. The binary logs are never deleted and upon every server restart a new one is created. If you're like me, developing on a laptop with a webenvironment including 'Mysql server', shutting down your laptop daily, you quickly find yourself having full /var partition. People running dedicated or semi-dedicated MySQL installations, are encouraged to tweak their installation anyway. The most common ones being: - put the binary logs on a large enough disk, if possible a seperate disk all together for performance. - by default, /tmp is used for temporary sorting tables, when JOINs demand it. If that's a small partition or worse a 64MB memory disk, expect to get in trouble, system wide. Use the tmpdir configuration variable. - thread_concurrency as indicated in the templates - skip-networking for security if all traffic is local - sort and key buffer + max_connections to limit/max out memory usage. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 20:24:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E7031065671 for ; Thu, 1 May 2008 20:24:34 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB758FC0A for ; Thu, 1 May 2008 20:24:33 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 6388A654FB; Thu, 1 May 2008 15:24:33 -0500 (CDT) Date: Thu, 01 May 2008 15:24:33 -0500 From: Paul Schmehl To: Mel , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: John Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 20:24:34 -0000 --On Thursday, May 01, 2008 21:52:05 +0200 Mel wrote: > On Thursday 01 May 2008 21:13:41 John wrote: >> Thank you Mel and Paul for the suggestions. From what I understand the >> general query log is more for debugging and the binary log is for point in >> time recovery and replication. I'll be adding a my.cnf file (using the >> my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on >> and now I'm the wiser thanks to you guys. I wonder why the default is no. >> I can't think of anyone who wouldn't find the binary logging beneficial. > > I can think of a reason for FreeBSD. The binary logs are never deleted and > upon every server restart a new one is created. If you're like me, developing > on a laptop with a webenvironment including 'Mysql server', shutting down > your laptop daily, you quickly find yourself having full /var partition. > That can be alleviated by adding the logs to newsyslog.conf and gzipping and rotating them regularly. If you don't restart mysql much, something like this would work: /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 JBG /var/db/mysql/[FQHN].pid If you're restarting it daily, something like this should work: /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG /var/db/mysql/[FQHN].pid Adjust the counts and the rotation schedule to your liking and, of course, use your own hostname and fully qualified hostname. -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 20:31:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1938106567F for ; Thu, 1 May 2008 20:31:14 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4D88FC15 for ; Thu, 1 May 2008 20:31:14 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JrfQv-000082-F5 for freebsd-questions@freebsd.org; Thu, 01 May 2008 13:31:13 -0700 Message-ID: <16995050.post@talk.nabble.com> Date: Thu, 1 May 2008 13:31:13 -0700 (PDT) From: Cameigons To: freebsd-questions@freebsd.org In-Reply-To: <20080316161222.GA17723@photon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cameigons@hotmail.com References: <20080316161222.GA17723@photon> Subject: Re: HDD missing from sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 20:31:15 -0000 I just want to say I'm having the same problem. I have an asus p5n-e SLI, two seagate 250GB sata2 HD's. When trying to install FreeBSD 7.0-Release, the sysinstall pops up the message "No Disks Found!(...)". And after that I can't boot up neither my Win Xp, Linux or Freebsd 6.2 anymore... Has anyone figured out a solution yet? :/ Another minor problem was that I was unable to run sysinstall with my usb keyboard, got stuck right at the region choice window. Troels Kofoed Jacobsen wrote: > >> When I put in my fbsd 6.3 or 7.0 install disk sysinstall is unable to >> detect any of the hard drives in my computer. >> >> This is includes SATA and IDE HDDs in varying orders. BIOS is able >> to detect the the hard drives. I Previously had fbsd 6.2 installed >> on them and the problem started when I upgraded the kernel to 6.3 >> although I don't see my upgrades relevance as I have tried to >> reinstall from a clean disk since then. > > I have the exact same problem on an Asus P5N-E sli board. I have two ide > harddrives, two ide optical drives and one sata harddisk connected. After > trying to boot FreeBSD 7.0, which gives me "No disks found", i cannot boot > in freebsd 6.2 or linux anymore. I have to reboot with the ide harddisks > disconnected. And then erboot again (with drives reconnected) before my > machine can boot again. (Then both freebsd 6.2 and linxu works again) > > This is not a problem in the installer but in the kernel as i get the same > result when upgrading (both to 7.0 and 8.0-current) > > I thing thes is a very severe problem/bug/regression.. I dont dare to try > FreeBSD on a laptop where i cannot disconnect the drives as easily. > > dmesg from 6.2 attached. I cannot find a way to provide dmesg from 7.0 > from the install cd (disk 1 -- i cannot mount livefs as optical drives are > also not found) > > Best Regards > Troels > > -- > Troels Kofoed Jacobsen > tkjacobsen@gmail.com > tel: +45 20880798 > > Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.02-MHz > 686-class CPU) > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > > Features=0xbfebfbff > > Features2=0xe3bd,CX16,,> > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 2 > real memory = 2146369536 (2046 MB) > avail memory = 2095267840 (1998 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 4 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > acpi0: on motherboard > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi0: Power Button (fixed) > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.1 (no driver attached) > pci0: at device 0.2 (no driver attached) > pci0: at device 0.3 (no driver attached) > pci0: at device 0.4 (no driver attached) > pci0: at device 0.5 (no driver attached) > pci0: at device 0.6 (no driver attached) > pci0: at device 0.7 (no driver attached) > pci0: at device 1.0 (no driver attached) > pci0: at device 1.1 (no driver attached) > pci0: at device 1.2 (no driver attached) > pci0: at device 1.3 (no driver attached) > pci0: at device 1.4 (no driver attached) > pci0: at device 1.5 (no driver attached) > pci0: at device 1.6 (no driver attached) > pci0: at device 2.0 (no driver attached) > pci0: at device 2.1 (no driver attached) > pci0: at device 2.2 (no driver attached) > pcib1: at device 3.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pcib2: at device 5.0 on pci0 > pci2: on pcib2 > pcib3: at device 6.0 on pci0 > pci3: on pcib3 > pcib4: at device 7.0 on pci0 > pci4: on pcib4 > atapci0: port > 0xdf00-0xdf07,0xde00-0xde03,0xdd00-0xdd07,0xdc00-0xdc03,0xdb00-0xdb0f mem > 0xfd9fe000-0xfd9fffff irq 16 at device 0.0 on pci4 > atapci0: AHCI Version 01.00 controller with 1 ports detected > ata2: on atapci0 > pci0: at device 9.0 (no driver attached) > isab0: at device 10.0 on pci0 > isa0: on isab0 > pci0: at device 10.1 (no driver attached) > pci0: at device 10.2 (no driver attached) > ohci0: mem 0xfe02f000-0xfe02ffff at device > 11.0 on pci0 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 8 ports with 8 removable, self powered > ehci0: mem 0xfe02e000-0xfe02e0ff at > device 11.1 on pci0 > ehci0: [GIANT-LOCKED] > usb1: EHCI version 1.0 > usb1: companion controller, 8 ports each: usb0 > usb1: on ehci0 > usb1: USB revision 2.0 > uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub1: 8 ports with 8 removable, self powered > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfd00-0xfd0f at device 13.0 on pci0 > ata0: on atapci1 > ata1: on atapci1 > atapci2: port > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf800-0xf80f mem > 0xfe02d000-0xfe02dfff irq 20 at device 14.0 on pci0 > ata3: on atapci2 > ata4: on atapci2 > atapci3: port > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xf300-0xf30f mem > 0xfe02c000-0xfe02cfff irq 21 at device 15.0 on pci0 > ata5: on atapci3 > ata6: on atapci3 > pcib5: at device 16.0 on pci0 > pci5: on pcib5 > fwohci0: port 0xbf00-0xbf7f mem > 0xfdbff000-0xfdbff7ff at device 8.0 on pci5 > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:11:d8:00:01:26:eb:74 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:11:d8:26:eb:74 > fwe0: Ethernet address: 02:11:d8:26:eb:74 > fwe0: if_start running deferred for Giant > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > pci0: at device 16.1 (no driver attached) > nve0: port 0xf200-0xf207 mem > 0xfe02b000-0xfe02bfff irq 23 at device 20.0 on pci0 > nve0: Ethernet address 00:1a:92:63:18:e7 > miibus0: on nve0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > nve0: Ethernet address: 00:1a:92:63:18:e7 > acpi_tz0: on acpi0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model MouseMan+, device ID 0 > pmtimer0 on isa0 > orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd5fff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > uhub2: Cypress Semiconductor Combi keyboard Hub ref design V1.74, class > 9/0, rev 1.10/0.01, addr 2 > uhub2: 2 ports with 2 removable, bus powered > ums0: SONY USB Mouse, rev 1.10/2.00, addr 3, iclass 3/1 > ums0: 5 buttons and Z dir. > Timecounters tick every 1.000 msec > ad0: 156334MB at ata0-master UDMA133 > ad1: 78167MB at ata0-slave UDMA133 > acd0: DMA limited to UDMA33, device found non-ATA66 cable > acd0: DVDR at ata1-master UDMA33 > acd1: CDRW at ata1-slave UDMA33 > ad6: 238475MB at ata3-master SATA150 > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad0s1a > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- View this message in context: http://www.nabble.com/Re%3A-HDD-missing-from-sysinstall-tp16081012p16995050.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 20:55:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848A0106566B for ; Thu, 1 May 2008 20:55:48 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4CD838FC0C for ; Thu, 1 May 2008 20:55:48 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id D6AC81CC91; Thu, 1 May 2008 12:55:46 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 22:55:42 +0200 User-Agent: KMail/1.9.7 References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> Cc: John , Paul Schmehl Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 20:55:48 -0000 On Thursday 01 May 2008 22:24:33 Paul Schmehl wrote: > --On Thursday, May 01, 2008 21:52:05 +0200 Mel > > wrote: > > On Thursday 01 May 2008 21:13:41 John wrote: > >> Thank you Mel and Paul for the suggestions. From what I understand the > >> general query log is more for debugging and the binary log is for point > >> in time recovery and replication. I'll be adding a my.cnf file (using > >> the my-large.cnf as a skeleton) soon. I'm glad the issue was caught > >> earlier on and now I'm the wiser thanks to you guys. I wonder why the > >> default is no. I can't think of anyone who wouldn't find the binary > >> logging beneficial. > > > > I can think of a reason for FreeBSD. The binary logs are never deleted > > and upon every server restart a new one is created. If you're like me, > > developing on a laptop with a webenvironment including 'Mysql server', > > shutting down your laptop daily, you quickly find yourself having full > > /var partition. > > That can be alleviated by adding the logs to newsyslog.conf and gzipping > and rotating them regularly. > If you don't restart mysql much, something like this would work: > > /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 JBG > /var/db/mysql/[FQHN].pid > > If you're restarting it daily, something like this should work: > > /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG > /var/db/mysql/[FQHN].pid > > Adjust the counts and the rotation schedule to your liking and, of course, > use your own hostname and fully qualified hostname. Yes, in this particular case it can, not changing hostnames is a plus then (as in, getting hostname from your dhcp server) ;) Actually, I think you can use a fixed name, but it's been a while since I looked at the bin-log related variables. However if you're using the bin-log, to recover accidental deletes or replications, then you need to use the mysql provided SQL commands for it. It's scriptable (periodic/crontab), but not for use in newsyslog. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 20:56:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 483E21065672 for ; Thu, 1 May 2008 20:56:40 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8E88FC0C for ; Thu, 1 May 2008 20:56:40 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so1710698wah.3 for ; Thu, 01 May 2008 13:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=eBbrg+l08YYg39H5R3jj3WB0cy//YV1aoMdCy9r9ckM=; b=WpBac0JmdFHN5pxjtGvmr/W+S6gPUDITKnrxO1lUr/6u0hjzdVxt5AzWzRP0m0+Xz1lXpNK/1uRWihF5ljXbswoJIzSISvIfrltx35TgTH4/ak/Tbc3zVe/Lu7oZmmGQ4RV1gQw/0xYKq2ctuYbXAJfTq9RcqDkrMeT70+GUjP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O1NGf/uDq9yPodCNjaFBJrRd5pIOWx+q9NWUt//sks70gKrXGRLW118ZhHAH8u1pWyQl1RgMHh4rXbPs5t1/DTHIaBcUJd/HCW+hzPonAsktM4TNzMEiyCPsbegEf3cMZkHEtoxTfOnuyt/az/2C2p20dkhHhyyNbH5VMGCvwmE= Received: by 10.114.154.1 with SMTP id b1mr2271795wae.34.1209675399609; Thu, 01 May 2008 13:56:39 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 13:56:39 -0700 (PDT) Message-ID: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> Date: Thu, 1 May 2008 16:56:39 -0400 From: alexus To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: TERM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 20:56:40 -0000 My HOME, END isn't working whenever I login through PuTTY or SecureCRT to FreeBSD-7.0-RELEASE-p1 anyone knows where/what needs to be adjusted? -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 20:57:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BEF31065682 for ; Thu, 1 May 2008 20:57:14 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id 20AB68FC1E for ; Thu, 1 May 2008 20:57:13 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so746560wra.13 for ; Thu, 01 May 2008 13:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6nEO+lXjrwmA092NU++HrCRfyaiyRVmsaLDqiZPYNRI=; b=e4Ww55GBrfPb4gR5Ytuxy2J/k5snXMWTBKTKY0kv+A7c+sDGJ7dDwrXDcedrG3ed8Z3/oitNaTfIErOOiTq2w/RnUpqeV0G7z3XmP8tQ6g7IShKeZDqO3wGfPwJwd5+sJ0DlauAyj1rS039YoCJw/De+mXyQDh21eM7bR3TWKNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YvLfORwx64n+aVubrRJZxwN8I3lfuhNFaIkB+e5Z8Ik/f0sXXwtGchHWsZRTpK9ab+I/0Q9pll1wEJRD/x6LaD3MtugBfCC06sutAWRHl3GwfZ80Wwm0tKdP0fHKDP+dWN0muDy/S2LNxRffqBJLxD8qbmrUmFvqVmmisTOxw9A= Received: by 10.114.103.1 with SMTP id a1mr2268670wac.59.1209675429968; Thu, 01 May 2008 13:57:09 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 13:57:09 -0700 (PDT) Message-ID: <6ae50c2d0805011357l66b86a2ew8b61121dd157a979@mail.gmail.com> Date: Thu, 1 May 2008 16:57:09 -0400 From: alexus To: "freebsd-questions@freebsd.org" In-Reply-To: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 20:57:14 -0000 anyone? On Wed, Apr 30, 2008 at 5:23 PM, alexus wrote: > dd# make cleandepend && make depend > rm -f .depend machine amd64 > cd ../../../modules; > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > ===> aac (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_data (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_http (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> acpi (cleandepend) > ===> acpi/acpi (cleandepend) > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > amd64 and ia64 platforms" > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/dd. > dd# > > I took GENERIC and rewise it a little bit > > -- > http://alexus.org/ > -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:03:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F103106564A for ; Thu, 1 May 2008 21:03:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0EA8FC0C for ; Thu, 1 May 2008 21:03:35 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 3C7AD1CC91; Thu, 1 May 2008 13:03:34 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 23:03:32 +0200 User-Agent: KMail/1.9.7 References: <20080316161222.GA17723@photon> <16995050.post@talk.nabble.com> In-Reply-To: <16995050.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012303.32903.fbsd.questions@rachie.is-a-geek.net> Cc: Troels Kofoed Jacobsen , Cameigons Subject: Re: HDD missing from sysinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:03:35 -0000 On Thursday 01 May 2008 22:31:13 Cameigons wrote: > I just want to say I'm having the same problem. I have an asus p5n-e SLI, > two seagate 250GB sata2 HD's. > > When trying to install FreeBSD 7.0-Release, the sysinstall pops up the > message "No Disks Found!(...)". And after that I can't boot up neither my > Win Xp, Linux or Freebsd 6.2 anymore... > > Has anyone figured out a solution yet? :/ That would typically start with send-pr, so devs know there's a problem. Looking at the dmesg posted by Troels, I would include an acpi dump. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:34:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C690C1065677 for ; Thu, 1 May 2008 21:34:22 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 928438FC26 for ; Thu, 1 May 2008 21:34:22 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 7C1331CC91; Thu, 1 May 2008 13:34:21 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 23:34:19 +0200 User-Agent: KMail/1.9.7 References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> In-Reply-To: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> Cc: alexus Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:34:22 -0000 On Wednesday 30 April 2008 23:23:27 alexus wrote: > dd# make cleandepend && make depend > rm -f .depend machine amd64 > cd ../../../modules; > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > ===> aac (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_data (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_http (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> acpi (cleandepend) > ===> acpi/acpi (cleandepend) > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > amd64 and ia64 platforms" > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/dd. > dd# > > I took GENERIC and rewise it a little bit You removed device acpi and shouldn't have done that. Also, your build system looks weird. What is compile/dd, why are you compiling under i386 when your system is detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory below the source tree, rather then a directory outside the source tree. In other words, not enough info (aside from the missing question). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:40:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14D03106564A for ; Thu, 1 May 2008 21:40:40 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id DAA428FC33 for ; Thu, 1 May 2008 21:40:39 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 1D2721CC91; Thu, 1 May 2008 13:40:39 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 23:40:37 +0200 User-Agent: KMail/1.9.7 References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> In-Reply-To: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> Cc: alexus Subject: Re: TERM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:40:40 -0000 On Thursday 01 May 2008 22:56:39 alexus wrote: > My HOME, END isn't working whenever I login through PuTTY or SecureCRT > to FreeBSD-7.0-RELEASE-p1 > > anyone knows where/what needs to be adjusted? Your client. IIRC, secureCRT had an option to bind keys to a different combination. But it's been a while. ctrl-a for HOME and ctrl-e for END should work, regardless of client. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:43:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA251065674 for ; Thu, 1 May 2008 21:43:19 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6408FC21 for ; Thu, 1 May 2008 21:43:18 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so764985wra.13 for ; Thu, 01 May 2008 14:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=v+7fJe3L0PdwI9yptQM4EAMMB6r6A/zP2f1v96mIONM=; b=fy1uySFcmOK+rptZqPXCWJxsi8JOLCsusSvY8194C5JySXMUl3ruLnRkOXB0GVplrvrSBYoq1FtncGqJQQHi3pU30bTPQne+hIw38ESShF3J3CT24p/Z1lpiXf7qEH1/JkWNX1DukfzXAQyNfROYV3FijPhEnaNeuuuge1vy2QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G5zSC5yagln3sniT5NkdFgbX2wBF3bjuaaiofU7Hsmhx72KHR/gWPdkJHvzPqI9O/4veyjXYUriJ1MWZwPE26XFFvwvOw3EkJXfRAn9/30e/0r/Tw44Hsl/OiSprieeNUFS+Nq1U0K6D0ca6/P5LnIMUm6ESIepZpUyy0RqaITY= Received: by 10.114.152.17 with SMTP id z17mr2285561wad.159.1209678197505; Thu, 01 May 2008 14:43:17 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 14:43:17 -0700 (PDT) Message-ID: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> Date: Thu, 1 May 2008 17:43:17 -0400 From: alexus To: Mel In-Reply-To: <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:43:19 -0000 like i said i copy GENERIC dd# pwd /usr/src/sys/i386/conf dd# grep -i acpi GENERIC dd# my GENERIC doesn't have acpi either... as far as "weird" part goes, this is a plain vanila FreeBSD-7.0-RELEASE, I'm not sure what you mean by "weird" or i386 part, all I did is cp GENERIC dd then vi dd, then config dd and then tried compiling and it threw me an error right away. On Thu, May 1, 2008 at 5:34 PM, Mel wrote: > > On Wednesday 30 April 2008 23:23:27 alexus wrote: > > dd# make cleandepend && make depend > > rm -f .depend machine amd64 > > cd ../../../modules; > > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > > ===> aac (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_data (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_http (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> acpi (cleandepend) > > ===> acpi/acpi (cleandepend) > > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > > amd64 and ia64 platforms" > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/acpi. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/src/sys/i386/compile/dd. > > dd# > > > > I took GENERIC and rewise it a little bit > > You removed device acpi and shouldn't have done that. > Also, your build system looks weird. > What is compile/dd, why are you compiling under i386 when your system is > detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory > below the source tree, rather then a directory outside the source tree. > In other words, not enough info (aside from the missing question). > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:44:11 2008 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 592D8106567A for ; Thu, 1 May 2008 21:44:11 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [72.9.101.130]) by mx1.freebsd.org (Postfix) with ESMTP id 80A418FC24 for ; Thu, 1 May 2008 21:44:09 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.14.1/8.14.1) with ESMTP id m41Li54C023541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 1 May 2008 17:44:07 -0400 (EDT) (envelope-from danm@prime.gushi.org) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=prime.gushi.org; s=primegushiorg; t=1209660771; bh=IXfNzgD1qzu+fw5jrXxST1y+FO0=; h=DomainKey-Signature:Date:From:To:Subject:Message-ID:User-Agent: MIME-Version:Content-Type; b=d4UoVyvePBAy5uuyIfiaUxmHQmTh3wM2iFGRy 9FgMY0kCcdzc/8ELIvIVaWtGSb1zM5HXJYnUKxfa3oE4Wchxg== DomainKey-Signature: a=rsa-sha1; s=primegushiorg; d=prime.gushi.org; c=nofws; q=dns; h=received:date:from:to:subject:message-id:user-agent: mime-version:content-type; b=IQdhx96TLM/e6tr02MPCHRhdA3SjZ0ppbTFEyK/23pqh5KXh9Fxnp5mrzGaSkAwZZ UYHinOtzoR8s40WQvGXbQ== Received: (from danm@localhost) by prime.gushi.org (8.14.1/8.13.8/Submit) id m41Li4oJ023530; Thu, 1 May 2008 17:44:04 -0400 (EDT) (envelope-from danm) Date: Thu, 1 May 2008 17:44:04 -0400 (EDT) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Message-ID: User-Agent: Alpine 1.00 (BSF 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (prime.gushi.org [127.0.0.1]); Thu, 01 May 2008 16:52:51 +0000 (UTC) Cc: Subject: mailcap documentation? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:44:11 -0000 Hello all, There's apparently an RFC-standard file called /etc/mailcap (as well as .mailcap), but I can't find any docs on this file. Would it be worthwhile to rework the RFC into a manpage (I am willing to do it), or should I bother the providers of ports that use it (such as, say, alpine (and possibly others)? The problem is, they likely don't bundle it because other OSes have it already. It's a fairly standard file, but FreeBSD doesn't ship with an MUA that uses it (I *think*). I know mail(1) does not. -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:46:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3A81065681 for ; Thu, 1 May 2008 21:46:13 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB5F8FC12 for ; Thu, 1 May 2008 21:46:12 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so766163wra.13 for ; Thu, 01 May 2008 14:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wGM2yaLinu3TDjtILgZqxi/rBqTwHC/FXSHxhfvYs4Y=; b=GKNYzlAD0impWAxF28q0j2NmOYMWpsefyE4mIn8cXzxuefmn+SXSj3FX12YlDqCqbsi0+OfRrNVtBA/HXOtEYi8vKTqC7BNSILV+f+WYIxtnn29G4+SAVPd2jn3YDOJdxlGYAtTN0z2ywC3FbtqegtmHYrD5mJRDhzTq10KOsN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TtdDm6AuA9DuyO61JGZ3g+23dlln0U6OlSYYZkr6u1AI1IEW2bqlLlDoJv6hfjENlHBGkoJM7s6ZeTluJWZ/bxG2uJ7hA2sR1z9TWQT3ltrPNsMVXdblvZJ9A0W65+9ul+mGwp1Q0j7Cf6LcmQwqWSFO0YjLMiQ/Y5cuU8NVCKg= Received: by 10.115.75.1 with SMTP id c1mr2299763wal.114.1209678371408; Thu, 01 May 2008 14:46:11 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 14:46:11 -0700 (PDT) Message-ID: <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> Date: Thu, 1 May 2008 17:46:11 -0400 From: alexus To: Mel In-Reply-To: <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: TERM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 21:46:13 -0000 I use same client for RHEL, and it works fine, is there anything can be done in order to make key work as a key (not on client side) but on server? On Thu, May 1, 2008 at 5:40 PM, Mel wrote: > On Thursday 01 May 2008 22:56:39 alexus wrote: > > My HOME, END isn't working whenever I login through PuTTY or SecureCRT > > to FreeBSD-7.0-RELEASE-p1 > > > > anyone knows where/what needs to be adjusted? > > Your client. IIRC, secureCRT had an option to bind keys to a different > combination. But it's been a while. > ctrl-a for HOME and ctrl-e for END should work, regardless of client. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Thu May 1 22:03:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70A341065673 for ; Thu, 1 May 2008 22:03:41 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1578FC23 for ; Thu, 1 May 2008 22:03:41 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 0A94A1CC91; Thu, 1 May 2008 14:03:39 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 2 May 2008 00:03:38 +0200 User-Agent: KMail/1.9.7 References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> In-Reply-To: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805020003.38648.fbsd.questions@rachie.is-a-geek.net> Cc: alexus Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 22:03:41 -0000 On Thursday 01 May 2008 23:43:17 alexus wrote: > like i said i copy GENERIC > > dd# pwd > /usr/src/sys/i386/conf > dd# grep -i acpi GENERIC > dd# > > my GENERIC doesn't have acpi either... > > as far as "weird" part goes, this is a plain vanila > FreeBSD-7.0-RELEASE, I'm not sure what you mean by "weird" or i386 > part, all I did is cp GENERIC dd then vi dd, then config dd and then > tried compiling and it threw me an error right away. Ah, the old config way. Better to use buildkernel target in /usr/src. What's your uname -m? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Thu May 1 22:06:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EED161065672 for ; Thu, 1 May 2008 22:06:50 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 01A028FC19 for ; Thu, 1 May 2008 22:06:49 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 62898 invoked by uid 1008); 1 May 2008 22:06:46 -0000 Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.64.87) by ipad.com.br with SMTP; 1 May 2008 22:06:46 -0000 From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Thu, 1 May 2008 19:14:21 -0300 User-Agent: KMail/1.9.7 References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> In-Reply-To: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805011914.21238.mlobo@digiart.art.br> Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 22:06:51 -0000 On Thursday 01 May 2008 18:43:17 alexus wrote: >> why are you compiling under i386 when your system is >>=C2=A0detected as amd64 or ia64 ? You didn't answer this one. uname -a can help. =2D-=20 Mario Lobo http://www.mallavoodoo.com.br =46reeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FRE= E) From owner-freebsd-questions@FreeBSD.ORG Thu May 1 23:41:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08A82106564A for ; Thu, 1 May 2008 23:41:51 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id CBA638FC12 for ; Thu, 1 May 2008 23:41:50 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so90710wah.3 for ; Thu, 01 May 2008 16:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+R61EvpNfdwzu6CfOPX6ulGq6FGf6b5X2DWgdz98eos=; b=kCHcrjaUCCT+ZFeWsKWAIMXPcwSWqRkTkc9xgMGExAQr9hLGszQTEkMZq05yP+qjhDQFe+wbGIT5+UmSqQmkOcT+YvQOcNdkUs2Xf/iwheysRVSkCCdIsQANVIOFrVDMvOWua6fVSapQgZ+PbgpDzCbsHaZZouGY1W90bnUGTbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k9AjxruDcPeR8GFXswnOktVSXp5P8EOuaQAigjBUKFjQOCqLXMMPw81YYsj9ZnfQi7toD7Jx9m17NEm8vPsIfZFe6pAYMV+dyqin5dF9emzlw6wtN/1j2dmiLXdlLb0uxPcVJogjDjUP09FySmxm+g4pY5Cww/dgZvrxzAWovZo= Received: by 10.114.60.19 with SMTP id i19mr2377085waa.170.1209685309993; Thu, 01 May 2008 16:41:49 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 16:41:49 -0700 (PDT) Message-ID: <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> Date: Thu, 1 May 2008 19:41:49 -0400 From: alexus To: "Mario Lobo" In-Reply-To: <200805011914.21238.mlobo@digiart.art.br> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> <200805011914.21238.mlobo@digiart.art.br> Cc: freebsd-questions@freebsd.org Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 01 May 2008 23:41:51 -0000 sorry, this is amd64 On Thu, May 1, 2008 at 6:14 PM, Mario Lobo wrote: > On Thursday 01 May 2008 18:43:17 alexus wrote: > >> why are you compiling under i386 when your system is > >> detected as amd64 or ia64 ? > > You didn't answer this one. > > uname -a can help. > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- http://alexus.org/ From owner-freebsd-questions@FreeBSD.ORG Fri May 2 01:35:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 214D9106568F for ; Fri, 2 May 2008 01:35:41 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id C50AB8FC2A for ; Fri, 2 May 2008 01:35:40 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so639382ywh.13 for ; Thu, 01 May 2008 18:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=ZDiIWQs1wH6YWkq10B2OYJlSugEy5Axv1KxSv+0xMmI=; b=Zs+HG+lhhsQKJ4N+VD53AdChBN6h4d5G/odHaKUJfMVGCDa/GmASPS3TTZ98gv9/Pfv85GP7t7kvQdoAZ0Dzz3iHRhaOs+OnGM7z4PqKOLcS+YZ8XKCK/gq1Qo/XeRBw/rOh06OFYHlNk5X5HpVBgFCNLSfTbtoBSiMkI79DaOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=wNfYzs4chtJQMUqblgh2HtYUf+ryeev3EiJAvROdsJ+GHfpDSkNtV9BYgG+PpJ3Mr47lmlBXOg7WCm/rN1lc5F662icGzObIwB4bm6ZXSVUA4SGMleKvpepREAwnaW650K3VxSK7Z2Sf5M4vMQlSNMwNoZGHg1zxNh0lo6JO6zg= Received: by 10.150.79.42 with SMTP id c42mr3005952ybb.168.1209692135321; Thu, 01 May 2008 18:35:35 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Thu, 1 May 2008 18:35:35 -0700 (PDT) Message-ID: Date: Fri, 2 May 2008 09:35:35 +0800 From: "Ruel Luchavez" To: "Christer Hermansson" In-Reply-To: <4819EE70.60609@chdevelopment.se> MIME-Version: 1.0 References: <4819EE70.60609@chdevelopment.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 01:35:41 -0000 before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson wrote: > Ruel Luchavez wrote: > > > when i resume it to its current configuration > > "Obtain DBS server automatically" the problem is back, is this a problem > > in > > my DNS server? > > I'm using the FreeBSD 6.2 version... > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but nothing > > happens the problem is still there..Is there any one here could help > > me solve it? > > > > > > > I'm not sure but it seems that you are trying to use dhcp to receive the > address of DNS-server. > > Check the file /etc/resolv.conf ,this file should look like this: > > nameserver 10.1.2.3 > nameserver 10.4.5.6 > nameserver 10.7.8.9 > > -- > > Christer Hermansson > > > > From owner-freebsd-questions@FreeBSD.ORG Fri May 2 01:36:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9547710656AC for ; Fri, 2 May 2008 01:36:52 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 485A78FC0A for ; Fri, 2 May 2008 01:36:52 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so639575ywh.13 for ; Thu, 01 May 2008 18:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=1xRcI0W/lz1/ouf3WThftO43ghm92spzVzawv3ZbUKI=; b=CPskCq3BSZsV/7q84VYpTpCU55uOV3fKacbZgxRF5YZqd+yIucwFh8dTIdSqkT+K37MtKHDNvlWI9gt2LhBPCH9uiks5EyNGcimdbUVptthdEQYD4Jfa8DJlDImg97uxUur/bBCh/81FlFg5nfVrg6yY+4+us0POSNHUuZbagSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IMY94AtOlh5g0OFT1hV8p7c9oQ7wXURcVxuA1b0fIBRlmuI50rO47EuUmUJR2Y6PeBYSn6nTrJm0UIr2yzRmfiwHxc/Ix3+M2XO6VT/GourTdwAbeVP285X5PHZU+j0pRtKilJO295qnUeXbpKaYIatBQzRuMJ/DGekrghU+HWM= Received: by 10.150.86.10 with SMTP id j10mr2998862ybb.202.1209692211809; Thu, 01 May 2008 18:36:51 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Thu, 1 May 2008 18:36:51 -0700 (PDT) Message-ID: Date: Fri, 2 May 2008 09:36:51 +0800 From: "Ruel Luchavez" To: "Christer Hermansson" In-Reply-To: MIME-Version: 1.0 References: <4819EE70.60609@chdevelopment.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 01:36:52 -0000 before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server 192.168.1.62 could it be my firewall blocking it? but i didn't change any configuration from it.. Thanks in advance for your help..:( > > On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < > mail@chdevelopment.se> wrote: > > > Ruel Luchavez wrote: > > > > > when i resume it to its current configuration > > > "Obtain DBS server automatically" the problem is back, is this a > > > problem in > > > my DNS server? > > > I'm using the FreeBSD 6.2 version... > > > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but > > > nothing > > > happens the problem is still there..Is there any one here could help > > > me solve it? > > > > > > > > > > > I'm not sure but it seems that you are trying to use dhcp to receive the > > address of DNS-server. > > > > Check the file /etc/resolv.conf ,this file should look like this: > > > > nameserver 10.1.2.3 > > nameserver 10.4.5.6 > > nameserver 10.7.8.9 > > > > -- > > > > Christer Hermansson > > > > > > > > > From owner-freebsd-questions@FreeBSD.ORG Fri May 2 01:45:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0B6D1065675 for ; Fri, 2 May 2008 01:45:40 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 7ACA38FC17 for ; Fri, 2 May 2008 01:45:40 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: by duane.dbq.yournetplus.com (Postfix, from userid 1001) id 2C63427E42F; Fri, 2 May 2008 01:45:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 29DA527E429; Fri, 2 May 2008 01:45:39 +0000 (UTC) Date: Fri, 2 May 2008 01:45:39 +0000 (UTC) From: D Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Ruel Luchavez In-Reply-To: Message-ID: References: <4819EE70.60609@chdevelopment.se> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Christer Hermansson , freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 01:45:40 -0000 On Fri, 2 May 2008 at 09:36 +0800, ruel.freebsd@gmail.com confabulated: > before i post here i already check the /etc/resolve.conf and this is what's > inside of it > > domain name myplace.com.ph > name server 101.1.21.1 > name server 192.168.1.62 According to the resolver(5) documentation, it should look like this: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 > could it be my firewall blocking it? but i didn't change any configuration > from it.. > > Thanks in advance for your help..:( > > >> >> On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < >> mail@chdevelopment.se> wrote: >> >>> Ruel Luchavez wrote: >>> >>>> when i resume it to its current configuration >>>> "Obtain DBS server automatically" the problem is back, is this a >>>> problem in >>>> my DNS server? >>>> I'm using the FreeBSD 6.2 version... >>>> >>>> I already restarted the DNS Server "/etc/rc.d/named restart" but >>>> nothing >>>> happens the problem is still there..Is there any one here could help >>>> me solve it? >>>> >>>> >>>> >>> I'm not sure but it seems that you are trying to use dhcp to receive the >>> address of DNS-server. >>> >>> Check the file /etc/resolv.conf ,this file should look like this: >>> >>> nameserver 10.1.2.3 >>> nameserver 10.4.5.6 >>> nameserver 10.7.8.9 >>> >>> -- >>> >>> Christer Hermansson >>> >>> >>> >>> >> > _______________________________________________ > 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 Fri May 2 02:06:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D10D106566B for ; Fri, 2 May 2008 02:06:21 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 368648FC1B for ; Fri, 2 May 2008 02:06:20 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so643828ywh.13 for ; Thu, 01 May 2008 19:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=3YtwtM/Ge4LlDWfNvvONWZ2vrTIidXkNw2SyTUAY3p4=; b=P1s3udh9STz+AH/gUkTEoLGIXrzq/ykzDYPm0lxrupKE4/o4flCUcAY/kUeXrBpYPkdXcbydCimuHA+cp61y9CNNmiszBCWLH/Fv2zpICOxHXlc/uOLTJeMTvbbA1VUbk9k2fYhEA53EF3zJXqANy8zSMXfyBCGKnCg1Xipbnj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Rt3Cs5ARHO8t/SHMRWSTrEusJeZpDwVDiS/AKxFUc6Ct8TpOrJ7A/Qv4uFhQmyLYoPfdDnxuitQO3SCOC9VLxZTBb3i+TWSS/4XEAiWX4R03IeOsBY5kY7VssnrQH4tbMg0hudrZB7xBQMXQdrz9yN5MaitCiEs9rWpOgJSDj34= Received: by 10.150.137.15 with SMTP id k15mr3064604ybd.66.1209693969896; Thu, 01 May 2008 19:06:09 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Thu, 1 May 2008 19:06:09 -0700 (PDT) Message-ID: Date: Fri, 2 May 2008 10:06:09 +0800 From: "Ruel Luchavez" To: "D Hill" In-Reply-To: MIME-Version: 1.0 References: <4819EE70.60609@chdevelopment.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Christer Hermansson , freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 02:06:21 -0000 Ok..I have follow your post D Hill, but it doesn't solve the problem Please HELP... Thanks..:( On Fri, May 2, 2008 at 9:45 AM, D Hill wrote: > On Fri, 2 May 2008 at 09:36 +0800, ruel.freebsd@gmail.com confabulated: > > before i post here i already check the /etc/resolve.conf and this is > > what's > > inside of it > > > > domain name myplace.com.ph > > name server 101.1.21.1 > > name server 192.168.1.62 > > > > According to the resolver(5) documentation, it should look like this: > > domain myplace.com.ph > nameserver 101.1.21.1 > nameserver 192.168.1.62 > > could it be my firewall blocking it? but i didn't change any > > configuration > > from it.. > > > > Thanks in advance for your help..:( > > > > > > > > > On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < > > > mail@chdevelopment.se> wrote: > > > > > > Ruel Luchavez wrote: > > > > > > > > when i resume it to its current configuration > > > > > "Obtain DBS server automatically" the problem is back, is this a > > > > > problem in > > > > > my DNS server? > > > > > I'm using the FreeBSD 6.2 version... > > > > > > > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but > > > > > nothing > > > > > happens the problem is still there..Is there any one here could > > > > > help > > > > > me solve it? > > > > > > > > > > > > > > > > > > > > I'm not sure but it seems that you are trying to use dhcp to > > > > receive the > > > > address of DNS-server. > > > > > > > > Check the file /etc/resolv.conf ,this file should look like this: > > > > > > > > nameserver 10.1.2.3 > > > > nameserver 10.4.5.6 > > > > nameserver 10.7.8.9 > > > > > > > > -- > > > > > > > > Christer Hermansson > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > 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 Fri May 2 03:35:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69D1C1065671 for ; Fri, 2 May 2008 03:35:22 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.freebsd.org (Postfix) with ESMTP id 127BC8FC19 for ; Fri, 2 May 2008 03:35:22 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 6BB1828414; Fri, 2 May 2008 15:35:20 +1200 (NZST) Date: Fri, 2 May 2008 15:35:20 +1200 From: Jonathan Chen To: Ruel Luchavez Message-ID: <20080502033520.GA60904@osiris.chen.org.nz> References: <4819EE70.60609@chdevelopment.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 03:35:22 -0000 On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: > before i post here i already check the /etc/resolve.conf and this is what's > inside of it > > domain name myplace.com.ph > name server 101.1.21.1 > name server 192.168.1.62 > The problems with what you've just posted are: 1. the file is /etc/resolv.conf, not /etc/resolve.conf 2. your contents are wrong, they should look like: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 -- Jonathan Chen ---------------------------------------------------------------------- "The things we know best are the things we haven't been taught." - Marquis de Vauvenargues From owner-freebsd-questions@FreeBSD.ORG Fri May 2 04:14:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67A8B1065681 for ; Fri, 2 May 2008 04:14:38 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: from duane.dbq.yournetplus.com (duane.dbq.yournetplus.com [65.124.230.214]) by mx1.freebsd.org (Postfix) with ESMTP id 37D208FC22 for ; Fri, 2 May 2008 04:14:38 +0000 (UTC) (envelope-from d.hill@yournetplus.com) Received: by duane.dbq.yournetplus.com (Postfix, from userid 1001) id 3E32727E47B; Fri, 2 May 2008 04:14:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by duane.dbq.yournetplus.com (Postfix) with ESMTP id 34F9B27E473; Fri, 2 May 2008 04:14:37 +0000 (UTC) Date: Fri, 2 May 2008 04:14:37 +0000 (UTC) From: D Hill X-X-Sender: d.hill@duane.dbq.yournetplus.com To: Jonathan Chen In-Reply-To: <20080502033520.GA60904@osiris.chen.org.nz> Message-ID: References: <4819EE70.60609@chdevelopment.se> <20080502033520.GA60904@osiris.chen.org.nz> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ruel Luchavez , freebsd-questions@freebsd.org Subject: Re: DNS 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: Fri, 02 May 2008 04:14:38 -0000 On Fri, 2 May 2008 at 15:35 +1200, jonc@chen.org.nz confabulated: > On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: >> before i post here i already check the /etc/resolve.conf and this is what's >> inside of it >> >> domain name myplace.com.ph >> name server 101.1.21.1 >> name server 192.168.1.62 >> > > The problems with what you've just posted are: > > 1. the file is /etc/resolv.conf, not /etc/resolve.conf Ha! I didn't catch the misspelling of resolv.conf. :-( > 2. your contents are wrong, they should look like: > domain myplace.com.ph > nameserver 101.1.21.1 > nameserver 192.168.1.62 From owner-freebsd-questions@FreeBSD.ORG Fri May 2 04:50:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 973C51065678 for ; Fri, 2 May 2008 04:50:17 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 5797C8FC16 for ; Fri, 2 May 2008 04:50:17 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so663479ywh.13 for ; Thu, 01 May 2008 21:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=IIV10A4iPTJJcsgTi9nkbwZW+zMXeu4Ph+C03xynzfA=; b=O8F7hfsRkBhF3e4ZME74RY9sHqVQdfBwNI2xyjJfVWZKi4mtad18rq2RWDLN6DlY4H/1/rjVCOOSwKfdrSpGIpyTlQsj0iK4jwYhHF/t2FdjO9h4dpRovgAXtzoTORW2V1pUVi+pjIi/yD212ZcvlOQE97dwqGv4dS5TElc8oOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Txhg9vib5OeF3DPaks8WH0Gbn619B2Ehd1vzPSwXWeVKljoDMfaUfAOuJeChUAKzaP5qHaUxd+NL5YVL2+ipxcyZ70NZcdClOdv1CBYqh23NTY+CKdzRJOAz+nTTwYIV8IzPz/i+qFFy0yFE8dkw663COiJtw6uVpDR7H6NpZ8c= Received: by 10.150.50.3 with SMTP id x3mr3164028ybx.31.1209703814298; Thu, 01 May 2008 21:50:14 -0700 (PDT) Received: by 10.150.229.15 with HTTP; Thu, 1 May 2008 21:50:14 -0700 (PDT) Message-ID: <14989d6e0805012150j1e5b41c3g4b598cfa94a52fec@mail.gmail.com> Date: Fri, 2 May 2008 06:50:14 +0200 From: "Christian Walther" To: alexus In-Reply-To: <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> Cc: freebsd-questions Subject: Re: TERM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 04:50:17 -0000 Hi Alexus, 2008/5/1 alexus : > I use same client for RHEL, and it works fine, is there anything can > be done in order to make key work as a key (not on client side) but on > server? probably, yes. I guess that your client sets the TERM variable to something FreeBSD doesn't understand correctly. The settings in TERMINFO aren't neccessarily the same on all platforms, let alone the fact that some aren't available at all. There's for example "linux" which I've seen to be the default in some terminals but doesn't work on non Linux-systems of course. "xterm" seems to be available everywhere, but doesn't contain the same binding on all platforms. Solaris for example lacks color support on some other bindings I've forgotten. "vt100" should be fine everywhere (but might miss a few features). You can try several TERM settings in one session by assigning the proper value to this variable, respectively. If you found one that suits your needs you can save this setting on the client side, because its the client that sends the Terminfo to be used to the server. HTH Christian From owner-freebsd-questions@FreeBSD.ORG Fri May 2 05:20:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4A25106567E for ; Fri, 2 May 2008 05:20:37 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB2E8FC20 for ; Fri, 2 May 2008 05:20:37 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 6644DC946C for ; Fri, 2 May 2008 07:20:35 +0200 (CEST) Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 19516-06 for ; Fri, 2 May 2008 07:20:35 +0200 (CEST) Received: from [127.0.0.1] (cxw210.internetdsl.tpnet.pl [83.19.156.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 12B62C9427 for ; Fri, 2 May 2008 07:20:35 +0200 (CEST) Message-ID: <481AA49E.2020404@lc-words.com> Date: Fri, 02 May 2008 07:20:30 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090400050808010509030907" Subject: handling stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 05:20:37 -0000 This is a cryptographically signed message in MIME format. --------------ms090400050808010509030907 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hello, I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: netpbm-10.26.52 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pear-Image_Color-1.0.2_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pecl-pdflib-2.1.5 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: php5-gd-5.2.5_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: phpMyAdmin-2.11.5 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: rrdtool-1.2.26 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. I am not even sure png is installed. $ pkg_info -Ix png pkg_info: no packages match pattern(s) $ cat /usr/ports/graphics/png/distinfo MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc SIZE (libpng-1.2.28.tar.bz2) = 788156 Many thanks in advance! -- Zbigniew Szalbot www.lc-words.com --------------ms090400050808010509030907 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAyMDUyMDMwWjAjBgkq hkiG9w0BCQQxFgQU9dKAB8nvSj6Jd85lpCq0JlPpCxQwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAMduogRXshvTxANKmfgFczA/Mx3JM2zg3 cs+sWseOOvSUm4df0kJgB698i5bi//HWqbZoeAPPN0OjH+ogCsD3jkUIOUJyzsOC6IZva/2h PteRKyro2FyoKqBSf5xRRR8yoEAiUpf2hbnOxmRiZMTWJqdtnrzZ5MsgRPQzi5nkIVAAAAAA AAA= --------------ms090400050808010509030907-- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 05:38:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367061065675 for ; Fri, 2 May 2008 05:38:57 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.freebsd.org (Postfix) with ESMTP id F280B8FC25 for ; Fri, 2 May 2008 05:38:56 +0000 (UTC) (envelope-from oli.garnier@free.fr) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id A657232280C; Fri, 2 May 2008 07:38:55 +0200 (CEST) Received: from DIMENSION (lns-bzn-48f-62-147-252-233.adsl.proxad.net [62.147.252.233]) by smtp7-g19.free.fr (Postfix) with ESMTP id 2A63B3227EB; Fri, 2 May 2008 07:38:54 +0200 (CEST) From: "Olivier GARNIER" To: "'Derek Ragona'" , References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> Date: Fri, 2 May 2008 07:39:05 +0200 Message-ID: <000a01c8ac16$d61f90b0$6501a8c0@DIMENSION> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcirtzjHNLgZlsjURGy8g42mrdnz2AAXqzrQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> Cc: Subject: RE: Nut problem and last message repeated in dmesg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 05:38:57 -0000 $ pkg_info | grep nut nut-2.2.1_1 Network UPS Tools $ grep driver /usr/local/etc/nut/*.conf | grep -v \# /usr/local/etc/nut/ups.conf: driver =3D usbhid-ups $ grep Ellipse /usr/local/etc/nut/driver.list | grep 750 | grep usb "MGE Office Protection Systems" "Ellipse ASR USBS 600/750/1000/1500 VA" "USB cable" "usbhid-ups" "MGE UPS SYSTEMS" "Ellipse Office 750" "USB" = "usbhid-ups" $ sudo /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Broadcast Message from root@myhost (no tty) at 7:34 CEST... Communications with UPS ellipse@localhost established It seems to be the good driver. It seems to be the last nut version. It seems to run weel during about 1/2 day, and then crash :/ Olivier ________________________________________ De=A0: Derek Ragona [mailto:derek@computinginnovations.com]=20 Envoy=E9=A0: jeudi 1 mai 2008 20:14 =C0=A0: Olivier GARNIER; freebsd-questions@freebsd.org Objet=A0: Re: Nut problem and last message repeated in dmesg =A0 Make sure you are using the correct driver.=A0 Nut has consolidated and changed drivers in recent releases.=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0-Derek From owner-freebsd-questions@FreeBSD.ORG Fri May 2 06:09:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A1D01065673 for ; Fri, 2 May 2008 06:09:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 626748FC15 for ; Fri, 2 May 2008 06:09:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m42696ao008832; Fri, 2 May 2008 07:09:14 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m42696ao008832 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209708554; bh=KM9uXloA+kffw2 qDKjEQQf1iZNmOiIWSlBhWgSHsGkI=; 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=Mes sage-ID:=20<481AAFFC.80101@infracaninophile.co.uk>|Date:=20Fri,=200 2=20May=202008=2007:09:00=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-A gent:=20Thunderbird=202.0.0.12=20(X11/20080427)|MIME-Version:=201.0 |To:=20Mel=20|CC:=20freebsd-qu estions@freebsd.org,=20John=20,=20=0D=0A=20Paul=2 0Schmehl=20|Subject:=20Re:=20Recovering=20mysql =20data=20-=20mysqlbinlog|References:=20<200805011913.DSZ93243@jmu. edu>=09<200805012152.06354.fbsd.questions@rachie.is-a-geek.net>=09< B7797CB8B91FC30D58FEBAC9@utd65257.utdallas.edu>=20<200805012255.456 00.fbsd.questions@rachie.is-a-geek.net>|In-Reply-To:=20<20080501225 5.45600.fbsd.questions@rachie.is-a-geek.net>|X-Enigmail-Version:=20 0.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B =0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary =3D"------------enig969BD8896FBD52C751B888BA"; b=dN2em8UG/5vM6DJlHO ZxBCD11j6dJPVsVuwgGoNOC6H8+EylzfKp1/+RX7IN3ueDFKdvQ5O5KGyXH8qkbdRC+ Hlu+QKGDJj0fy3oKpNmraMAdw82an9oV2aurJ+fWChuLReqw/rLR+sA2F6U03c8Iu6q PgV4QEXe9f405UIfJV0= Message-ID: <481AAFFC.80101@infracaninophile.co.uk> Date: Fri, 02 May 2008 07:09:00 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: Mel References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig969BD8896FBD52C751B888BA" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 02 May 2008 07:09:14 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: John , Paul Schmehl , freebsd-questions@freebsd.org Subject: Re: Recovering mysql data - mysqlbinlog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 06:09:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig969BD8896FBD52C751B888BA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mel wrote: > On Thursday 01 May 2008 22:24:33 Paul Schmehl wrote: >> --On Thursday, May 01, 2008 21:52:05 +0200 Mel >> >> wrote: >>> On Thursday 01 May 2008 21:13:41 John wrote: >>>> Thank you Mel and Paul for the suggestions. From what I understand = the >>>> general query log is more for debugging and the binary log is for po= int >>>> in time recovery and replication. I'll be adding a my.cnf file (usi= ng >>>> the my-large.cnf as a skeleton) soon. I'm glad the issue was caught= >>>> earlier on and now I'm the wiser thanks to you guys. I wonder why t= he >>>> default is no. I can't think of anyone who wouldn't find the binary >>>> logging beneficial. >>> I can think of a reason for FreeBSD. The binary logs are never delete= d >>> and upon every server restart a new one is created. If you're like me= , >>> developing on a laptop with a webenvironment including 'Mysql server'= , >>> shutting down your laptop daily, you quickly find yourself having ful= l >>> /var partition. >> That can be alleviated by adding the logs to newsyslog.conf and gzippi= ng >> and rotating them regularly. >> If you don't restart mysql much, something like this would work: >> >> /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 = JBG >> /var/db/mysql/[FQHN].pid >> >> If you're restarting it daily, something like this should work: >> >> /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG >> /var/db/mysql/[FQHN].pid >> >> Adjust the counts and the rotation schedule to your liking and, of cou= rse, >> use your own hostname and fully qualified hostname. Ummm... actually this is not a particularly good idea. MySQL keeps an in= ternal list of all the binlogs it has available, and doing this will break that.= The best method is to cron a script that will run eg. PURGE MASTER LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 7 DAY); for whatever interval suits you. binlogs can absorb a lot of space for v= ery little return, especially on a busy server. There's really no point in k= eeping binlogs from before the earliest full database dump in your backup cycle,= and even keeping that many is probably a little OTT for most purposes. You are regularly dumping the database aren't you? > Yes, in this particular case it can, not changing hostnames is a plus t= hen (as=20 > in, getting hostname from your dhcp server) ;) > Actually, I think you can use a fixed name, but it's been a while since= I=20 > looked at the bin-log related variables. >=20 > However if you're using the bin-log, to recover accidental deletes or=20 > replications, then you need to use the mysql provided SQL commands for = it.=20 > It's scriptable (periodic/crontab), but not for use in newsyslog. >=20 MySQL recommends that you use a fixed name for binary logs nowadays. mysql-bin.NNNNNNN typically. The reasoning seems to be that it makes it easier to deal with replication -- although relay logs are all still labe= led by the hostname of the master server. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig969BD8896FBD52C751B888BA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkgasAIACgkQ8Mjk52CukIwnRQCfbQ0gmWPD8zmF+viqhfDa5kJ7 gPUAnjFSZgJfgnumZFy7Ye7tvxjvkOFD =h5R+ -----END PGP SIGNATURE----- --------------enig969BD8896FBD52C751B888BA-- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 06:13:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BC1B106567A for ; Fri, 2 May 2008 06:13:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 45CE28FC0A for ; Fri, 2 May 2008 06:13:02 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0800LHB99P8D20@mta5.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Fri, 02 May 2008 02:13:01 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m426CxQF015160; Fri, 02 May 2008 02:13:00 -0400 Date: Fri, 02 May 2008 02:12:53 -0400 From: "Aryeh M. Friedman" In-reply-to: <481AA49E.2020404@lc-words.com> To: z.szalbot@lc-words.com Message-id: <481AB0E5.5080300@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <481AA49E.2020404@lc-words.com> User-Agent: Thunderbird 2.0.0.12 (X11/20080426) Cc: freebsd-questions@freebsd.org Subject: Re: handling stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 06:13:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zbigniew Szalbot wrote: | Hello, | | I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? I am not sure what your asking... if your asking do you need png for phpMyAdmin the short answer is no... the long answer is yes because if you want to maintain the ports it depends on then they need png. Portupgrade uses an external DB (not the same one as pkg_* uses) and this is the one that pkgdb maintains. Which means that until you run pkgdb portupgrade will use the "old" depends... now if you not using portupgrade this is not an issue but since you are you need to make sure the two are in sync. That being said once you answered yes/all to "Delete this?" then any mention of the depend in pkgdb will be removed and if you had already done a make deinstall or pkg_delete then your fine all the way around (and by definition you already have because you will not get that question unless the port/package doesn't exist in the /var/db/pkg hierachy) | | Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: netpbm-10.26.52 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pear-Image_Color-1.0.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pecl-pdflib-2.1.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: php5-gd-5.2.5_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: phpMyAdmin-2.11.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: rrdtool-1.2.26 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | | I am not even sure png is installed. | $ pkg_info -Ix png | pkg_info: no packages match pattern(s) | | $ cat /usr/ports/graphics/png/distinfo | MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e | SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc | SIZE (libpng-1.2.28.tar.bz2) = 788156 | | Many thanks in advance! | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgasOUACgkQk8GFzCrQm4B5nQCdGTC1J9VxQ6q2+bOZFvuOxVvk cFkAn0VNZMqA0Z2RLGoyMMlpfPkHMhAb =bEax -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 08:11:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4711106564A for ; Fri, 2 May 2008 08:11:20 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 48AD98FC21 for ; Fri, 2 May 2008 08:11:19 +0000 (UTC) (envelope-from amsibamsi@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so2136461fge.35 for ; Fri, 02 May 2008 01:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=WLOGnpQ6xFEftQmFvml7Hh3cVfHTNJ8Fgj0oPLPys44=; b=kGfXkj7K3m2uS2yexcfUYmT6bUgbQr8egyJ9OWGZtQdUf26eQOV/n72J4tEk9EZHG7SNVXtp0I70ulG6qZ1u00yzOsSeAo2sPiO8RJAeORnN5MKkBRD922SoNt9d1H2VJvtmwmTCZBnz3Osiur10wlWNz3Z7loSR3KWO+Ko7NUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=nYkwcBX8NTeI34FUF/gn5mViw00zvLIlLpESR8ZiyNdi2juoc/f1SDkSp7vyvQ5CwMTxs2TjnVOEQY73Gw8E12xkLWZIIzRDG6nh5Z2ZcGUF5LKBI1lbrIumXbgSkl4NtP0usABBNsz4tPduvWxjdiAB4Z68vHcw24iyM52lH8w= Received: by 10.86.98.10 with SMTP id v10mr339455fgb.46.1209715878825; Fri, 02 May 2008 01:11:18 -0700 (PDT) Received: from trick.unibe.ch ( [130.92.65.28]) by mx.google.com with ESMTPS id d6sm2287327fga.2.2008.05.02.01.11.17 (version=SSLv3 cipher=OTHER); Fri, 02 May 2008 01:11:18 -0700 (PDT) Message-Id: From: Anselm Strauss To: freebsd-questions@freebsd.org In-Reply-To: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 2 May 2008 10:11:16 +0200 References: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> X-Mailer: Apple Mail (2.919.2) Cc: Mel Subject: Re: 7.0-RELEASE + newer kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 08:11:20 -0000 On May 1, 2008, at 13:34 , Mel wrote: > On Thursday 01 May 2008 13:17:03 Anselm Strauss wrote: > > >> The reasons why I hesitate to upgrade to 7.0-STABLE are: >> >> - freebsd-update won't work anymore. How do I then get informed about >> security updates? > > Using your favorite RSS reader and subscribe to: > http://www.freebsd.org/security/advisories.rdf Ok, I already subscribed to the freebsd-security-notifications list, I assume that should do the same. >> - Can't install distributions with sysinstall anymore. Do I just >> compile everything from source? > > Yes (to distributions, no to ports), but you have to upgrade by source > to -STABLE to begin with, unless you want to go the hard way and > bake a new > CD/DVD. Since compiling is no problem for me, I think I will stick with the source, since you also can install parts of the source, e.g. install the manual pages afterwards. >> - How do I actually update from release to stable? I have to compile >> everything myself from the sources, right? As well as for any update? > > The handbook has an entire section for this: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Yes, I saw that once, but forgot it again. Worked perfectly for me. > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. Thanks, Anselm From owner-freebsd-questions@FreeBSD.ORG Fri May 2 09:09:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47B011065675 for ; Fri, 2 May 2008 09:09:52 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0F62C8FC18 for ; Fri, 2 May 2008 09:09:51 +0000 (UTC) (envelope-from ruel.freebsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so684646ywb.61 for ; Fri, 02 May 2008 02:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=KxzZa6yXdPYL82Nkja5T+jgp9GaSew1FbF9L7SkyrjQ=; b=ZV7x4SQ6CQT/bieskLoe+thaZNCeBdFNQatOUIMhU2eBnFkxFrVrOdHD7r5dejLg3Gi8Wi9FUsAnHWC9/veGWRklLzF0CHXv5OHbvjE9dOUH+yqmkU1DFwepdh849sOJBg/7KQJtx59kZLhh2b5X0zcdwa+Hpm6gdeBUp56Uw1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=XdmXuHIOdoHYojpzUDbVD31Aspe6nIWuj1pgK66xB3mAbUWd+OdwV4uw5ddHtQuPQq9qS3mR/Qg0v+/J7KA8AgO6gCZLacqQFtU8RvIAvTZTxnuPSj93ZUPTeIc/zmxjSUxnqKwjorgYwdUrdcQkBjLgM4Zhop6XH8gB7g2OCfg= Received: by 10.150.68.2 with SMTP id q2mr3265364yba.89.1209719382877; Fri, 02 May 2008 02:09:42 -0700 (PDT) Received: by 10.150.97.21 with HTTP; Fri, 2 May 2008 02:09:42 -0700 (PDT) Message-ID: Date: Fri, 2 May 2008 17:09:42 +0800 From: "Ruel Luchavez" To: freebsd-questions@freebsd.org. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: KDE3 Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 09:09:52 -0000 Hi, Why is it when i install KDE3 in my server I always got an error, this is the command when i install it -cd /usr/ports/x11/kde3 -make install *and this is the reply of the server:* -Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. -fetch:// ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable (e.g., file not found, no access) -Couldn't fetch ot-please try to retreive this -port manually into /usr/ports/distfiles/KDE and try again. ***Error code 1 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Did i miss something??? Please HELP here... Thanks in advance...:( From owner-freebsd-questions@FreeBSD.ORG Fri May 2 09:46:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0975106566B; Fri, 2 May 2008 09:46:52 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8128F8FC19; Fri, 2 May 2008 09:46:52 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 2 May 2008 11:49:50 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m429kkdt003614; Fri, 2 May 2008 11:46:46 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 2 May 2008 11:46:46 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20080502094646.GA3576@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 02 May 2008 09:49:50.0479 (UTC) FILETIME=[DD3AC9F0:01C8AC39] Cc: freebsd-mobile@freebsd.org Subject: measure traffic caused by pppd (UMTS) 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: Fri, 02 May 2008 09:46:53 -0000 Hello, Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; Is there some tool which I could put into /etc/ppp/ip_down script which logs the traffic done into some file; I see /usr/ports/net/ppptraf which comes without any documentation and is curses based :-( any other ideas? I'm not interested in any analysis about to which location the traffic goes or about speed and bandwidth; just - cmd line based with output to a file or stdout - the amount of bytes/megabytes in and out; thx in advance matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Fri May 2 11:54:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0660B106564A for ; Fri, 2 May 2008 11:54:14 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id CCAB28FC21 for ; Fri, 2 May 2008 11:54:13 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: by py-out-1112.google.com with SMTP id u52so2253728pyb.10 for ; Fri, 02 May 2008 04:54:13 -0700 (PDT) Received: by 10.141.203.7 with SMTP id f7mr1310044rvq.7.1209727724895; Fri, 02 May 2008 04:28:44 -0700 (PDT) Received: by 10.141.142.10 with HTTP; Fri, 2 May 2008 04:28:44 -0700 (PDT) Message-ID: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> Date: Fri, 2 May 2008 07:28:44 -0400 From: "Free BSD" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD Server Settings Consult X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 11:54:14 -0000 We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=8192 kern.maxvnodes=132072 kern.maxfiles=65535 kern.maxfilesperproc=65536 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=1 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 vfs.vmiodirenable=1 net.inet.ip.portrange.randomized=1 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 kern.randompid=89061 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.random_id=89061 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=256 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 net.link.ether.inet.max_age=1200 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=32768 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=65535 kern.maxfilesperproc=65536 # cat /etc/rc.conf (minus networking) clear_tmp_enable="YES" update_motd="NO" tcp_extensions="YES" firewall_enable="YES" firewall_script="/etc/ipfw.rules" linux_enable="YES" sshd_enable="NO" usbd_enable="NO" fsck_y_enable="YES" oidentd_enable="YES" pureftpd_enable="no" syslogd_enable="YES" syslogd_flags="-ss" ntpd_enable="YES" ntpd_flags="-4 -p/var/run/ntpd.pid" tcp_keepalive="YES" icmp_bmcastecho="NO" icmp_bandlim=="YES" portmap_enable="NO" icmp_drop_redirect="YES" quota_enable="YES" check_quotas="YES" #accounting_enable="YES" named_program="/usr/sbin/named" named_flags="-u bind -c /etc/namedb/named.conf" named_enable="YES" local_startup="/usr/local/etc/rc.d" openssh_enable="YES" openssh_flags="-4 -f/etc/ssh/sshd_config" openssh_pidfile="/var/run/sshd.pid" sendmail_enable="NO" network_interfaces="rl0 lo0" webmin_enable="YES" dumpdev="AUTO" dumpdir="/var/crash" courier_imap_imapd_enable="YES" courier_imap_imapd_ssl_enable="YES" courier_imap_pop3d_enable="YES" courier_imap_pop3d_ssl_enable="YES" courier_authdaemond_enable="YES" tor_enable="NO" chkservd_enable="YES" apop3d_enable="NO" From owner-freebsd-questions@FreeBSD.ORG Fri May 2 12:27:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8382B1065688 for ; Fri, 2 May 2008 12:27:35 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id E88218FC1A for ; Fri, 2 May 2008 12:27:34 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 483BEC947C for ; Fri, 2 May 2008 14:27:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords.key.pem; t=1209731253; bh=lJmqaJg33+aop2W1Xem0nirGesV yqJT41fTW0bWu+u8=; h=Message-ID:Date:From:Reply-To:MIME-Version:To: Subject:Content-Type; b=bAGo601b0UouYQfZW3M/fM15ZxXBdLDe6zMz8Oib7e 4xSjYTYghhlrEFbg1M3i7I7Fd3vh7SEEiinqpsE+UjqVJgxhJlSlApm56FjCgKb0mte NQtuPa9zrA2ruN04p1QWCvTcKtzUW3gVWmEmbtia3Ty6/JH6jsNqkqzNPoThH0= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 30912-05 for ; Fri, 2 May 2008 14:27:33 +0200 (CEST) Received: from [127.0.0.1] (cxw210.internetdsl.tpnet.pl [83.19.156.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id CE261C9421 for ; Fri, 2 May 2008 14:27:32 +0200 (CEST) Message-ID: <481B08B2.7070702@lc-words.com> Date: Fri, 02 May 2008 14:27:30 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060609020009050103070904" X-Virus-Scanned: Maia Mailguard Subject: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 12:27:35 -0000 This is a cryptographically signed message in MIME format. --------------ms060609020009050103070904 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hello, Following a recent thread I would like to ask if it is safe to remove old binlog data. From the below I understand that the current binlog is mysql-bin.000007 and the previous ones (from 000001-000006) are not written to any more. I just need confirmation before I take any action. By asking whether it is safe, I only mean if deleting them will not affect mysql operation. I do backups of mysql data anyway. -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 Do I understand correctly that removing mysql-bin.000007 would result in mysql not writing any data to mysql-bin file until the server gets restarted? Many thanks for sharing! -- Zbigniew Szalbot www.lc-words.com --------------ms060609020009050103070904 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAyMTIyNzMwWjAjBgkq hkiG9w0BCQQxFgQUqM9wtq0m65474haOszvgHSFqmm4wUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAixEbd6aflFUrA3gSOrThb32YnhkP/2EC zssgPUpaQWtOU7hCSeYvQyS/7lkutuSvonIFBpmc2iAocoSGKEIJ3msxn5eRZiWunGQ6qAqJ 1lxuRcYjVCbbu+wwQt/qctHm/ENkkXysjRr+V5s0nt08sqxgMgYzirDufGXUi/RRkUoAAAAA AAA= --------------ms060609020009050103070904-- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 12:47:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C61E106564A for ; Fri, 2 May 2008 12:47:07 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 53F378FC15 for ; Fri, 2 May 2008 12:47:05 +0000 (UTC) (envelope-from mlobo@digiart.art.br) Received: (qmail 63082 invoked by uid 1008); 2 May 2008 12:47:04 -0000 Received: from unknown (HELO lobo) (mlobo@digiart.art.br@189.70.91.243) by ipad.com.br with SMTP; 2 May 2008 12:47:04 -0000 From: Mario Lobo Organization: DigiArt Systems To: freebsd-questions@freebsd.org Date: Fri, 2 May 2008 09:54:38 -0300 User-Agent: KMail/1.9.7 References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805011914.21238.mlobo@digiart.art.br> <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> In-Reply-To: <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805020954.38275.mlobo@digiart.art.br> Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 12:47:07 -0000 On Thursday 01 May 2008 20:41:49 alexus wrote: > sorry, this is amd64 > > On Thu, May 1, 2008 at 6:14 PM, Mario Lobo wrote: > > On Thursday 01 May 2008 18:43:17 alexus wrote: > > >> why are you compiling under i386 when your system is > > >> detected as amd64 or ia64 ? > > > > You didn't answer this one. > > > > uname -a can help. > > -- > > Mario Lobo > > http://www.mallavoodoo.com.br > > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows > > FREE) _______________________________________________ > > 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" Then you should: cd /usr/src/sys/amd64/conf copy/edit GENERIC dd /usr/sbin/config dd cd ../compile/dd make cleandepend;make depend;make;make make install this should work -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From owner-freebsd-questions@FreeBSD.ORG Fri May 2 14:36:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA337106566B for ; Fri, 2 May 2008 14:36:41 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id 619CE8FC1A for ; Fri, 2 May 2008 14:36:41 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.145] Received: from adsl-76-238-148-145.dsl.irvnca.sbcglobal.net (adsl-76-238-148-145.dsl.irvnca.sbcglobal.net [76.238.148.145]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42EacDr019690 for ; Fri, 2 May 2008 09:36:39 -0500 Date: Fri, 2 May 2008 07:36:37 -0700 (PDT) From: Chris Maness X-X-Sender: chris@ns1.kq6up.org To: FreeBSD List Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 14:36:41 -0000 How do I compile in debugging into apache using ports? There is no configmenu when one begins to install/compile the port. I'm still having trouble with apache crashing on a recently upgraded server. (after I have rebuilt all of the ports). I was having the same problem with apache on a sandbox server after upgrade to 7.0-RELEASE. I wasn't ever able to figure it out. I have just upgraded apache on a production server, and I am not able to cut over until apache working. I get no errors in log files no errors on std out, and no core dump either. If I attache to GDB, I get no messages either. Wierd. Thanks, Chris Maness (909) 223-9179 http://www.chrismaness.com From owner-freebsd-questions@FreeBSD.ORG Fri May 2 14:58:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0042F1065671 for ; Fri, 2 May 2008 14:58:39 +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 CB6128FC25 for ; Fri, 2 May 2008 14:58:39 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.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 4DDAAEBC3B; Fri, 2 May 2008 10:58:38 -0400 (EDT) Date: Fri, 2 May 2008 10:58:53 -0400 From: Bill Moran To: Chris Maness Message-Id: <20080502105853.36874cdf.wmoran@potentialtech.com> In-Reply-To: References: X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 14:58:40 -0000 In response to Chris Maness : > How do I compile in debugging into apache using ports? There is no > configmenu when one begins to install/compile the port. I'm still having > trouble with apache crashing on a recently upgraded server. (after I have > rebuilt all of the ports). I was having the same problem with apache on a > sandbox server after upgrade to 7.0-RELEASE. I wasn't ever able to figure > it out. I have just upgraded apache on a production server, and I am not > able to cut over until apache working. I get no errors in log files no > errors on std out, and no core dump either. If I attache to GDB, I get no > messages either. Wierd. First, put WITH_DEBUG=absolutely in /etc/make.conf. This will cause all ports that are built to have debug symbols. I believe you need to save the /usr/ports/*/[portname]/work directory after installing, so don't do a make clean until you've archived that somewhere. Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. Specifically: kern.coredump: 1 kern.sugid_coredump: 1 Then, make sure the www user has write access to wherever it's trying to dump to. Personally, I prefer to tweak kern.corefile to be /usr/local/corefiles/%N.%P.core. I can then ensure that directory exists and that all users have write access to it (probably not the best idea on a production server, however) >From there, you should be getting usable coredumps. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri May 2 14:58:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3242E1065685 for ; Fri, 2 May 2008 14:58:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCE58FC1A for ; Fri, 2 May 2008 14:58:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m42Ewbcw027987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 May 2008 15:58:44 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m42Ewbcw027987 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209740324; bh=aiFMQHUTG/QdUE Tp9iOALio/VvofSY3+6kMX9XCvpSc=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<481B2C1C.2 050206@infracaninophile.co.uk>|Date:=20Fri,=2002=20May=202008=2015: 58:36=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.12=20(X11/20080426)|MIME-Version:=201.0|To:=20z.szalbot@lc- words.com|CC:=20freebsd-questions@freebsd.org|Subject:=20Re:=20hand ling=20mysql=20binlog=20data|References:=20<481B08B2.7070702@lc-wor ds.com>|In-Reply-To:=20<481B08B2.7070702@lc-words.com>|X-Enigmail-V ersion:=200.95.0|Content-Type:=20text/plain=3B=20charset=3DUTF-8|Co ntent-Transfer-Encoding:=207bit; b=POT3cviH1B7x+riL4cEwaxEdy+OlULvQ uIZXbDZyZmj+MocYMAlskn3aEzX1r2+4rnecqZQXyOjoERmOL80eovGl/p4qNh5mQlB TmacoWCzf6uJ7RZCMCNgWgaoDRrETQSgNQyDmDhVOCkDOzboby+ddt/NoI64mvIzwuU ddnK4= Message-ID: <481B2C1C.2050206@infracaninophile.co.uk> Date: Fri, 02 May 2008 15:58:36 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080426) MIME-Version: 1.0 To: z.szalbot@lc-words.com References: <481B08B2.7070702@lc-words.com> In-Reply-To: <481B08B2.7070702@lc-words.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Fri, 02 May 2008 15:58:44 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 14:58:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zbigniew Szalbot wrote: > Hello, > > Following a recent thread I would like to ask if it is safe to remove > old binlog data. From the below I understand that the current binlog is > mysql-bin.000007 and the previous ones (from 000001-000006) are not > written to any more. I just need confirmation before I take any action. > By asking whether it is safe, I only mean if deleting them will not > affect mysql operation. I do backups of mysql data anyway. The reason for keeping binlog files is so that you can replay any SQL queries that modify the database contents. You may want this for auditing or for performance analysis, but the most usual reason is as a way of recoverng the database contents right up to the very latest point possible. In that case, if you're making regular database dumps, you only need the binlog data written after the database dump. (Depending on how paranoid you are, you might have several database dumps, and keep binlogs between the oldest dump you have and the present, but that's probably more than is strictly necessary) > -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 > -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 > -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 > -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 > -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 > -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 > -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 > > Do I understand correctly that removing mysql-bin.000007 would result in > mysql not writing any data to mysql-bin file until the server gets > restarted? MySQL maintains an open file descriptor on the current binlog file -- if you delete that file while MySQL is running, you'll clear the directory entry for the file, but the file data will still exist and be writable for MySQL. Of course, as soon as MySQL closes the descriptor, the last link to the data will be lost, and the OS will feel free to recycle that chunk of disk space. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkgbLBwACgkQ3jDkPpsZ+VZJRACgqRwhCfQcV/HV7XUe89w1UGDs 3lMAoIHm4elc4s/ACuhWQRt8hKnvvI+i =10Os -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:36:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 571B5106564A for ; Fri, 2 May 2008 15:36:40 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from n126.sc0.he.tucows.com (smtpout1097.sc0.he.tucows.com [64.97.144.97]) by mx1.freebsd.org (Postfix) with ESMTP id 271FA8FC0A for ; Fri, 2 May 2008 15:36:39 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from sc0-out06.emaildefenseservice.com (64.97.131.2) by n126.sc0.he.tucows.com (7.2.069.1) id 47AEF77000BC02EA; Fri, 2 May 2008 15:02:32 +0000 X-SpamScore: 50 X-Spamcatcher-Summary: 50, 0, 0, e130fb2d8de10ba5, b9338917dab56e3e, eagletree@hughes.net, -, RULES_HIT:355:379:481:541:564:599:601:946:967:968:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2194:2198:2199:2200:2393:2525:2553:2560:2565:2682:2685:2692:2693:2857:2859:2909:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3354:3636:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:4321: 4419:4605:5007:6117:6119:7652:7679:7903, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none, TSO:0 X-Spamcatcher-Explanation: Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by sc0-out06.emaildefenseservice.com (Postfix) with ESMTP; Fri, 2 May 2008 15:02:24 +0000 (UTC) In-Reply-To: <481B08B2.7070702@lc-words.com> References: <481B08B2.7070702@lc-words.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Fri, 2 May 2008 07:51:23 -0700 To: z.szalbot@lc-words.com X-Mailer: Apple Mail (2.753) Cc: freebsd-questions@freebsd.org Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 15:36:40 -0000 On May 2, 2008, at 5:27 AM, Zbigniew Szalbot wrote: > Hello, > > Following a recent thread I would like to ask if it is safe to > remove old binlog data. From the below I understand that the > current binlog is mysql-bin.000007 and the previous ones (from > 000001-000006) are not written to any more. I just need > confirmation before I take any action. By asking whether it is > safe, I only mean if deleting them will not affect mysql operation. > I do backups of mysql data anyway. > > -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 > -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 > -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 > -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 > -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 > -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 > -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 > > Do I understand correctly that removing mysql-bin.000007 would > result in mysql not writing any data to mysql-bin file until the > server gets restarted? > I recently removed all logs prior to the one shown as current without any problems. I would not think you would want to remove the one currently in use or problems would result. The procedure for this is here: http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html for 5.1 and here: http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html for 5.0 Simply doing an rm on the files you know are no longer in use is probably not a good idea because they are known within mysql data files. Using the above will make sure they are removed in an orderly manner. According to the docs, if you use the process as shown, the active file will be skipped even if you accidently try to remove it. > Many thanks for sharing! > -- > Zbigniew Szalbot > www.lc-words.com From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:36:53 2008 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 3B697106566C for ; Fri, 2 May 2008 15:36:53 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id ED2538FC0A for ; Fri, 2 May 2008 15:36:52 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1Jrx0E-0004AK-PJ; Fri, 02 May 2008 16:16:50 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m42FGnrJ031207; Fri, 2 May 2008 16:16:50 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 9FB80FCA4AF; Fri, 2 May 2008 16:16:44 +0100 (BST) Date: Fri, 2 May 2008 16:16:44 +0100 From: Frank Shute To: "Dan Mahoney, System Admin" Message-ID: <20080502151644.GA79968@melon.esperance-linux.co.uk> References: 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 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Fri, 02 May 2008 16:16:50 +0100 (BST) Cc: questions@freebsd.org Subject: Re: mailcap documentation? 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: Fri, 02 May 2008 15:36:53 -0000 On Thu, May 01, 2008 at 05:44:04PM -0400, Dan Mahoney, System Admin wrote: > > Hello all, > > There's apparently an RFC-standard file called /etc/mailcap (as well as > .mailcap), but I can't find any docs on this file. > > Would it be worthwhile to rework the RFC into a manpage (I am willing to > do it), or should I bother the providers of ports that use it (such as, > say, alpine (and possibly others)? The problem is, they likely don't > bundle it because other OSes have it already. > > It's a fairly standard file, but FreeBSD doesn't ship with an MUA that > uses it (I *think*). I know mail(1) does not. > I'd like a manpage for mailcap. Even though it doesn't exist in FreeBSD quite a lot of ports use it as you say e.g mutt which comes with a very short example mailcap. I think there should be an example mailcap in base too. I can't see what harm it would do. You're probably best raising this on docs though. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:51:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F308106567B for ; Fri, 2 May 2008 15:51:39 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id C76448FC0A for ; Fri, 2 May 2008 15:51:38 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.145] Received: from adsl-76-238-148-145.dsl.irvnca.sbcglobal.net (adsl-76-238-148-145.dsl.irvnca.sbcglobal.net [76.238.148.145]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42Fpa1Q022008; Fri, 2 May 2008 10:51:37 -0500 Date: Fri, 2 May 2008 08:51:36 -0700 (PDT) From: Chris Maness X-X-Sender: chris@ns1.kq6up.org To: Bill Moran In-Reply-To: <20080502105853.36874cdf.wmoran@potentialtech.com> Message-ID: References: <20080502105853.36874cdf.wmoran@potentialtech.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 15:51:39 -0000 > Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. > Specifically: > kern.coredump: 1 > kern.sugid_coredump: 1 > What is frobbed? Chris From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:52:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 236091065671 for ; Fri, 2 May 2008 15:52:19 +0000 (UTC) (envelope-from rjhjr@cox.net) Received: from eastrmmtai105.cox.net (eastrmmtai105.cox.net [68.230.240.12]) by mx1.freebsd.org (Postfix) with ESMTP id B01F88FC28 for ; Fri, 2 May 2008 15:52:18 +0000 (UTC) (envelope-from rjhjr@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080502153034.RRFE5070.eastrmmtao107.cox.net@eastrmimpo01.cox.net> for ; Fri, 2 May 2008 11:30:34 -0400 Received: from localhost ([68.230.186.138]) by eastrmimpo01.cox.net with bizsmtp id LfWY1Z0072zbV0s02fWYXk; Fri, 02 May 2008 11:30:32 -0400 Date: Fri, 2 May 2008 11:30:32 -0400 From: Bob Hall To: freebsd-questions@freebsd.org Message-ID: <20080502153032.GA99457@kongemord.krig.net> Mail-Followup-To: Bob Hall , freebsd-questions@freebsd.org References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Subject: Re: FreeBSD Server Settings Consult X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 15:52:19 -0000 On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. You'll probably get more help if you post the problems and any diagnostic info. :) From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:55:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57773106566B for ; Fri, 2 May 2008 15:55:38 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from sipala.earlham.edu (sipala.earlham.edu [159.28.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id 2696C8FC1D for ; Fri, 2 May 2008 15:55:37 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by sipala.earlham.edu (8.13.6/8.13.6) with ESMTP id m42FEIcQ022013 for ; Fri, 2 May 2008 11:14:28 -0400 (EDT) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by tdream.lly.earlham.edu (Postfix) with ESMTP id E8B228E275 for ; Fri, 2 May 2008 11:14:44 -0400 (EDT) Date: Fri, 2 May 2008 11:14:44 -0400 (EDT) From: Randy Schultz X-X-Sender: schulra@tdream.lly.earlham.edu To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: ipf fails after cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 15:55:38 -0000 Heya, Running a fresh install of 7.0-RELEASE. I've cvsup'd the sources, done the standard updating, e.g. make buildworld make buildkernel make installkernel (reboot) mergemaster -p make installworld mergemaster (reboot) But now ipf gives me ye olde Root Dude ? /sbin/ipf -Fa -f /etc/ipf.rules open device: No such file or directory User/kernel version check failed The ipf version is: Root Dude ? ipf -V ipf: IP Filter: v4.1.28 (512) open device: No such file or directory My supfile is pretty standard, with *default release=cvs tag=RELENG_7 src-all I've had this before when I've spaced out the make installworld. I've never gotten this *after* the sync/build. Have I missed a bit of documentation somewhere? -- Randy (schulra@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around. From owner-freebsd-questions@FreeBSD.ORG Fri May 2 15:58:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F7EC1065675 for ; Fri, 2 May 2008 15:58:11 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id C8D0C8FC1E for ; Fri, 2 May 2008 15:58:10 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 0832AC9458; Fri, 2 May 2008 17:58:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords.key.pem; t=1209743889; bh=sUfMbUliIkEC0AVS+Vh9G75KW1O AHVCy4dYj8KUtHSo=; h=Message-ID:Date:From:Reply-To:MIME-Version:To: CC:Subject:References:In-Reply-To:Content-Type; b=feQIjZY1SJ0LFVj4 gjOHG6BUNbBsCzppqQvo92RsVonRuxWoJ4YrRAeEGdexMk3Se12TtT6XCWve2p1FCcT 5NMBn2RMhEe17jxvsYS575iv9Td9XsO9C7WxSn9rUH50N392m4WzpvkgsQU6UloWXvu fIHRkgWECZreTBvhmNNco= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 37437-09; Fri, 2 May 2008 17:58:08 +0200 (CEST) Received: from [127.0.0.1] (87-205-237-6.adsl.inetia.pl [87.205.237.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 510F0C9428; Fri, 2 May 2008 17:58:08 +0200 (CEST) Message-ID: <481B3A0E.6060300@lc-words.com> Date: Fri, 02 May 2008 17:58:06 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Chris Pratt References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> In-Reply-To: <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040604040504080305050305" X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 15:58:11 -0000 This is a cryptographically signed message in MIME format. --------------ms040604040504080305050305 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, Chris Pratt pisze: > On May 2, 2008, at 5:27 AM, Zbigniew Szalbot wrote: > >> Hello, >> >> Following a recent thread I would like to ask if it is safe to >> remove old binlog data. From the below I understand that the >> current binlog is mysql-bin.000007 and the previous ones (from >> 000001-000006) are not written to any more. I just need >> confirmation before I take any action. By asking whether it is >> safe, I only mean if deleting them will not affect mysql operation. >> I do backups of mysql data anyway. >> >> -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 >> -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 >> -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 >> -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 >> -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 >> -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 >> -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 >> >> Do I understand correctly that removing mysql-bin.000007 would >> result in mysql not writing any data to mysql-bin file until the >> server gets restarted? >> > > I recently removed all logs prior to the one shown as current > without any problems. I would not think you would want to > remove the one currently in use or problems would result. > > The procedure for this is here: > http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html > for 5.1 and here: > http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html > for 5.0 Thanks a lot! It did help me get rid of a few files in a safe way. I only wonder now how to set up a cron job to do it on a permanent basis? 1/ I would probably be better off setting this mysql query (URGE {MASTER | BINARY} LOGS BEFORE 'date') in a separate file an run it from cron? 2/ Even if I do that, I would still have to change the 'date' value each month... hmm... as non-programmer I will probably do best to simply enter a task in a calendar to run this manually... each month :) Thank you anyway - this was very helpful and I instantly saved a lot of space on a shrinking /var partition! -- Zbigniew Szalbot www.lc-words.com --------------ms040604040504080305050305 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAyMTU1ODA2WjAjBgkq hkiG9w0BCQQxFgQU1udh82M1QawuyqfXD6jQeBDEfKEwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAgE+RdoIxsysTglDKxRfzjUDJA5TiZgb/ vmRLXcEh8bsmQ0HvfexTeF1GcqOza9xedj+tL77Cpm6/UzCOUaDVM3yApAMpk8+dlmXTtsmp vJAjeKZWCMhhhk+wSbVeHyElgA7R1CXkf9rcuz0YZUJIAZ6aYy86DHBCawnbskBJGGIAAAAA AAA= --------------ms040604040504080305050305-- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 16:21:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD391065673 for ; Fri, 2 May 2008 16:21:52 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from n120.sc0.he.tucows.com (smtpout1066.sc0.he.tucows.com [64.97.144.66]) by mx1.freebsd.org (Postfix) with ESMTP id DC8398FC17 for ; Fri, 2 May 2008 16:21:51 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from sc0-out06.emaildefenseservice.com (64.97.131.2) by n120.sc0.he.tucows.com (7.2.069.1) id 476BFC810194B157; Fri, 2 May 2008 16:21:50 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2, 0, 0, deb56d278085acee, b9338917dab56e3e, eagletree@hughes.net, -, RULES_HIT:355:379:541:564:599:601:967:973:982:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2194:2199:2379:2393:2525:2553:2559:2564:2682:2685:2693:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3354:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:5007:6117:6248:7652:7679:7875:7903: 8603, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none, TSO:0 X-Spamcatcher-Explanation: Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by sc0-out06.emaildefenseservice.com (Postfix) with ESMTP; Fri, 2 May 2008 16:21:44 +0000 (UTC) In-Reply-To: <481B3A0E.6060300@lc-words.com> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Fri, 2 May 2008 09:10:45 -0700 To: z.szalbot@lc-words.com X-Mailer: Apple Mail (2.753) Cc: freebsd-questions@freebsd.org Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 16:21:52 -0000 On May 2, 2008, at 8:58 AM, Zbigniew Szalbot wrote: > >> The procedure for this is here: >> http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html >> for 5.1 and here: >> http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html >> for 5.0 > > Thanks a lot! It did help me get rid of a few files in a safe way. > I only wonder now how to set up a cron job to do it on a permanent > basis? > > 1/ I would probably be better off setting this mysql query (URGE > {MASTER | BINARY} LOGS BEFORE 'date') in a separate file an run it > from cron? > > 2/ Even if I do that, I would still have to change the 'date' value > each month... hmm... as non-programmer I will probably do best to > simply enter a task in a calendar to run this manually... each > month :) > > Thank you anyway - this was very helpful and I instantly saved a > lot of space on a shrinking /var partition! > I find it most comfortable to do this manually so I can check my backups first. There is an example in the reply comments below the documentation on the 5.0 version of the mysql doc page that shows a "unix" way to set up a cron script and automate the process. I've not tried it. Shrinking /var partition?: I found the ports setup of mysql to be overly restrictive by using the /var method. It was simple to install, shutdown mysqld, copy the contents of the /var database files (preserving the appropriate ownership and permissions). I then added (assuming /usr is your large partition) mysql_dbdir="/usr/mysql" mysql_datadir="/usr/mysql" to /etc/rc.conf and restarted. It is an outage but it helped given I'd never have thought to size /var anywhere near what a medium size database required. From owner-freebsd-questions@FreeBSD.ORG Fri May 2 16:28:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 159BB1065679 for ; Fri, 2 May 2008 16:28:27 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id A082E8FC23 for ; Fri, 2 May 2008 16:28:26 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id EA9EBC942F for ; Fri, 2 May 2008 18:28:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords.key.pem; t=1209745705; bh=4UnvU8UL9I5EnwSbQBnNuunr4hb UAxN66i6LUwque0o=; h=Message-ID:Date:From:Reply-To:MIME-Version:To: Subject:References:In-Reply-To:Content-Type; b=o3MZ50+YD1Z9xyTdQ1+ d7oXSH0ATZndrFREqXmTn8aaI9Bk0IhyU4BwyGMx4169wNL4ucgCaqzTj2rJdCnJguD z87srZ3DMYVjdSHzYj2A7weBIXsviRaDJpEKFMI7EA18acifAOd8NCEd4uPKwGZQX4Y d1/eJNgb8Zt7GUH6SE= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 37480-08 for ; Fri, 2 May 2008 18:28:24 +0200 (CEST) Received: from [127.0.0.1] (87-205-237-6.adsl.inetia.pl [87.205.237.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 606ECC9421 for ; Fri, 2 May 2008 18:28:24 +0200 (CEST) Message-ID: <481B4126.8030802@lc-words.com> Date: Fri, 02 May 2008 18:28:22 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> In-Reply-To: <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090804050402000302050601" X-Virus-Scanned: Maia Mailguard Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 16:28:27 -0000 This is a cryptographically signed message in MIME format. --------------ms090804050402000302050601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Chris, Chris Pratt pisze: >> Thank you anyway - this was very helpful and I instantly saved a >> lot of space on a shrinking /var partition! >> > > I find it most comfortable to do this manually so I can check > my backups first. There is an example in the reply comments > below the documentation on the 5.0 version of the mysql > doc page that shows a "unix" way to set up a cron script > and automate the process. I've not tried it. > > Shrinking /var partition?: I found the ports setup of mysql to > be overly restrictive by using the /var method. It was simple > to install, shutdown mysqld, copy the contents of the /var > database files (preserving the appropriate ownership and > permissions). I then added (assuming /usr is your large > partition) > > mysql_dbdir="/usr/mysql" > mysql_datadir="/usr/mysql" > > to /etc/rc.conf and restarted. It is an outage but it helped given > I'd never have thought to size /var anywhere near what a > medium size database required. Yeah, I am in the same boat so to say... I guess copying mysql data using cp -p will preserve all the file attributes? Will any future upgrade (by means of portupgrade) not change the custom mysql location back to /var/db/mysql? Thanks again Chris! -- Zbigniew Szalbot www.lc-words.com --------------ms090804050402000302050601 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAyMTYyODIyWjAjBgkq hkiG9w0BCQQxFgQUNA4RWQes01m0nRhwU28CjUTylNIwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAk26D8dt8Go+ia4SeVSF/70JCQaLk8ViF YRHF46ojKjeFp/zXDpPyJRC9ukEVF+iBWsN3ssbixH4SCSFkgDDq3AiotH4WZrQNbB4v1GEc cd4PF1Zy6ZEgxG/KNBlBb3gG7JglQrSkSqzZSasoucseeb80IwRnBO+GEYnftzqRq+MAAAAA AAA= --------------ms090804050402000302050601-- From owner-freebsd-questions@FreeBSD.ORG Fri May 2 16:47:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0307C106566C for ; Fri, 2 May 2008 16:47:11 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id D4CE78FC12 for ; Fri, 2 May 2008 16:47:10 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: by rv-out-0506.google.com with SMTP id b25so940119rvf.43 for ; Fri, 02 May 2008 09:47:10 -0700 (PDT) Received: by 10.141.170.10 with SMTP id x10mr1444198rvo.92.1209746829942; Fri, 02 May 2008 09:47:09 -0700 (PDT) Received: by 10.141.142.10 with HTTP; Fri, 2 May 2008 09:47:09 -0700 (PDT) Message-ID: <322efb7b0805020947m232a82fds14c36e03db362e77@mail.gmail.com> Date: Fri, 2 May 2008 12:47:09 -0400 From: "Free BSD" To: "Bob Hall" , freebsd-questions@freebsd.org In-Reply-To: <20080502153032.GA99457@kongemord.krig.net> MIME-Version: 1.0 References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> <20080502153032.GA99457@kongemord.krig.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD Server Settings Consult X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 16:47:11 -0000 Well from bad experience that goes no where, due-to rare issue and no supporting logs/core dumps... Therefore that be a complete no :( On Fri, May 2, 2008 at 11:30 AM, Bob Hall wrote: > On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: > > We've been having some problems with our server and I was wondering if > > someone had any advice or suggestions for our current system settings. > > You'll probably get more help if you post the problems and any > diagnostic info. :) > _______________________________________________ > 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 Fri May 2 17:00:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE091065671 for ; Fri, 2 May 2008 17:00:03 +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 745FF8FC1F for ; Fri, 2 May 2008 17:00:03 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.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 945E3EBC3B; Fri, 2 May 2008 13:00:02 -0400 (EDT) Date: Fri, 2 May 2008 13:00:17 -0400 From: Bill Moran To: Chris Maness Message-Id: <20080502130017.ac721261.wmoran@potentialtech.com> In-Reply-To: References: <20080502105853.36874cdf.wmoran@potentialtech.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 17:00:03 -0000 In response to Chris Maness : > > Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. > > Specifically: > > kern.coredump: 1 > > kern.sugid_coredump: 1 > > What is frobbed? http://en.wikipedia.org/wiki/Frob You need to learn important things like this if you're going to get anywhere in this business ... -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Fri May 2 17:02:01 2008 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 103FA1065676; Fri, 2 May 2008 17:02:01 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20080502170201.103FA1065676@hub.freebsd.org> Date: Fri, 2 May 2008 17:02:01 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: How to get best results from FreeBSD-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 17:02:01 -0000 How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From owner-freebsd-questions@FreeBSD.ORG Fri May 2 17:02:01 2008 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 645) id 167B51065678; Fri, 2 May 2008 17:02:01 +0000 (UTC) To: FreeBSD-questions@FreeBSD.org Message-Id: <20080502170201.167B51065678@hub.freebsd.org> Date: Fri, 2 May 2008 17:02:01 +0000 (UTC) From: grog@FreeBSD.ORG (Greg Lehey) Cc: Subject: "The Complete FreeBSD": errata and addenda X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 17:02:01 -0000 The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From owner-freebsd-questions@FreeBSD.ORG Fri May 2 17:12:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A65C1065672 for ; Fri, 2 May 2008 17:12:46 +0000 (UTC) (envelope-from unix@devil.mutu.us) Received: from devil.mutu.us (devil.mutu.us [206.229.45.53]) by mx1.freebsd.org (Postfix) with ESMTP id 178928FC16 for ; Fri, 2 May 2008 17:12:45 +0000 (UTC) (envelope-from unix@devil.mutu.us) Received: from devil.mutu.us (localhost [127.0.0.1]) by devil.mutu.us (8.13.8/8.13.8) with ESMTP id m42HCjlk001733 for ; Fri, 2 May 2008 12:12:45 -0500 (CDT) (envelope-from unix@devil.mutu.us) Received: (from unix@localhost) by devil.mutu.us (8.13.8/8.13.8/Submit) id m42HCeau001732 for freebsd-questions@freebsd.org; Fri, 2 May 2008 12:12:40 -0500 (CDT) (envelope-from unix) Date: Fri, 2 May 2008 12:12:39 -0500 From: Valeriu Mutu To: freebsd-questions@freebsd.org Message-ID: <20080502171239.GA1460@devil.mutu.us> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Mutu User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: KDE3 Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 17:12:46 -0000 On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: > Hi, > Why is it when i install KDE3 in my server I always got an error, this is > the command when i install it > > -cd /usr/ports/x11/kde3 > -make install > > *and this is the reply of the server:* > -Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. > -fetch:// > ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable > (e.g., file not found, no access) > -Couldn't fetch ot-please try to retreive this > -port manually into /usr/ports/distfiles/KDE and try again. > ***Error code 1 > > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt33 > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Did i miss something??? Please HELP here... > > Thanks in advance...:( > _______________________________________________ > 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" Hi Ruel, Can you please verify that: 1. Internet is accessible. Try: ftp ftp.iasi.roedu.net 2. Your ports tree is up to date. After this is done, remove the directory /usr/ports/distfiles/KDE/ . Then do: cd /usr/ports/x11-toolkits/qt33/ make fetch If this still results in an error, try this instead of "make fetch": make MASTER_SITE_OVERRIDE=ftp://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ fetch or make MASTER_SITE_OVERRIDE=ftp://ftp.fu-berlin.de/unix/X11/gui/Qt/source/ fetch These are mirrors taken from /usr/ports/Mk/bsd.siteis.mk . Search for MASTER_SITE_QT in that file. -- Valeriu Mutu From owner-freebsd-questions@FreeBSD.ORG Fri May 2 19:03:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC4C81065674 for ; Fri, 2 May 2008 19:03:09 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from n054.sc0.he.tucows.com (smtpout1083.sc0.he.tucows.com [64.97.144.83]) by mx1.freebsd.org (Postfix) with ESMTP id A6BE08FC13 for ; Fri, 2 May 2008 19:03:09 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from sc0-out01.emaildefenseservice.com (64.97.131.2) by n054.sc0.he.tucows.com (7.2.069.1) id 476BFC7B019A1280; Fri, 2 May 2008 19:03:08 +0000 X-SpamScore: 50 X-Spamcatcher-Summary: 50, 0, 0, 2bb1060a5f144c7e, b9338917dab56e3e, eagletree@hughes.net, -, RULES_HIT:355:379:541:564:599:601:967:973:982:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1766:1792:2379:2393:2553:2560:2563:2693:2895:3027:3354:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:5007:6248:7652:7875:7903:8603, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none, TSO:0 X-Spamcatcher-Explanation: Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by sc0-out01.emaildefenseservice.com (Postfix) with ESMTP; Fri, 2 May 2008 19:03:02 +0000 (UTC) In-Reply-To: <481B4126.8030802@lc-words.com> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> <481B4126.8030802@lc-words.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3CFBF5F9-4503-4D39-9A66-643A2350C0B4@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Fri, 2 May 2008 11:52:03 -0700 To: z.szalbot@lc-words.com X-Mailer: Apple Mail (2.753) Cc: freebsd-questions@freebsd.org Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 19:03:09 -0000 On May 2, 2008, at 9:28 AM, Zbigniew Szalbot wrote: > Hi Chris, > > Chris Pratt pisze: > >>> Thank you anyway - this was very helpful and I instantly saved a >>> lot of space on a shrinking /var partition! >>> >> I find it most comfortable to do this manually so I can check >> my backups first. There is an example in the reply comments >> below the documentation on the 5.0 version of the mysql >> doc page that shows a "unix" way to set up a cron script >> and automate the process. I've not tried it. >> Shrinking /var partition?: I found the ports setup of mysql to >> be overly restrictive by using the /var method. It was simple >> to install, shutdown mysqld, copy the contents of the /var >> database files (preserving the appropriate ownership and >> permissions). I then added (assuming /usr is your large >> partition) >> mysql_dbdir="/usr/mysql" >> mysql_datadir="/usr/mysql" >> to /etc/rc.conf and restarted. It is an outage but it helped given >> I'd never have thought to size /var anywhere near what a >> medium size database required. > > > Yeah, I am in the same boat so to say... I guess copying mysql data > using cp -p will preserve all the file attributes? > I didn't do that so I can't say. I actually tarred and untarred. > Will any future upgrade (by means of portupgrade) not change the > custom mysql location back to /var/db/mysql? > I ran through portupgrade on both systems twice but I can't recall if mysql was updated. Given the change is in /etc/rc.conf, the upgrade shouldn't have an impact. If an upgrade uses a supplied script to alter the installation I'd presume it would be an issue. Usually you can provide these directories as command line options on scripts provided with mysql. The saving grace is that since you are not hurting your original installation, a trial run is rather simple, falling back is as pretty much a vi /etc/rc.conf and a reboot. > Thanks again Chris! > > > -- > Zbigniew Szalbot > www.lc-words.com From owner-freebsd-questions@FreeBSD.ORG Fri May 2 22:54:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF86106564A for ; Fri, 2 May 2008 22:54:11 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id 96D348FC18 for ; Fri, 2 May 2008 22:54:10 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42Ms8rh003999; Fri, 2 May 2008 17:54:09 -0500 Message-ID: <481B9B90.6050906@chrismaness.com> Date: Fri, 02 May 2008 15:54:08 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Bill Moran References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> In-Reply-To: <20080502130017.ac721261.wmoran@potentialtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 22:54:11 -0000 Bill Moran wrote: > In response to Chris Maness : > > >>> Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. >>> Specifically: >>> kern.coredump: 1 >>> kern.sugid_coredump: 1 >>> >> What is frobbed? >> > > http://en.wikipedia.org/wiki/Frob > > You need to learn important things like this if you're going to get > anywhere in this business ... > > sysctl -a | grep core kern.corefile: %N.core kern.nodump_coredump: 0 kern.coredump: 1 kern.sugid_coredump: 0 <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) debug.elf32_legacy_coredump: 0 How do I change the the values? Also, where do the files go by default? From owner-freebsd-questions@FreeBSD.ORG Fri May 2 23:20:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BD9C1065676 for ; Fri, 2 May 2008 23:20:44 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 67F548FC16 for ; Fri, 2 May 2008 23:20:44 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 084DA1CC91; Fri, 2 May 2008 15:20:42 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 3 May 2008 01:20:03 +0200 User-Agent: KMail/1.9.7 References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> In-Reply-To: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> Cc: Free BSD Subject: Re: FreeBSD Server Settings Consult X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 23:20:44 -0000 On Friday 02 May 2008 13:28:44 Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. Would help to know, at minimum: - ammount of ram - ammount of cpu's - platform (uname -m ) - pciconf -lv|grep ^none - dmesg output that complains about hardware - what's different about your kernel with respect to GENERIC What the problems are: - from the sysctl variables, I'm guessing you want more network performance - you mention core dumps, does the kernel crash? Some background: - what's the primary purpose of the machine - why are things like ipc tuned? > kern.maxfilesperproc=65536 The above will only work with programs that use open(2) exclusively and not fopen, because fopen is limited to SHRT_MAX, being 32767. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Fri May 2 23:39:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 169451065671 for ; Fri, 2 May 2008 23:39:39 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D6AF68FC15 for ; Fri, 2 May 2008 23:39:38 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id C46511CC91; Fri, 2 May 2008 15:39:37 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, z.szalbot@lc-words.com Date: Sat, 3 May 2008 01:39:33 +0200 User-Agent: KMail/1.9.7 References: <481AA49E.2020404@lc-words.com> In-Reply-To: <481AA49E.2020404@lc-words.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: handling stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 23:39:39 -0000 On Friday 02 May 2008 07:20:30 Zbigniew Szalbot wrote: > Hello, > > I will appreciate your advice about how to best handle stale > dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of > questions about stale dependencies. I eventually deleted all of them, > but does this mean I need to upgrade ports which used this dependency > (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, > php5-gd-5.2.5_1, and rrdtool-1.2.26)? > > Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): > Delete this? ([y]es/[n]o/[a]ll) [yes] > Deleted. Something went wrong earlier on, and portupgrade screwed up. It tried to upgrade png, got as far as uninstalling it, failed to install it and then failed to restore the backup and for some reason also thinks that rrdtool does not depend on graphics/png, while it does, unconditionally. Best thing to do when you see pkgdb mentioning "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll up to see what it did wrong and try to figure out how to correct it's mess. What is at present the png version installed on your system and could you show the output of: grep 'DEPORIGIN: graphics/png' /var/db/pkg/*/+CONTENTS -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Fri May 2 23:42:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EAD9106566B for ; Fri, 2 May 2008 23:42:39 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id 516258FC19 for ; Fri, 2 May 2008 23:42:38 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42Ngav4025410; Fri, 2 May 2008 18:42:37 -0500 Message-ID: <481BA6EC.2020209@chrismaness.com> Date: Fri, 02 May 2008 16:42:36 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Bill Moran References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> In-Reply-To: <481B9B90.6050906@chrismaness.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 23:42:39 -0000 Chris Maness wrote: > Bill Moran wrote: >> In response to Chris Maness : >> >> >>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>> coredumps. >>>> Specifically: >>>> kern.coredump: 1 >>>> kern.sugid_coredump: 1 >>>> >>> What is frobbed? >>> >> >> http://en.wikipedia.org/wiki/Frob >> >> You need to learn important things like this if you're going to get >> anywhere in this business ... >> >> > sysctl -a | grep core > kern.corefile: %N.core > kern.nodump_coredump: 0 > kern.coredump: 1 > kern.sugid_coredump: 0 > <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) > <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) > <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) > debug.elf32_legacy_coredump: 0 > > How do I change the the values? Also, where do the files go by default? > Never mind, I figured it out. Stay tuned, and I'll have some output. Chris From owner-freebsd-questions@FreeBSD.ORG Fri May 2 23:54:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C0A2106566B for ; Fri, 2 May 2008 23:54:00 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB3A8FC18 for ; Fri, 2 May 2008 23:54:00 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m42Nrw8W029345; Fri, 2 May 2008 18:53:59 -0500 Message-ID: <481BA996.50005@chrismaness.com> Date: Fri, 02 May 2008 16:53:58 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Bill Moran References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> In-Reply-To: <481BA6EC.2020209@chrismaness.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 May 2008 23:54:00 -0000 Chris Maness wrote: > Chris Maness wrote: >> Bill Moran wrote: >>> In response to Chris Maness : >>> >>> >>>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>>> coredumps. >>>>> Specifically: >>>>> kern.coredump: 1 >>>>> kern.sugid_coredump: 1 >>>>> >>>> What is frobbed? >>>> >>> >>> http://en.wikipedia.org/wiki/Frob >>> >>> You need to learn important things like this if you're going to get >>> anywhere in this business ... >>> >>> >> sysctl -a | grep core >> kern.corefile: %N.core >> kern.nodump_coredump: 0 >> kern.coredump: 1 >> kern.sugid_coredump: 0 >> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) >> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) >> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) >> debug.elf32_legacy_coredump: 0 >> >> How do I change the the values? Also, where do the files go by default? >> > Never mind, I figured it out. Stay tuned, and I'll have some output. > > Chris Is it choking on: /libexec/ld-elf.so.1 or /libexec/ld-elf.so.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so Reading symbols from /usr/local/libexec/apache/mod_env.so...done. Loaded symbols for /usr/local/libexec/apache/mod_env.so Reading symbols from /usr/local/libexec/apache/mod_log_config.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_config.so Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so Reading symbols from /usr/local/libexec/apache/mod_mime.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime.so Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...done. Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so Reading symbols from /usr/local/libexec/apache/mod_status.so...done. Loaded symbols for /usr/local/libexec/apache/mod_status.so Reading symbols from /usr/local/libexec/apache/mod_info.so...done. Loaded symbols for /usr/local/libexec/apache/mod_info.so Reading symbols from /usr/local/libexec/apache/mod_include.so...done. Loaded symbols for /usr/local/libexec/apache/mod_include.so Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...done. Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so Reading symbols from /usr/local/libexec/apache/mod_dir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_dir.so Reading symbols from /usr/local/libexec/apache/mod_cgi.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cgi.so Reading symbols from /usr/local/libexec/apache/mod_asis.so...done. Loaded symbols for /usr/local/libexec/apache/mod_asis.so Reading symbols from /usr/local/libexec/apache/mod_imap.so...done. Loaded symbols for /usr/local/libexec/apache/mod_imap.so Reading symbols from /usr/local/libexec/apache/mod_actions.so...done. Loaded symbols for /usr/local/libexec/apache/mod_actions.so Reading symbols from /usr/local/libexec/apache/mod_speling.so...done. Loaded symbols for /usr/local/libexec/apache/mod_speling.so Reading symbols from /usr/local/libexec/apache/mod_userdir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_userdir.so Reading symbols from /usr/local/libexec/apache/mod_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_alias.so Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...done. Loaded symbols for /usr/local/libexec/apache/mod_rewrite.so Reading symbols from /usr/local/libexec/apache/mod_access.so...done. Loaded symbols for /usr/local/libexec/apache/mod_access.so Reading symbols from /usr/local/libexec/apache/mod_auth.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth.so Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_anon.so Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_db.so Reading symbols from /usr/local/libexec/apache/mod_digest.so...done. Loaded symbols for /usr/local/libexec/apache/mod_digest.so Reading symbols from /usr/local/libexec/apache/libproxy.so...done. Loaded symbols for /usr/local/libexec/apache/libproxy.so Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cern_meta.so Reading symbols from /usr/local/libexec/apache/mod_expires.so...done. Loaded symbols for /usr/local/libexec/apache/mod_expires.so Reading symbols from /usr/local/libexec/apache/mod_headers.so...done. Loaded symbols for /usr/local/libexec/apache/mod_headers.so Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...done. Loaded symbols for /usr/local/libexec/apache/mod_usertrack.so Reading symbols from /usr/local/libexec/apache/mod_log_forensic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_forensic.so Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...done. Loaded symbols for /usr/local/libexec/apache/mod_unique_id.so Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...done. Loaded symbols for /usr/local/libexec/apache/mod_setenvif.so Reading symbols from /usr/local/libexec/apache/libphp5.so...done. Loaded symbols for /usr/local/libexec/apache/libphp5.so Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x28b00bd0 in ?? () From owner-freebsd-questions@FreeBSD.ORG Sat May 3 00:25:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBC761065675 for ; Sat, 3 May 2008 00:25:14 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id 968868FC1A for ; Sat, 3 May 2008 00:25:14 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vixen42 (c-68-51-74-1.hsd1.il.comcast.net [68.51.74.1]) (Authenticated sender: v.velox) by vulpes.vvelox.net (Postfix) with ESMTP id 9CC77B83B; Fri, 2 May 2008 19:08:39 -0500 (CDT) Date: Fri, 2 May 2008 19:11:24 -0500 From: "Zane C.B." To: Bruce Cran Message-ID: <20080502191124.578b7cfe@vixen42> In-Reply-To: <48162A6E.8050607@cran.org.uk> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 00:25:14 -0000 On Mon, 28 Apr 2008 20:50:06 +0100 Bruce Cran wrote: > Doug Hardie wrote: > > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > > (perhaps years) I seem to recall some discussion that one or more > > of those was better maintained and higher quality than the > > others. I don't see any indications of this in the handbook. > > Several years ago I needed to do traffic shaping and used IPFW > > with dummynet. It worked but the need eventually went away. > > More recently I needed to incorporate spamd which defaults to PF > > so I used that. However, now I am back to needing traffic > > shaping again. I suspect trying to use both PF and IPFW > > simultaneously will not be a good approach. In addition, there > > now are instructions for using spamd with IPFW so it appears that > > either PF or IPFW will do what I need. Is there any additional > > information available to assist in selecting between those? > > Thanks. > > As I understand it pf is often found to be easiest to use and has > lots of features like altq and os fingerprinting but is quite a bit > slower than ipfw. There is one thing that IPFW has that PF does not that I have found to be very handy at times. It can be used to setup firewall rules that only affect a specific group or user. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 00:25:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C056F1065676 for ; Sat, 3 May 2008 00:25:14 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.NET [74.200.198.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9EB8FC1F for ; Sat, 3 May 2008 00:25:14 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vixen42 (c-68-51-74-1.hsd1.il.comcast.net [68.51.74.1]) (Authenticated sender: v.velox) by vulpes.vvelox.net (Postfix) with ESMTP id E0D0FB839; Fri, 2 May 2008 19:09:34 -0500 (CDT) Date: Fri, 2 May 2008 19:12:23 -0500 From: "Zane C.B." To: perikillo Message-ID: <20080502191223.768925f3@vixen42> In-Reply-To: <51d7a5160804290951p43cd3bbfw91c968bf5247c6ba@mail.gmail.com> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> <51d7a5160804290951p43cd3bbfw91c968bf5247c6ba@mail.gmail.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 00:25:14 -0000 On Tue, 29 Apr 2008 09:51:29 -0700 perikillo wrote: > On Mon, Apr 28, 2008 at 12:50 PM, Bruce Cran > wrote: > > > Doug Hardie wrote: > > > > > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > > > (perhaps years) I seem to recall some discussion that one or > > > more of those was better maintained and higher quality than the > > > others. I don't see any indications of this in the handbook. > > > Several years ago I needed to do traffic shaping and used IPFW > > > with dummynet. It worked but the need eventually went away. > > > More recently I needed to incorporate spamd which defaults to > > > PF so I used that. However, now I am back to needing traffic > > > shaping again. I suspect trying to use both PF and IPFW > > > simultaneously will not be a good approach. In addition, there > > > now are instructions for using spamd with IPFW so it appears > > > that either PF or IPFW will do what I need. Is there any > > > additional information available to assist in selecting between > > > those? Thanks. > > > > > > > As I understand it pf is often found to be easiest to use and has > > lots of features like altq and os fingerprinting but is quite a > > bit slower than ipfw. > > > > -- > > Bruce > > > > _______________________________________________ > > 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" > > > > Reading this post, i have some doubt, how is IPFW support for VoIP > packets, can do traffic shaping?, i read that PF can do that, I'm > right? What exactly are you looking to do in this area? From owner-freebsd-questions@FreeBSD.ORG Sat May 3 01:01:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D325E1065671 for ; Sat, 3 May 2008 01:01:52 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com [207.106.133.19]) by mx1.freebsd.org (Postfix) with ESMTP id 9CB0E8FC1C for ; Sat, 3 May 2008 01:01:52 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 41D932C59; Fri, 2 May 2008 21:01:51 -0400 (EDT) Received: from lukas.is-a-geek.org (pool-71-113-78-181.sttlwa.dsl-w.verizon.net [71.113.78.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id 298FD2C58; Fri, 2 May 2008 21:01:47 -0400 (EDT) Date: Fri, 2 May 2008 18:01:41 -0700 (PDT) From: Luke Dean X-X-Sender: lukas@border.lukas.is-a-geek.org To: "Zane C.B." In-Reply-To: <20080502191124.578b7cfe@vixen42> Message-ID: <20080502175312.O21313@border.lukas.is-a-geek.org> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> <20080502191124.578b7cfe@vixen42> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Pobox-Relay-ID: 839DBB98-18AC-11DD-8FA7-80001473D85F-96347044!a-sasl-fastnet.pobox.com Cc: Bruce Cran , freebsd-questions Subject: Re: Firewalls X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 01:01:52 -0000 On Fri, 2 May 2008, Zane C.B. wrote: > On Mon, 28 Apr 2008 20:50:06 +0100 > Bruce Cran wrote: > >> Doug Hardie wrote: >>> FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago >>> (perhaps years) I seem to recall some discussion that one or more >>> of those was better maintained and higher quality than the >>> others. I don't see any indications of this in the handbook. >>> Several years ago I needed to do traffic shaping and used IPFW >>> with dummynet. It worked but the need eventually went away. >>> More recently I needed to incorporate spamd which defaults to PF >>> so I used that. However, now I am back to needing traffic >>> shaping again. I suspect trying to use both PF and IPFW >>> simultaneously will not be a good approach. In addition, there >>> now are instructions for using spamd with IPFW so it appears that >>> either PF or IPFW will do what I need. Is there any additional >>> information available to assist in selecting between those? >>> Thanks. >> >> As I understand it pf is often found to be easiest to use and has >> lots of features like altq and os fingerprinting but is quite a bit >> slower than ipfw. > > There is one thing that IPFW has that PF does not that I have found > to be very handy at times. It can be used to setup firewall rules > that only affect a specific group or user. PF can do this too. There were threading/locking/crashing issues when last I tried to use that feature of PF back in FreeBSD 5.x, but that was a very long time ago. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 01:08:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DAC7106566C for ; Sat, 3 May 2008 01:08:09 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi101.prodigy.net (nlpi101.prodigy.net [207.115.36.117]) by mx1.freebsd.org (Postfix) with ESMTP id E0BAA8FC0A for ; Sat, 3 May 2008 01:08:08 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.150] Received: from [192.168.1.2] (adsl-76-238-148-150.dsl.irvnca.sbcglobal.net [76.238.148.150]) by nlpi101.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m43186gj013274; Fri, 2 May 2008 20:08:07 -0500 Message-ID: <481BBAF6.8000400@chrismaness.com> Date: Fri, 02 May 2008 18:08:06 -0700 From: Chris Maness User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Bill Moran References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> In-Reply-To: <481BA996.50005@chrismaness.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD List Subject: Re: Compiling in Debugging Flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 01:08:09 -0000 Chris Maness wrote: > Chris Maness wrote: >> Chris Maness wrote: >>> Bill Moran wrote: >>>> In response to Chris Maness : >>>> >>>> >>>>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>>>> coredumps. >>>>>> Specifically: >>>>>> kern.coredump: 1 >>>>>> kern.sugid_coredump: 1 >>>>>> >>>>> What is frobbed? >>>>> >>>> >>>> http://en.wikipedia.org/wiki/Frob >>>> >>>> You need to learn important things like this if you're going to get >>>> anywhere in this business ... >>>> >>>> >>> sysctl -a | grep core >>> kern.corefile: %N.core >>> kern.nodump_coredump: 0 >>> kern.coredump: 1 >>> kern.sugid_coredump: 0 >>> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) >>> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) >>> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) >>> debug.elf32_legacy_coredump: 0 >>> >>> How do I change the the values? Also, where do the files go by >>> default? >>> >> Never mind, I figured it out. Stay tuned, and I'll have some output. >> >> Chris > Is it choking on: > > /libexec/ld-elf.so.1 > > or > > /libexec/ld-elf.so.1 > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-marcel-freebsd"... > Core was generated by `httpd'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libcrypt.so.4...done. > Loaded symbols for /lib/libcrypt.so.4 > Reading symbols from /usr/local/lib/libexpat.so.6...done. > Loaded symbols for /usr/local/lib/libexpat.so.6 > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so > Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so > Reading symbols from /usr/local/libexec/apache/mod_env.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_env.so > Reading symbols from /usr/local/libexec/apache/mod_log_config.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_log_config.so > Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so > Reading symbols from /usr/local/libexec/apache/mod_mime.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mime.so > Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so > Reading symbols from /usr/local/libexec/apache/mod_status.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_status.so > Reading symbols from /usr/local/libexec/apache/mod_info.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_info.so > Reading symbols from /usr/local/libexec/apache/mod_include.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_include.so > Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so > Reading symbols from /usr/local/libexec/apache/mod_dir.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_dir.so > Reading symbols from /usr/local/libexec/apache/mod_cgi.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_cgi.so > Reading symbols from /usr/local/libexec/apache/mod_asis.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_asis.so > Reading symbols from /usr/local/libexec/apache/mod_imap.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_imap.so > Reading symbols from /usr/local/libexec/apache/mod_actions.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_actions.so > Reading symbols from /usr/local/libexec/apache/mod_speling.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_speling.so > Reading symbols from /usr/local/libexec/apache/mod_userdir.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_userdir.so > Reading symbols from /usr/local/libexec/apache/mod_alias.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_alias.so > Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_rewrite.so > Reading symbols from /usr/local/libexec/apache/mod_access.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_access.so > Reading symbols from /usr/local/libexec/apache/mod_auth.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth.so > Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth_anon.so > Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth_db.so > Reading symbols from /usr/local/libexec/apache/mod_digest.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_digest.so > Reading symbols from /usr/local/libexec/apache/libproxy.so...done. > Loaded symbols for /usr/local/libexec/apache/libproxy.so > Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_cern_meta.so > Reading symbols from /usr/local/libexec/apache/mod_expires.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_expires.so > Reading symbols from /usr/local/libexec/apache/mod_headers.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_headers.so > Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_usertrack.so > Reading symbols from > /usr/local/libexec/apache/mod_log_forensic.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_log_forensic.so > Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_unique_id.so > Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_setenvif.so > Reading symbols from /usr/local/libexec/apache/libphp5.so...done. > Loaded symbols for /usr/local/libexec/apache/libphp5.so > Reading symbols from /lib/libm.so.5...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /usr/local/lib/libxml2.so.5...done. > Loaded symbols for /usr/local/lib/libxml2.so.5 > Reading symbols from /lib/libz.so.4...done. > Loaded symbols for /lib/libz.so.4 > Reading symbols from /usr/local/lib/libiconv.so.3...done. > Loaded symbols for /usr/local/lib/libiconv.so.3 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28b00bd0 in ?? () > > > Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. I had this same exact behavior on a test box, but I don't see other complaints in the archives. Am I the only one running apache13 with the php5 module installed? Also, this works fine on my 6.3-RELEASE production server (however, it is not upgraded to the latest version). Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat May 3 07:00:16 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35E21065672 for ; Sat, 3 May 2008 07:00:16 +0000 (UTC) (envelope-from jmzhack@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 960198FC1B for ; Sat, 3 May 2008 07:00:16 +0000 (UTC) (envelope-from jmzhack@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so3461454fge.35 for ; Sat, 03 May 2008 00:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=KwD/A9YjnRGJQGOuJL94RvBfLH//cRhIbTbyu+QLK94=; b=oexgKCtBk7zasbk87JnK1cK0p8gx53uOYD9NKtEFQTPeyBKI8Gq+NtMCkZL+jKRSEPwd3gvs/4EpsS5UsMjp65ulVmFHWxlq7AmhDTxDh46hQAVETwPFtA/NjS78MgTmRzOkxHPN7396Lr/wmYH3ufw36juJNuur6jj8/pa7blc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VQB2RLpxSl79L5baARjSQnwjkwS4KCDDDD+dcixam07CizJDSSJsL+oUMVhaCiKdNNQlZchEM6qpRcULYpnAbSwV/8MbxKoqolQPMfiUGLMZjaY9gyWGfIikpaMJrjD7+2IKVkw1HyiG/J03G4C1ikbyxLRRM6937oAw61A35E4= Received: by 10.86.59.18 with SMTP id h18mr1452089fga.30.1209796479328; Fri, 02 May 2008 23:34:39 -0700 (PDT) Received: by 10.86.63.10 with HTTP; Fri, 2 May 2008 23:34:39 -0700 (PDT) Message-ID: <5441bf290805022334m44685b1bme9c82dfb8758cb84@mail.gmail.com> Date: Sat, 3 May 2008 03:34:39 -0300 From: jmz_hack To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: consulta acerca de la version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 07:00:17 -0000 hola, disculpen por favor me podrias decir o pasar alguna version descargable para poner un servidor con freebsd, un pentium 233 con 24 mb de ram y un disco de 1,6 gb necesito que haga de servidor web con php, y pueda usar el shoutcast y en lo posible que sea compatible con placas de red isa gracias -- jmz_hack. xD From owner-freebsd-questions@FreeBSD.ORG Sat May 3 07:12:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6812106564A for ; Sat, 3 May 2008 07:12:07 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id BDDB58FC18 for ; Sat, 3 May 2008 07:12:06 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 9BAE0C9427 for ; Sat, 3 May 2008 09:12:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords.key.pem; t=1209798723; bh=C+z0f6YvE/Lw4WQ7C04wLqmY/Tj 5Z/4X9sIL6ppudgU=; h=Message-ID:Date:From:Reply-To:MIME-Version:To: Subject:References:In-Reply-To:Content-Type; b=uplTprErtlXGHaAgQO6 WA+9DudLexMR/KC0Dx9cT+xxiV7aay14R2owZDI6Ja80qE5VJjQYY+8DZepc/7ifCun 14miJ4esjOSEZbbWLGhyt56UCX1LxGMhJ94mYV2/3j+h4c4NdwxfctCuDbmJtDqjZ6g 2CNgaxC8YThNeTurS0= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 93354-05 for ; Sat, 3 May 2008 09:12:03 +0200 (CEST) Received: from [127.0.0.1] (87-205-226-227.adsl.inetia.pl [87.205.226.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 10681C9424 for ; Sat, 3 May 2008 09:12:03 +0200 (CEST) Message-ID: <481C1041.3030309@lc-words.com> Date: Sat, 03 May 2008 09:12:01 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <481AA49E.2020404@lc-words.com> <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040001050203050409020606" X-Virus-Scanned: Maia Mailguard Subject: Re: handling stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 07:12:07 -0000 This is a cryptographically signed message in MIME format. --------------ms040001050203050409020606 Content-Type: text/plain; charset=ISO-8859-6; format=flowed Content-Transfer-Encoding: 7bit Hello, > Something went wrong earlier on, and portupgrade screwed up. It tried > to upgrade png, got as far as uninstalling it, failed to install it > and then failed to restore the backup and for some reason also thinks > that rrdtool does not depend on graphics/png, while it does, > unconditionally. Best thing to do when you see pkgdb mentioning > "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll > up to see what it did wrong and try to figure out how to correct it's > mess. > > What is at present the png version installed on your system and could > you show the output of: grep 'DEPORIGIN: graphics/png' > /var/db/pkg/*/+CONTENTS It reveals nothing but so far so good. Everything seems to work so I am not going to worry about it. I just don't remember. I may have installed then uninstalled png at some point but no idea if I did. I have actually started to run a journal of everything being done to the server - it should help in future! -- Zbigniew Szalbot www.lc-words.com --------------ms040001050203050409020606 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAzMDcxMjAxWjAjBgkq hkiG9w0BCQQxFgQUpQyqYpPJry99TjmkCbz1QYfUxv4wUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGANceuPGAEDNV8iIiZ7cL4nQjpyVmd3f63 tMB7YBezzeYA8oruu90VqMVEc3yHeqGgPlka4qItzyS+isHO5znHkeu0UqT46jzNFHRh91JB pzaTo7mR91vhO2GqShS2sT79GRv77xUcn0GP7d1ci1w1nL5Dpo9wgwCYk4zJhO8NP/AAAAAA AAA= --------------ms040001050203050409020606-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 09:24:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 631B61065670 for ; Sat, 3 May 2008 09:24:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 85EBE8FC1A for ; Sat, 3 May 2008 09:24:10 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m439LHca010793 for ; Sat, 3 May 2008 11:21:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m439LGmL010790 for ; Sat, 3 May 2008 11:21:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 3 May 2008 11:21:16 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: <20080503111941.L10738@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: logger blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 09:24:12 -0000 how to prevent logger working for non-root? it allows any user log anything it likes. i can change permission for /var/run/syslogd.socket but many different programs running as different users logs through this. any smart method? From owner-freebsd-questions@FreeBSD.ORG Sat May 3 09:34:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07059106564A for ; Sat, 3 May 2008 09:34:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7008FC0A for ; Sat, 3 May 2008 09:34:35 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m439YTA6087339 for ; Sat, 3 May 2008 10:34:30 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m439YTA6087339 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209807270; bh=5H9lsDC71jH/Cf SzkCadCnjjCTd/qbuw8BzHAeHUMRI=; h=Message-ID:Date:From:MIME-Version: To:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<481C31A0.4080604@infracaninophile.co.uk>|Date:=20Sat,=2 003=20May=202008=2010:34:24=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.12=20(X11/20080427)|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20handling=20 mysql=20binlog=20data|References:=20<481B08B2.7070702@lc-words.com> =09<4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net>=09<481B3A0E.60 60300@lc-words.com>=09<9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes. net>=20<481B4126.8030802@lc-words.com>|In-Reply-To:=20<481B4126.803 0802@lc-words.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20mul tipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"appli cation/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigD2121C EF90ED55AF56513263"; b=3pB7LmUi15Y3jKc9rsdd7SRcjcbA/bDJQLvxwIUG2KWC gF7dD8Y3xYO5w7V1rC3W2cDCbvsongrPr3IwCMTOhlm/JXl4Jxb/DgQXbZJw/lqTLlb HPkzaAUhKIfXiUGw/Mz2J7zfmcR6rgshw6sTLC1mSI7izGZY0j54dCb30VvE= Message-ID: <481C31A0.4080604@infracaninophile.co.uk> Date: Sat, 03 May 2008 10:34:24 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> <481B4126.8030802@lc-words.com> In-Reply-To: <481B4126.8030802@lc-words.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD2121CEF90ED55AF56513263" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 03 May 2008 10:34:30 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: handling mysql binlog data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 09:34:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD2121CEF90ED55AF56513263 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Zbigniew Szalbot wrote: > Will any future upgrade (by means of portupgrade) not change the custom= =20 > mysql location back to /var/db/mysql? Not if you set: mysql_dbdir=3D"/usr/mysql" in /etc/rc.conf=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigD2121CEF90ED55AF56513263 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkgcMaUACgkQ8Mjk52CukIzTfgCffDmOvCXXibhzlqqiuBRuUPdd rboAn20k3OtCOIz5yL1WeCleF9g1epyw =lc0B -----END PGP SIGNATURE----- --------------enigD2121CEF90ED55AF56513263-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 10:02:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54942106564A for ; Sat, 3 May 2008 10:02:45 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id E98F38FC15 for ; Sat, 3 May 2008 10:02:44 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id 4416DC942B for ; Sat, 3 May 2008 12:02:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords.key.pem; t=1209808963; bh=qiz3vLx3yvtbSX2ZcDBAPHpx21d FJ+djZhs9QfSgF1M=; h=Message-ID:Date:From:Reply-To:MIME-Version:To: Subject:Content-Type; b=a63S+sJa4igONeiB+uYuTBm9UtLHiU9TILGjrDiWv+ huzziVBQxzhVo9GYKK6+0LffA7kJU0aiHj3FtALZIRsnfbzY2B+gtQRuVTbFantQ+Sf VRPkre9jmkdA+9BqRyb9MCxfxRrnH2/nsRL/9a7bwy3vazaWhAR4eM4m7s1Dgk= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 45918-10 for ; Sat, 3 May 2008 12:02:43 +0200 (CEST) Received: from [127.0.0.1] (87-205-226-227.adsl.inetia.pl [87.205.226.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id C730EC9419 for ; Sat, 3 May 2008 12:02:42 +0200 (CEST) Message-ID: <481C3840.50007@lc-words.com> Date: Sat, 03 May 2008 12:02:40 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060709010401050907020003" X-Virus-Scanned: Maia Mailguard Subject: .forward file / do not leave messages on server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: z.szalbot@lc-words.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 10:02:45 -0000 This is a cryptographically signed message in MIME format. --------------ms060709010401050907020003 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hello, How do I specify in a .forward file that forwarded messages should not be kept on server? user adres@domain.tld just gets the mail forwarded but also leaves a copy on server. Thank you! -- Zbigniew Szalbot www.lc-words.com --------------ms060709010401050907020003 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTLCipY8vakEL4jAyiybYecCj8JQHRxCUGbQo CVHnx+eFWySCZvEwCDb1G6/uMIICYjCCAcugAwIBAgIQe7+sk0tML0fh4llg5/79nTANBgkq hkiG9w0BAQUFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcg KFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3Vpbmcg Q0EwHhcNMDgwNDI2MTUyMDM5WhcNMDkwNDI2MTUyMDM5WjBIMR8wHQYDVQQDExZUaGF3dGUg RnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZ6LnN6YWxib3RAbGMtd29yZHMuY29t MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDAFe3/cmWHcNwlJyPDT3V19OspOzP0vFF7 kQLpi2UI5pG2eRkg9UXQF+lVPLWtET7wtYkur18SAYAk86qqDL2AdX3CagPsX3nTmt5NlLlm T3x5XOw9aMwcFpEhjGJUy0trsNMOeb0zqgkNxwORLmTLP8G2wmeyZSibFHryegzEAQIDAQAB ozMwMTAhBgNVHREEGjAYgRZ6LnN6YWxib3RAbGMtd29yZHMuY29tMAwGA1UdEwEB/wQCMAAw DQYJKoZIhvcNAQEFBQADgYEAHJL4m3cFba5foLKIVd/PqeKcBwJeQ9IQe2OBwAdkbBX9OASK jWoq7rQ/Kf3Jw/vZetHMTMJMb1rzkr5+aDpiMw2uueOsQ6Uf4WpS3W02P/JKvHFMsKKljy9q QQviMDKLJth5wKPwlAdHEJQZtCgJUefH54VbJIJm8TAINvUbr+4wggM/MIICqKADAgECAgEN MA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBl MRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWls QHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQG EwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMj VGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQAD gY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTl UAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIAC ZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgw BgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3Rl UGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAY BgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2j ZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZGwDFGguC dJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZNd4k sdMdRv9dX2VPMYIC4zCCAt8CAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEHu/rJNLTC9H4eJZYOf+/Z0wCQYFKw4DAhoFAKCCAcMwGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwNTAzMTAwMjQwWjAjBgkq hkiG9w0BCQQxFgQUQ6w5hZXREqBQMGSpqVEclnpe7OAwUgYJKoZIhvcNAQkPMUUwQzAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRo YXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBAhB7v6yTS0wvR+HiWWDn/v2dMIGHBgsqhkiG9w0BCRACCzF4 oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0 ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhB7v6yT S0wvR+HiWWDn/v2dMA0GCSqGSIb3DQEBAQUABIGAFFFVlKvRjkMImy/qXaj8J9tfkU0L9Zvv her4AjrDY/JickBaLbjKN2VqgWbn4+grg25ZlFsZIZfiR0xMMBBVO/vSYBk0FXq3HiTF7MQ8 3JRIYWPoE1ZETp1YKw74KsC3i9WBwDJftYHQMuZaXrmebQ246vPbQzEBKizpJnJvCMsAAAAA AAA= --------------ms060709010401050907020003-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 11:11:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B160E1065672 for ; Sat, 3 May 2008 11:11:18 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from pih-relay08.plus.net (pih-relay08.plus.net [212.159.14.134]) by mx1.freebsd.org (Postfix) with ESMTP id 86A1B8FC1B for ; Sat, 3 May 2008 11:11:18 +0000 (UTC) (envelope-from jmc-freebsd@milibyte.co.uk) Received: from [84.92.153.232] (helo=milibyte.co.uk) by pih-relay08.plus.net with esmtp (Exim) id 1JsFe8-000080-96 for freebsd-questions@freebsd.org; Sat, 03 May 2008 12:11:16 +0100 Received: by milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1JsFe7-000Hea-Ep for freebsd-questions@freebsd.org; Sat, 03 May 2008 12:11:15 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 3 May 2008 12:11:14 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805031211.15176.jmc-freebsd@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd@milibyte.co.uk X-SA-Exim-Scanned: No (on milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: ce856f25711d021eaee6e4ffdba06cbb Subject: "Operation not permitted" at end of portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 11:11:18 -0000 At the end of a portupgrade run for firefox I get the following ===> Registering installation for firefox-2.0.0.14,1 ===> Cleaning for firefox-2.0.0.14,1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 626 packages found (-0 +1) . done] Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 The permissions on all these files are -r--r--r--. Should I change them to -rwxr-xr-x like the rest of the files in that directory or just ignore it? FreeBSD kestrel.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sat May 3 11:22:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DAF91065673 for ; Sat, 3 May 2008 11:22:14 +0000 (UTC) (envelope-from kasthurirangan.balaji@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 532398FC18 for ; Sat, 3 May 2008 11:22:14 +0000 (UTC) (envelope-from kasthurirangan.balaji@gmail.com) Received: by wf-out-1314.google.com with SMTP id 28so77709wfa.7 for ; Sat, 03 May 2008 04:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=llLiLgbVbvSX91gaDzVvhTy24cv2S/SUX15YaFx9VHU=; b=JgC36BepyJ0rV4Tx+gCkig3TKJkaBhNqUcVb7vA7hEVSQRZ6/M+4CAwH/VZXxCGBPkSQdRxvkFNTDexUOqDVRJR2y1fLD7ZP91LQnFViF/oomdkRNYb+LBISbRTiMIYbAnaQI1cS4gTvioIWeo9W81Lwid7sGKoW5zOX/CBIrds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=UrQJ6hDsdalAVhRbqrQeAwuWnd5Hq9xDa+mBVVccW89SXlVS2DZZmW2qe5at39nXnWbfuntHxVvbcL6u9Ri7gWtPgKhknLOhG4lfmBB8stW4QVuKvEiinRpER/+lJPUy927dHGxzbFc+pPokEexE7IybtMJaiyLNSHAjCzxS0uc= Received: by 10.142.211.1 with SMTP id j1mr1640334wfg.109.1209810083192; Sat, 03 May 2008 03:21:23 -0700 (PDT) Received: by 10.142.169.14 with HTTP; Sat, 3 May 2008 03:21:23 -0700 (PDT) Message-ID: <92db61c20805030321x7b943088x6bc79933e4e3bd7d@mail.gmail.com> Date: Sat, 3 May 2008 05:21:23 -0500 From: "Balaji Kasthurirangan" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: socket bind failure - errno 49 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 11:22:14 -0000 Hi, I have tried searching the archives and in vain. Hence i am posting to this group. If this not the right one, pls direct me. I am using FreeBSD 6.1. Initially i was able to create socket, bind it and do all sorts of things. But when i tried now, it isn't working. I am trying after a long gap. The errno is 49 - invalid address. I used gethostbyname and it returns whatever is there in /etc/hosts. I have checked the /etc/resolv.conf. My config details are /etc/rc.conf hostname="Balaji" /etc/hosts 192.168.1.1 Balaji 127.0.0.1 localhost ::1 localhost /etc/resolv.conf nameserver 192.168.1.1 I tried setting Balaji to 0.0.0.0, still it doesn't work. Pls help me. Also, when my system boots, couple of eye-catchy messages syslogd: can't bind address sm_mta[root]:syserror : can't assign address // i hope this is wrt mail/smtp My suspect is that, the error happens after my system was shutdown improperly(sudden power off and my laptop battery isn't working, and ofcourse i am freebsd on my toshiba tera laptop - P4). I have done fdisk to ensure my disk is clean. Thanks, Balaji. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 11:27:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66A0A1065677 for ; Sat, 3 May 2008 11:27:23 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCBB8FC18 for ; Sat, 3 May 2008 11:27:23 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <481C4C16.10002@intersonic.se> Date: Sat, 03 May 2008 13:27:18 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: Mike Clarke References: <200805031211.15176.jmc-freebsd@milibyte.co.uk> In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: "Operation not permitted" at end of portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 11:27:23 -0000 Mike Clarke wrote: > At the end of a portupgrade run for firefox I get the following > > ===> Registering installation for firefox-2.0.0.14,1 > ===> Cleaning for firefox-2.0.0.14,1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... - 626 packages > found (-0 +1) . done] > Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 > Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 > Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 > > The permissions on all these files are -r--r--r--. Should I change them > to -rwxr-xr-x like the rest of the files in that directory or just > ignore it? Read the archives for an answer. --per From owner-freebsd-questions@FreeBSD.ORG Sat May 3 11:31:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DCB2106564A for ; Sat, 3 May 2008 11:31:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B73748FC12 for ; Sat, 3 May 2008 11:31:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m43BVFqn051889; Sat, 3 May 2008 12:31:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m43BVFqn051889 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209814276; bh=+pXhjJxv6TVHOQ hIdzrptlVgu1eSnfZuA5xYkE8cI4Y=; 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=Mes sage-ID:=20<481C4CFD.5070408@infracaninophile.co.uk>|Date:=20Sat,=2 003=20May=202008=2012:31:09=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.12=20(X11/20080427)|MIME-Version:=201 .0|To:=20Mike=20Clarke=20|CC:=20freebsd -questions@freebsd.org|Subject:=20Re:=20"Operation=20not=20permitte d"=20at=20end=20of=20portupgrade|References:=20<200805031211.15176. jmc-freebsd@milibyte.co.uk>|In-Reply-To:=20<200805031211.15176.jmc- freebsd@milibyte.co.uk>|X-Enigmail-Version:=200.95.6|Content-Type:= 20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D" application/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE 26260372811BFD5B25A8AF3"; b=YwDkMzvPVuf0H7nW4argik9h7fDxnyHkuYC6N3t M1XL0iv/rbxeXTwih8H9ZfrIqWF+DFU0HnXZJ/hwcnYNOVO84iPUwo/PJTxeA45YeGE BQ+oBbjdN6zGJ4S3NcvYl6AH2PSrLsbbt9xKkqOWfRLMIhmvUNI1dGMxEZcIMYYus= Message-ID: <481C4CFD.5070408@infracaninophile.co.uk> Date: Sat, 03 May 2008 12:31:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: Mike Clarke References: <200805031211.15176.jmc-freebsd@milibyte.co.uk> In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE26260372811BFD5B25A8AF3" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 03 May 2008 12:31:16 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: "Operation not permitted" at end of portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 11:31:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE26260372811BFD5B25A8AF3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 > Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 > Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 >=20 > The permissions on all these files are -r--r--r--. Should I change them= =20 > to -rwxr-xr-x like the rest of the files in that directory or just=20 > ignore it? That's actually because those are backup copies of system shared librarie= s (probably from the compat5x port) which have the system immutable bit set on them. Use 'ls -lo' to see what flags are set. Use 'chflags -0 filename' to unset any flags: note your ability to do this depends on the kern.securelevel setting. If 'sysctl kern.secureleve= l' returns greater than zero, then you'll need to reboot into single user in= order to modify those files. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE26260372811BFD5B25A8AF3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkgcTQMACgkQ8Mjk52CukIwzrQCffraWmDpkZQD2ygxTUHSKt5lO U+QAn1Dt6Znmg6TO5OegTWXk2ITf052Q =xPgW -----END PGP SIGNATURE----- --------------enigE26260372811BFD5B25A8AF3-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 12:04:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CD841065676 for ; Sat, 3 May 2008 12:04:10 +0000 (UTC) (envelope-from donotreply@TringMe.com) Received: from tringme.com (tringme.com [67.228.46.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFA28FC14 for ; Sat, 3 May 2008 12:04:10 +0000 (UTC) (envelope-from donotreply@TringMe.com) Received: by tringme.com (Postfix, from userid 1006) id 715D5B685D3; Sat, 3 May 2008 06:43:58 -0500 (CDT) To: freebsd-questions@freebsd.org From: TringMe Message-Id: <20080503114358.715D5B685D3@tringme.com> Date: Sat, 3 May 2008 06:43:58 -0500 (CDT) Subject: Make Free Calls Worldwide - Invitation From Mohd. Aijaz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 12:04:10 -0000 Dear TringMe User, Mohd. Aijaz has invited you to join TringMe and make worldwide calls FREE. TringMe allows you to make call to worldwide phones, Gtalk and any SIP phones for FREE. You can call free from your web browser, mobile or even Gtalk. TringMe also gives you a free widget which will allow your website visitors, friends and customers to call live or leave a voicemail to you - directly from the web. You will instantly receive a call or a voicemail on your existing cell phone, landline Gtalk or via e-mail. Join TringMe by clicking on the following link (or copy/paste in your browser) http://tringme.com/myinvite.php?e=freebsd-questions%40freebsd.org&f=13847-2483659572&ic=4c7e0a380ff8aa1a Feel free to write to us at support@tringme.com if you need any assistance. Regards, TringMe Support http://www.tringme.com/ From owner-freebsd-questions@FreeBSD.ORG Sat May 3 13:25:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A1C31065677 for ; Sat, 3 May 2008 13:25:29 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 364B18FC1B for ; Sat, 3 May 2008 13:25:28 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so3849230fge.35 for ; Sat, 03 May 2008 06:25:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; bh=HxeFfCRgveQvQVszY1UKT613GTK/yQggiEWhekBN7+c=; b=biIsp5KDNQS+Zl1x0WFI8BSHcvBg4dS6NfxH/ISRU4XY8iTNL5s0iieGTV7SXgTsTgbL7I9QkD4W1G3Ra4Fpp3OHeI07YYTV3+LfDdKjcl4jRxGN6HxIVi9Rez9edUxKPXZG4xM/gBNDXCXMxCp6nMZZ3vWAKoLYKVHetFgtNIs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; b=fFXli8K742ekgDpybR0I46IamjUhvsrzg1wlx9xvQd0a6+zM2d6y9vSiMcHxfNHyO0eA/7+x5fjEq+XoI/gIwP2VRg8dqFonjlVd4SbcNvVkcfDZas15Ng5tEpp+7T2zdWr30vjho9+ZzI2fVSsi/8zgZdqKZMJlMJH8/8gJDj0= Received: by 10.86.99.9 with SMTP id w9mr3637095fgb.6.1209821127778; Sat, 03 May 2008 06:25:27 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id 31sm6976172fkt.2.2008.05.03.06.25.23 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 May 2008 06:25:27 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-questions@freebsd.org Date: Sat, 3 May 2008 15:25:02 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart18981324.AsD3C5O12Z"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200805031525.07086.naylor.b.david@gmail.com> Subject: ATA and APIC IRQ conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 13:25:29 -0000 --nextPart18981324.AsD3C5O12Z Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to install FreeBSD on a gigabyte board (based on nForce 650i=20 chipset (with MCP51 controller)) however no SATA hard drives are detected. = =20 However, if APIC is disabled then I have access to the hard drives (and onl= y=20 one CPU). It has been suggested that it is an IRQ conflict (or something=20 else related to APIC). =20 Could someone please point me in the right direction so that I could try fi= x=20 this problem (i.e. how to change the IRQ of the ATA drivers or where to=20 fiddle with APIC to try get it to work?) Thanks in advance David --nextPart18981324.AsD3C5O12Z Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBIHGezUaaFgP9pFrIRArdxAJ4pzsWJ2O3Er6LRuK+KVe1SZegq8wCfSG7W Yrf9wvMlnaz3ryN8QW1j49o= =yTDr -----END PGP SIGNATURE----- --nextPart18981324.AsD3C5O12Z-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 14:46:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566A9106568D for ; Sat, 3 May 2008 14:46:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1542F8FC12 for ; Sat, 3 May 2008 14:46:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JsJ0T-0000xa-Tc for freebsd-questions@freebsd.org; Sat, 03 May 2008 14:46:33 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 May 2008 14:46:33 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 May 2008 14:46:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Sat, 03 May 2008 16:46:27 +0200 Lines: 9 Message-ID: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 080503-0, 03/05/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: [CRON] Recommended FTP client to download and upload files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 14:46:39 -0000 Hello I need to run a CRON job to download files from one FTP server if they're more recent, and upload them to another FTP server. The files all live in one directory, so there's no need for recursion. What command-line FTP client would you recommend for this? Thank you. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 14:50:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8FD1065682 for ; Sat, 3 May 2008 14:50:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0A57F8FC1A for ; Sat, 3 May 2008 14:50:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JsJ3r-00014k-2p for freebsd-questions@freebsd.org; Sat, 03 May 2008 14:50:03 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 May 2008 14:50:03 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 03 May 2008 14:50:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Sat, 03 May 2008 16:46:56 +0200 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 080503-0, 03/05/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: [6.3] Keeping host up to date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 14:50:04 -0000 Hello I have some newbie questions: 1. Am I right in understanding that running "make ; make install" in /usr/ports/ turns the port into a package, so that when I run "pkg_info", it doesn't make any difference whether a package was downloaded directly from the Net or compiled locally through the Ports collection? 2. When I run "pkg_version -v", some of the packages are out of date. Generally speaking, what is the safe way to update a package? I'm worried about compiling a new version of a ports that will break the one I already have up and running. 3. Do I really need to run both "csup standard-supfile ; csup ports-supfile" to update my ports collection? What's the difference between the two? Thank you. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 15:07:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD141065675 for ; Sat, 3 May 2008 15:07:13 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id F41BB8FC17 for ; Sat, 3 May 2008 15:07:12 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from joshua.ath.cx (athedsl-4366382.home.otenet.gr [79.130.16.30]) (authenticated bits=0) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m43F78SW020461; Sat, 3 May 2008 18:07:09 +0300 Message-ID: <481C7F9C.9050405@otenet.gr> Date: Sat, 03 May 2008 18:07:08 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.12 (X11/20080324) MIME-Version: 1.0 To: Gilles References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Keeping host up to date X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 15:07:13 -0000 Gilles wrote: > Hello > > I have some newbie questions: > > 1. Am I right in understanding that running "make ; make install" in > /usr/ports/ turns the port into a package, so that when I run > "pkg_info", it doesn't make any difference whether a package was > downloaded directly from the Net or compiled locally through the Ports > collection? > When you compile a port, a package is created and installed (but you get to select the options. Pre-built packages have the default options and are usually older versions). In fact, you can even use the ports to create packages and install them on other systems. (See man ports) > 2. When I run "pkg_version -v", some of the packages are out of date. > Generally speaking, what is the safe way to update a package? I'm > worried about compiling a new version of a ports that will break the > one I already have up and running. > There are programs to automate and safeguard the upgrade. Look at ports-mgmt/portupgrade > 3. Do I really need to run both "csup standard-supfile ; csup > ports-supfile" to update my ports collection? What's the difference > between the two? > > Thank you. > > No. You just need the ports-supfile. The standard supfile is for the base system. Assuming you are running a -RELEASE version of FreeBSD and you just want to get the latest security fixes and patches for the base system, you only need to use the freebsd-update utility. It is as simple as this: freebsd-update fetch freebsd-update install From owner-freebsd-questions@FreeBSD.ORG Sat May 3 15:45:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 442981065684 for ; Sat, 3 May 2008 15:45:20 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4798FC23 for ; Sat, 3 May 2008 15:45:19 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp85-140-149-58.pppoe.mtu-net.ru [85.140.149.58]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id B742C242FA03; Sat, 3 May 2008 19:45:16 +0400 (MSD) Date: Sat, 3 May 2008 19:45:02 +0400 From: Andrew Pantyukhin To: Gilles Message-ID: <20080503154459.GG92161@amilo.cenkes.org> References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: [CRON] Recommended FTP client to download and upload files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 15:45:20 -0000 On Sat, May 03, 2008 at 04:46:27PM +0200, Gilles wrote: > Hello > > I need to run a CRON job to download files from one FTP server if > they're more recent, and upload them to another FTP server. The files > all live in one directory, so there's no need for recursion. > > What command-line FTP client would you recommend for this? ftp(1) From owner-freebsd-questions@FreeBSD.ORG Sat May 3 15:51:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CDE2106567D for ; Sat, 3 May 2008 15:51:14 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 0311C8FC24 for ; Sat, 3 May 2008 15:51:13 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp85-140-149-58.pppoe.mtu-net.ru [85.140.149.58]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 9ABEA242F886; Sat, 3 May 2008 19:51:10 +0400 (MSD) Date: Sat, 3 May 2008 19:51:06 +0400 From: Andrew Pantyukhin To: Wojciech Puchar Message-ID: <20080503155104.GH92161@amilo.cenkes.org> References: <20080503111941.L10738@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080503111941.L10738@wojtek.tensor.gdynia.pl> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: logger blocking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 15:51:14 -0000 On Sat, May 03, 2008 at 11:21:16AM +0200, Wojciech Puchar wrote: > how to prevent logger working for non-root? > it allows any user log anything it likes. > > i can change permission for /var/run/syslogd.socket but many different > programs running as different users logs through this. Let's see what options we have... a) rm -rf /usr/bin/logger b) echo 'echo I am a bad boy;rm -rf $HOME' > /usr/bin/logger c) create group 'syslog' add good users to it chown :syslog /var/run/syslogd.socket chmod 660 /var/run/syslogd.socket From owner-freebsd-questions@FreeBSD.ORG Sat May 3 16:10:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F3E106564A for ; Sat, 3 May 2008 16:10:00 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id BABB28FC13 for ; Sat, 3 May 2008 16:09:59 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m43G9Z1e086583; Sat, 3 May 2008 09:09:59 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Roberto Nunnari" , Date: Sat, 3 May 2008 09:11:05 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 Importance: Normal In-Reply-To: <48177873.8080600@supsi.ch> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sat, 03 May 2008 09:09:59 -0700 (PDT) Cc: Subject: RE: raid1 + degraded (take out one disk) + fatal trap 12 on next reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 16:10:00 -0000 Roberto, You can't simulate a disk drive failure that way. If you really want to know what's going on, the issue is that your pointing the swap to ar0. If you must get this booted again you can try booting into single user mode and editing /etc/fstab and pointing the partitions to /dev/ad0 instead of /dev/ar0 and booting. But this is an emergency action and is not recommended. If you want to simulate a drive failure, WHILE THE SYSTEM IS RUNNING pull the SATA connector on one drive. The system should NOT trap, it should simply print a error to the console and show it's gone into degraded mode. If you then reboot, the system may or may not come back up. You have to understand the approach of RAID mirroring. Basically this is poor-man's data protection. The idea is that a disk usually fails in the middle of the day during the worst possible time. When it does you do NOT want the server to stop or crash. You want it to keep running until the evening when you can spend a couple hours getting the disk replaced. (or until the next day when you can buy a replacement drive) When you have the replacement disk ready to plug into the system, you are supposed to run a full backup of your data on the degraded array just in case the reinsertion goes badly. I have found the safest is to leave the server alone and get the replacement disk ready. Wiping it in another system with dd if=/dev/zero of=/dev/ad1 bs=50k is the best policy before reinsertion. Follow the steps in the man page for reinsertion. Keep in mind that they don't always work. If they don't then you will have to wipe both disks and regenerate the array and reinstall the OS. That is why you make a backup first when the system is off-duty. Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Roberto Nunnari > Sent: Tuesday, April 29, 2008 12:35 PM > To: freebsd-questions@freebsd.org > Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on > next reboot > > > Nobody on this, please? :) > > > Roberto Nunnari wrote: > > Hi all! > > > > I'm playing with new HW and FreeBSD 6.3 and 7.0. > > > > I set up raid 1 on two sata disks (fakeraid on ICH9R) > > and as long as I can see, it seams to work very well. > > > > Now I'm trying to simulate 1 disk failure (I just take > > out a disk and boot again). Doesn't matter which of the > > two disks I take out, the bios correctly shows the raid > > as degraded and bootable, loads the FreeBSD loader, who > > loads the kernel and starts the boot. > > But when the kernel comes to the drives (or the swap?) > > it fatal traps 12. The trap descriptions sais that > > current process is 0 (swapper). > > > > Reading that I commented out the swap partition from fstab, > > but that doesn't help. > > > > How can I get the system to finish the boot? > > > > Thank you and best regards. > > > > _______________________________________________ > 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 Sat May 3 16:14:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0351065677 for ; Sat, 3 May 2008 16:14:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6B08FC16 for ; Sat, 3 May 2008 16:14:50 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1D6F210529C; Sat, 3 May 2008 12:14:49 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 03 May 2008 12:14:49 -0400 X-Sasl-enc: AmTQoyCjO2xQrmzNpJCiyrA4cjyo8VwEybe/tNajgQjn 1209831288 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id B55D2272AE; Sat, 3 May 2008 12:14:48 -0400 (EDT) Message-Id: <62E06D97-11D6-4D55-A2CC-5B39F06A0AFD@goldmark.org> From: Jeffrey Goldberg To: Gilles In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 3 May 2008 11:14:47 -0500 References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> X-Mailer: Apple Mail (2.919.2) Cc: FreeBSD List Subject: Re: [CRON] Recommended FTP client to download and upload files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 16:14:50 -0000 On May 3, 2008, at 9:46 AM, Gilles wrote: > I need to run a CRON job to download files from one FTP server if > they're more recent, and upload them to another FTP server. The files > all live in one directory, so there's no need for recursion. > > What command-line FTP client would you recommend for this? lftp in ports. It is very scriptable and has built in facilities to only copy "newer" files. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From owner-freebsd-questions@FreeBSD.ORG Sat May 3 17:51:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E466106564A for ; Sat, 3 May 2008 17:51:51 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4B8638FC16 for ; Sat, 3 May 2008 17:51:51 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id AF03E1CC67 for ; Sat, 3 May 2008 10:35:52 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with ESMTP id xrb0rLMtE5dW for ; Sat, 3 May 2008 10:35:12 -0700 (PDT) Date: Sat, 3 May 2008 13:35:10 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20080503173510.GA12768@shepherd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Portmanager loop when trying to upgrade perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sahil@tandon.net" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 17:51:51 -0000 Hi. I'm running FreeBSD 6.1. I have never had a problem with portmanager until today. I was trying to update amavisd-new. When I issued the upgrade command, portmanager started to update perl5.8. Everything was going fine until I realized it was looping. After the "3rd strike," I was told to look at the log. I am not able to glean much in the way of solutions, so hoping someone with a similar experience can help. I did see prior threads about the looping problem but I am still unable to update perl. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sat May 3 18:34:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 686E01065670 for ; Sat, 3 May 2008 18:34:34 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd2mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 275BE8FC0C for ; Sat, 3 May 2008 18:34:33 +0000 (UTC) (envelope-from prad@towardsfreedom.com) Received: from pd3mr5so.prod.shaw.ca (pd3mr5so-qfe3.prod.shaw.ca [10.0.141.12]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K0B00DKC29LR990@l-daemon> for freebsd-questions@freebsd.org; Sat, 03 May 2008 12:34:33 -0600 (MDT) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd3mr5so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K0B00EII29K6MB0@pd3mr5so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sat, 03 May 2008 12:34:33 -0600 (MDT) Received: from gom.home ([70.67.160.176]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0K0B00DYU29K3Q10@l-daemon> for freebsd-questions@freebsd.org; Sat, 03 May 2008 12:34:32 -0600 (MDT) Received: from gom.home (localhost [127.0.0.1]) by gom.home (Postfix) with ESMTP id 118C5B839 for ; Sat, 03 May 2008 11:34:31 -0700 (PDT) Date: Sat, 03 May 2008 11:34:30 -0700 From: prad In-reply-to: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> To: freebsd-questions@freebsd.org Message-id: <20080503113430.409688a2@gom.home> MIME-version: 1.0 X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Subject: Re: [CRON] Recommended FTP client to download and upload files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 18:34:34 -0000 On Sat, 03 May 2008 16:46:27 +0200 Gilles wrote: > What command-line FTP client would you recommend for this? > i like lftp the best. you can script it and everything has always worked smoothly for me using it. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From owner-freebsd-questions@FreeBSD.ORG Sat May 3 18:48:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97695106568D for ; Sat, 3 May 2008 18:48:06 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.250]) by mx1.freebsd.org (Postfix) with ESMTP id F18C98FC15 for ; Sat, 3 May 2008 18:48:05 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by ag-out-0708.google.com with SMTP id 8so831618agc.3 for ; Sat, 03 May 2008 11:48:05 -0700 (PDT) Received: by 10.90.91.2 with SMTP id o2mr6871475agb.56.1209840484953; Sat, 03 May 2008 11:48:04 -0700 (PDT) Received: from scorpio ( [67.189.233.182]) by mx.google.com with ESMTPS id 38sm6343520agd.37.2008.05.03.11.48.03 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 May 2008 11:48:04 -0700 (PDT) Date: Sat, 3 May 2008 14:47:56 -0400 From: Gerard To: freebsd-questions@freebsd.org Message-ID: <20080503144756.7f0b876c@scorpio> In-Reply-To: <20080503173510.GA12768@shepherd> References: <20080503173510.GA12768@shepherd> Organization: seibercom.net X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q X-Operating-System: FreeBSD-6.3 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/foxBloWy1s/nBIX0JxdA.w_"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Portmanager loop when trying to upgrade perl 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: Sat, 03 May 2008 18:48:06 -0000 --Sig_/foxBloWy1s/nBIX0JxdA.w_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 3 May 2008 13:35:10 -0400 Sahil Tandon wrote: > Hi. I'm running FreeBSD 6.1. I have never had a problem with > portmanager until today. I was trying to update amavisd-new. When I > issued the upgrade command, portmanager started to update perl5.8. > Everything was going fine until I realized it was looping. After the > "3rd strike," I was told to look at the log. I am not able to glean > much in the way of solutions, so hoping someone with a similar > experience can help. I did see prior threads about the looping > problem but I am still unable to update perl. What version of portmanager are you running? The last one is '0.4.1.9' I believe. It might have been nice if you had also posted any pertinent portions of the log file also. There was a looping problem in a very old version of portmanager; however, supposedly it had been corrected. Portmanager will not update itself if I remember correctly. I believe you have to do it manually. I might suggest the following. Assuming you have the latest version of portmanager: 1) Update your ports tree 2) Clean out '/usr/ports/distfiles' Not really necessary; however, it cannot hurt. 3) If available, run: portsclean -CDLP 4) Run: portmanager -u -p -y -l Good Luck! --=20 Gerard gerard@seibercom.net Ban the bomb. Save the world for conventional warfare. --Sig_/foxBloWy1s/nBIX0JxdA.w_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgcs10ACgkQ6DWTaTcTwMnn/wCgmzTZT0boJqnJGXpoiX+f3aTd PKoAoMGZTJ1Yc9WWPCGAGaC/RDaxR1DO =LiBC -----END PGP SIGNATURE----- --Sig_/foxBloWy1s/nBIX0JxdA.w_-- From owner-freebsd-questions@FreeBSD.ORG Sat May 3 18:58:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A29A106566B for ; Sat, 3 May 2008 18:58:37 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id 040EA8FC2E for ; Sat, 3 May 2008 18:58:36 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 875621CC67 for ; Sat, 3 May 2008 11:58:36 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with ESMTP id t6X6OY06000x for ; Sat, 3 May 2008 11:58:32 -0700 (PDT) Date: Sat, 3 May 2008 14:58:30 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20080503185830.GA12912@shepherd> References: <20080503173510.GA12768@shepherd> <20080503144756.7f0b876c@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080503144756.7f0b876c@scorpio> Subject: Re: Portmanager loop when trying to upgrade perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sahil@tandon.net" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 18:58:37 -0000 * Gerard [2008-05-03 14:47:56 -0400]: > On Sat, 3 May 2008 13:35:10 -0400 > Sahil Tandon wrote: > > > Hi. I'm running FreeBSD 6.1. I have never had a problem with > > portmanager until today. I was trying to update amavisd-new. When I > > issued the upgrade command, portmanager started to update perl5.8. > > Everything was going fine until I realized it was looping. After the > > "3rd strike," I was told to look at the log. I am not able to glean > > much in the way of solutions, so hoping someone with a similar > > experience can help. I did see prior threads about the looping > > problem but I am still unable to update perl. > > > What version of portmanager are you running? The last one is '0.4.1.9' I > believe. It might have been nice if you had also posted any pertinent > portions of the log file also. There was a looping problem in a very > old version of portmanager; however, supposedly it had been corrected. > Portmanager will not update itself if I remember correctly. I believe > you have to do it manually. Sorry for not posting the log file; I meant to do this and forgot: ------------------------------------------------------------------------ autoConflicts 0 autoMoved 0 backUp 0 buildDependsAreLeaves 0 forced 0 interactive 0 log 1 pmMode 1 pristine 0 resume 0 ------------------------------------------------------------------------ Sat May 3 09:55:47 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:06:45 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:06:46 2008 perl-5.8.8_1 /lang/perl5.8 make Strike 2 Sat May 3 10:25:21 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:25:40 2008 perl-5.8.8_1 /lang/perl5.8 make Strike 3, marking port as ignore/looping Sat May 3 10:25:40 2008 portmanager 0.4.1_9 INFO: finished with some ports not updated if --log was used see /var/log/portmanager.log > Assuming you have the latest version of portmanager: I do: portmanager-0.4.1_9 > 1) Update your ports tree I did, via portsnap update. > 2) Clean out '/usr/ports/distfiles' > Not really necessary; however, it cannot hurt. Done. > 3) If available, run: portsclean -CDLP Tried this. > 4) Run: portmanager -u -p -y -l Will try this, though I am a bit reluctant to do an all-out update of everything! For what it's worth, I had a perl module installed via CPAN (instead of the ports tree, because the port does not exist), about which portmanager seems to complain. The port was for Net-DNS-Async. portmanager asks me to pkg_delete and re-install. I will try that and perhaps perl will then build/update properly. -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sat May 3 19:55:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BAD21065677 for ; Sat, 3 May 2008 19:55:05 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id A6B878FC13 for ; Sat, 3 May 2008 19:55:03 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.1.12) with ESMTP id 25808263; Sat, 03 May 2008 21:55:01 +0200 Message-ID: <481CC2ED.3020303@supsi.ch> Date: Sat, 03 May 2008 21:54:21 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Ted Mittelstaedt References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on next reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 19:55:05 -0000 Hi Ted. Thank you for replying to my post. see my comments below. Ted Mittelstaedt wrote: > Roberto, > > You can't simulate a disk drive failure that way. If > you really want to know what's going on, the issue is that > your pointing the swap to ar0. If you must get this > booted again you can try booting into single user mode > and editing /etc/fstab and pointing the partitions to > /dev/ad0 instead of /dev/ar0 and booting. But this is > an emergency action and is not recommended. It doesn't even get to that point.. it panics before giving me the shell for single user mode.. I even made a few tests trying to comment out the swap in fstab, but that didn't help. but it doesn't matter.. I solved the problem by removing and then readding the disk from the raid in the bios. One up again had to rebuild the raid in the OS.. and that was it.. > > If you want to simulate a drive failure, WHILE THE > SYSTEM IS RUNNING pull the SATA connector on one drive. For sure that makes for a real test.. but.. Are you sure that that will not fry up the mainboard or the drive? > > The system should NOT trap, it should simply print a > error to the console and show it's gone into degraded mode. > > If you then reboot, the system may or may not come back up. > > You have to understand the approach of RAID mirroring. Basically > this is poor-man's data protection. The idea is that a disk > usually fails in the middle of the day during the worst possible > time. When it does you do NOT want the server to stop or > crash. You want it to keep running until the evening when you > can spend a couple hours getting the disk replaced. (or until > the next day when you can buy a replacement drive) > > When you have the replacement disk ready to plug into the > system, you are supposed to run a full backup of your data > on the degraded array just in case the reinsertion goes badly. > > I have found the safest is to leave the server alone and > get the replacement disk ready. Wiping it in another system > with dd if=/dev/zero of=/dev/ad1 bs=50k is the best policy > before reinsertion. Thank you very much for these instructions. Luckly I'm not familiar with failing drives! :) > > Follow the steps in the man page for reinsertion. Keep in What man page? Again Thank you very much. Best regards. Robi > mind that they don't always work. If they don't then you will > have to wipe both disks and regenerate the array and reinstall > the OS. That is why you make a backup first when the system is > off-duty. > > Ted > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Roberto Nunnari >> Sent: Tuesday, April 29, 2008 12:35 PM >> To: freebsd-questions@freebsd.org >> Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on >> next reboot >> >> >> Nobody on this, please? :) >> >> >> Roberto Nunnari wrote: >>> Hi all! >>> >>> I'm playing with new HW and FreeBSD 6.3 and 7.0. >>> >>> I set up raid 1 on two sata disks (fakeraid on ICH9R) >>> and as long as I can see, it seams to work very well. >>> >>> Now I'm trying to simulate 1 disk failure (I just take >>> out a disk and boot again). Doesn't matter which of the >>> two disks I take out, the bios correctly shows the raid >>> as degraded and bootable, loads the FreeBSD loader, who >>> loads the kernel and starts the boot. >>> But when the kernel comes to the drives (or the swap?) >>> it fatal traps 12. The trap descriptions sais that >>> current process is 0 (swapper). >>> >>> Reading that I commented out the swap partition from fstab, >>> but that doesn't help. >>> >>> How can I get the system to finish the boot? >>> >>> Thank you and best regards. >>> >> _______________________________________________ >> 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 Sat May 3 21:24:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52451065679 for ; Sat, 3 May 2008 21:24:29 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 826C38FC0C for ; Sat, 3 May 2008 21:24:29 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m43LOSou081490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 3 May 2008 14:24:29 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m43LOSjJ081489 for freebsd-questions@freebsd.org; Sat, 3 May 2008 14:24:28 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA08656; Sat, 3 May 08 14:03:18 PDT Date: Sat, 03 May 2008 14:01:14 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <481cd29a.tpRIhFQiGHIJiBOm%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: wine: app won't install from floppy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 21:24:29 -0000 What is the correct way of installing something into wine from floppy? The obvious approach: $ wine 'a:\setup.exe' did not work with a (fairly old version of) Visio: the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' It somehow locked out CtrlAltF1 so I could not switch to a text screen, but AltTab did bring up FVWM's window list (thus making it possible to transcribe the error message into an xterm that was not related to the wine session). After clicking OK I got an info box: Visio Setup i Setup failed. and it quit when I clicked OK there. Comparing the contents of .wine before/after the attempt, it seems the only change involves the font entries in the registry: $ diff -r wineBak .wine diff -r wineBak/system.reg .wine/system.reg 9082c9082 < [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1208923638 --- > [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1209616619 diff -r wineBak/user.reg .wine/user.reg 453c453 < [Software\\Wine\\Fonts] 1208923638 --- > [Software\\Wine\\Fonts] 1209616619 456c456 < [Software\\Wine\\Fonts\\External Fonts] 1208923638 --- > [Software\\Wine\\Fonts\\External Fonts] 1209616619 and of course I have no clue whether this makes any difference to anything. $ uname -a FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $ wine --version wine-0.9.48 a: is symlinked to /fd in .wine/dosdevices and /dev/fd0 is mounted on /fd From owner-freebsd-questions@FreeBSD.ORG Sat May 3 22:56:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D07E1065689 for ; Sat, 3 May 2008 22:56:47 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 109EB8FC14 for ; Sat, 3 May 2008 22:56:46 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: by rv-out-0506.google.com with SMTP id b25so1472754rvf.43 for ; Sat, 03 May 2008 15:56:46 -0700 (PDT) Received: by 10.141.27.16 with SMTP id e16mr2061096rvj.97.1209855406186; Sat, 03 May 2008 15:56:46 -0700 (PDT) Received: by 10.141.142.10 with HTTP; Sat, 3 May 2008 15:56:46 -0700 (PDT) Message-ID: <322efb7b0805031556n34f00c49oe4e503f561acf366@mail.gmail.com> Date: Sat, 3 May 2008 18:56:46 -0400 From: "Free BSD" To: freebsd-questions@freebsd.org In-Reply-To: <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD Server Settings Consult X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 22:56:47 -0000 4 GB physical ram but only 3GB usable via System. AMD X2 64 3800+ (2 CPUs) i386 Platform # pciconf -lv|grep ^none none0@pci0:0:17:5: class=0x040100 card=0x0c84105b chip=0x30591106 rev=0x60 hdr=0x00 Only difference is IPFW/Quota/Device Polling/2000HZ On 6.3 (now on 7) it was having random crashes 1-7 days at a time and did not produce a kernel dump. Web/IRC Hosting server All Sysctls are there from researching the internet for suggested values. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=125000 net.inet.tcp.recvspace=125000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=2048 kern.maxvnodes=132072 kern.maxfiles=32768 kern.maxfilesperproc=32768 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=1024 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=81920 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=32768 kern.maxfilesperproc=32768 accf_http_load="YES" Copyright (c) 1992-2008 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 7.0-STABLE #0: Fri May 2 12:52:50 CDT 2008 root@Eden.The-IRC.Org:/usr/obj/usr/src/sys/THE-IRC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 real memory = 3152936960 (3006 MB) avail memory = 3078762496 (2936 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bbde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on pci1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 rl0: port 0xf200-0xf2ff mem 0xdffff000-0xdffff0ff irq 19 at device 9.0 on pci0 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:58:61:20:4c rl0: [ITHREAD] atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xf900-0xf91f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xf800-0xf81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xf700-0xf71f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xf600-0xf61f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xdfffe000-0xdfffe0ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ad0: 76319MB at ata0-master UDMA100 ad4: 76319MB at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a rl0: link state changed to UP - Hide quoted text - On Fri, May 2, 2008 at 7:20 PM, Mel wrote: On Friday 02 May 2008 13:28:44 Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. Would help to know, at minimum: - ammount of ram - ammount of cpu's - platform (uname -m ) - pciconf -lv|grep ^none - dmesg output that complains about hardware - what's different about your kernel with respect to GENERIC What the problems are: - from the sysctl variables, I'm guessing you want more network performance - you mention core dumps, does the kernel crash? Some background: - what's the primary purpose of the machine - why are things like ipc tuned? > kern.maxfilesperproc=65536 The above will only work with programs that use open(2) exclusively and not fopen, because fopen is limited to SHRT_MAX, being 32767. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sat May 3 23:17:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D69F1106564A for ; Sat, 3 May 2008 23:17:17 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF118FC0A for ; Sat, 3 May 2008 23:17:17 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so193817ywe.13 for ; Sat, 03 May 2008 16:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Uzv0mXIyvbgKm7vafxpOUyo3eP+g1niY7Z5NIao5vzw=; b=dD6fLIlSGlnbMhTItrSFSJ6KyMYSJ3JN9frbkxpONm9GgQNA/Ot70qhG0lbYcZEUVpyY9IfM9KTZ+cp6yWGzDpkoktd1nGmoZHt5ZfXxIN4saUNK9ygqzJ/9wy+sVQQrbqSOsEYH8vkdtZMA6jwPEyMuvwQpc0CL+6KRieOSspg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Eg7t7BQHS+Terli/P3LTesvFEFYUR62ID12ogSn0s8Q+fcYdt7bmnmkKuoMZm9j6uZnrBSCR3oc6Q50gQwqWy/3/aLx7tfgOHSM6x+ott5kC8ZhiYsj0Ftz6Q7awgIwSfdxfP1GiZcwZEXjsLFIm6aciDyA25XaBsrHv6W4m7Q0= Received: by 10.150.82.41 with SMTP id f41mr4799527ybb.175.1209856636926; Sat, 03 May 2008 16:17:16 -0700 (PDT) Received: by 10.151.11.1 with HTTP; Sat, 3 May 2008 16:17:16 -0700 (PDT) Message-ID: <3c0b01820805031617i4dc19c92tf65c8a167b881172@mail.gmail.com> Date: Sat, 3 May 2008 19:17:16 -0400 From: "Alexander Sack" To: "David Naylor" In-Reply-To: <200805031525.07086.naylor.b.david@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200805031525.07086.naylor.b.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: ATA and APIC IRQ conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 May 2008 23:17:17 -0000 David: On Sat, May 3, 2008 at 9:25 AM, David Naylor wrote: > I am trying to install FreeBSD on a gigabyte board (based on nForce 650i > chipset (with MCP51 controller)) however no SATA hard drives are detected. > However, if APIC is disabled then I have access to the hard drives (and only > one CPU). It has been suggested that it is an IRQ conflict (or something > else related to APIC). I'll bet its interrupt routing more than IRQ conflicts (which these days on a modern system really doesn't make sense). More than likely there is some funkiness going on with the BIOS's ACPI tables (I would start with the MADT and verify its entries look kosher). Though it could be a power management problem and have nothing to do with interrupts (though with the SATA hard drives not being detected I would guess its interrupts). > Could someone please point me in the right direction so that I could try fix > this problem (i.e. how to change the IRQ of the ATA drivers or where to > fiddle with APIC to try get it to work?) I would read this: http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html I would definitely set ACPI_DEBUG=1 and go from there. Perhaps if you can start dumping the AML on your system (acpidump) and any messages you get on the console (dmesg etc.) you can post them here. Also let us know what kind of BIOS options you have revolving ACPI, power management, and any legacy settings (e.g. MPS Table options if any). Without more information its hard to say what exactly is your problem other than disabling ACPI kinda fixes it. Also, PLEASE CHECK GIGABYTE's motherboard web page for any BIOS updates that have been released. Typically BIOS updates fix these kinds of problems. -aps From owner-freebsd-questions@FreeBSD.ORG Sat May 3 23:22:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF3A1065675 for ; Sat, 3 May 2008 23:22:02 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id 2189D8FC12 for ; Sat, 3 May 2008 23:22:02 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 5AE201CC68 for ; Sat, 3 May 2008 16:22:01 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with ESMTP id mz9L3BXjBPLv for ; Sat, 3 May 2008 16:21:58 -0700 (PDT) Date: Sat, 3 May 2008 19:21:57 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20080503232156.GB13074@shepherd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Installing PERL modules from CPAN (instead of ports) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "sahil@tandon.net" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 23:22:02 -0000 In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD port, several PERL modules are required; one of them, Net::DNS::Async, also does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, but then this breaks portupgrade and portmanager when trying to update perl or keep track of new versions of the bsdpan-* "packages". Is there another way to go about this outside of trying to create my own postfwd and Net::DNS::Async ports? -- Sahil Tandon