From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:26:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A5D106566B for ; Sun, 27 Feb 2011 00:26:07 +0000 (UTC) (envelope-from vermaden@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id C50178FC19 for ; Sun, 27 Feb 2011 00:26:06 +0000 (UTC) Received: (qmail 2088 invoked by uid 0); 27 Feb 2011 00:26:05 -0000 Received: from 85.89.187.172 by rms-eu005.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Sun, 27 Feb 2011 00:26:04 +0000 From: "Slawomir Wojtczak" Message-ID: <20110227002604.92530@gmx.com> MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Authenticated: #68675852 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: JK1ceVBjTiE+KX+IcGBw8UR9ZUVSRBet Cc: freebsd-fs@freebsd.org Subject: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 00:26:07 -0000 Hi, I have tried these guides: http://wiki.freebsd.org/RootOnZFS/ZFSBootSlice http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition ... but none of them seems to work, after installation it hangs at boot like that: http://ompldr.org/vN2tscQ I am using these guides with 8.2-RELEASE amd64 version. I know that there is way to do this on GPT partitions, but I need MBR ones ... Any help appreciated, vermaden From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:45:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26D48106564A for ; Sun, 27 Feb 2011 00:45:24 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id F08F58FC17 for ; Sun, 27 Feb 2011 00:45:23 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id C2D6A2845B; Sat, 26 Feb 2011 19:45:22 -0500 (EST) Date: Sat, 26 Feb 2011 19:45:22 -0500 From: Daniel Staal To: Slawomir Wojtczak , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <20110227002604.92530@gmx.com> References: <20110227002604.92530@gmx.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 00:45:24 -0000 --As of February 27, 2011 12:26:04 AM +0000, Slawomir Wojtczak is alleged to have said: > ... but none of them seems to work, after installation it hangs at boot > like that: http://ompldr.org/vN2tscQ --As for the rest, it is mine. Hmm. Interesting. I'm having the same result when trying the 'root on ZFS, boot from UFS' guide here: Anything interesting happening during your install? I have an error late in the process (During 'Step 3.1') with this command: Fixit# mv boot bootdir/ It gives me an error saying that /bin/cp can't found/executed. (I've been trying to work around using `bin/cp -pRP boot bootdir/`. Note the lack of the leading slash.) I had tried several of the other installs from successfully, but I don't think I'd tried the MBR install. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:54:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01E161065670 for ; Sun, 27 Feb 2011 00:54:37 +0000 (UTC) (envelope-from vermaden@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 952B58FC16 for ; Sun, 27 Feb 2011 00:54:36 +0000 (UTC) Received: (qmail 21793 invoked by uid 0); 27 Feb 2011 00:54:35 -0000 Received: from 85.89.187.172 by rms-eu005.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Sun, 27 Feb 2011 00:54:32 +0000 From: "Slawomir Wojtczak" Message-ID: <20110227005432.92510@gmx.com> MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Authenticated: #68675852 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: n8UbbUdFeSEqIW2KfHAhXEV+IGRvb4AP Cc: DStaal@usa.net Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 00:54:37 -0000 > Anything interesting happening during your install? I would say no, everything seems smooth until I try to boot it. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 03:31:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D58B3106566B for ; Sun, 27 Feb 2011 03:31:30 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 76C4F8FC08 for ; Sun, 27 Feb 2011 03:31:29 +0000 (UTC) Received: by fxm19 with SMTP id 19so3202315fxm.13 for ; Sat, 26 Feb 2011 19:31:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.103.197 with SMTP id l5mr4732834fao.7.1298777489094; Sat, 26 Feb 2011 19:31:29 -0800 (PST) Received: by 10.223.83.194 with HTTP; Sat, 26 Feb 2011 19:31:29 -0800 (PST) In-Reply-To: <20110227005432.92510@gmx.com> References: <20110227005432.92510@gmx.com> Date: Sat, 26 Feb 2011 22:31:29 -0500 Message-ID: From: Carl Chave To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 03:31:30 -0000 How long are you waiting? What are you booting from? On Sat, Feb 26, 2011 at 7:54 PM, Slawomir Wojtczak wrote: > > Anything interesting happening during your install? > > I would say no, everything seems smooth until I try to boot it. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 03:49:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B807F1065672 for ; Sun, 27 Feb 2011 03:49:56 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web130210.mail.mud.yahoo.com (web130210.mail.mud.yahoo.com [66.94.238.157]) by mx1.freebsd.org (Postfix) with SMTP id 796098FC0A for ; Sun, 27 Feb 2011 03:49:56 +0000 (UTC) Received: (qmail 50702 invoked by uid 60001); 27 Feb 2011 03:23:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298776994; bh=gBGKlXtSZttgY7SuiQ8lX3Bh4LmB/PcpH/2SXR0ATL8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Wf92MNxpu2YZz7AX9eHbbyfTXj71mMDA9bTg1cteB7o18DXc6sRLfccyzuP1L+oMLonOTB2Q4AMV9k3K4VzrxrZmB3je0/Xnd4BG7VhLAY9Gh0ARC6rdq549gWOwaN66y0pelkniFw9iiOqp50eNL6YaxsJQXuO+8SJQZwPykyo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=jaZSLc+P4+ZO9UCoVF5ASJYtzYr5OEzfpxHQTnzGx/libgkEqBHEQXQOx5XLIDtclO04/wcmOY1ITXYhsmpJBrbIYqH75PqwrIgrVwpTmbI6qchiMtUuAbSHR8tFybFqBq3xgiRoywkp/G+n9oZpsqKGotRs9tz38GqQtki3eec=; Message-ID: <336353.49813.qm@web130210.mail.mud.yahoo.com> X-YMail-OSG: 4W1xEokVM1mqa4k2NNRkfcBdWZzJNRhXIqJlxFxcgdTZhsK cyAPKmJyao3SJ51cfT8Zf_.7dKXFy8_I7ZiL5KyuiuXqtVGBktxYXk51m6ea B4khr5NBrnjjucvjy412v2ZJxk0QTAMTGn2Uk31cghNXH6BY6FM3gdyqCutO 1wUWFPNl17FwTu0AtEkwiUV71d1zPPRgXJDsYIlJqW1Y.htaCW_WNJsRyErj dgxOXJryjEXv9SmXER9GH7n5CkIaCocP7hUb2oWHyjfoLLRYSuKEzoXV6vD8 kt_HfjOk0Zkxz8QuGAmzztYW2ng4RvgdscuWy5OtmziB52ORr9ZQDvUaTJvc MrZcZvqc3X1GcqqoGNUs_FnaiNn04IsRKC9BBsy7kvL2YqEs6_YecKvhWu5g Y7NnJQE8qfCCR Received: from [173.71.213.12] by web130210.mail.mud.yahoo.com via HTTP; Sat, 26 Feb 2011 19:23:14 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Sat, 26 Feb 2011 19:23:14 -0800 (PST) From: gahn To: freebsd general questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 03:49:56 -0000 hi all gurus: for usb external drive, i followed the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html but i have some problems for mounting a portable usb external drive: 1) when i plugged in, /dev/da0s1 appears: ip@hotty:/var/log:$ ls -al /dev/da0s1 crw-r----- 1 root operator 0, 108 Feb 26 22:05 /dev/da0s1 but i can't mount it: hotty# mount -t mdntfs /dev/da0s1 /mnt/mlu mount: /dev/da0s1 : Operation not supported by device 2) after i rebooted the system, even the usb external drive is still plugged in, but it disappears from the freebsd system: ip@hotty:$ ls -al /dev/da0s1 ls: /dev/da0s1: No such file or directory how could i fix this? thanks in advance From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 07:01:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22EB71065670 for ; Sun, 27 Feb 2011 07:01:03 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A92158FC08 for ; Sun, 27 Feb 2011 07:01:02 +0000 (UTC) Received: by fxm19 with SMTP id 19so3255718fxm.13 for ; Sat, 26 Feb 2011 23:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uUYXvGINbKZ/yy5QixFcBFu8cDO5JqAesIEwX2BTsUg=; b=iN30yPdsn0fdZLQntc5d7OoY+QWnlMJ/kiP3wY6gPpUEhbWPTEiRdmBwcqENgrrvp1 KCTDw1QW0NK5GukE5GlANuqxQMcBfBI0QJfExjenqlVKyHKRC5YuayE/qU39H8XQCRLe ZTZY4XMJtfl58jRqViyWi7Gd5h4H+vG1AKwWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wxXhYyCKAiokJDjfJqPTQYZD7RE0jbt+KmYHsJBFxBuluAB+pHkGh63HY2OyqVuPYG QbpISJ2VJg+NBdy7UD4Q+1QFFXvGXF8Zmw3WFHiN/Rl4ZNN7rFMSCVI2Qe5qQf5Xe9kc HaUAIaBXPzZ/SP0KELPRRRMhkQWJP4ysZlO8o= MIME-Version: 1.0 Received: by 10.223.101.131 with SMTP id c3mr4862500fao.50.1298790059963; Sat, 26 Feb 2011 23:00:59 -0800 (PST) Received: by 10.223.103.4 with HTTP; Sat, 26 Feb 2011 23:00:59 -0800 (PST) In-Reply-To: <336353.49813.qm@web130210.mail.mud.yahoo.com> References: <336353.49813.qm@web130210.mail.mud.yahoo.com> Date: Sun, 27 Feb 2011 02:00:59 -0500 Message-ID: From: "illoai@gmail.com" To: gahn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd general questions Subject: Re: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 07:01:03 -0000 On 26 February 2011 22:23, gahn wrote: > hi all gurus: > > for usb external drive, i followed the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html > > but i have some problems for mounting a portable usb external drive: > > 1) when i plugged in, /dev/da0s1 appears: > > ip@hotty:/var/log:$ ls -al /dev/da0s1 > crw-r----- =A01 root =A0operator =A0 =A00, 108 Feb 26 22:05 /dev/da0s1 > > but i can't mount it: > > hotty# mount -t =A0mdntfs /dev/da0s1 /mnt/mlu > mount: /dev/da0s1 : Operation not supported by device > I am wholly unfamiliar with mdntfs, so I'll assume you meant to type ntfs. In any case, you probably have to mount it read-only (unless you install sysutils/fusefs-ntfs) as FreeBSD does not support writing to ntfs by default. Fat32 is still the only viable solution for (nearly) full portability. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 11:05:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B5A91065675 for ; Sun, 27 Feb 2011 11:05:39 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2AA028FC21 for ; Sun, 27 Feb 2011 11:05:38 +0000 (UTC) Received: by wwb31 with SMTP id 31so3925313wwb.31 for ; Sun, 27 Feb 2011 03:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rg36UknkTuRd4hiOtCeDREumVS5Avhww7y7i+uM6iF4=; b=Sw7Bt+Z6LR5G2/G4isvjX9hYOV8f54HMExev4c0SbAYGEZtn2uF8Gy6h0T9/zTod2g VoVaSO9NpBJUHEcFWoS77gknppL7S/ItqI1ssE4mpOJ/ob4+YJzZv7yWw2v7djNT2xWz 49RLfE4lRrZGQQHAlOStBx7Br/xbDUB+y3B8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xJwN8cFHwr0v4+ZmC5rA/XzxGPVb4mMvGbKHW9e8QvwssNmWur/MPGcJWNJH4Uai/R Bx4T1i2ebWnY+MQVVn1TT1dppRtnf8bUhWXX74W8cWOUWFuiN3NVXB8wC2sORdxMGm+X b1zqrFtu1ZTLExeFzNrr3afYawjH3NFl/i3aI= MIME-Version: 1.0 Received: by 10.216.180.77 with SMTP id i55mr3597135wem.76.1298804736995; Sun, 27 Feb 2011 03:05:36 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 27 Feb 2011 03:05:36 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 11:05:36 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 11:05:39 -0000 On 26 February 2011 20:01, Tim Dunphy wrote: > Hey list, > > I just wanted to follow up with my /usr/local/etc/ldap.conf file and > nsswitch file because I thought they might be helpful in dispensing > advice as to what is going on: > > uri ldap://LBSD2.summitnjhome.com > base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom > bindpw secret > scope sub > pam_password exop > nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom > nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom > nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom > nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom > > > # nsswitch.conf(5) - name service switch configuration file > # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 > kensmith Exp $ > # > passwd: files ldap > passwd_compat: files ldap > group: files ldap > group_compat: nis > sudoers: ldap > hosts: files dns > networks: files > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > > On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrote: >> Hello List!! >> >> =A0I have an OpenLDAP 2.4 server functioning very nicely that >> authenticates a network of (mostly virtual) centos 5.5 machines. >> >> =A0But at the moment I am attempting to setup pam authentication for ssh >> via LDAP and having some difficulty. >> >> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >> >> # PAM configuration for the "sshd" service >> # >> >> # auth >> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0 = =A0 =A0 no_warn allow_local >> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass >> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >> >> # account >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >> >> # session >> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >> >> # password >> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0 = =A0 =A0 no_warn try_first_pass >> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >> >> >> And if I'm reading the logs correctly LDAP is searching for and >> finding the account information when I am making the login attempt: >> >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >> ))" >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr=3D= uid >> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >> description objectCla >> ss >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 >> first=3D106 last=3D137 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >> first=3D106 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D106 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fir= st=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fir= st=3D1 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D1 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RESUL= T >> tag=3D101 err=3D0 nentries=3D0 text=3D >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >> Feb 26 19:52:54 LBSD2 slapd[54891]: >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >> error=3D-2 id=3D34715, closing. >> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >> conn=3D34715 sd=3D212 for close >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (connec= tion lost) >> >> >> But logins fail every time. Could someone offer an opinion as to what >> may be going on to prevent logging in via pam/sshd and LDAP? >> >> Thanks in advance! >> Tim >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > these are my files and are from a working setup # cat /usr/local/etc/ldap.conf # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=3DXXX,dc=3Dnet URI ldap://XXX.net #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never ssl start_tls tls_cacert /usr/local/etc/openldap/ssl/cert.crt pam_login_attribute uid sudoers_base ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet bind_timelimit 1 timelimit 1 bind_policy soft nss_initgroups_ignoreusers root,slapd,krad # ls -l /usr/local/etc/nss_ldap.conf lrwxr-xr-x 1 root wheel 24 Jan 16 22:31 /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf # nsswitch.conf group: cache files ldap [notfound=3Dreturn] passwd: cache files ldap [notfound=3Dreturn] these packages are installs nss_ldap-1.265_4 RFC 2307 NSS module openldap-client-2.4.23 Open source LDAP client implementation openldap-server-2.4.23 Open source LDAP server implementation pam_ldap-1.8.6 A pam module for authenticating with LDAP From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 11:10:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E2C1065678 for ; Sun, 27 Feb 2011 11:10:08 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 71C108FC1A for ; Sun, 27 Feb 2011 11:10:08 +0000 (UTC) Received: by wyb32 with SMTP id 32so3437535wyb.13 for ; Sun, 27 Feb 2011 03:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zt7E4usySQN1eq7DAqBtUlonyJhF1mPfKEz5FVy+38s=; b=PKyXg1BXaiLaWF3ZEgOY7l65+Ao6snXfOEU/3v7u+67RPq2z3YBExGSXZrUYJ8oHCY 6mlZljx6Q6QReHtbk7MBuoYsQaCOeF30N/LrLGxv/omcGuNuiARof94WkbojLs0Yxh3u 0e0wX8VCrQpwlnbO51Tk5KrSotmaMUm8aaYTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AeOeW54tzH33rWNpgkQbUL1N+ubyyVIT9G9rrWucU8YPs0mDc76SqWw4igGgRxYI4h kAAs7cX5dh4WU1WGOeD/7GQR97ER9aUtnHjhNKPbrmuzDMn6J4eN7Nsg6MZzpZnP89jI aByass7gHtpp3ugds+w2sMiylT7nL8MMk1Zao= MIME-Version: 1.0 Received: by 10.216.47.71 with SMTP id s49mr1131545web.106.1298805006646; Sun, 27 Feb 2011 03:10:06 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 27 Feb 2011 03:10:06 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 11:10:06 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 11:10:09 -0000 On 27 February 2011 11:05, krad wrote: > On 26 February 2011 20:01, Tim Dunphy wrote: >> Hey list, >> >> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >> nsswitch file because I thought they might be helpful in dispensing >> advice as to what is going on: >> >> uri ldap://LBSD2.summitnjhome.com >> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >> bindpw secret >> scope sub >> pam_password exop >> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >> >> >> # nsswitch.conf(5) - name service switch configuration file >> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >> kensmith Exp $ >> # >> passwd: files ldap >> passwd_compat: files ldap >> group: files ldap >> group_compat: nis >> sudoers: ldap >> hosts: files dns >> networks: files >> shells: files >> services: compat >> services_compat: nis >> protocols: files >> rpc: files >> >> >> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrote= : >>> Hello List!! >>> >>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>> authenticates a network of (mostly virtual) centos 5.5 machines. >>> >>> =A0But at the moment I am attempting to setup pam authentication for ss= h >>> via LDAP and having some difficulty. >>> >>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>> >>> # PAM configuration for the "sshd" service >>> # >>> >>> # auth >>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0= =A0 =A0 no_warn allow_local >>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass >>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass >>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>> >>> # account >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>> >>> # session >>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>> >>> # password >>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0= =A0 =A0 no_warn try_first_pass >>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>> >>> >>> And if I'm reading the logs correctly LDAP is searching for and >>> finding the account information when I am making the login attempt: >>> >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>> ))" >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>> description objectCla >>> ss >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 >>> first=3D106 last=3D137 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>> first=3D106 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D106 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fi= rst=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fi= rst=3D1 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D1 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RESU= LT >>> tag=3D101 err=3D0 nentries=3D0 text=3D >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>> error=3D-2 id=3D34715, closing. >>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>> conn=3D34715 sd=3D212 for close >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (conne= ction lost) >>> >>> >>> But logins fail every time. Could someone offer an opinion as to what >>> may be going on to prevent logging in via pam/sshd and LDAP? >>> >>> Thanks in advance! >>> Tim >>> >>> -- >>> GPG me!! >>> >>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>> >> >> >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> _______________________________________________ >> 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" >> > > > > these are my files and are from a working setup > > # cat /usr/local/etc/ldap.conf > # > # LDAP Defaults > # > > # See ldap.conf(5) for details > # This file should be world readable but not world writable. > > BASE =A0 =A0dc=3DXXX,dc=3Dnet > URI =A0 =A0 ldap://XXX.net > > #SIZELIMIT =A0 =A0 =A012 > #TIMELIMIT =A0 =A0 =A015 > #DEREF =A0 =A0 =A0 =A0 =A0never > > ssl start_tls > tls_cacert /usr/local/etc/openldap/ssl/cert.crt > > pam_login_attribute uid > > sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet > bind_timelimit 1 > timelimit 1 > bind_policy soft > > nss_initgroups_ignoreusers root,slapd,krad > > > # ls -l /usr/local/etc/nss_ldap.conf > lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 > /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf > > # nsswitch.conf > > > group: cache files ldap [notfound=3Dreturn] > passwd: cache files ldap [notfound=3Dreturn] > > these packages are installs > > nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module > openldap-client-2.4.23 Open source LDAP client implementation > openldap-server-2.4.23 Open source LDAP server implementation > pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP > and my slapd.conf security ssf=3D128 TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema #include /usr/local/etc/openldap/schema/ldapns.schema include /usr/local/etc/openldap/schema/samba.schema include /usr/local/etc/openldap/schema/sudo.schema logfile /var/log/slapd.log loglevel stats pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args modulepath /usr/local/libexec/openldap moduleload back_bdb database bdb directory /var/db/openldap-data #index uid pres,eq index cn,sn,uid pres,eq,sub index objectClass eq #index sudoUser suffix "dc=3DXXX,dc=3Dnet" rootdn "cn=3Dkrad,dc=3DXXX,dc=3Dnet" rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa access to attrs=3DuserPassword by self write by anonymous auth by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write by * none access to * by self write by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write by * read From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 14:16:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F331065674; Sun, 27 Feb 2011 14:16:17 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BEFC98FC0A; Sun, 27 Feb 2011 14:16:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so3463791bwz.13 for ; Sun, 27 Feb 2011 06:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=jbRjiyH3JcxsbYfk8NGhu2G/Bhm8dSAunTWaqwZ1h48=; b=G2A1LQUv9eooYJZWGlMBGBUpNtBPd7m7QQuyPno6+bWQRPZgCyYJjoC1eNbXEfSRq8 tJlbJYkL3pL2Bfje08JgkGaQsNaXkTT/g/Mjb8seKPL7cPp+8LfZBXlqKMBNJ+A6t2MT Uv8IQBcGdoe4MaYPs2GPj/akvpF3v5aZN7f0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q+BXYiOFGDcClKONgpeeh6Yc2OZ1uJoE4dMy+Er5P4A0rrQRgHBCP5pYNOGIDSDhOs 7VG0NrCdLs5e/LUxGJVCYlBk5pF7y90gn2bVCHBIueHLSaYiI/iskirwroBUmRaWKrI3 PuAb7S+DyRR5BqSdigGm4YmQ7RqAgbhl/fDwo= MIME-Version: 1.0 Received: by 10.204.14.6 with SMTP id e6mr3758287bka.9.1298814485712; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Received: by 10.204.62.205 with HTTP; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Date: Sun, 27 Feb 2011 15:48:05 +0200 Message-ID: From: Dan Naumov To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 14:16:17 -0000 I have a 8.0 host system with a few jails (using ezjail) that I am gearing to update to 8.2. I have used freebsd-update a few times in the past to upgrade a system between releases, but how I would I go about using it to also upgrade a few jails made using ezjail? I would obviously need to point freebsd-update to use /basejail as root which I assume isn't too hard, but what about having it merge the new/changed /etc files in individual jails? I've also discovered the "ezjail-admin install -h file://" option which installs a basejail using the host system as base, am I right in thinking I could also use this by first upgrading my host and then running this command to write the /basejail over with the updated files from the host to bring them into sync? I still don't know how I would then fix the /etc under each individual jail though. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 15:02:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D612B106566B; Sun, 27 Feb 2011 15:02:16 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAD98FC0C; Sun, 27 Feb 2011 15:02:16 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id B3FCE6154; Sun, 27 Feb 2011 10:02:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1298818934; bh=dwFoD2SToxdZ1tl8CGHWe19nGqj/mJOmhSDVY9oMSsU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DQh8lmMJOrsPqy4ioJ1EWwl7jKi6H7Ll5b5gmQfbOL3YMIVp9C69BboFiJYRHj6Ci zb9Iz1hzsy/R7bTwjyxqrAGhWOYb7Mf6MWSgpNBkjM9abnrovg90HUerhscU027 DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=GooQa8dGzNJgYr6ieRXYWWCKlwp9xZkjxBqhweHq0c8NXO47Qh6j/skrClYq2qiw9 0rlv0jI5JZNHBPjs4so/dTNuxdmZ9QbHaozmCk96KoYV4q+J72ffxPSamlHsqNK Message-ID: <4D6A6774.70108@protected-networks.net> Date: Sun, 27 Feb 2011 10:02:12 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110116 Thunderbird/3.1.7 MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 15:02:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/27/11 08:48, Dan Naumov wrote: > I've also discovered the "ezjail-admin install -h file://" option which > installs a basejail using the host system as base, am I right in thinking I > could also use this by first upgrading my host and then running this command > to write the /basejail over with the updated files from the host to bring > them into sync? I still don't know how I would then fix the /etc under each > individual jail though. I've been using .. ezjail-admin update -i .. to update the binaries after a full update of the host system and something like .. #!/bin/sh for JAIL in {list-your-jails-here} do mv /usr/src /usr/local/jails/${JAIL}/usr JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` echo "Updating: ${JAIL}" jexec ${JAIL_ID} mergemaster -scvi mv /usr/local/jails/${JAIL}/usr/src /usr done .. to update/merge with jail-specific config data, imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1qZ3IACgkQQv9rrgRC1JLqugCcCRUttSFubQnc6IJtgjR6wcjr xioAoKllN6juSk1A7hHso7/AXP8mMZ9p =tkVj -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 15:13:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B63A106566B; Sun, 27 Feb 2011 15:13:08 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C34758FC0A; Sun, 27 Feb 2011 15:13:07 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id E6AB56154; Sun, 27 Feb 2011 10:13:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1298819587; bh=/BSKcVc/1dF02GOOC0NSvMvOSDUKjVuIfB2B4kyJyzI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ml+iaKOL3kCVr/nahBk/FejVijMscHDsLBRGstOvHTO6KKlOc0MTCGu+GsK71+WG1 4gMrTdU4PEEK1/8GUHAKkcsU2XQko4pRdWWJo3JFOYQn2FWLBGly7K/FWYjTtGe DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=XmOPYBGUhWt8YwRTnElSYgO3ueDGEaW3HWNbqwCJZ+LUET27DC3moJA68/Kdg/2sL 6/+xSDvqcjlN85rk9FcimO9kqADkIksGK6Go/Nv8+LN1tZuFxERI4Dh6dasEI84 Message-ID: <4D6A6A01.4090104@protected-networks.net> Date: Sun, 27 Feb 2011 10:13:05 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110116 Thunderbird/3.1.7 MIME-Version: 1.0 To: Dan Naumov References: <4D6A6774.70108@protected-networks.net> In-Reply-To: <4D6A6774.70108@protected-networks.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 15:13:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Apologies .. correcting myself here .. > .. to update the binaries after a full update of the host system and > something like .. > > #!/bin/sh > for JAIL in {list-your-jails-here} > do > mv /usr/src /usr/local/jails/${JAIL}/usr > JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` > echo "Updating: ${JAIL}" > jexec ${JAIL_ID} mergemaster -scvi > mv /usr/local/jails/${JAIL}/usr/src /usr > done This should, of course, be .. #!/bin/sh rmdir /usr/local/jails/basejail/usr/src mv /usr/src /usr/local/jails/basejail/usr/src for JAIL in {list-your-jails-here} do JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` echo "Updating: ${JAIL}" jexec ${JAIL_ID} mergemaster -scvi done mv /usr/local/jails/basejail/usr/src /usr mkdir /usr/local/jails/basejail/usr/src imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1qagEACgkQQv9rrgRC1JJVdwCfWeTcTSheVvMDFDLMfZj/56he ZUcAoLwiSObA6UmCmALfiFK/tJaVyj8+ =1pnX -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:10:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0491065672 for ; Sun, 27 Feb 2011 16:10:54 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 25E4F8FC08 for ; Sun, 27 Feb 2011 16:10:53 +0000 (UTC) Received: by wwb31 with SMTP id 31so4088561wwb.31 for ; Sun, 27 Feb 2011 08:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=EblthtykP6jLpM0LRU3YJ6pYra7/l/pzc1rXzo06OfY=; b=QG0qKLbp6RdAh1Ay5WZqh93Tn4BDLev6MeZ3K5LKT5LaMLn5Qcwczra1lZXD+NdV0p B/l5VJMji+bEWwtw/QBKEdUxFPrCPPa7669sfCiBNti6v4ULOYcVX8MadhqhQK36fjCP fXuCMN2ZGUwFJWYPgf4BW0uy0MpN/QUk7AEQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=s7JyJsBBnnXmmTidToJfPJux8n1yU8K9MgFVScKQuGyBDekq0Md8pb91AFC7PzWos7 8AwDSL3pNv8HCQGNss4I1HSHOUxO1IwFWxFde2r3Nb7aW9HpmWbhPe8H0p0TkN9oo/YP TMkCUnPvsNs4iZGoh2rAxK2QF7ETtO6p8CHcA= MIME-Version: 1.0 Received: by 10.227.137.197 with SMTP id x5mr4066228wbt.199.1298823053141; Sun, 27 Feb 2011 08:10:53 -0800 (PST) Received: by 10.227.137.203 with HTTP; Sun, 27 Feb 2011 08:10:53 -0800 (PST) In-Reply-To: <7067C20FC67DC094A9561818@utd71538.local> References: <7067C20FC67DC094A9561818@utd71538.local> Date: Sun, 27 Feb 2011 08:10:53 -0800 Message-ID: From: Nerius Landys To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 16:10:54 -0000 My upgrades were a success. I upgraded 3 machines: 1. 7.1 -> 7.4 2. 8.0 -> 8.1 3. 7.1 -> 7.3 -> 7.4 I don't use STABLE, but rather e.g. RELENG_7_4 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:16:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF0F1065679 for ; Sun, 27 Feb 2011 16:16:47 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 6863F8FC1B for ; Sun, 27 Feb 2011 16:16:47 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta10.emeryville.ca.mail.comcast.net with comcast id D3uy1g0031eYJf8AA4Gnd1; Sun, 27 Feb 2011 16:16:47 +0000 Received: from localhost ([67.180.204.190]) by omta19.emeryville.ca.mail.comcast.net with comcast id D4Gk1g00R46zqiB014Glpk; Sun, 27 Feb 2011 16:16:46 +0000 Date: Sun, 27 Feb 2011 08:16:44 -0800 From: Rem P Roberti To: FreeBSD Message-ID: <20110227161644.GA70750@bsd.remdog.net> Mail-Followup-To: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Webkit-gtk2 upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 16:16:47 -0000 When I attempt to upgrade Webkit-gtk2 the upgrade chokes with this message: CC WebKit/gtk/tests/Programs_unittests_testwebview-test_utils.o CCLD Programs/unittests/testwebview CC WebKit/gtk/tests/Programs_unittests_testkeyevents-testkeyevents.o CCLD Programs/unittests/testkeyevents cp ./WebKit/gtk/JSCore-1.0.gir ./ GEN WebKit-1.0.gir /usr/local/share/gir-1.0/Soup-2.4.gir: Incompatible version 1.0 (supported: 1.2) gmake[1]: *** [WebKit-1.0.gir] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/www/webkit-gtk2/work/webkit-1.2.7' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/www/webkit-gtk2. The problem seem to be this incompatible version of /usr/local/share/gir-1.0. I'd like a heads up on how I can bring this up to the supported 1.2 version. Thanks... Rem From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:53:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA9421065670 for ; Sun, 27 Feb 2011 16:53:39 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by mx1.freebsd.org (Postfix) with ESMTP id 580ED8FC12 for ; Sun, 27 Feb 2011 16:53:38 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACIKak18lLUR/2dsb2JhbACmQnS5DYVhBI9PJg X-IronPort-AV: E=Sophos;i="4.62,234,1297008000"; d="scan'208";a="636983658" Received: from unknown (HELO smtp.phoenix) ([124.148.181.17]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 28 Feb 2011 00:25:47 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6F3DD17164; Mon, 28 Feb 2011 03:25:47 +1100 (EST) Date: Mon, 28 Feb 2011 03:25:47 +1100 From: andrew clarke To: Neil Long Message-ID: <20110227162547.GA58054@ozzmosis.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update housekeeping? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 16:53:39 -0000 On Fri 2011-02-25 17:26:52 UTC+0000, Neil Long (neil@cymru.com) wrote: > Just noticed how large /var/db/freebsd-update has grown on a box I > just upgraded from 7.3 to 7.4 (but I can't recall when I started > using it). > > Is there a recommended approach or just rm the directory if I have > no need to roll it back? Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as my /var is "only" 1 GB and was running low on free space. Doing this should be no different to a fresh install where this directory is initially empty anyway. Of course if you're still wary you could make a tarball backup of that directory somewhere else before emptying it out. IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't exist, so you may need to mkdir it after using rm -rf. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 20:36:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9562106566C for ; Sun, 27 Feb 2011 20:36:59 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0FA8FC13 for ; Sun, 27 Feb 2011 20:36:59 +0000 (UTC) Received: by pzk32 with SMTP id 32so666103pzk.13 for ; Sun, 27 Feb 2011 12:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=calGEs5SXHTsgSJC/JNu0/+/QoizlTt0CoFd+6PTgy0=; b=rtf+WWV8Yx+glALp/+QOxEUn4wKMHYM5BAbmfaoYHEkCveACkj4g96boOZoowqb99E 108OfnMs+BeIv6eNyuCD9EwlaDnl3Nv2L5ZxFqpDg+LQ61rug+RfAEuzokfMjBgdbElv uT+LRPT+yPpoetwJkALsuDjjeDlfWneYjL1SA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eVewYatbW/x6ERYhFrRC1W2bM/pGlc+aXpeXzu94HdPY1llnVou49NSMTMFa3jXBzD kyDIZ3VyLADuNq4A+VvettkrBEjKH62iHdyWZxUGM7NXq2trYayheqc1rf/oBKzUAJTY M2VSBD8sFWKuGmzjkmLOfL9n9EZQ+QKfg092M= MIME-Version: 1.0 Received: by 10.142.172.13 with SMTP id u13mr3698720wfe.361.1298839019065; Sun, 27 Feb 2011 12:36:59 -0800 (PST) Received: by 10.142.116.7 with HTTP; Sun, 27 Feb 2011 12:36:58 -0800 (PST) Date: Sun, 27 Feb 2011 15:36:58 -0500 Message-ID: From: Scott Ballantyne To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 20:36:59 -0000 Hi, Doing a source upgrade from 8.1->8.2, all went well up to the installworld step: Reboot into single user mode: mount -u ./ zfs mount -a cd /usr/src make installworld It goes fine up to this point: (copying by hand) ===>sys/boot/i386/zfsloader (install) cp zfsloader.sym zfsloader.bin cp:No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/zfsloader *** Error code 1 Stop in /usr/src/sys/boot/i386 Any suggestions would be *very* appreciated! Thanks, Scott -- boyvalue@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 20:46:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB3C5106566C for ; Sun, 27 Feb 2011 20:46:06 +0000 (UTC) (envelope-from cyber366@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD418FC13 for ; Sun, 27 Feb 2011 20:46:06 +0000 (UTC) Received: by qyk27 with SMTP id 27so2662574qyk.13 for ; Sun, 27 Feb 2011 12:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=JsA75rf5ZzeLC2ny5LDKY7L/zW+tHDDQsmIdImGv93k=; b=ipkTDmUxj86BwkkAwPOhCboN38CPD8MfseP0w05MAD1FIjkjPgcJ3Rhh8WIREVPNIG 2M83aswHHn/2lGTYJMu0aJYzLXR76zy+59cnoxzGv8aBFRPJC5P4O3yL227OBkLncZyK ygpfH27tB8r6hjt1o5B3usEmGGAV8po6ObMGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=axAcVm2S+0LeOdVbmz8zaJmgGGrnqqXz0H04VT3PdoR6CLNYjSVN94A28AlALawujG pMwWQ9O5roWCRE2Tmf64OtxghYJvhliXCZK1/3ngIHJ4hQ212D76RtRDXWlNdSKK7Dv4 WpBfH0nKw+SIe770C8F6cI3o3Kq+A7A3XDuC0= Received: by 10.224.33.14 with SMTP id f14mr1783592qad.270.1298839565711; Sun, 27 Feb 2011 12:46:05 -0800 (PST) Received: from [192.168.1.100] (c-66-31-125-134.hsd1.ma.comcast.net [66.31.125.134]) by mx.google.com with ESMTPS id g32sm2564524qck.22.2011.02.27.12.46.05 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Feb 2011 12:46:05 -0800 (PST) From: David Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 27 Feb 2011 15:46:03 -0500 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 20:46:07 -0000 Hello All: I am curious... does anyone know of a reasonably priced commodity server = capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE = network interfaces? Any ideas on how hard this would be to do with = FreeBSD? I know of a proprietary linux-based system, but looking for open-source = FreeBSD based system. Thanks, David. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:04:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB7D1065672 for ; Sun, 27 Feb 2011 21:04:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2C68FC18 for ; Sun, 27 Feb 2011 21:04:52 +0000 (UTC) Received: by fxm19 with SMTP id 19so3598332fxm.13 for ; Sun, 27 Feb 2011 13:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jbM7FwvzOzDGRfD3w2lChEONoPBjEzb54GEhCMZULjo=; b=TDdnuGllZjlwgSVm7mnsuqDMpoC515dnZzmTGaarsG/MSdPEcQsAi58OOXnW0wcsH3 AIn1Rm/PY8XliZWfXw0gpZq2SJZHgFB7dopsUNCiY96g1rvLsjZVyAQXpp8/mVX1ZZlG SS5WTM6QhZEeHtGc2dXSGkG39tnqYcr3fKtVo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NfSHpvMRTGxeovBoTlXsl4COpj2quiZeYIglvtW1wrTnvKA4BK9QipYWATz4BAkpq7 5nnFI3me2wLZyNbjQmwrXfuZB2DEkf3Aa3Uk+zXVkMU2Tl5eIXz8M/P1+GaZ/U2jfebr PzqbuQj5W6myCpuvZRM9VHenGXFFig+I3voNw= MIME-Version: 1.0 Received: by 10.223.70.136 with SMTP id d8mr5654793faj.3.1298840691638; Sun, 27 Feb 2011 13:04:51 -0800 (PST) Received: by 10.223.94.67 with HTTP; Sun, 27 Feb 2011 13:04:51 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 15:04:51 -0600 Message-ID: From: Adam Vande More To: Scott Ballantyne 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 upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 21:04:53 -0000 On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: > > ===>sys/boot/i386/zfsloader (install) > > cp zfsloader.sym zfsloader.bin > cp:No such file or directory > *** Error code 1 > Stop in /usr/src/sys/boot/i386/zfsloader > *** Error code 1 > > Stop in /usr/src/sys/boot/i386 > > Any suggestions would be *very* appreciated! > > Thanks, > Scott > You can follow the intructions for building the loader which I believe are in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:29:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 772921065675 for ; Sun, 27 Feb 2011 21:29:22 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 495C58FC0A for ; Sun, 27 Feb 2011 21:29:22 +0000 (UTC) Received: by pvg11 with SMTP id 11so671348pvg.13 for ; Sun, 27 Feb 2011 13:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=x5RNbYSVZzpJdfjHIhbVFZ0FCk8pLjM/SvLhBHkEb74=; b=njXvaQ2Nb4vuiE0Ka1IOkrEz8pzGDzDxgVZxFqz/RRWAkRDs6Di2uFKGj3gZpvrkkR D/Tcw+7WN/E1pwY32hqYXKJYsNZtzAlwXki8z4C3odH4PB3iGmWeJdhobZzu6EwXK7Qt cO5dLAbKdxyWJVs+WYZKgv/o0Y4OE8jDulGH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EyA+eOv/1bXJOv9AnnJ/+H3rtSsRJIpeMNMkNJtlUpa9pwW0MUOdQWhsJF2g6BhCii tkbRxabfCy4Nts8LYb5Rm1NHd3hbgISr70oWR6ZtqcJxLMTHzN7B2nlQv5vtCHlD3/J1 Cremb9RY4TcyRzXK7LoIao9+El7cN/oqqgJ3I= MIME-Version: 1.0 Received: by 10.142.172.13 with SMTP id u13mr3732341wfe.361.1298842161957; Sun, 27 Feb 2011 13:29:21 -0800 (PST) Received: by 10.142.116.7 with HTTP; Sun, 27 Feb 2011 13:29:21 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 16:29:21 -0500 Message-ID: From: Scott Ballantyne To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 21:29:22 -0000 On Sun, Feb 27, 2011 at 4:04 PM, Adam Vande More wrote: > On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: > >> >> ===>sys/boot/i386/zfsloader (install) >> >> cp zfsloader.sym zfsloader.bin >> cp:No such file or directory >> *** Error code 1 >> Stop in /usr/src/sys/boot/i386/zfsloader >> *** Error code 1 >> >> Stop in /usr/src/sys/boot/i386 >> >> Any suggestions would be *very* appreciated! >> >> Thanks, >> Scott >> > > You can follow the intructions for building the loader which I believe are > in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. > > Thanks Adam, but it still comes to a screaming stop with that set. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:37:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BFA1065673 for ; Sun, 27 Feb 2011 21:37:17 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 6EE258FC16 for ; Sun, 27 Feb 2011 21:37:17 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p1RLhr0J027801; Sun, 27 Feb 2011 15:43:53 -0600 (CST) Date: Sun, 27 Feb 2011 15:43:53 -0600 (CST) From: Robert Bonomi Message-Id: <201102272143.p1RLhr0J027801@mail.r-bonomi.com> To: cyber366@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 21:37:17 -0000 > From owner-freebsd-questions@freebsd.org Sun Feb 27 14:54:09 2011 > From: David > Date: Sun, 27 Feb 2011 15:46:03 -0500 > To: freebsd-questions@freebsd.org > Subject: FreeBSD Performance > > Hello All: > > I am curious... does anyone know of a reasonably priced commodity server > capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE > network interfaces? Any ideas on how hard this would be to do with > FreeBSD? > > I know of a proprietary linux-based system, but looking for open-source > FreeBSD based system. A lot depends on what you need to do with the data. Do you need just the 'contents' of the network packets -- i.e. are you trying to send/recieve a single stream of data -- or do you need complete headers, augmented with timestamps, such that you can re- construct/replay what was 'seen on the wire'? Is the box 'dedicated' to receiving (or sending), and does -nothing-else- while that operation is in process? or do you need to sample the data in real-time as well? Another question is _how_long_ you need to handle the 2x10gbit/sec of data. a few seconds? a few tens of seconds? minutes? hours? If you need to 'go to disk' in real-time, you're looking at needing at least 3-4 gigabyte/sec of bandwith to disk. No commodity drives provide that kind of capacity, so you're looking at multiple drives 'in parallel' -- the logical equivalent of a 'striped' RAID array. Probably 12-16 spindles paralleled. Best handled with _hardware_ raid, directly in the disk controller, but I don't know of a commodity controller that supports enough spindles to give that bandwidth. This means one is best off doing it in the application softwre itself, rather than trusting the O/S to get it right. You're also looking at a _big_ disk array. Around 200 gigs for ONE MINUTE of data. Need 'only' an hour? That's merely 12 terabytes. The O/S is -relatively- unimportant. You need _good_ network cards, with good drivers -- preferably ones where most of the network stack can be off-loaded onto the card itself. You also need good disk controllers, ideally semi-autonomous (like SCSI), with fairly large data buffers. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:40:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A441F106566B for ; Sun, 27 Feb 2011 21:40:24 +0000 (UTC) (envelope-from 839273@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E88D8FC13 for ; Sun, 27 Feb 2011 21:40:24 +0000 (UTC) Received: by yie12 with SMTP id 12so514202yie.13 for ; Sun, 27 Feb 2011 13:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=1fuZk/ykjFKLA0QHSEBYT6MFg1xa3Vtviv64fk+uKnY=; b=CKLDtnxYSqGJuRK/tS39D2AqxaFcsOvUF0XZxuCXZOBNteAONMdF+uh0NkThPMZk38 rAo87PhhOxnNtO7G4/bX8VcYIpSK7fzHWb3CTYE7aBarea8YD5SfoD52WVFHbwUz2oVh 8aeEw/fUJlOIyj/OUp6e5bETnhYYvei7JwFP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=X96JOPcUvKQA42JGcDvpVXCZ1GxhmLmus573ClGT3KmL3MSF+sKjZFzfO61zYUjikv ONCRbP06I9CGtsJHjXzu11QFesnrJjGQc6uGnUWTcpAb/KiQN1lJMPh4z7SVG48aoDDr wcJ1J3tYYCzv8iIS21RrQCVFId1bzC3EB3+zM= MIME-Version: 1.0 Received: by 10.150.196.6 with SMTP id t6mr6222830ybf.366.1298842823730; Sun, 27 Feb 2011 13:40:23 -0800 (PST) Sender: 839273@gmail.com Received: by 10.150.215.21 with HTTP; Sun, 27 Feb 2011 13:40:23 -0800 (PST) In-Reply-To: <20110205200638.7939.qmail@dusk.parklogic.com> References: <20110205200638.7939.qmail@dusk.parklogic.com> Date: Sun, 27 Feb 2011 17:10:23 -0430 X-Google-Sender-Auth: EZfCQhQfoY2oWwJhrCtBrD5ijY4 Message-ID: From: Andres Perera To: Jarrod Slick Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: qmail or postfix? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 839273@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:40:24 -0000 Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website We look forward to your continued business in the future. Regards, Webmaster From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 01:04:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C10EA1065670 for ; Mon, 28 Feb 2011 01:04:00 +0000 (UTC) (envelope-from dedrick@vbnm.net) Received: from euclid.vbnm.net (euclid.vbnm.net [64.191.143.10]) by mx1.freebsd.org (Postfix) with ESMTP id 771748FC0A for ; Mon, 28 Feb 2011 01:04:00 +0000 (UTC) Received: from euclid.vbnm.net (localhost [127.0.0.1]) by euclid.vbnm.net (8.14.4/8.14.2) with ESMTP id p1S0UeoC004879 for ; Sun, 27 Feb 2011 19:30:40 -0500 (EST) (envelope-from dedrick@vbnm.net) Received: (from dedrick@localhost) by euclid.vbnm.net (8.14.4/8.14.2/Submit) id p1S0Uerx004878 for freebsd-questions@freebsd.org; Sun, 27 Feb 2011 19:30:40 -0500 (EST) (envelope-from dedrick@vbnm.net) X-Authentication-Warning: euclid.vbnm.net: dedrick set sender to dedrick@vbnm.net using -f Received: by euclid.vbnm.net (tmda-sendmail, from uid 1001); Sun, 27 Feb 2011 19:30:40 -0500 Date: Sun, 27 Feb 2011 19:30:38 -0500 To: freebsd-questions@freebsd.org Message-ID: <20110228003038.GA4842@vbnm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Eric Dedrick Subject: gcc45 wrong debug info? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 01:04:00 -0000 Wondering if anyone has encountered this problem where gdb/gcc doesn't seem to be getting the line number info right. I compiled code in as ---------------------------------------------------------------------- gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE -DFREEBSD -c interreflect3d.c -o x86-debug/objects/interreflections/interreflect3d.o gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE -DFREEBSD interreflect_driver.c x86-debug/objects/interreflections/interreflect3d.o -o x86-debug/bin/interreflect_driver -I./ -Ix86-debug/include -Ix86-debug/../external/include -Lx86-debug/../external/lib -llapack -lf77blas -lcblas -latlas -lgfortran ---------------------------------------------------------------------- and then I go to debug. I seem to stop in my function ok, locals and such seem ok, gdb seems to handle OK, except the line number information is wrong: #0 0x000000000040467b in reconstruction_prune (r=0x7fffffffe420, intensity_threshold_min=1, intensity_threshold_max=999999, jump_discontinuity_threshold=100, clustersize=5) at interreflect3d.c:296 #1 0x00000000004013ef in main (argc=26, argv=0x7fffffffe620) at interreflect_driver.c:103 For #0, the correct line is 1108, not 296. #1 is correct. This incorrect line number info is giving me grief while I'm trying to step through my code. Anyone have a hunch what's going on here? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 01:06:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2381F1065672 for ; Mon, 28 Feb 2011 01:06:20 +0000 (UTC) (envelope-from bluethundr@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DC7C98FC18 for ; Mon, 28 Feb 2011 01:06:19 +0000 (UTC) Received: by iwn33 with SMTP id 33so3029336iwn.13 for ; Sun, 27 Feb 2011 17:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=RKE5W+XsCQl23T/tKa22e428Vncfd/GKrtF8L+AHPMg=; b=tpRga0cxWjlK+Os9DJmZbzI+WTzGwC4zPGq+kcCeWsxELsRtsXwUeT2RQLxl5EkMuM XwonoM69CbrIgCVzQk1jgzovBF5LBpeOvp4hcRNk3e9dPGkXUQ5NQC64LswFMh166bfO CIrbIlbbmvY06RmIV+jAqUjDhbD+JLOwewHR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=equOYqkjAza80jyQlPnO7DMe2hvXf3b0AcVvjal7knNYXnl/fsZ4/L1IrzhkNsuMio MbeNPjXcFzpC0lSDMuBM0aj3CNbyLtWkNbFFT0M4jO3MKXlAi5+Ozb8t9ba/QVTBS/o6 /pM5K03a51GZrMjW7y3TgpgMDoTPRcuFRUfE0= MIME-Version: 1.0 Received: by 10.42.171.136 with SMTP id j8mr4124350icz.520.1298855179144; Sun, 27 Feb 2011 17:06:19 -0800 (PST) Received: by 10.42.219.199 with HTTP; Sun, 27 Feb 2011 17:06:19 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 20:06:19 -0500 Message-ID: From: Tim Dunphy To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 01:06:20 -0000 Hello Krad and thank you for your reply! Well it seems that I am still unable to login to this machine using an LDAP account. I have tried applying the configurations you have provided and the result doesn't seem to have changed just yet. Here is my /usr/local/etc/ldap.conf file uri ldap://LBSD2.summitnjhome.com base dc=3Dsummitnjhome,dc=3Dcom sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom bindpw secret scope sub ssl start tls tls_cacert /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.crt pam_login_attribute uid bind_timelimit 1 timelimit 1 bind_policy soft pam_password exop nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom nss_base_group dc=3Dsummitnjhome,dc=3Dcom nss_base_sudo dc=3Dsummitnjhome,dc=3Dcom nss_initgroups_ignoreusers root,slapd #ls -l /usr/local/etc/nss_ldap.conf lrwxr-xr-x 1 root wheel 24 Feb 28 00:10 /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf #cat /usr/local/etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # passwd: cache files ldap [notfound=3Dreturn] passwd_compat: files ldap group: cache files ldap [notfound =3D return] group_compat: nis sudoers: ldap hosts: files dns networks: files shells: files services: compat services_compat: nis protocols: files rpc: files Here is my slapd.conf file: # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/openldap.schema include /usr/local/etc/openldap/schema/sudo.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/misc.schema include /usr/local/etc/openldap/schema/openssh-lpk_openldap.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org loglevel 296 pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args ## TLS options for slapd TLSCipherSuite HIGH:MEDIUM:+SSLv2 TLSCertificateFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.cr= t TLSCertificateKeyFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.= key TLSCACertificateFile /usr/local/etc/openldap/certs/gd_bundle.crt # Load dynamic backend modules: modulepath /usr/local/libexec/openldap moduleload back_bdb # moduleload back_hdb # moduleload back_ldap # Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=3D1 update_ssf=3D112 simple_bind=3D64 # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base=3D"" by * read access to * by read access to attrs=3DuserPassword by self write by anonymous auth access to * by self write by dn.children=3D"ou=3Dsummitnjops,ou=3Dstaff,dc=3Dsummitnjhome= ,dc=3Dcom" write by users read by anonymous auth access to * by self write by users read by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING! ####################################################################### # BDB database definitions ####################################################################### database bdb suffix "dc=3Dsummitnjhome,dc=3Dcom" rootdn "cn=3DManager,dc=3Dsummitnjhome,dc=3Dcom" rootpw {SSHA}secret # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/db/summitnjhome.com # Indices to maintain index objectClass,uid,uidNumber eq index sudoUser eq these are the packages I have installed nss_ldap-1.265_4 RFC 2307 NSS module openldap-sasl-client-2.4.23 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.23 Open source LDAP server implementation pam_ldap-1.8.5 A pam module for authenticating with LDAP And this is what happens in the ldap logs after making those changes: Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001))" Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH attr=3Duid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: OR Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 first=3D106 last=3D137 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first=3D106 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D106 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first= =3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first= =3D1 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D1 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SEARCH RESULT tag=3D101 err=3D0 nentries=3D0 text=3D Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on: Feb 26 19:58:43 LBSD2 slapd[54891]: 425r Feb 26 19:58:43 LBSD2 slapd[54891]: Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: read activity on 425 Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter_list Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter_list Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 This is what's going on in the secure logs: Feb 27 19:02:05 LCENT01 su: pam_unix(su-l:session): session opened for user root by bluethundr(uid=3D10001) And this is my /etc/pam.d/sshd file: # # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1.4.1 2010/06/14 02:09:06 kensmith Exp $ # # PAM configuration for the "sshd" service # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_ldap.so #auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_ldap.so #account required pam_unix.so # session #session optional pam_ssh.so session sufficient pam_ldap.so session required pam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_ldap.so #password required pam_unix.so no_warn try_first_pass I really appreciate your input Krad and I appreciate any advice anyone may = have thanks tim On Sun, Feb 27, 2011 at 6:10 AM, krad wrote: > On 27 February 2011 11:05, krad wrote: >> On 26 February 2011 20:01, Tim Dunphy wrote: >>> Hey list, >>> >>> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >>> nsswitch file because I thought they might be helpful in dispensing >>> advice as to what is going on: >>> >>> uri ldap://LBSD2.summitnjhome.com >>> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >>> bindpw secret >>> scope sub >>> pam_password exop >>> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >>> >>> >>> # nsswitch.conf(5) - name service switch configuration file >>> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >>> kensmith Exp $ >>> # >>> passwd: files ldap >>> passwd_compat: files ldap >>> group: files ldap >>> group_compat: nis >>> sudoers: ldap >>> hosts: files dns >>> networks: files >>> shells: files >>> services: compat >>> services_compat: nis >>> protocols: files >>> rpc: files >>> >>> >>> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrot= e: >>>> Hello List!! >>>> >>>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>>> authenticates a network of (mostly virtual) centos 5.5 machines. >>>> >>>> =A0But at the moment I am attempting to setup pam authentication for s= sh >>>> via LDAP and having some difficulty. >>>> >>>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>>> >>>> # PAM configuration for the "sshd" service >>>> # >>>> >>>> # auth >>>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so = =A0 =A0 =A0 no_warn allow_local >>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0= =A0 =A0 =A0 =A0no_warn try_first_pass >>>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>> >>>> # account >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>>> >>>> # session >>>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>>> >>>> # password >>>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>> >>>> >>>> And if I'm reading the logs correctly LDAP is searching for and >>>> finding the account information when I am making the login attempt: >>>> >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>>> ))" >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>>> description objectCla >>>> ss >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D2= 6 >>>> first=3D106 last=3D137 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>>> first=3D106 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D106 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 f= irst=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 f= irst=3D1 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D1 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RES= ULT >>>> tag=3D101 err=3D0 nentries=3D0 text=3D >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>>> error=3D-2 id=3D34715, closing. >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>>> conn=3D34715 sd=3D212 for close >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (conn= ection lost) >>>> >>>> >>>> But logins fail every time. Could someone offer an opinion as to what >>>> may be going on to prevent logging in via pam/sshd and LDAP? >>>> >>>> Thanks in advance! >>>> Tim >>>> >>>> -- >>>> GPG me!! >>>> >>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>> >>> >>> >>> >>> -- >>> GPG me!! >>> >>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>> _______________________________________________ >>> 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" >>> >> >> >> >> these are my files and are from a working setup >> >> # cat /usr/local/etc/ldap.conf >> # >> # LDAP Defaults >> # >> >> # See ldap.conf(5) for details >> # This file should be world readable but not world writable. >> >> BASE =A0 =A0dc=3DXXX,dc=3Dnet >> URI =A0 =A0 ldap://XXX.net >> >> #SIZELIMIT =A0 =A0 =A012 >> #TIMELIMIT =A0 =A0 =A015 >> #DEREF =A0 =A0 =A0 =A0 =A0never >> >> ssl start_tls >> tls_cacert /usr/local/etc/openldap/ssl/cert.crt >> >> pam_login_attribute uid >> >> sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet >> bind_timelimit 1 >> timelimit 1 >> bind_policy soft >> >> nss_initgroups_ignoreusers root,slapd,krad >> >> >> # ls -l /usr/local/etc/nss_ldap.conf >> lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 >> /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf >> >> # nsswitch.conf >> >> >> group: cache files ldap [notfound=3Dreturn] >> passwd: cache files ldap [notfound=3Dreturn] >> >> these packages are installs >> >> nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module >> openldap-client-2.4.23 Open source LDAP client implementation >> openldap-server-2.4.23 Open source LDAP server implementation >> pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP >> > > and my slapd.conf > > security ssf=3D128 > > TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt > TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key > TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sche= ma > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema > #include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/ldapns.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/samba.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema > logfile /var/log/slapd.log > loglevel stats > pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid > argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args > modulepath =A0 =A0 =A0/usr/local/libexec/openldap > moduleload =A0 =A0 =A0back_bdb > database =A0 =A0 =A0 =A0bdb > directory =A0 =A0 =A0 /var/db/openldap-data > #index uid pres,eq > index cn,sn,uid pres,eq,sub > index objectClass eq > #index sudoUser > suffix =A0"dc=3DXXX,dc=3Dnet" > rootdn =A0"cn=3Dkrad,dc=3DXXX,dc=3Dnet" > rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa > access to attrs=3DuserPassword > =A0 =A0 =A0 =A0 =A0 =A0by self write > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write > =A0 =A0 =A0 =A0 =A0 =A0by * none > access to * > =A0 =A0 =A0 =A0 =A0 =A0by self write > =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write > =A0 =A0 =A0 =A0 =A0 =A0by * read > --=20 GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 02:36:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE0CC1065670 for ; Mon, 28 Feb 2011 02:36:56 +0000 (UTC) (envelope-from dedrick@vbnm.net) Received: from euclid.vbnm.net (euclid.vbnm.net [64.191.143.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD598FC08 for ; Mon, 28 Feb 2011 02:36:56 +0000 (UTC) Received: from euclid.vbnm.net (localhost [127.0.0.1]) by euclid.vbnm.net (8.14.4/8.14.2) with ESMTP id p1S2asI1012505 for ; Sun, 27 Feb 2011 21:36:54 -0500 (EST) (envelope-from dedrick@vbnm.net) Received: (from dedrick@localhost) by euclid.vbnm.net (8.14.4/8.14.2/Submit) id p1S2asoK012504 for freebsd-questions@freebsd.org; Sun, 27 Feb 2011 21:36:54 -0500 (EST) (envelope-from dedrick@vbnm.net) X-Authentication-Warning: euclid.vbnm.net: dedrick set sender to dedrick@vbnm.net using -f Received: by euclid.vbnm.net (tmda-sendmail, from uid 1001); Sun, 27 Feb 2011 21:36:54 -0500 Date: Sun, 27 Feb 2011 21:36:54 -0500 To: freebsd-questions@freebsd.org Message-ID: <20110228023654.GA12469@vbnm.net> References: <20110228003038.GA4842@vbnm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110228003038.GA4842@vbnm.net> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Eric Dedrick Subject: Re: gcc45 wrong debug info? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 02:36:56 -0000 Hmm. When I compile with -gstabs -ggdb, at least addr2line and gdb can at least see the correct line info. The info below is correct except I don't know what's up with the argc thing. Ideas? Thanks. ---------------------------------------------------------------------- Breakpoint 1, main (argc=Cannot access memory at address 0x8000ffffe41c ) at interreflect_driver.c:9 (gdb) info breakpoints Num Type Disp Enb Address What 1 breakpoint keep y 0x0000000000400fed in main at interreflect_driver.c:9 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000004013bb in main at interreflect_driver.c:103 3 breakpoint keep y 0x0000000000401cd3 in reconstruction_load_points at interreflect3d.c:296 4 breakpoint keep y 0x0000000000404419 in reconstruction_prune at interreflect3d.c:1107 ---------------------------------------------------------------------- On Sun, Feb 27, 2011 at 07:30:38PM -0500, Eric Dedrick wrote: > Wondering if anyone has encountered this problem where gdb/gcc doesn't > seem to be getting the line number info right. > > I compiled code in as > ---------------------------------------------------------------------- > gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE > -DFREEBSD -c interreflect3d.c > -o x86-debug/objects/interreflections/interreflect3d.o > > gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE > -DFREEBSD interreflect_driver.c > x86-debug/objects/interreflections/interreflect3d.o > -o x86-debug/bin/interreflect_driver > -I./ > -Ix86-debug/include > -Ix86-debug/../external/include > -Lx86-debug/../external/lib > -llapack -lf77blas -lcblas -latlas -lgfortran > ---------------------------------------------------------------------- > > and then I go to debug. I seem to stop in my function ok, locals and > such seem ok, gdb seems to handle OK, except the line number > information is wrong: > > #0 0x000000000040467b in reconstruction_prune (r=0x7fffffffe420, > intensity_threshold_min=1, > intensity_threshold_max=999999, jump_discontinuity_threshold=100, > clustersize=5) > at interreflect3d.c:296 > #1 0x00000000004013ef in main (argc=26, argv=0x7fffffffe620) at > interreflect_driver.c:103 > > For #0, the correct line is 1108, not 296. #1 is correct. > > This incorrect line number info is giving me grief while I'm trying to > step through my code. > > Anyone have a hunch what's going on here? > > Thanks. > From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 04:35:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD12106566B for ; Mon, 28 Feb 2011 04:35:16 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web130209.mail.mud.yahoo.com (web130209.mail.mud.yahoo.com [66.94.238.145]) by mx1.freebsd.org (Postfix) with SMTP id 4B2F48FC0C for ; Mon, 28 Feb 2011 04:35:16 +0000 (UTC) Received: (qmail 62971 invoked by uid 60001); 28 Feb 2011 04:35:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298867715; bh=LTynkqcEzqPNUR0Cr+n6HPfUmlfnAL1i3ykltQkEGdc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JkBf4hXlhtdMaZcwd1VrjYlrkgGCMph71uLo7Ngdt2B/bEuEimZCEX0M9khKIwnaipdCpPQ0zan6+Zt5tzrFj7/F84qrrsogcystZGs8otiIjg7uqd7QCf5ZKbSWzd2NqoPqq6CBNm7nqcuBgq/43k8n6/IQHS9C5207Pa1dNmc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KWTW2SZ2vGwgmoP2KWKrPfRpOxDQLUdxq/eZbIeBH+9ISg4J7Z5uNxxSbKr5JbQZp4IMxBkpIy6htTHEavQu0V7V0WQzYP1xmEg/HizhnCCDbFGDgFJNSEjv5pYyxHmZjLKR+P7PBjkEI+1HhAC7lcdIpDTovUEaZ6DMAzbJ13A=; Message-ID: <526798.48718.qm@web130209.mail.mud.yahoo.com> X-YMail-OSG: 2yEDITYVM1ldb6axEdKnAXC67AKhaiZHg_N4sOXj8ZgRdf2 sg6uUwDIJfSSxlZPUlasnAJ9L9mXEvXq1ftsR.U75R5M7ScbD.DxMlaU9Jrm nmKf6oo9nE1Vj22fjUAwm_UWZyxS8T0jkuJs2_4vedY5JBUbUvbWOD.liF1d v0FOTEbLmnOYYBw1v7jE55ayI8MdlRPGLnxDH3beKYGLm5RFGnu8_QQg9xz_ wSVDJSR16zpVZpAlmeQQDim4SFoqOnpaMY52wR0dehiJ77UJr5kdJIhtHypc mSj09qAnZTQJlWQreTXoQgZx3u.1U9Q7GYMvsy2oczKBHXO97UsBdp_YE7zM xyldMEg-- Received: from [173.71.213.12] by web130209.mail.mud.yahoo.com via HTTP; Sun, 27 Feb 2011 20:35:15 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Sun, 27 Feb 2011 20:35:15 -0800 (PST) From: gahn To: "illoai@gmail.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd general questions Subject: Re: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 04:35:16 -0000 thanks.=0A=0Aok, that was my mistake for that "mdntfs". it should be "ntfs"= .=0A=0Abest=0A=0A--- On Sat, 2/26/11, illoai@gmail.com w= rote:=0A=0A> From: illoai@gmail.com =0A> Subject: Re: usb= portable drive (ntfs) issues=0A> To: "gahn" =0A> Cc: "f= reebsd general questions" =0A> Date: Saturda= y, February 26, 2011, 11:00 PM=0A> On 26 February 2011 22:23, gahn=0A> =0A> wrote:=0A> > hi all gurus:=0A> >=0A> > for usb external= drive, i followed the handbook:=0A> >=0A> > http://www.freebsd.org/doc/en_= US.ISO8859-1/books/handbook/usb-disks.html=0A> >=0A> > but i have some prob= lems for mounting a portable usb=0A> external drive:=0A> >=0A> > 1) when i = plugged in, /dev/da0s1 appears:=0A> >=0A> > ip@hotty:/var/log:$ ls -al /dev= /da0s1=0A> > crw-r----- =A01 root =A0operator =A0 =A00, 108 Feb 26=0A> 22:0= 5 /dev/da0s1=0A> >=0A> > but i can't mount it:=0A> >=0A> > hotty# mount -t = =A0mdntfs /dev/da0s1 /mnt/mlu=0A> > mount: /dev/da0s1 : Operation not suppo= rted by device=0A> >=0A> =0A> I am wholly unfamiliar with mdntfs, so I'll a= ssume you=0A> meant to type ntfs.=A0 In any case, you probably have=0A> to= =0A> mount it read-only (unless you install=0A> sysutils/fusefs-ntfs)=0A> a= s FreeBSD does not support writing to ntfs by default.=0A> =0A> Fat32 is st= ill the only viable solution for (nearly) full=0A> portability.=0A> =0A> --= =0A> --=0A> =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 05:00:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F9E1065672 for ; Mon, 28 Feb 2011 05:00:26 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 19DE78FC12 for ; Mon, 28 Feb 2011 05:00:25 +0000 (UTC) Received: by vws16 with SMTP id 16so3280740vws.13 for ; Sun, 27 Feb 2011 21:00:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.164.168 with SMTP id yr8mr8229357vdb.16.1298869223559; Sun, 27 Feb 2011 21:00:23 -0800 (PST) Received: by 10.52.166.193 with HTTP; Sun, 27 Feb 2011 21:00:23 -0800 (PST) In-Reply-To: References: <20110227002604.92530@gmx.com> Date: Mon, 28 Feb 2011 05:00:23 +0000 Message-ID: From: Gautham Ganapathy To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Daniel Staal , Slawomir Wojtczak Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 05:00:26 -0000 On Sun, Feb 27, 2011 at 12:45 AM, Daniel Staal wrote: > --As of February 27, 2011 12:26:04 AM +0000, Slawomir Wojtczak is alleged= to > have said: > >> ... but none of them seems to work, after installation it hangs at boot >> like that: http://ompldr.org/vN2tscQ > > --As for the rest, it is mine. > > Hmm. =A0Interesting. =A0I'm having the same result when trying the 'root = on ZFS, > boot from UFS' guide here: > > > Anything interesting happening during your install? =A0I have an error la= te in > the process (During 'Step 3.1') with this command: > Fixit# mv boot bootdir/ > > It gives me an error saying that /bin/cp can't found/executed. =A0(I've b= een > trying to work around using `bin/cp -pRP boot bootdir/`. =A0Note the lack= of > the leading slash.) > > I had tried several of the other installs from > successfully, but I don't think I'd > tried the MBR install. > > Daniel T. Staal > I had the same problem. Today, I tried using the PCBSD dvd to install FreeBSD on ZFS (with /boot on UFS). It kept giving errors just before completion. However, some comments I found while googling about that problem mentioned that the installation seemed to have completed, which seems to be the case. Both FreeBSD and FreeDOS are now installed on the same drive (in a VM, I'll try this on real h/w next). Still not sure what caused the error during installation though. Regards Gautham Ganapathy From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 08:23:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 228FA1065676 for ; Mon, 28 Feb 2011 08:23:28 +0000 (UTC) (envelope-from leprasko@yahoo.com) Received: from nm28.bullet.mail.ne1.yahoo.com (nm28.bullet.mail.ne1.yahoo.com [98.138.90.91]) by mx1.freebsd.org (Postfix) with SMTP id BADDA8FC19 for ; Mon, 28 Feb 2011 08:23:27 +0000 (UTC) Received: from [98.138.90.57] by nm28.bullet.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 Received: from [98.138.89.163] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 Received: from [127.0.0.1] by omp1019.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 507985.92243.bm@omp1019.mail.ne1.yahoo.com Received: (qmail 78112 invoked by uid 60001); 28 Feb 2011 08:09:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298880598; bh=VPBbxfQGd4XSrOlZ/45VzdRODmjKQlTKaIgH8jWlbQw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=lr1j4dOOq2PtSO4XbhNnXjYlme6DCkaktYGyT53TvnF81/KJ4SmJtqMLAw3BfbmLUc+VxA8qiYPHDIxLgeeUqwFTMEbkxWNI74sXibKzsgmsVJQGDFwzvIYKF9fskYzgIj+OjbwAks16/3WYcImqOkQ/Vasxcw9IiRtAadu3NJU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=5j8/E2/kCvnkM7tJhwlCdTdRvnVhIu+N5FDjLcDfuWqlKZGj+wnc27FsMfN40IbTc0SgGLoBVMAl2DdCxNHKhYTYGJSWNzkPo1lldwKshmQWqWutXwlNvGckvB59zbSKddmem+PM9DYnHh+fxw/0BuNcE+OoHpSUWC1Q7oqHpqQ=; Message-ID: <410789.77875.qm@web120601.mail.ne1.yahoo.com> X-YMail-OSG: HR_k4YAVM1n_LqhK5riatuhFI6fFSBzLf52TiUNNX7URXOg 8PpOyzB1Dy1pqpH9VW3L8s7j0eUXWEs5UgmKYBH55qkVJpPchRjjGVmI5Sew NHCE4a21Y7tM_.imvKu5DIgsewAzWQiuHlARnPxUqp8lk4td4UaazSLOVP7R AQnzY15Aljf0QhKqABG.QwHoOwdj9oJwRJk.LAW5tzOMTeS8fZCsaFo3ZcFQ jmWabKNwZPPbAoDeK_uqgHW.A2RShpoD7mO5x.krBo9b8G6xo8g-- Received: from [194.44.21.226] by web120601.mail.ne1.yahoo.com via HTTP; Mon, 28 Feb 2011 00:09:58 PST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.109.292656 Date: Mon, 28 Feb 2011 00:09:58 -0800 (PST) From: Lep Names To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: server drop network connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 08:23:28 -0000 Hello. I have so strange trouble: every week my server drop all network connections - ssh,ping etc. But it continue working. tech support can access it over kvm. after reboot everything works fine for a week. it seems to me that it's trouble in mbufs. FreeBSD 8.1-RELEASE-p2 sysctl.conf: security.bsd.see_other_uids=0 kern.ipc.somaxconn=2048 net.inet.icmp.drop_redirect=1 #net.inet.icmp.log_redirect=1 net.inet.tcp.blackhole=2 net.inet.tcp.drop_synfin=1 net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=65536 net.inet.udp.recvspace=32768 kern.fallback_elf_brand=-1 net.inet.ip.maxfragpackets=1024 kern.sync_on_panic=1 vfs.ufs.dirhash_maxmem=100000000 kern.polling.burst_max=1000 kern.polling.each_burst=1000 kern.polling.reg_frac=100 kern.polling.user_frac=1 kern.maxvnodes=256000 net.inet.ip.intr_queue_maxlen=256 #dev.em.0.rx_processing_limit=1000 #dev.em.1.rx_processing_limit=1000 net.inet.tcp.recvbuf_auto=0 net.inet.tcp.sendbuf_auto=0 net.inet.tcp.tso=0 net.isr.direct=1 net.route.netisr_maxqlen=1024 #net.inet.flowtable.nmbflows=8192 kern.ipc.nmbclusters=65536 net.inet.ip.portrange.first=1024 net.inet.ip.portrange.hifirst=1024 net.inet.tcp.hostcache.expire=1200 net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.finwait2_timeout=3000 net.inet.tcp.keepinit=5000 net.inet.tcp.nolocaltimewait=1 net.inet.tcp.maxtcptw=65536 net.inet.tcp.msl=3000 kern.coredump=1 kern.random.sys.harvest.interrupt=0 kern.random.sys.harvest.ethernet=0 net.inet.udp.blackhole=1 netstat -m 868/1052/1920 mbufs in use (current/cache/total) 715/923/1638/65536 mbuf clusters in use (current/cache/total/max) 709/443 mbuf+clusters out of packet secondary zone in use (current/cache) 0/35/35/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1647K/2249K/3896K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 139/313/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 4031 requests for I/O initiated by sendfile 0 calls to protocol drain routines it seems to me that i must enlarge 1920 value, but i do not know how. Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 09:00:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48E60106566C for ; Mon, 28 Feb 2011 09:00:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B60A78FC13 for ; Mon, 28 Feb 2011 09:00:12 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ptyxe-0002Nr-GL for freebsd-questions@freebsd.org; Mon, 28 Feb 2011 10:00:10 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 10:00:10 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 10:00:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 28 Feb 2011 04:02:25 -0500 Lines: 115 Message-ID: References: <410789.77875.qm@web120601.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: server drop network connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 09:00:13 -0000 Lep Names wrote: > Hello. I have so strange trouble: every week my server drop all > network > connections - ssh,ping etc. But it continue working. tech support can > access it over kvm. > after reboot everything works fine for a week. it seems to me that it's > trouble in mbufs. > > FreeBSD 8.1-RELEASE-p2 > > sysctl.conf: > security.bsd.see_other_uids=0 > kern.ipc.somaxconn=2048 > net.inet.icmp.drop_redirect=1 > #net.inet.icmp.log_redirect=1 > net.inet.tcp.blackhole=2 > net.inet.tcp.drop_synfin=1 > net.inet.tcp.sendspace=131072 > net.inet.tcp.recvspace=65536 > net.inet.udp.recvspace=32768 > kern.fallback_elf_brand=-1 > net.inet.ip.maxfragpackets=1024 > kern.sync_on_panic=1 > vfs.ufs.dirhash_maxmem=100000000 > kern.polling.burst_max=1000 > kern.polling.each_burst=1000 > kern.polling.reg_frac=100 > kern.polling.user_frac=1 > kern.maxvnodes=256000 > net.inet.ip.intr_queue_maxlen=256 > #dev.em.0.rx_processing_limit=1000 > #dev.em.1.rx_processing_limit=1000 > net.inet.tcp.recvbuf_auto=0 > net.inet.tcp.sendbuf_auto=0 > net.inet.tcp.tso=0 > net.isr.direct=1 > net.route.netisr_maxqlen=1024 > #net.inet.flowtable.nmbflows=8192 > kern.ipc.nmbclusters=65536 > net.inet.ip.portrange.first=1024 > net.inet.ip.portrange.hifirst=1024 > net.inet.tcp.hostcache.expire=1200 > net.inet.tcp.fast_finwait2_recycle=1 > net.inet.tcp.finwait2_timeout=3000 > net.inet.tcp.keepinit=5000 > net.inet.tcp.nolocaltimewait=1 > net.inet.tcp.maxtcptw=65536 > net.inet.tcp.msl=3000 > kern.coredump=1 > kern.random.sys.harvest.interrupt=0 > kern.random.sys.harvest.ethernet=0 > net.inet.udp.blackhole=1 > > netstat -m > 868/1052/1920 mbufs in use (current/cache/total) > 715/923/1638/65536 mbuf clusters in use (current/cache/total/max) > 709/443 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/35/35/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use > (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use > (current/cache/total/max) 1647K/2249K/3896K bytes allocated to network > (current/cache/total) 0/0/0 requests for mbufs denied > (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied > (4k/9k/16k) 139/313/6656 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 4031 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > it seems to me that i must enlarge 1920 value, but i do not know how. > Thanks You may wish to try adding (or changing) these to /etc/sysctl.conf and reboot: kern.ipc.nmbclusters=32768 kern.ipc.somaxconn=4096 kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 kern.ipc.maxsockbuf=4194304 I see your nmbclusters is already larger than mine. I don't remember the exact relationship right off the top of my head (it's in the docs), but there is a ratio releationship between nmbclusters and some of the other parameters. IIRC increasing nmbclusters means increasing these others in proportion as well. And possibly consider these maybe too: net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.recvspace=131072 net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.sendspace=131072 If these kinds of changes only make it so the problem continues to surface, but at a different time interval, you might want to search the lists (- stable and -current, as well as bug tracker) for similar troubles experienced by others. I believe I have seen a couple of reports which sound similar to what you're describing. If you locate such, pay particular attention to the specific hardware NIC and driver combination. If it is exactly the same as yours and a patch has been created which resolves the problem check and see if it has been MFC'd to -stable. In such a case (where you have _exactly_ the same problem) a possible solution is to then upgrade your box to -stable. I don't necessarily recommend blindly 'trying' -stable just to see what happens on a production box - it is possible to create new problems as a result. But if there exists a fix for exactly the problem that's where you'll likely find it. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 10:31:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A211106564A for ; Mon, 28 Feb 2011 10:31:57 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 76A5B8FC12 for ; Mon, 28 Feb 2011 10:31:56 +0000 (UTC) Received: by wwb31 with SMTP id 31so4742766wwb.31 for ; Mon, 28 Feb 2011 02:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/DLqw9afE+IyCtNifTEEV3G6SxoF/A1846pvg/gZ/xg=; b=VNBLi8WU5hY4hNsBwELdt1f1rzEnEOvQqAqmp+Zw29e8EH7TE1xhWXialTzv/nUM0y o09vsh88Id6gXZRXcarI/OvAEJZ+jdSXjZtaAKoZWLbbp0C/9C13EIGJU62Q5BS+Mkoz 0+FanCevQjW1tQSuB/lkNM0zSOPFBnnS87gBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MLnsr5/jnAB5kDOIb7Ujrh7pX+O0EVBpHJu/bNYURBIAn80KbA7jaqOEPe1c56OMbn 1MC3aXjAg+SYrYhJZAmCydXPWa6BplM+JjRBdPPArjPPg3cVUpmlHdXLGSReaqcAYH2m 0OOF6unI+yoOCdZce6t6EhTnW+fF7sXTOwg9s= MIME-Version: 1.0 Received: by 10.216.162.84 with SMTP id x62mr4385957wek.106.1298889115026; Mon, 28 Feb 2011 02:31:55 -0800 (PST) Received: by 10.216.80.147 with HTTP; Mon, 28 Feb 2011 02:31:54 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Feb 2011 10:31:54 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 10:31:57 -0000 On 28 February 2011 01:06, Tim Dunphy wrote: > Hello Krad and thank you for your reply! > > > Well it seems that I am still unable to login to this machine using an > LDAP account. I have tried applying the configurations you have > provided and the result doesn't seem to have changed just yet. > > =A0Here is my /usr/local/etc/ldap.conf file > > > uri ldap://LBSD2.summitnjhome.com > base dc=3Dsummitnjhome,dc=3Dcom > sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom > bindpw secret > scope sub > ssl start tls > tls_cacert /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.crt > pam_login_attribute uid > bind_timelimit 1 > timelimit 1 > bind_policy soft > pam_password exop > nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom > nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom > nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom > nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom > nss_initgroups_ignoreusers root,slapd > > > > =A0#ls -l /usr/local/etc/nss_ldap.conf > lrwxr-xr-x =A01 root =A0wheel =A024 Feb 28 00:10 > /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf > > > #cat /usr/local/etc/nsswitch.conf > # > # nsswitch.conf(5) - name service switch configuration file > # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 > kensmith Exp $ > # > passwd: cache files ldap [notfound=3Dreturn] > passwd_compat: files ldap > group: cache files ldap [notfound =3D return] > group_compat: nis > sudoers: ldap > hosts: files dns > networks: files > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > Here is my slapd.conf file: > > > # > # See slapd.conf(5) for details on configuration options. > # This file should NOT be world readable. > # > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sche= ma > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/openldap.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/misc.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/openssh-lpk_openld= ap.schema > # Define global ACLs to disable default read access. > > # Do not enable referrals until AFTER you have a working directory > # service AND an understanding of referrals. > #referral =A0 =A0 =A0 ldap://root.openldap.org > > loglevel =A0 =A0 =A0 =A0296 > pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid > argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args > > ## TLS options for slapd > TLSCipherSuite HIGH:MEDIUM:+SSLv2 > TLSCertificateFile =A0/usr/local/etc/openldap/certs/LBSD2.summitnjhome.co= m.crt > TLSCertificateKeyFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.co= m.key > TLSCACertificateFile /usr/local/etc/openldap/certs/gd_bundle.crt > > # Load dynamic backend modules: > modulepath =A0 =A0 =A0/usr/local/libexec/openldap > moduleload =A0 =A0 =A0back_bdb > # moduleload =A0 =A0back_hdb > # moduleload =A0 =A0back_ldap > > # Sample security restrictions > # =A0 =A0 =A0 Require integrity protection (prevent hijacking) > # =A0 =A0 =A0 Require 112-bit (3DES or better) encryption for updates > # =A0 =A0 =A0 Require 63-bit encryption for simple bind > # security ssf=3D1 update_ssf=3D112 simple_bind=3D64 > > # Sample access control policy: > # =A0 =A0 =A0 Root DSE: allow anyone to read it > # =A0 =A0 =A0 Subschema (sub)entry DSE: allow anyone to read it > # =A0 =A0 =A0 Other DSEs: > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow self write access > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow authenticated users read access > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow anonymous users to authenticate > # =A0 =A0 =A0 Directives needed to implement policy: > # access to dn.base=3D"" by * read > access to * > =A0 =A0 =A0 =A0 =A0by read > > access to attrs=3DuserPassword by self write > =A0 =A0 =A0 =A0 =A0by anonymous auth > > access to * by self write > =A0 =A0 =A0 =A0 =A0 =A0by dn.children=3D"ou=3Dsummitnjops,ou=3Dstaff,dc= =3Dsummitnjhome,dc=3Dcom" > write > =A0 =A0 =A0 =A0 =A0 =A0by users read > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > > access to * by self write > =A0 =A0 =A0 =A0 =A0 =A0by users read > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > # > # if no access controls are present, the default policy > # allows anyone and everyone to read anything but restricts > # updates to rootdn. =A0(e.g., "access to * by * read") > # > # rootdn can always read and write EVERYTHING! > > ####################################################################### > # BDB database definitions > ####################################################################### > > database =A0 =A0 =A0 =A0bdb > suffix =A0 =A0 =A0 =A0 =A0"dc=3Dsummitnjhome,dc=3Dcom" > rootdn =A0 =A0 =A0 =A0 =A0"cn=3DManager,dc=3Dsummitnjhome,dc=3Dcom" > rootpw =A0 =A0 =A0 =A0 =A0{SSHA}secret > > # Cleartext passwords, especially for the rootdn, should > # be avoid. =A0See slappasswd(8) and slapd.conf(5) for details. > # Use of strong authentication encouraged. > # The database directory MUST exist prior to running slapd AND > # should only be accessible by the slapd and slap tools. > # Mode 700 recommended. > directory =A0 =A0 =A0 /var/db/summitnjhome.com > # Indices to maintain > index =A0 objectClass,uid,uidNumber =A0 =A0 =A0 eq > index =A0 sudoUser =A0 =A0 =A0 =A0eq > > > these are the packages I have installed > > > nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module > openldap-sasl-client-2.4.23 Open source LDAP client implementation > with SASL2 support > openldap-sasl-server-2.4.23 Open source LDAP server implementation > pam_ldap-1.8.5 =A0 =A0 =A0A pam module for authenticating with LDAP > > > And this is what happens in the ldap logs after making those changes: > > > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH > base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 > filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001))" > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH attr=3Duid > userPassword uidNumber gidNumber cn homeDirectory loginShell gecos > description objectClass > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 AND > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 OR > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 AND > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 > first=3D106 last=3D137 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 > first=3D106 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D106 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 firs= t=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 firs= t=3D1 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D1 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SEARCH RESULT > tag=3D101 err=3D0 nentries=3D0 text=3D > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on: > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0425r > Feb 26 19:58:43 LBSD2 slapd[54891]: > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: read activity on 425 > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: AND > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter_list > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter_list > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > > This is what's going on in the secure logs: > > Feb 27 19:02:05 LCENT01 su: pam_unix(su-l:session): session opened for > user root by bluethundr(uid=3D10001) > > And this is my /etc/pam.d/sshd file: > > # > # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1.4.1 2010/06/14 02:09:06 > kensmith Exp $ > # > # PAM configuration for the "sshd" service > # > > # auth > auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn no_fake_prompts > auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0 = =A0 =A0 no_warn allow_local > #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass > #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass > auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so > #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass > > # account > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so > #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so > #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so > > # session > #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so > session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so > session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so > > # password > #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0 = =A0 =A0 no_warn try_first_pass > password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so > #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 =A0= =A0 =A0 no_warn try_first_pass > > > I really appreciate your input Krad and I appreciate any advice anyone ma= y have > > thanks > tim > > > On Sun, Feb 27, 2011 at 6:10 AM, krad wrote: >> On 27 February 2011 11:05, krad wrote: >>> On 26 February 2011 20:01, Tim Dunphy wrote: >>>> Hey list, >>>> >>>> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >>>> nsswitch file because I thought they might be helpful in dispensing >>>> advice as to what is going on: >>>> >>>> uri ldap://LBSD2.summitnjhome.com >>>> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>>> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>>> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >>>> bindpw secret >>>> scope sub >>>> pam_password exop >>>> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >>>> >>>> >>>> # nsswitch.conf(5) - name service switch configuration file >>>> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >>>> kensmith Exp $ >>>> # >>>> passwd: files ldap >>>> passwd_compat: files ldap >>>> group: files ldap >>>> group_compat: nis >>>> sudoers: ldap >>>> hosts: files dns >>>> networks: files >>>> shells: files >>>> services: compat >>>> services_compat: nis >>>> protocols: files >>>> rpc: files >>>> >>>> >>>> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wro= te: >>>>> Hello List!! >>>>> >>>>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>>>> authenticates a network of (mostly virtual) centos 5.5 machines. >>>>> >>>>> =A0But at the moment I am attempting to setup pam authentication for = ssh >>>>> via LDAP and having some difficulty. >>>>> >>>>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>>>> >>>>> # PAM configuration for the "sshd" service >>>>> # >>>>> >>>>> # auth >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0= =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so = =A0 =A0 =A0 no_warn allow_local >>>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 = =A0 =A0 =A0 =A0 =A0no_warn try_first_pass >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0= =A0 =A0 =A0 =A0 no_warn try_first_pass >>>>> >>>>> # account >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>>>> >>>>> # session >>>>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>>>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>>>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>>>> >>>>> # password >>>>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass >>>>> >>>>> >>>>> And if I'm reading the logs correctly LDAP is searching for and >>>>> finding the account information when I am making the login attempt: >>>>> >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>>>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>>>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>>>> ))" >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>>>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>>>> description objectCla >>>>> ss >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 26 >>>>> first=3D106 last=3D137 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>>>> first=3D106 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D106 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 = first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 = first=3D1 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D1 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RE= SULT >>>>> tag=3D101 err=3D0 nentries=3D0 text=3D >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>>>> error=3D-2 id=3D34715, closing. >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>>>> conn=3D34715 sd=3D212 for close >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (con= nection lost) >>>>> >>>>> >>>>> But logins fail every time. Could someone offer an opinion as to what >>>>> may be going on to prevent logging in via pam/sshd and LDAP? >>>>> >>>>> Thanks in advance! >>>>> Tim >>>>> >>>>> -- >>>>> GPG me!! >>>>> >>>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>>> >>>> >>>> >>>> >>>> -- >>>> GPG me!! >>>> >>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org" >>>> >>> >>> >>> >>> these are my files and are from a working setup >>> >>> # cat /usr/local/etc/ldap.conf >>> # >>> # LDAP Defaults >>> # >>> >>> # See ldap.conf(5) for details >>> # This file should be world readable but not world writable. >>> >>> BASE =A0 =A0dc=3DXXX,dc=3Dnet >>> URI =A0 =A0 ldap://XXX.net >>> >>> #SIZELIMIT =A0 =A0 =A012 >>> #TIMELIMIT =A0 =A0 =A015 >>> #DEREF =A0 =A0 =A0 =A0 =A0never >>> >>> ssl start_tls >>> tls_cacert /usr/local/etc/openldap/ssl/cert.crt >>> >>> pam_login_attribute uid >>> >>> sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet >>> bind_timelimit 1 >>> timelimit 1 >>> bind_policy soft >>> >>> nss_initgroups_ignoreusers root,slapd,krad >>> >>> >>> # ls -l /usr/local/etc/nss_ldap.conf >>> lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 >>> /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf >>> >>> # nsswitch.conf >>> >>> >>> group: cache files ldap [notfound=3Dreturn] >>> passwd: cache files ldap [notfound=3Dreturn] >>> >>> these packages are installs >>> >>> nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module >>> openldap-client-2.4.23 Open source LDAP client implementation >>> openldap-server-2.4.23 Open source LDAP server implementation >>> pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP >>> >> >> and my slapd.conf >> >> security ssf=3D128 >> >> TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt >> TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key >> TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sch= ema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema >> #include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/ldapns.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/samba.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema >> logfile /var/log/slapd.log >> loglevel stats >> pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid >> argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args >> modulepath =A0 =A0 =A0/usr/local/libexec/openldap >> moduleload =A0 =A0 =A0back_bdb >> database =A0 =A0 =A0 =A0bdb >> directory =A0 =A0 =A0 /var/db/openldap-data >> #index uid pres,eq >> index cn,sn,uid pres,eq,sub >> index objectClass eq >> #index sudoUser >> suffix =A0"dc=3DXXX,dc=3Dnet" >> rootdn =A0"cn=3Dkrad,dc=3DXXX,dc=3Dnet" >> rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa >> access to attrs=3DuserPassword >> =A0 =A0 =A0 =A0 =A0 =A0by self write >> =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth >> =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write >> =A0 =A0 =A0 =A0 =A0 =A0by * none >> access to * >> =A0 =A0 =A0 =A0 =A0 =A0by self write >> =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write >> =A0 =A0 =A0 =A0 =A0 =A0by * read >> > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > haha sorry i completely forgot about the pam files, here is mine. You definitely need to be explicit with the path of the ldap module [root@carrera /home/krad]# cat /etc/pam.d/sshd # # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1 2009/08/03 08:13:06 kensmith Exp= $ # # PAM configuration for the "sshd" service # # auth auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass #auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so account required /usr/local/lib/pam_ldap.so no_warn ignore_authinfo_unavail ignore_unknown_user # session #session optional pam_ssh.so session required pam_permit.so session required /usr/local/lib/pam_mkhomedir.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 10:39:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACF7E106566B for ; Mon, 28 Feb 2011 10:39:45 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 412AE8FC12 for ; Mon, 28 Feb 2011 10:39:44 +0000 (UTC) Received: by wyb32 with SMTP id 32so4139469wyb.13 for ; Mon, 28 Feb 2011 02:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AL2BbktEwcJ76qOq29Qx5k1hfwp3so8CmZWwySvzTFY=; b=P6wmERB+LM8DH4DLLQKypZX6KQvT91lMz4pdFJ+TDphilyUOIkqW3w2XkR3Ta/HD8u KCQMDqhC+cqAhMAQD7ZsmEDHC1CRzWWSYK2Y3JXGLWfl8GSce3Nz0uzwaWYl9y7HBaPv +T1xmDV3Ox0Am2Fr05OfO3L0Rd41JfJRlqFMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DsReC+80wLZgnbVxvYFTNkYKZzwcoBvYYbJfc8zB9KpFpDi7dN9n/Z4qJFDq/oFqOO R7ayI4jQHzSkSsDxrN4P0xoxyrp21nHuwTx4BdPIZ1mGnQj43bDwpXiiLUV89FF2LxQn NyWOqFdkFs3J/Xz4+EJh7Yhy3s4zVyV/Jl+7I= MIME-Version: 1.0 Received: by 10.216.162.84 with SMTP id x62mr4392050wek.106.1298889584179; Mon, 28 Feb 2011 02:39:44 -0800 (PST) Received: by 10.216.80.147 with HTTP; Mon, 28 Feb 2011 02:39:44 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Feb 2011 10:39:44 +0000 Message-ID: From: krad To: Scott Ballantyne Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 10:39:45 -0000 On 27 February 2011 21:29, Scott Ballantyne wrote: > On Sun, Feb 27, 2011 at 4:04 PM, Adam Vande More wrote: > >> On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: >> >>> >>> ===>sys/boot/i386/zfsloader (install) >>> >>> cp zfsloader.sym zfsloader.bin >>> cp:No such file or directory >>> *** Error code 1 >>> Stop in /usr/src/sys/boot/i386/zfsloader >>> *** Error code 1 >>> >>> Stop in /usr/src/sys/boot/i386 >>> >>> Any suggestions would be *very* appreciated! >>> >>> Thanks, >>> Scott >>> >> >> You can follow the intructions for building the loader which I believe are >> in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. >> >> > Thanks Adam, but it still comes to a screaming stop with that set. > _______________________________________________ > 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" > mines in make.conf not src and it built fine From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 11:24:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29806106564A for ; Mon, 28 Feb 2011 11:24:31 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id F0DCD8FC18 for ; Mon, 28 Feb 2011 11:24:30 +0000 (UTC) Received: by pwj8 with SMTP id 8so876346pwj.13 for ; Mon, 28 Feb 2011 03:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YC4lAdssLO/TDNOGqmYY8bbfbWj+RjaW+A6cOuAKKb0=; b=PytKjaIin3erFKSSz9DraeQGOyJeg2fpEoVrF+asvmJHKW8Vi8zGuulcfurN0D6Lht ZfMceO23FgKUhhNmYCOGYMk6pCEdOM8riSYnKZYYV9tNBuU0nS46ezMnFsJxjyI32Nnf WZtJ/mtMpje4UJgw4k516H1/qo4h2IdDnk15g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xqk5srA9Qlx9t6YHa+Pe7QMctPGxr0FXOr05TX2Yp7USjMeSpMedPXY++56SyTyAEn 1WCkbdy5TAwk4FRJMI4AcBSAi4MpJv3dQosfk+WHQA4ALCo8QcMnugF2bPJJ2i1kCGGF 6MOzSSWhJy4+u/lzhtRCs2hCq1Got+X/g0mYo= MIME-Version: 1.0 Received: by 10.142.9.9 with SMTP id 9mr3784456wfi.50.1298892270111; Mon, 28 Feb 2011 03:24:30 -0800 (PST) Received: by 10.142.50.16 with HTTP; Mon, 28 Feb 2011 03:24:30 -0800 (PST) In-Reply-To: <4D25ACE6.2010703@infracaninophile.co.uk> References: <4D25ACE6.2010703@infracaninophile.co.uk> Date: Mon, 28 Feb 2011 14:24:30 +0300 Message-ID: From: c0re To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 11:24:31 -0000 2011/1/6 Matthew Seaman : > On 06/01/2011 11:26, c0re wrote: >> # df -h >> Filesystem =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounted on >> /dev/ad0s1a =A0 =A0496M =A0 =A0466M =A0 -9.8M =A0 102% =A0 =A0/ >> >> So it's full. >> >> But by du it's not appeared to be full >> >> >> # du -hxd 1 / >> 2.0K =A0 =A0/.snap >> 512B =A0 =A0/dev >> 2.0K =A0 =A0/tmp >> 2.0K =A0 =A0/usr >> 2.0K =A0 =A0/var >> 1.9M =A0 =A0/etc >> 2.0K =A0 =A0/cdrom >> 2.0K =A0 =A0/dist >> 1.0M =A0 =A0/bin >> 131M =A0 =A0/boot >> =A010M =A0 =A0/lib >> 356K =A0 =A0/libexec >> 2.0K =A0 =A0/media >> =A012K =A0 =A0/mnt >> 2.0K =A0 =A0/proc >> 7.2M =A0 =A0/rescue >> 296K =A0 =A0/root >> 4.7M =A0 =A0/sbin >> 4.0K =A0 =A0/lost+found >> 157M =A0 =A0/ >> > > Do you have partitions mounted at /tmp, /usr, /var etc? =A0Does the outpu= t > of your du command change if you unmount those partitions? > (It might be an idea to boot into a livefs CD or DVD given that du(1) > lives in /usr/bin, so a bit tricky to unmount /usr and then run du) > > My guess is that you've at one time created files beneath what is > usually a mount point. =A0Mounting the partition over them makes those > files inaccessible, but they still take up space on the drive. > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > JID: matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT1= 1 9PW > > At last I found time to check it. Booted with frenzy life cd, mounted only / partition and saw trash /var/spool. Deleted it and it solved problem. But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root and just delete those files without need of livecd. It works in Linux. But in freebsd i got # mount /dev/da0s1a /mnt/root/ mount: /dev/da0s1a : Operation not permitted So only single user mode or live cd could solve it. Thanks Matthew for an idea! From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:11:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A211106566C for ; Mon, 28 Feb 2011 12:11:46 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B9A5F8FC0A for ; Mon, 28 Feb 2011 12:11:45 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p1SCIR87034416; Mon, 28 Feb 2011 06:18:27 -0600 (CST) Date: Mon, 28 Feb 2011 06:18:27 -0600 (CST) From: Robert Bonomi Message-Id: <201102281218.p1SCIR87034416@mail.r-bonomi.com> To: nr1c0re@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 12:11:46 -0000 > From owner-freebsd-questions@freebsd.org Mon Feb 28 05:31:46 2011 > Date: Mon, 28 Feb 2011 14:24:30 +0300 > From: c0re > To: Matthew Seaman > Cc: FreeBSD > Subject: Re: / file system is full, but du does not show that it's full > > 2011/1/6 Matthew Seaman : > > On 06/01/2011 11:26, c0re wrote: > >> # df -h > >> Filesystem Size Used Avail Capacity Mounted on > >> /dev/ad0s1a 496M 466M -9.8M 102% / > >> > >> So it's full. > >> > >> But by du it's not appeared to be full > >> > >> > >> # du -hxd 1 / > >> 2.0K /.snap > >> 512B /dev > >> 2.0K /tmp > >> 2.0K /usr > >> 2.0K /var > >> 1.9M /etc > >> 2.0K /cdrom > >> 2.0K /dist > >> 1.0M /bin > >> 131M /boot > >> 10M /lib > >> 356K /libexec > >> 2.0K /media > >> 12K /mnt > >> 2.0K /proc > >> 7.2M /rescue > >> 296K /root > >> 4.7M /sbin > >> 4.0K /lost+found > >> 157M / > >> > > > > Do you have partitions mounted at /tmp, /usr, /var etc? Does the > > output of your du command change if you unmount those partitions? (It > > might be an idea to boot into a livefs CD or DVD given that du(1) lives > > in /usr/bin, so a bit tricky to unmount /usr and then run du) > > > > My guess is that you've at one time created files beneath what is > > usually a mount point. Mounting the partition over them makes those > > files inaccessible, but they still take up space on the drive. > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > Flat 3 > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: > > matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > > > At last I found time to check it. Booted with frenzy life cd, mounted > only / partition and saw trash > /var/spool. Deleted it and it solved problem. > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > and just delete those files without need of livecd. It works in Linux. > But in freebsd i got > > # mount /dev/da0s1a /mnt/root/ > mount: /dev/da0s1a : Operation not permitted > > So only single user mode or live cd could solve it. *NOT* true. Stopping any daemons that were using "/var/spooll", and then umount(1)-ing it would have done the trick from multi-user mode. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:26:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F89B106564A for ; Mon, 28 Feb 2011 12:26:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E15698FC08 for ; Mon, 28 Feb 2011 12:26:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so4005421bwz.13 for ; Mon, 28 Feb 2011 04:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Jj/pHl9z7cjTraMPpL6mYjvveeWhBFyutqB6xhM/hFA=; b=j8zyNJH2au54d7IIBJhtWbhsH/QO1PRhqbJPPtW353G7W7MO3yiE2pe60WKvMdjuKX s4p6iXlW33FiHHWFtB3D3uBl9M/rO3TiWzDZV2Pja11pBistsrRUQGanv4w3UJzsUwQ2 aHYiSeY76mc6oh/sDofj5flU7zK16c9T8zXTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=gqXvXisRv2MDWIMcYfjUDXsAbFCuNECnKyUtn2i8MRVCma5hFWUrJHwuSxbzC2ePXt wOnl3gBgRZPyB+Ir+jK15IkjbVDtIXK6qK8MhmGKe0WWHL5c9fF52JtOQHA15suGqxqL fyoT/KZLs3MF6pmtkvhA7xLT29lLWWAdnLnUk= MIME-Version: 1.0 Received: by 10.204.75.142 with SMTP id y14mr4602376bkj.114.1298895974646; Mon, 28 Feb 2011 04:26:14 -0800 (PST) Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:26:14 -0800 (PST) Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:26:14 -0800 (PST) In-Reply-To: <201102281218.p1SCIR87034416@mail.r-bonomi.com> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> Date: Mon, 28 Feb 2011 12:26:14 +0000 Message-ID: From: Chris Rees To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, nr1c0re@gmail.com Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:26:17 -0000 On 28 Feb 2011 12:12, "Robert Bonomi" wrote: > > > From owner-freebsd-questions@freebsd.org Mon Feb 28 05:31:46 2011 > > Date: Mon, 28 Feb 2011 14:24:30 +0300 > > From: c0re > > To: Matthew Seaman > > Cc: FreeBSD > > Subject: Re: / file system is full, but du does not show that it's full > > > > 2011/1/6 Matthew Seaman : > > > On 06/01/2011 11:26, c0re wrote: > > >> # df -h > > >> Filesystem Size Used Avail Capacity Mounted on > > >> /dev/ad0s1a 496M 466M -9.8M 102% / > > >> > > >> So it's full. > > >> > > >> But by du it's not appeared to be full > > >> > > >> > > >> # du -hxd 1 / > > >> 2.0K /.snap > > >> 512B /dev > > >> 2.0K /tmp > > >> 2.0K /usr > > >> 2.0K /var > > >> 1.9M /etc > > >> 2.0K /cdrom > > >> 2.0K /dist > > >> 1.0M /bin > > >> 131M /boot > > >> 10M /lib > > >> 356K /libexec > > >> 2.0K /media > > >> 12K /mnt > > >> 2.0K /proc > > >> 7.2M /rescue > > >> 296K /root > > >> 4.7M /sbin > > >> 4.0K /lost+found > > >> 157M / > > >> > > > > > > Do you have partitions mounted at /tmp, /usr, /var etc? Does the > > > output of your du command change if you unmount those partitions? (It > > > might be an idea to boot into a livefs CD or DVD given that du(1) lives > > > in /usr/bin, so a bit tricky to unmount /usr and then run du) > > > > > > My guess is that you've at one time created files beneath what is > > > usually a mount point. Mounting the partition over them makes those > > > files inaccessible, but they still take up space on the drive. > > > > > > Cheers, > > > > > > Matthew > > > > > > -- > > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > > Flat 3 > > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: > > > matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > > > > > > > At last I found time to check it. Booted with frenzy life cd, mounted > > only / partition and saw trash > > /var/spool. Deleted it and it solved problem. > > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > > and just delete those files without need of livecd. It works in Linux. > > But in freebsd i got > > > > # mount /dev/da0s1a /mnt/root/ > > mount: /dev/da0s1a : Operation not permitted > > > > So only single user mode or live cd could solve it. > > *NOT* true. Stopping any daemons that were using "/var/spooll", and then > umount(1)-ing it would have done the trick from multi-user mode. > > > umount / ??? Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:28:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E10106564A for ; Mon, 28 Feb 2011 12:28:01 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF8088FC0A for ; Mon, 28 Feb 2011 12:28:00 +0000 (UTC) Received: by bwz12 with SMTP id 12so4006732bwz.13 for ; Mon, 28 Feb 2011 04:28:00 -0800 (PST) Received: by 10.204.157.21 with SMTP id z21mr1642709bkw.5.1298896078633; Mon, 28 Feb 2011 04:27:58 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id a17sm2489678bku.23.2011.02.28.04.27.57 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 04:27:57 -0800 (PST) Message-ID: <4D6B94CC.9060805@my.gd> Date: Mon, 28 Feb 2011 13:27:56 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D25ACE6.2010703@infracaninophile.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 12:28:01 -0000 On 2/28/11 12:24 PM, c0re wrote: > 2011/1/6 Matthew Seaman : >> On 06/01/2011 11:26, c0re wrote: >>> # df -h >>> Filesystem Size Used Avail Capacity Mounted on >>> /dev/ad0s1a 496M 466M -9.8M 102% / >>> >>> So it's full. >>> >>> But by du it's not appeared to be full >>> >>> >>> # du -hxd 1 / >>> 2.0K /.snap >>> 512B /dev >>> 2.0K /tmp >>> 2.0K /usr >>> 2.0K /var >>> 1.9M /etc >>> 2.0K /cdrom >>> 2.0K /dist >>> 1.0M /bin >>> 131M /boot >>> 10M /lib >>> 356K /libexec >>> 2.0K /media >>> 12K /mnt >>> 2.0K /proc >>> 7.2M /rescue >>> 296K /root >>> 4.7M /sbin >>> 4.0K /lost+found >>> 157M / >>> >> >> Do you have partitions mounted at /tmp, /usr, /var etc? Does the output >> of your du command change if you unmount those partitions? >> (It might be an idea to boot into a livefs CD or DVD given that du(1) >> lives in /usr/bin, so a bit tricky to unmount /usr and then run du) >> >> My guess is that you've at one time created files beneath what is >> usually a mount point. Mounting the partition over them makes those >> files inaccessible, but they still take up space on the drive. >> >> Cheers, >> >> Matthew >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> JID: matthew@infracaninophile.co.uk Kent, CT11 9PW >> >> > > At last I found time to check it. > Booted with frenzy life cd, mounted only / partition and saw trash > /var/spool. Deleted it and it solved problem. > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > and just delete those files without need of livecd. It works in Linux. > But in freebsd i got > > # mount /dev/da0s1a /mnt/root/ > mount: /dev/da0s1a : Operation not permitted > > So only single user mode or live cd could solve it. > > Thanks Matthew for an idea! You're not really trying to umount / on a running system are you ? From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:28:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FD62106567A for ; Mon, 28 Feb 2011 12:28:25 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D0CC8FC1B for ; Mon, 28 Feb 2011 12:28:24 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so4006732bwz.13 for ; Mon, 28 Feb 2011 04:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=DhG6RVsrr8CWGLQZ0Szr+JZVJXZnPWXg5fHSmH4Hwkw=; b=uZg5jfuvKEyh/UnkN3krwaPY4Cl1jhkvvap658kMiPQaI5CaqE7J2GSVRSeclQHxhA V/Q425xA2oUL/BxuL9/tBs7chc6/AKhUGlQ+qD1Pz8MkE0Hgv3yv3fS6GZZcz1EyT0Bk eHmxNkE4JDwwNZ1ephql5DT02tyubbFRQLESs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=Azfu9Kerv7GA/0l5U4ZEq/l6142SGu2xGqcwwDjrp+6ztRmns3UUwcRdFSySRMubqH H1+D7232hrZxNXX1bsSsdqbfUFmrAlnwqjE1ZDmW7UCk4l4jCvXE/+eQzArgwep8jVCE Yx8EFuj63ePbiMW0IqrTWyXJMH2SuW2IwbU7c= Received: by 10.204.75.142 with SMTP id y14mr4604740bkj.114.1298896104223; Mon, 28 Feb 2011 04:28:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:27:54 -0800 (PST) In-Reply-To: References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> From: Chris Rees Date: Mon, 28 Feb 2011 12:27:54 +0000 Message-ID: To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, nr1c0re@gmail.com Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:28:25 -0000 On 28 February 2011 12:26, Chris Rees wrote: >> > >> > # mount /dev/da0s1a /mnt/root/ >> > mount: /dev/da0s1a : Operation not permitted >> > >> > So only single user mode or live cd could solve it. >> >> *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and t= hen >> umount(1)-ing it would have done the trick from multi-user mode. > > umount /=A0=A0 ??? > > Chris Er, caffeine overdose. I guess you meant: # umount /var .... I'll hide now. Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:30:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110801065670 for ; Mon, 28 Feb 2011 12:30:03 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id BD3F18FC0A for ; Mon, 28 Feb 2011 12:30:02 +0000 (UTC) Received: by qyk35 with SMTP id 35so2013030qyk.13 for ; Mon, 28 Feb 2011 04:30:02 -0800 (PST) Received: by 10.224.183.197 with SMTP id ch5mr1339627qab.381.1298896201884; Mon, 28 Feb 2011 04:30:01 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id l17sm3130383qck.8.2011.02.28.04.30.00 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 04:30:01 -0800 (PST) Message-ID: <4D6B9547.2050703@my.gd> Date: Mon, 28 Feb 2011 13:29:59 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 12:30:03 -0000 On 2/28/11 1:27 PM, Chris Rees wrote: > On 28 February 2011 12:26, Chris Rees wrote: >>>> >>>> # mount /dev/da0s1a /mnt/root/ >>>> mount: /dev/da0s1a : Operation not permitted >>>> >>>> So only single user mode or live cd could solve it. >>> >>> *NOT* true. Stopping any daemons that were using "/var/spooll", and then >>> umount(1)-ing it would have done the trick from multi-user mode. >> >> umount / ??? >> >> Chris > > Er, caffeine overdose. > > I guess you meant: > > # umount /var > > .... > > I'll hide now. > > Chris Slice a (as in: da0s1a) is very likely his / /var is usually slice f From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:34:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFCB1065680 for ; Mon, 28 Feb 2011 12:34:21 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 517538FC14 for ; Mon, 28 Feb 2011 12:34:20 +0000 (UTC) Received: by bwz12 with SMTP id 12so4010947bwz.13 for ; Mon, 28 Feb 2011 04:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=HZwvlnCI9gn55AXr1r6XQcumz9j018qTKvirWIPEW+o=; b=UdjmaxwRLrAgXJm/8xqmGWJ6uo2WTAFNf/xDwzj0a8v9XPKH8bk6gM41p7nZnLGS82 EU1aMl9/tS6ut3GR31pPvrJHFRnWg2Za4s9sbYrc9P6Sh6zhCNWCuFMYcrHZi4lMac1+ 50Dl63OmOpYsv6Z1X/ZdYflazsFE72rjaK0jY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=h7NXlXhMnKfguez3dGFuHv1Ubd/c/WEkdBlvQAtJcC4AQmoELXX3oR+k9Z59SuRY45 gUzNV7KA+igK5BGng4Uw6H2Y+RQrOK79lcqI986K0/IrMXeGAbkIfP4KJyMBX2YxO6zQ Y9W84qjUy6J1QJiZd1nqgxeywBac3R0OZDMeE= Received: by 10.204.126.99 with SMTP id b35mr4573956bks.168.1298896460068; Mon, 28 Feb 2011 04:34:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:33:49 -0800 (PST) In-Reply-To: <4D6B9547.2050703@my.gd> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> From: Chris Rees Date: Mon, 28 Feb 2011 12:33:49 +0000 Message-ID: To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:34:21 -0000 On 28 February 2011 12:29, Damien Fleuriot wrote: > On 2/28/11 1:27 PM, Chris Rees wrote: >> On 28 February 2011 12:26, Chris Rees wrote: >>>>> >>>>> # mount /dev/da0s1a /mnt/root/ >>>>> mount: /dev/da0s1a : Operation not permitted >>>>> >>>>> So only single user mode or live cd could solve it. >>>> >>>> *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and= then >>>> umount(1)-ing it would have done the trick from multi-user mode. >>> >>> umount / =A0 ??? >>> >>> Chris >> >> Er, caffeine overdose. >> >> I guess you meant: >> >> # umount /var > Slice a (as in: da0s1a) is very likely his / > > /var is usually slice f Yeah, that's why I sent the first email. However, it's now clear to me that c0re wanted to remount his / on a different partition to delete a file hidden by /var. Hence the suggestion from Robert to umount /var. Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:47:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69CAD1065674 for ; Mon, 28 Feb 2011 12:47:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 294AF8FC16 for ; Mon, 28 Feb 2011 12:47:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx02.qsc.de (Postfix) with ESMTP id 4B5D31DBF6; Mon, 28 Feb 2011 13:47:20 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p1SClKgX002567; Mon, 28 Feb 2011 13:47:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 28 Feb 2011 13:47:19 +0100 From: Polytropon To: Damien Fleuriot Message-Id: <20110228134719.57bad4b6.freebsd@edvax.de> In-Reply-To: <4D6B9547.2050703@my.gd> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:47:23 -0000 On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriot wrote: > Slice a (as in: da0s1a) is very likely his / > > /var is usually slice f Terminology: Slices are with numbers, partitions are with letters. :-) E. g. da0s1 is the FreeBSD slice, its partition a = da0s1a is /, while /var corresponds to partition da0s1f. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 13:16:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5AA106564A for ; Mon, 28 Feb 2011 13:16:30 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2693E8FC1A for ; Mon, 28 Feb 2011 13:16:29 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p1SDGRBC006326; Mon, 28 Feb 2011 13:16:27 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D6BA02B.4030000@qeng-ho.org> Date: Mon, 28 Feb 2011 13:16:27 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101218 Thunderbird/3.0.11 MIME-Version: 1.0 To: Polytropon References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> <20110228134719.57bad4b6.freebsd@edvax.de> In-Reply-To: <20110228134719.57bad4b6.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 13:16:30 -0000 On 02/28/11 12:47, Polytropon wrote: > On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriot wrote: >> Slice a (as in: da0s1a) is very likely his / >> >> /var is usually slice f > > Terminology: Slices are with numbers, partitions are with letters. :-) > > E. g. da0s1 is the FreeBSD slice, its partition a = da0s1a is /, > while /var corresponds to partition da0s1f. Unless you've got GPT disks where there are usually only partitions and they're numbered: arthur@fileserver> gpart show ada5 => 34 976773101 ada5 GPT (466G) 34 6 - free - (3.0K) 40 64 1 freebsd-boot (32K) 104 2097152 2 freebsd-ufs (1.0G) 2097256 2097152 3 freebsd-ufs (1.0G) 4194408 8388608 4 freebsd-swap (4.0G) 12583016 964190119 5 freebsd-ufs (460G) arthur@fileserver> ls /dev/ada5* /dev/ada5 /dev/ada5p1 /dev/ada5p2 /dev/ada5p3 /dev/ada5p4 /dev/ada5p5 Personally I prefer labelling everything, which GPT makes easier. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 13:27:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402E1106564A for ; Mon, 28 Feb 2011 13:27:00 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC328FC17 for ; Mon, 28 Feb 2011 13:26:59 +0000 (UTC) Received: by pwj8 with SMTP id 8so894285pwj.13 for ; Mon, 28 Feb 2011 05:26:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UScxCcRFoqb6ie3ZWDF6epHl1Abrmx+xo9LMinc2Esk=; b=UlD+hP8St80WyxBVzikLwFFSxeG3glMufq20EGTJIT4KdWDAsyZaFc/1lNpLJXhvJ7 6lcCPZ8Sqow1SdqGXneKxFYOoTky5jZojwDtThG75n1pnrUW08+Ik9Axq3qx4pEkzTh7 oDx0/8aQcHjM2GM3zm2rV6umkhkNgwfGJh44s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=d/8wzCccwGvhq6PxsWZ5JgzilIZOHtOrePEIWseEoof5fhFJIyV9QB1JVO3cMecNVP X65DXKY6NQvONsesZM74BCCvD7NDi3dsNU90pXgl4xlN6Ce2qIWgE+nhtFZl8BrvMjXR /Od0Z6LrV1tORK1fu/oIWMqnmio0SLKlPC6+4= MIME-Version: 1.0 Received: by 10.142.12.20 with SMTP id 20mr4349337wfl.221.1298899619353; Mon, 28 Feb 2011 05:26:59 -0800 (PST) Received: by 10.142.50.16 with HTTP; Mon, 28 Feb 2011 05:26:59 -0800 (PST) In-Reply-To: <201102281218.p1SCIR87034416@mail.r-bonomi.com> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> Date: Mon, 28 Feb 2011 16:26:59 +0300 Message-ID: From: c0re To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 13:27:00 -0000 2011/2/28 Robert Bonomi : >> From owner-freebsd-questions@freebsd.org =A0Mon Feb 28 05:31:46 2011 >> Date: Mon, 28 Feb 2011 14:24:30 +0300 >> From: c0re >> To: Matthew Seaman >> Cc: FreeBSD >> Subject: Re: / file system is full, but du does not show that it's full >> >> 2011/1/6 Matthew Seaman : >> > On 06/01/2011 11:26, c0re wrote: >> >> # df -h >> >> Filesystem =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounted on >> >> /dev/ad0s1a =A0 =A0496M =A0 =A0466M =A0 -9.8M =A0 102% =A0 =A0/ >> >> >> >> So it's full. >> >> >> >> But by du it's not appeared to be full >> >> >> >> >> >> # du -hxd 1 / >> >> 2.0K =A0 =A0/.snap >> >> 512B =A0 =A0/dev >> >> 2.0K =A0 =A0/tmp >> >> 2.0K =A0 =A0/usr >> >> 2.0K =A0 =A0/var >> >> 1.9M =A0 =A0/etc >> >> 2.0K =A0 =A0/cdrom >> >> 2.0K =A0 =A0/dist >> >> 1.0M =A0 =A0/bin >> >> 131M =A0 =A0/boot >> >> =A010M =A0 =A0/lib >> >> 356K =A0 =A0/libexec >> >> 2.0K =A0 =A0/media >> >> =A012K =A0 =A0/mnt >> >> 2.0K =A0 =A0/proc >> >> 7.2M =A0 =A0/rescue >> >> 296K =A0 =A0/root >> >> 4.7M =A0 =A0/sbin >> >> 4.0K =A0 =A0/lost+found >> >> 157M =A0 =A0/ >> >> >> > >> > Do you have partitions mounted at /tmp, /usr, /var etc? =A0Does the >> > output of your du command change if you unmount those partitions? (It >> > might be an idea to boot into a livefs CD or DVD given that du(1) live= s >> > in /usr/bin, so a bit tricky to unmount /usr and then run du) >> > >> > My guess is that you've at one time created files beneath what is >> > usually a mount point. =A0Mounting the partition over them makes those >> > files inaccessible, but they still take up space on the drive. >> > >> > =A0 =A0 =A0 =A0Cheers, >> > >> > =A0 =A0 =A0 =A0Matthew >> > >> > -- >> > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 = Priory Courtyard >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 >> > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate JID: >> > matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT11 = 9PW >> > >> > >> >> At last I found time to check it. Booted with frenzy life cd, mounted >> only / partition and saw trash >> /var/spool. Deleted it and it solved problem. >> But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root >> and just delete those files without need of livecd. It works in Linux. >> But in freebsd i got >> >> # mount /dev/da0s1a /mnt/root/ >> mount: /dev/da0s1a : Operation not permitted >> >> So only single user mode or live cd could solve it. > > *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and th= en > umount(1)-ing it would have done the trick from multi-user mode. > Yeah, not true. Checked with lsof /var and it was used by these daemons: devd syslogd rpcbind snmpd mysqld httpd sendmail cron Yes, I can stop them all, but was not sure about stopping devd... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 14:30:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23E41065670 for ; Mon, 28 Feb 2011 14:30:40 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id A871B8FC0C for ; Mon, 28 Feb 2011 14:30:40 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Pu3Wm-0001J0-AU for freebsd-questions@freebsd.org; Mon, 28 Feb 2011 14:52:44 +0100 Date: Mon, 28 Feb 2011 14:52:44 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110228135243.GA3148@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Subject: using gpart(8) to slice a disk 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: Mon, 28 Feb 2011 14:30:41 -0000 Hello, Last weekend I've installed 9-CURRENT on a laptop by booting a (prepared) system from an USB key and slicing the disk with: # gpart create -s mbr ad4 # Init the disk with an MBR # gpart add -t freebsd ad4 # Create a BSD container # gpart create -s bsd ad4s1 # Init with a BSD scheme # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for / # gpart add -t freebsd-swap -s 2G ad4s1 # 2GB for swap # gpart add -t freebsd-ufs -s 2G ad4s1 # 2GB for /var # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for /tmp # gpart add -t freebsd-ufs ad4s1 # all rest for /usr Then I mounted the ad4s1a ... ad4s1f as a target files system tree below /mnt and installed the system with 'make instal ... DESTDIR=/mnt'; all went fine, but the created partition on ad4 was not marked as bootable (flag 'A'). So I used sysinstall(8) from the again booted USB key to set ad4s1 bootable and to install in addition the FreeBSD boot manager. After this the (new) system came up fine and is working. I've read the man page of gpart(8) but do not see clearly what I did wrong with the above sequence and esp. what would have set the missing boot flag? Any hint? Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 14:41:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15EE1065678 for ; Mon, 28 Feb 2011 14:41:06 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 278D38FC0A for ; Mon, 28 Feb 2011 14:41:06 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 35886E8C98; Mon, 28 Feb 2011 14:41:03 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=14GLhoPUjRhS q8ggqDVO/WRp64I=; b=uZij1IT0BfTTZ1MPbe7BEPe0+fpqBAXzClF2n7eYnjGt jVqRnjKcJf1Ft685lHEMIDw6GRTKm1tdA7t5fLXvFLIht66vgea1r75xXSBmFLAw cArbH3vengzrNk/t3tO7lSqjrfoyHW9/FeM8j7gcT/oOwQjoPmP/1l2idup26a4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=oJx+Z5 ncqILCB65sOE3ZIL91WcP132ZbOXcSP2TFnz3nPQmd7PdQOllcQlbLfG+tenJRdu xFj5xUV5ET5yiYn0V5YuJ4PIABDnyOxf1YugrloUKz2JsynlxKQ2mAS/a+8CvYTT D3dMwnYG9nYX7pmJZ+HMsbHvQRHiuqMb4WTZw= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 927BEE8C7C; Mon, 28 Feb 2011 14:41:02 +0000 (GMT) Date: Mon, 28 Feb 2011 14:40:37 +0000 From: Bruce Cran To: Matthias Apitz Message-ID: <20110228144037.00007337@unknown> In-Reply-To: <20110228135243.GA3148@sh4-5.1blu.de> References: <20110228135243.GA3148@sh4-5.1blu.de> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: using gpart(8) to slice a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 14:41:06 -0000 On Mon, 28 Feb 2011 14:52:44 +0100 Matthias Apitz wrote: > I've read the man page of gpart(8) but do not see clearly what I did > wrong with the above sequence and esp. what would have set the missing > boot flag? gpart set -a active -i 1 ad4 -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 16:59:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071B7106564A for ; Mon, 28 Feb 2011 16:59:00 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id D60F78FC0A for ; Mon, 28 Feb 2011 16:58:59 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 8245C6F5B22; Mon, 28 Feb 2011 08:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1298912339; x=1300726739; bh=KtVRbO258QgTE9YJuwJ3/M1Jm73t+8lu1z7 Vybfseo8=; b=Q23OOzOMirGjLzVkbxYdNpYaAMO624jGAy0eEmIhPVsCnNt+u7c XqhTF+bZAHAA0aER5OhrVQu2a/sPQQ4JRY46dX7Xdfy+/rwZSw+fs2RUo+3BgOHV aC9ByP1/fmcNkqOhbBGFxhju0ZANFqGqlIpX/H4iFGEUvEY/z/s/OxR0= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1v-sW+D3HLbj; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: from experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with SMTP id 30D916F5B3C; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: (nullmailer pid 22102 invoked by uid 1001); Mon, 28 Feb 2011 16:55:37 -0000 Date: Mon, 28 Feb 2011 08:55:37 -0800 From: Jason Helfman To: andrew clarke Message-ID: <20110228165537.GN76063@eggman.experts-exchange.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> <20110227162547.GA58054@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20110227162547.GA58054@ozzmosis.com> X-Operating-System: FreeBSD 8.2-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Neil Long , freebsd-questions@freebsd.org Subject: Re: freebsd-update housekeeping? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 16:59:00 -0000 On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake: >On Fri 2011-02-25 17:26:52 UTC+0000, Neil Long (neil@cymru.com) wrote: > >> Just noticed how large /var/db/freebsd-update has grown on a box I >> just upgraded from 7.3 to 7.4 (but I can't recall when I started >> using it). >> >> Is there a recommended approach or just rm the directory if I have >> no need to roll it back? > >Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as >my /var is "only" 1 GB and was running low on free space. Doing this >should be no different to a fresh install where this directory is >initially empty anyway. > >Of course if you're still wary you could make a tarball backup of that >directory somewhere else before emptying it out. > >IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't >exist, so you may need to mkdir it after using rm -rf. > >Regards >Andrew >_______________________________________________ >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" > If there were no problems with your update, then it is safe to remove the directory, and recreate it. If your update didn't go so well, you will lose the ability to use the 'rollback' feature, which will uninstall previously applied update. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 19:32:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05B73106566B for ; Mon, 28 Feb 2011 19:32:35 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 842F58FC1F for ; Mon, 28 Feb 2011 19:32:34 +0000 (UTC) Received: by bwz12 with SMTP id 12so4430063bwz.13 for ; Mon, 28 Feb 2011 11:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=SWsIa2vYlI8fRiTOSmwgGkq7BuoAIgytAJuyQgVC2lI=; b=OQlWPCtYHk2TT7ewvGtfww++4Vqlo0SF+JqRR1F2GH2Oul2qA/76DkJRQKPb+4vplW 34gu2nntWTb1A86wjw0WCt/+4eoHZPD2BH6JGlzfSw2wzyEn1VwjpWe3vzJ++w0UuZ/3 nlqFZPVzkDdjewOZnaZkkA2ZYl9xMzlTCwgpg= 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=mBESV95nCraR+B+ytidMy3m3GJNCJcx+2A7rJmomNq/hBkV2JuQPdaFwF3HnVcF+89 H3+m4TvijpGopTBiSkXrvQBXAlGJWMxoH6UqkeV0V7Oa+ATmEq4H2W+BiXrVbG4O9OKJ vqg1ylR1EREo7EMVwQXTtK8vnE8He2qt8U3n4= Received: by 10.204.121.138 with SMTP id h10mr5178714bkr.40.1298921553440; Mon, 28 Feb 2011 11:32:33 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id w3sm2791751bkt.5.2011.02.28.11.32.31 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 11:32:32 -0800 (PST) Message-ID: <4D6BF823.2090602@gmail.com> Date: Mon, 28 Feb 2011 20:31:47 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: optical driver with ahci bios mode but ata(4) driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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 Feb 2011 19:32:35 -0000 Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Kind regards, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 08:22:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A716D106566C for ; Tue, 1 Mar 2011 08:22:13 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3BF7F8FC27 for ; Tue, 1 Mar 2011 08:22:12 +0000 (UTC) Received: by fxm19 with SMTP id 19so5119083fxm.13 for ; Tue, 01 Mar 2011 00:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=MLBIhwY2nDuHfjZH2KpjDy2jS3OzhbBWZeD3o1mstyg=; b=kv2GkL8r2HRUY34zcWhhHtvGPeDcdMd5Ir+ogJsdJI+79Wg8LSj65L95h1/KdsFDOK EG6y1MNKFbYMcRW1sb8ok/0aDdFL/ZX91hzwceNTF13E+hfQGmuZu0YTyeoPgsKcIrUq QKXRyTiIH4UKg5fVTBYDNc6/nKAY4l3PUoM+I= 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=rBIXBidb2i0vzeR2FWjXUNZ0UMaTZB2975KedFl56Ma5ciPNiIYRL3OJsgh4pladkg CZgW3liYMAtV34Dnakn/zXHZDp9w/u4wyxuZy/h/hbdGNUeAMfFsKsl7ik+/9HSzpdrw 0gSM91iB8/SNqJH7JrJdaNCOKjyKQFD1cvCTQ= Received: by 10.223.144.81 with SMTP id y17mr3714305fau.69.1298967728876; Tue, 01 Mar 2011 00:22:08 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y1sm1976519fak.15.2011.03.01.00.22.07 (version=SSLv3 cipher=OTHER); Tue, 01 Mar 2011 00:22:08 -0800 (PST) Message-ID: <4D6CAC83.8050003@gmail.com> Date: Tue, 01 Mar 2011 09:21:23 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:22:13 -0000 Hello, I don't like to hear the spin down from my hard drive, it does it every 10 seconds approximately. I used ataidle -P 0 /dev/ad0 to disable it and it works. When I saw there was a atacontrol command for this, I tried it, so I removed ataidle and I tried : markand@Melon ~ $ sudo atacontrol spindown ad0 0 markand@Melon ~ $ sudo atacontrol spindown ad0 ad0: idle spin down disabled But I can still hear the noise every 10 seconds, I think atacontrol does not totally close the APM feature of the device. Do you have any clue? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 08:31:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52163106564A for ; Tue, 1 Mar 2011 08:31:43 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id E098B8FC12 for ; Tue, 1 Mar 2011 08:31:42 +0000 (UTC) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1PuKzd-0007Az-HH for freebsd-questions@freebsd.org; Tue, 01 Mar 2011 08:31:41 +0000 Received: from [94.168.170.153] (helo=mercury.universe.galaxy.lcl) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1PuKzS-0003Xr-Tv for freebsd-questions@freebsd.org; Tue, 01 Mar 2011 08:31:30 +0000 Received: from mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c]) by mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c%10]) with mapi; Tue, 1 Mar 2011 08:31:17 +0000 From: Graeme Dargie To: "'freebsd-questions@freebsd.org'" Date: Tue, 1 Mar 2011 08:31:16 +0000 Thread-Topic: Samba and Active Directory Thread-Index: AcvX6whZejVboppMTzyzSMQAKVucZw== Message-ID: <0EE458C34045A44DBC2CA2DC5CEB42B501B83E1FBE@mercury.universe.galaxy.lcl> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Samba and Active Directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:31:43 -0000 Hello list, I have tried putting this on the samba mail list seems that no knows or is = willing to share, having got good help with freebsd on here before, I figur= ed its worth a shot, apologises if it is not 100% OT. I am sure this has been asked a million times but here goes for +1 I am looking for help, or pointers to a good resource to get FreeBSD 8.2 an= d Samba 3.5 working within a Win 2008 AD environment, the samba how to got = me so far, but I am missing something somewhere as none of the shares defin= ed within the smb.conf will connect without asking for a username and passw= ord. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:12:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F13106564A for ; Tue, 1 Mar 2011 09:12:17 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8A38FC1E for ; Tue, 1 Mar 2011 09:12:16 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id p218ugP7040943; Tue, 1 Mar 2011 09:56:42 +0100 (CET) (envelope-from Johan@double-l.nl) x-cr-puzzleid: {028133D6-3B0A-4E22-BD78-E8186D057D4B} MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 1 Mar 2011 09:56:35 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBDD31A2@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Samba and Active Directory Thread-Index: AcvX6whZejVboppMTzyzSMQAKVucZwAAy6sA References: <0EE458C34045A44DBC2CA2DC5CEB42B501B83E1FBE@mercury.universe.galaxy.lcl> From: "Johan Hendriks" To: "Graeme Dargie" x-cr-hashedpuzzle: Xeg= Aj1z BUo5 C931 DBRA HcRX JRqD Jkyn LO8+ MsG5 O7nv RU2f SHpp SV/G TzOt U4iC; 2; YQByAGEAYgBAAHQAYQBuAGcAZQByAGkAbgBlAC0AYQByAG0AeQAuAGMAbwAuAHUAawA7AGYAcgBlAGUAYgBzAGQALQBxAHUAZQBzAHQAaQBvAG4AcwBAAGYAcgBlAGUAYgBzAGQALgBvAHIAZwA=; Sosha1_v1; 7; {028133D6-3B0A-4E22-BD78-E8186D057D4B}; agBvAGgAYQBuAEAAZABvAHUAYgBsAGUALQBsAC4AbgBsAA==; Tue, 01 Mar 2011 08:56:35 GMT; UgBFADoAIABTAGEAbQBiAGEAIABhAG4AZAAgAEEAYwB0AGkAdgBlACAARABpAHIAZQBjAHQAbwByAHkA X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: Samba and Active Directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:12:17 -0000 >Hello list, >I have tried putting this on the samba mail list seems that no knows or is willing to share, having got good help with freebsd >on here before, I figured its worth a shot, apologises if it is not 100% OT. >I am sure this has been asked a million times but here goes for +1 >I am looking for help, or pointers to a good resource to get FreeBSD 8.2 and Samba 3.5 working within a Win 2008 AD >environment, the samba how to got me so far, but I am missing something somewhere as none of the shares defined within the >smb.conf will connect without asking for a username and password. >Regards >Graeme I made a little effort helping somebody on the FreeBSD forum. http://forums.freebsd.org/showthread.php?t=3D20007 Use the directions i (Sylhouette) made in the above thread. It should get you into a running state. Regards=20 Johan=20 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:12:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2469B1065673 for ; Tue, 1 Mar 2011 09:12:58 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id D5E1F8FC27 for ; Tue, 1 Mar 2011 09:12:57 +0000 (UTC) Received: by yie12 with SMTP id 12so1155166yie.13 for ; Tue, 01 Mar 2011 01:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=QIIV5/F5/umfRO/w+X+n7rawehTvy9V19mlWmZpzjRU=; b=C5OE76hP0c4nRk82Qo1cAP1NDkSVXN1DTUY94SGgmIROpWg+8TSYe7fbTd09G8vrY2 G+XDGQgsOj2SD6UUyMqhUnqi9kCkeOKr9gm4DVMRdNC2RYGY4cyfrMaq6e2Fzpx4Gcl8 HHSvWMPi3vWjZL9h2iJKDSfGNvDzXU+BEwEhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=hP6gFmR2Cj6GcCWtfnhJD/oQ+e2SytjApQ5mgb7JDdKgFpxTEEJdPZvsyvOOatw7EK /r2UKDTTN0izRmS12Tj40uxhM6RfLSefUesYQuLXcB4XTU9m01sYupw3eRk5wH0ikZFz 55XtQ7KFipKyWiZyAycijb+cxOTrUtR1BuzZQ= Received: by 10.100.206.3 with SMTP id d3mr2807100ang.44.1298970777084; Tue, 01 Mar 2011 01:12:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.217.19 with HTTP; Tue, 1 Mar 2011 01:12:37 -0800 (PST) From: Valentin Bud Date: Tue, 1 Mar 2011 11:12:37 +0200 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Custom FreeBSD "appliance" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:12:58 -0000 Hello community, We have started using virtualization platforms at work, a mix of ESXi and KVM. Until now I had no problems running FreeBSD (full ZFS) as a guest on neither of them. Some might say this is not optimal neither safe but we have a dedicated server (10 GB RAM, Intel Quad Core) running 8-STABLE with ZFS for backing up all the VMs that we have. We have quite a few apps we use, from Apache to MySQL, ghostscript and others. Until I've heard of virtualization all the apps were running on a single dedicated server. I remember once I had to update some appX which depended on some libX-new-version and the other appY depended on libX-past-version. I had to roll back the update, quite a pain and some downtime. No more of that when I've heard about jails. At first I've used jails,which are great (thanks FreeBSD for this). I do use them in some parts of the environment and I am very happy with them. We chose KVM/ESXi because we have a mixture of debian, Windows and FreeBSD machines we need to do the job. I have been thinking lately to build specialized robots (as I call them) for a certain task. A specialized robot for me is a custom FreeBSD install with a certain package (eg. MySQL), with all the tuning done for that particular app, starting from FS to memory optimization, network optimization and the like. What do you think about this? I would like to build that custom install *exactly* with what's needed by that particular app, no more no less. Where would be a great place to start? I suppose the build system and src.conf would be a start. How can I find what a certain app really needs? For example if I want to build a robot that does outgoing SMTP using postfix, what are the stuff that need to be build/loaded into base system for this to work? This way I can save memory, boot speed, security. What do you think of all this? Your comments are greatly appreciated. thanks, v -- network warrior From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:15:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801FA106564A for ; Tue, 1 Mar 2011 09:15:30 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 12D708FC13 for ; Tue, 1 Mar 2011 09:15:30 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 02DA8E902C; Tue, 1 Mar 2011 09:15:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=b2jI/5ArWvW1 GrpIWyEeShpRUrM=; b=SFYB59nAc3hj/bEElErl4T6QS1p1jz6iSCQXVjzkgTPU r/w3DZ+6NpXEWTgr1VsQOKAeKkAcSMmhWXOTNggC1+hL0+ukBilnbYClTJe5jMfi PpbgsVPbUwGcW1rkeDZRzubce/g6g3fPOpvxYX5sCSIrh+kwT1gDSLmUxdcZPh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=mJHJug Xnwwg3tiGINszmMqLfIe2RbT5qQN30ZIvhQlwP1req95Gadok8btFVXt0g4l7Cf2 68r2WMN9vnFnN3FLZ6w/wdSP6Eqa6aOMMaffs/uytPt6GhAKc+vbgC+ZFWICoLeU XCxm3hnjxA/PIjcf5JKMkAZAjEvBCuKCaOAzg= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id C17FBE8150; Tue, 1 Mar 2011 09:15:28 +0000 (GMT) From: Bruce Cran To: David Demelier In-Reply-To: <4D6CAC83.8050003@gmail.com> References: <4D6CAC83.8050003@gmail.com> Content-Type: text/plain; charset="us-ascii" Date: Tue, 01 Mar 2011 09:15:01 +0000 Message-ID: <1298970901.2888.5.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:15:30 -0000 On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: > But I can still hear the noise every 10 seconds, I think atacontrol does > not totally close the APM feature of the device. atacontrol's spindown setting doesn't change anything in the disk itself: it just controls a timer in the ad(4) driver which sends a spindown command when it expires. You'll need to keep using ataidle to fix the APM value. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 10:47:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8DDD106566C for ; Tue, 1 Mar 2011 10:47:09 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9D08FC14 for ; Tue, 1 Mar 2011 10:47:08 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1PuN6d-0005Ko-Qs; Tue, 01 Mar 2011 11:47:03 +0100 Date: Tue, 1 Mar 2011 11:47:03 +0100 From: Matthias Apitz To: Bruce Cran Message-ID: <20110301104703.GA19987@sh4-5.1blu.de> References: <4D6CAC83.8050003@gmail.com> <1298970901.2888.5.camel@core.nessbank> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1298970901.2888.5.camel@core.nessbank> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 10:47:09 -0000 El día Tuesday, March 01, 2011 a las 09:15:01AM +0000, Bruce Cran escribió: > On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: > > > But I can still hear the noise every 10 seconds, I think atacontrol does > > not totally close the APM feature of the device. > > atacontrol's spindown setting doesn't change anything in the disk > itself: it just controls a timer in the ad(4) driver which sends a > spindown command when it expires. You'll need to keep using ataidle to > fix the APM value. To the OP: I have to use ataidle as well on an Acer Aspire D250 laptop to switch-off the spindown of the disk... I'm wondering why you would prefere atacontrol? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 10:52:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A14961065673 for ; Tue, 1 Mar 2011 10:52:57 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 5779E8FC0A for ; Tue, 1 Mar 2011 10:52:57 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 6032CE902C; Tue, 1 Mar 2011 10:52:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=wt7m/1xxo8Xz cnblYTuxGCBFsx0=; b=KXGLg4BPumsqi4GS7pcgZbG+xBNmxJmLOTeL3z9FGeeq RM/hjdyFfEBjy//4CGbKKMKJFEO1X4JZInVTG8ksBk7gl9C/JRqI8qscC+wkuNcy j3PF/efDcPZhLx4TIRcDB3SF6WZAslC9aSBPqs9SPKZeBxf2e0brBH5ifKExWSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=tjVFJ2 cII2N/+b9kndg+w5xhb3k52OKyY48nfCS37x4uM36VwX5lmeA21m8dnlyETF4yk3 3lcvea2TUdtQyM530LwFnSMG+5/Z9lqjQRfwoPvCrfNMiRF2XTxmmWl+uk/OLkRd Ipjp1T69B5POUWsRFF5v2CHlHfeBkDoua4gx4= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 189D4E902B; Tue, 1 Mar 2011 10:52:56 +0000 (GMT) From: Bruce Cran To: Matthias Apitz In-Reply-To: <20110301104703.GA19987@sh4-5.1blu.de> References: <4D6CAC83.8050003@gmail.com> <1298970901.2888.5.camel@core.nessbank> <20110301104703.GA19987@sh4-5.1blu.de> Content-Type: text/plain; charset="us-ascii" Date: Tue, 01 Mar 2011 10:52:29 +0000 Message-ID: <1298976749.2888.16.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 10:52:57 -0000 On Tue, 2011-03-01 at 11:47 +0100, Matthias Apitz wrote: > I'm wondering why you would > prefere atacontrol? I think everyone's been looking for an "official" solution. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 14:17:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 880C2106566C for ; Tue, 1 Mar 2011 14:17:45 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 3B45F8FC1C for ; Tue, 1 Mar 2011 14:17:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id 481AC1EE449; Tue, 1 Mar 2011 15:01:37 +0100 (CET) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id Wn1YEjtyVhPP; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 33B9490004; Tue, 1 Mar 2011 15:01:37 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DtOwx-c3yS4q; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from nb981.math (g224001137.adsl.alicedsl.de [92.224.1.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id ED55390002; Tue, 1 Mar 2011 15:01:36 +0100 (CET) Message-ID: <4D6CFC3E.8080604@janh.de> Date: Tue, 01 Mar 2011 15:01:34 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110209 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Wrong (000) UDF directory permissions with mkisofs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 14:17:45 -0000 I have created a DVD image (on 8.2-RELEASE/amd64 using cdrtools-3.00_1) with mkisofs -R -J -udf -iso-level 3 -V NAME -o FILE.iso DIR/ (as described in the handbook), all files in DIR/ have 644 permission, all directories 755 permissions and all are owned by $USER:wheel. When I mount the ISO-9660+Rockridge layout (mount_cd9660 -j), everything is fine: The files have 444 permissions and the directories 555. Mounting the UDF layout (mount_udf), all files have 444 permissions, most (2795) directories have 555 permissions, but some (167) directories have 000 permissions and cannot be accessed by non-root users. What went wrong and how can I fix it? (I need the UDF layout, since some file names are truncated in the Joliet layout and the DVD will be used on Windows.) Cheers, Jan Henrik From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 16:39:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0756106564A for ; Tue, 1 Mar 2011 16:39:29 +0000 (UTC) (envelope-from mubeeshalivm@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 615838FC14 for ; Tue, 1 Mar 2011 16:39:28 +0000 (UTC) Received: by bwz12 with SMTP id 12so5255323bwz.13 for ; Tue, 01 Mar 2011 08:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Krcx/Sy8Qh/K0a6LKlpCmUA4H4ANaylZ/JZT6j+CZ8A=; b=JNm+qlTwXr1QUUx4K/IVy6pTc0OW61xLJDiaL9yJfcOnWsRFUxFD1A8inM1ED32sMg KLNsvGsMJITtLb7WnwDfhyRJxgi1SM3r4Rf2HD1QICH+euvYeUGQHBNKoj/bWNNNGRYm wMouB6yTgSKb1pw5ZNpZlxN+qetRUG968kJws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=hXYKf3edfOLou/du4TYODGsqi0kqdHAknZ2x9eC0X13iiDYqd8Bz1ss5mo4xGO6wh7 0m6/N8DFslnzzQelFeSSKQLZpJsPuid3j2idkxbPoAVZZtuB7Yg7Cl8xlVoM60q4cBQt 3QkzcisxxvDHWz+QolZTJoq9arWqS4Tl78ZBY= MIME-Version: 1.0 Received: by 10.204.80.161 with SMTP id t33mr6332144bkk.121.1298995669329; Tue, 01 Mar 2011 08:07:49 -0800 (PST) Received: by 10.204.62.83 with HTTP; Tue, 1 Mar 2011 08:07:49 -0800 (PST) Date: Tue, 1 Mar 2011 21:37:49 +0530 Message-ID: From: Mubeesh ali To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: how to read a live changing capture file with a tcpdump or wireshark like with tail for a file. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 16:39:29 -0000 Hi , We do wifi troubleshooting and are planning to use kismet for wireless captures. It produces a file that will be written into every 300 secs(configurable value ,we use 30 secs). While comparing with a expensive windows sniffer like Omnipeek the only disadvantage of this free tool is we have to continoulsly do tcpdump -r as the file changes. same with wireshark we need to hit the refresh button. Is there something equivalent to 'tail' for changing files for reading pcap files ? Appreciate any suggestions. --=20 Best=A0 Regards, Mubeesh Ali.V.M From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 18:45:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A637C106564A for ; Tue, 1 Mar 2011 18:45:04 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5268FC08 for ; Tue, 1 Mar 2011 18:45:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id 2359C1EE5D3; Tue, 1 Mar 2011 19:45:03 +0100 (CET) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id O9AHam9-QcSh; Tue, 1 Mar 2011 19:45:03 +0100 (CET) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Tue, 1 Mar 2011 19:45:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 0E78890005; Tue, 1 Mar 2011 19:45:03 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l0owECWc4jiB; Tue, 1 Mar 2011 19:45:02 +0100 (CET) Received: from nb981.math (g224001137.adsl.alicedsl.de [92.224.1.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id C3CB090004; Tue, 1 Mar 2011 19:45:02 +0100 (CET) Message-ID: <4D6D3EA5.3060205@janh.de> Date: Tue, 01 Mar 2011 19:44:53 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110209 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd References: <4D6CFC3E.8080604@janh.de> In-Reply-To: <4D6CFC3E.8080604@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Wrong (000) UDF directory permissions with mkisofs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 18:45:04 -0000 On 03/01/2011 15:01, Jan Henrik Sylvester wrote: > mkisofs -R -J -udf -iso-level 3 -V NAME -o FILE.iso DIR/ [...] > Mounting the UDF layout (mount_udf), all files have 444 permissions, > most (2795) directories have 555 permissions, but some (167) directories > have 000 permissions and cannot be accessed by non-root users. I found it was exactly the eights directory level that had 000 permissions. I am still not sure, why that is a problem for UDF, if it is non for Rockridge. Anyhow, using much more relaxed settings, I got a DVD that works: mkisofs -allow-leading-dots -allow-lowercase -allow-multidot -d -D -iso-level 4 -l -N -r -udf -V NAME -o FILE.iso DIR/ Probably, just "-iso-level 4 -D" would have been sufficient. Cheers, Jan Henrik From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 19:22:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1AE81065677 for ; Tue, 1 Mar 2011 19:22:13 +0000 (UTC) (envelope-from bsd@silviosiefke.de) Received: from mail.silviosiefke.de (mail.silviosiefke.de [78.47.240.30]) by mx1.freebsd.org (Postfix) with ESMTP id A2BCC8FC14 for ; Tue, 1 Mar 2011 19:22:13 +0000 (UTC) Received: from [192.168.0.20] (dslb-178-001-026-156.pools.arcor-ip.net [178.1.26.156]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.silviosiefke.de (Postfix) with ESMTPSA id 5B18595CE0 for ; Tue, 1 Mar 2011 20:22:12 +0100 (CET) Message-ID: <4D6D4764.1060207@silviosiefke.de> Date: Tue, 01 Mar 2011 20:22:12 +0100 From: Silvio Siefke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 19:22:14 -0000 Hello, i use fastcgi with PHP-FPM on Apache 2.2.17. When i go on Website with FastCGI then the page load not complete. http://mail.silviosiefke.de/fastcgi_apache.png When i run with FCGID then the page load complete. http://mail.silviosiefke.de/fcgid_apache.png Has someone a idea what is the problem? Thank you. Regards Silvio Some Config Parameters: SuexecUserGroup "siefke" "siefke" ServerName silviosiefke.de DocumentRoot /usr/local/www/vserver/silviosiefke.de/data ScriptAlias /cgi-bin/ "/usr/local/www/vserver/silviosiefke.de/cgi-bin/" AddHandler php5-fastcgi .php FastCgiExternalServer /usr/local/www/vserver/silviosiefke.de/data -socket /tmp/siefke.socket RewriteEngine On RewriteCond %{REQUEST_URI} \/$ RewriteRule ^(.*)$ index.php [L,QSA] Options -All +FollowSymLinks +ExecCGI AllowOverride Options FileInfo AuthConfig Limit allow from all AllowOverride All ErrorLog /usr/local/www/vserver/silviosiefke.de/log/error.log CustomLog /usr/local/www/vserver/silviosiefke.de/log/access.log combined # httpd -V Server version: Apache/2.2.17 (FreeBSD) Server built: Feb 26 2011 13:17:20 Server's Module Magic Number: 20051115:25 Server loaded: APR 1.4.2, APR-Util 1.3.10 Compiled using: APR 1.4.2, APR-Util 1.3.10 Architecture: 32-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/worker" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local" -D SUEXEC_BIN="/usr/local/sbin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types" -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf" From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 19:38:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB893106567C for ; Tue, 1 Mar 2011 19:38:33 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (adsl-70-129-195-213.dsl.ksc2mo.swbell.net [70.129.195.213]) by mx1.freebsd.org (Postfix) with ESMTP id 464C08FC19 for ; Tue, 1 Mar 2011 19:38:32 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.4/8.14.4) with ESMTP id p21JcVPI082280 for ; Tue, 1 Mar 2011 13:38:32 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Mar 2011 14:38:31 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: Message-ID: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.5 Subject: IPFilter and IPMon logging to syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 19:38:33 -0000 I have been doing some work with cleaning up my log files to make them easier to read, and for the life of me can't figure out how to get my IPFilter logs to stop going into the /var/log/messages log. I have a syslog entry for local0.* /var/log/ipfilter.log which works great, and captures all the logs I want. I have tried adding local0.none on the /var/log/messages line, but it seems to have no effect. Can anyone tell me what I am doing wrong here, the below lines are from my syslog.conf configuration file. *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none /var/log/messages local0.* /var/log/ipfilter.log -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 20:53:42 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D60761065673 for ; Tue, 1 Mar 2011 20:53:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B17468FC15 for ; Tue, 1 Mar 2011 20:53:42 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 9E4DFE8081F; Tue, 1 Mar 2011 12:53:22 -0800 (PST) Date: Tue, 1 Mar 2011 12:53:22 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20110301205319.GA15882@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 20:53:42 -0000 Any clues why I get a one-liner from wordpress that my database extention is missing? I re-installed everything; it is running. The "wordpress" db is there when I check 'show database'. What else? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 21:18:36 2011 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A7B2106564A for ; Tue, 1 Mar 2011 21:18:36 +0000 (UTC) (envelope-from ges+lists@wingfoot.org) Received: from wingfoot.org (caduceus.wingfoot.org [66.80.251.100]) by mx1.freebsd.org (Postfix) with ESMTP id 468808FC08 for ; Tue, 1 Mar 2011 21:18:36 +0000 (UTC) Received: from caduceus.wingfoot.org (localhost [127.0.0.1]) by wingfoot.org (Postfix) with ESMTP id BC94339E0BE for ; Tue, 1 Mar 2011 16:03:21 -0500 (EST) X-Virus-Scanned: amavisd-new at wingfoot.org Received: from wingfoot.org ([127.0.0.1]) by caduceus.wingfoot.org (wingfoot.org [127.0.0.1]) (amavisd-new, port 10042) with ESMTP id jFGFsPiVjZO6 for ; Tue, 1 Mar 2011 16:03:15 -0500 (EST) Received: from Sandal.local (ool-45732cf6.dyn.optonline.net [69.115.44.246]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by wingfoot.org (Postfix) with ESMTPSA id 2A0B039E0BA for ; Tue, 1 Mar 2011 16:03:15 -0500 (EST) Message-ID: <4D6D5F11.3050708@wingfoot.org> Date: Tue, 01 Mar 2011 16:03:13 -0500 From: Glenn Sieb User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions@FreeBSD.org References: <20110301205319.GA15882@thought.org> In-Reply-To: <20110301205319.GA15882@thought.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 21:18:36 -0000 On 3/1/11 3:53 PM, Gary Kline wrote: > > Any clues why I get a one-liner from wordpress that my database > extention is missing? I re-installed everything; it is running. > The "wordpress" db is there when I check 'show database'. What > else? Check and make sure the MySQL extensions are installed in PHP? pkg_info | grep php5-mysql (if not..) cd /usr/ports/databases/php5-mysql && make install clean Good luck! --Glenn From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 21:22:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B134E1065673 for ; Tue, 1 Mar 2011 21:22:18 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 66C8F8FC15 for ; Tue, 1 Mar 2011 21:22:18 +0000 (UTC) Received: (qmail 30705 invoked by uid 0); 1 Mar 2011 21:22:18 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by cpoproxy1.bluehost.com with SMTP; 1 Mar 2011 21:22:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=gHWZzbfbbVIvxWJZMHwHvPC0aDDZ3OQ7rIYfZ17YmzfdMlYnw1emqU5F7CARTmquHYtudx9jX1nZccmJ620RsQ8PypWs6977wedZ1kxpgCBzy0lelnjr0dfFzJ+bVvaA; Received: from host231.190-138-99.telecom.net.ar ([190.138.99.231] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PuX1N-0007fR-8K for freebsd-questions@freebsd.org; Tue, 01 Mar 2011 14:22:17 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Tue, 1 Mar 2011 18:22:13 -0300 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; i686; ; ) References: <20110301205319.GA15882@thought.org> <4D6D5F11.3050708@wingfoot.org> In-Reply-To: <4D6D5F11.3050708@wingfoot.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103011822.14265.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.138.99.231 authed with rjgonzale@estrads.com.ar} Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 21:22:18 -0000 And enabled php -m check that mysql extension is loaded Regards Rodrigo On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: > On 3/1/11 3:53 PM, Gary Kline wrote: > > Any clues why I get a one-liner from wordpress that my database > > extention is missing? I re-installed everything; it is running. > > The "wordpress" db is there when I check 'show database'. What > > else? > > Check and make sure the MySQL extensions are installed in PHP? > > pkg_info | grep php5-mysql > (if not..) > cd /usr/ports/databases/php5-mysql && make install clean > > Good luck! > --Glenn > > > _______________________________________________ > 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 Mar 1 22:22:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8E401065679 for ; Tue, 1 Mar 2011 22:22:29 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A5D688FC13 for ; Tue, 1 Mar 2011 22:22:29 +0000 (UTC) Received: by vws16 with SMTP id 16so5382526vws.13 for ; Tue, 01 Mar 2011 14:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=zkKU4pSiDzgLExb0kr/n0AGphJOBA7jmGvFLwI+jANk=; b=gJFd7Yt+v9aMXOIFPKH035smWYu7YvOEjj3GnnFi7dmHZDNc8V3Zgo0hQI4punpOlY VDwJK77i44B2H/EqNbBF+THx9r/MNLlLvFovEjyvptnOKOtFVOcSimgCkdeotlrGM60U ZQ1veHIv/7ro8UN8sP7ZlmJw0ZYcp/z0sY5Lo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kRec+HKvtkdUfuIOy3jfFfbrI5LccXxGfH56XkBeEcikkHalrTtdNEiVnlcsmH1t27 /gQQNvU18AgdD4U7BFvKYxyHwHWurLWA0gKp5Ov3Z4N13T28K6tyquXypp9hjXezWf2n SghqDXi2JbDAV89a9mMPN9Z/CfiY+rKVMQT9s= MIME-Version: 1.0 Received: by 10.52.71.65 with SMTP id s1mr504774vdu.104.1299018148940; Tue, 01 Mar 2011 14:22:28 -0800 (PST) Received: by 10.220.161.147 with HTTP; Tue, 1 Mar 2011 14:22:28 -0800 (PST) Date: Tue, 1 Mar 2011 14:22:28 -0800 Message-ID: From: Patrick Gibson To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: ZFS root mount 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: Tue, 01 Mar 2011 22:22:30 -0000 I'm installing 8.2 on a server using the instructions for ZFS root filesystem (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot), and when I reboot after installing, it says: Root mount waiting for: usbus4 followed by: ROOT MOUNT ERROR When I did the initial install, I booted using a CD, and then from the 8.2 livefs on a USB stick. I'm not sure where it's getting usbus4 from when it boots from the hard disk. I can't figure out where to reset this. Any pointers? Patrick From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 22:59:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E43EB106564A for ; Tue, 1 Mar 2011 22:59:56 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B67618FC0C for ; Tue, 1 Mar 2011 22:59:56 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 4485AE809DF; Tue, 1 Mar 2011 14:59:56 -0800 (PST) Date: Tue, 1 Mar 2011 14:59:56 -0800 From: Gary Kline To: Rodrigo Gonzalez Message-ID: <20110301225956.GB17756@thought.org> References: <20110301205319.GA15882@thought.org> <4D6D5F11.3050708@wingfoot.org> <201103011822.14265.rjgonzale@estrads.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103011822.14265.rjgonzale@estrads.com.ar> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 22:59:57 -0000 On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote: > And enabled > > php -m > > check that mysql extension is loaded > > Regards > > Rodrigo Hmmm. Good one! ... well, maybe. I have no idea why PHP Startup can't load these libraries. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/bcmath.so' - Cannot open "/usr/local/lib/php/20090626/bcmath.so" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mssql.so' - Cannot open "/usr/local/lib/php/20090626/mssql.so" in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/openssl.so' - Cannot open "/usr/local/lib/php/20090626/openssl.so" in Unknown on line 0 [PHP Modules] Core ctype date dom ereg filter hash iconv json libxml mhash mysql mysqli mysqlnd pcre PDO pdo_sqlite posix Reflection session SimpleXML SPL SQLite standard tokenizer xml xmlreader xmlwriter [Zend Modules] Any ideas? Should I just /bin/rm the ones that are loadable? gary > > On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: > > On 3/1/11 3:53 PM, Gary Kline wrote: > > > Any clues why I get a one-liner from wordpress that my database > > > extention is missing? I re-installed everything; it is running. > > > The "wordpress" db is there when I check 'show database'. What > > > else? > > > > Check and make sure the MySQL extensions are installed in PHP? > > > > pkg_info | grep php5-mysql > > (if not..) > > cd /usr/ports/databases/php5-mysql && make install clean > > > > Good luck! > > --Glenn > > > > > > _______________________________________________ > > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 23:35:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F50106564A for ; Tue, 1 Mar 2011 23:35:31 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from oproxy2-pub.bluehost.com (oproxy2-pub.bluehost.com [67.222.39.60]) by mx1.freebsd.org (Postfix) with SMTP id DB9428FC18 for ; Tue, 1 Mar 2011 23:35:30 +0000 (UTC) Received: (qmail 20175 invoked by uid 0); 1 Mar 2011 23:35:30 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by oproxy2.bluehost.com with SMTP; 1 Mar 2011 23:35:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=ZXXnU4KPuwjRN5eOv7HXyFl3xzwkR6PoUJPPhAz+Vyiya/9hWcnij1udkS/DpEcUUfPYk3dpz6zM+7X1A+wPKK2HjAL12Y+24rTBOtoOHRdO6Q0qkPrKhx8ofZGTg0ay; Received: from host231.190-138-99.telecom.net.ar ([190.138.99.231] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PuZ6G-0007pS-U1; Tue, 01 Mar 2011 16:35:30 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Tue, 1 Mar 2011 20:35:25 -0300 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; i686; ; ) References: <20110301205319.GA15882@thought.org> <201103011822.14265.rjgonzale@estrads.com.ar> <20110301225956.GB17756@thought.org> In-Reply-To: <20110301225956.GB17756@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103012035.26029.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.138.99.231 authed with rjgonzale@estrads.com.ar} Cc: Gary Kline Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 23:35:31 -0000 you just need to delete them from /usr/local/etc/php/extensions.ini mysql extension is loaded when you are using cli, I would check at web server module. Create a file called info.php in your document root then go to http:///info.php Check if there is a block called mysql Regards Rodrigo On Tuesday, March 01, 2011 07:59:56 PM Gary Kline wrote: > On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote: > > And enabled > > > > php -m > > > > check that mysql extension is loaded > > > > Regards > > > > Rodrigo > > Hmmm. Good one! ... well, maybe. I have no idea why PHP > Startup can't load these libraries. > > > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20090626/bcmath.so' - Cannot open > "/usr/local/lib/php/20090626/bcmath.so" in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20090626/mssql.so' - Cannot open > "/usr/local/lib/php/20090626/mssql.so" in Unknown on line 0 > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20090626/openssl.so' - Cannot open > "/usr/local/lib/php/20090626/openssl.so" in Unknown on line 0 > [PHP Modules] > Core > ctype > date > dom > ereg > filter > hash > iconv > json > libxml > mhash > mysql > mysqli > mysqlnd > pcre > PDO > pdo_sqlite > posix > Reflection > session > SimpleXML > SPL > SQLite > standard > tokenizer > xml > xmlreader > xmlwriter > > [Zend Modules] > > > Any ideas? Should I just /bin/rm the ones that are loadable? > > gary > > > On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote: > > > On 3/1/11 3:53 PM, Gary Kline wrote: > > > > Any clues why I get a one-liner from wordpress that my database > > > > extention is missing? I re-installed everything; it is running. > > > > The "wordpress" db is there when I check 'show database'. What > > > > else? > > > > > > Check and make sure the MySQL extensions are installed in PHP? > > > > > > pkg_info | grep php5-mysql > > > (if not..) > > > cd /usr/ports/databases/php5-mysql && make install clean > > > > > > Good luck! > > > --Glenn > > > > > > > > > _______________________________________________ > > > 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 Mar 2 00:09:07 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 554391065676 for ; Wed, 2 Mar 2011 00:09:07 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2CB118FC12 for ; Wed, 2 Mar 2011 00:09:06 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 5F34FE8081F; Tue, 1 Mar 2011 14:50:20 -0800 (PST) Date: Tue, 1 Mar 2011 14:50:20 -0800 From: Gary Kline To: Glenn Sieb Message-ID: <20110301225020.GA17756@thought.org> References: <20110301205319.GA15882@thought.org> <4D6D5F11.3050708@wingfoot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D6D5F11.3050708@wingfoot.org> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@freebsd.org Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 00:09:07 -0000 On Tue, Mar 01, 2011 at 04:03:13PM -0500, Glenn Sieb wrote: > On 3/1/11 3:53 PM, Gary Kline wrote: > > > > Any clues why I get a one-liner from wordpress that my database > > extention is missing? I re-installed everything; it is running. > > The "wordpress" db is there when I check 'show database'. What > > else? > > Check and make sure the MySQL extensions are installed in PHP? > > pkg_info | grep php5-mysql > (if not..) > cd /usr/ports/databases/php5-mysql && make install clean > > Good luck! > --Glenn > This was the first thing I [re-] installed. q0 14:47 Server [5001] pkg_info | gr php5-mysql 470:php5-mysql-5.3.5 The mysql shared extension for php 471:php5-mysqli-5.3.5 The mysqli shared extension for php q0 14:47 Server [5002] > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 00:55:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC3351065670 for ; Wed, 2 Mar 2011 00:55:30 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id C17088FC31 for ; Wed, 2 Mar 2011 00:55:30 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id C22D9E8081F; Tue, 1 Mar 2011 16:55:23 -0800 (PST) Date: Tue, 1 Mar 2011 16:55:23 -0800 From: Gary Kline To: Rodrigo Gonzalez Message-ID: <20110302005523.GA20006@thought.org> References: <20110301205319.GA15882@thought.org> <201103011822.14265.rjgonzale@estrads.com.ar> <20110301225956.GB17756@thought.org> <201103012035.26029.rjgonzale@estrads.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103012035.26029.rjgonzale@estrads.com.ar> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 00:55:31 -0000 On Tue, Mar 01, 2011 at 08:35:25PM -0300, Rodrigo Gonzalez wrote: > you just need to delete them from /usr/local/etc/php/extensions.ini > > mysql extension is loaded when you are using cli, I would check at web server > module. > > Create a file called info.php in your document root > > then go to http:///info.php > > Check if there is a block called mysql > > Regards > > Rodrigo > Thanks for your help; I am back up, installed a new WordPress, and re-re-reinstalled the database. --I could ramble on for paragraphs, but will spare everybody! I am running WP on my FreeBSD 7.3 server and want to know how I can upgrade from within my present version. I'm running v 3.0.4 from ports; the latest is 3.1. Last time I tried upgrading from here as root I got power-surged off the Net. When I got back and tried to pick up the thread of thoughts, WordPress couldn't see MYSQL. Nutshell, is there a way that I can d/load and install WP on Berkeley Unix? ---just wondering! And how can I d/l "Plugins" and fonts? thanks again! appreciated your insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 09:00:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE6C3106566B for ; Wed, 2 Mar 2011 09:00:49 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7A93E8FC0C for ; Wed, 2 Mar 2011 09:00:49 +0000 (UTC) Received: by yie12 with SMTP id 12so1636718yie.13 for ; Wed, 02 Mar 2011 01:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=vuaAvwbjrF5ndgeodChayze+/z/Cs+0GGquE7Ft2TVI=; b=aY3SeybZW96JllfKchl0Z4TVtC2ctvuR/nHDcoR1xJlklOG8mIBdP6Q4lN4tLjW9Kg UOLuh1hVz6sY9+pnPZ+mgsWVFdwRA7Z+G8aerZrh2xHiwUWEDNobBWhGc6XvGnkyAzgE 7YlvdAnI3W+dRtIhySrO/fSMbdKX8EdLO3u3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=kP9+k7XgR6WljXm25HLd/poYeBRRcNVJ4+8LIb8NncaCDSYwG89yPg40a3WgeurpyP 2NKvLjWNVsBRrcXUsFyQXOY5ctNBROYm9v5wJYvMtoz6jPwFFnoHAWIrnPo5yxUQoAiU ydVWSPlKgqxPPsLKZ2e3u+1+nlpvmHCm9WeTA= Received: by 10.100.197.2 with SMTP id u2mr3414063anf.98.1299054899108; Wed, 02 Mar 2011 00:34:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.41.17 with HTTP; Wed, 2 Mar 2011 00:34:39 -0800 (PST) In-Reply-To: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> References: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> From: n j Date: Wed, 2 Mar 2011 09:34:39 +0100 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: IPFilter and IPMon logging to syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 09:00:49 -0000 On Tue, Mar 1, 2011 at 8:38 PM, Dean E. Weimer wrote: > I have been doing some work with cleaning up my log files to make them > easier to read, and for the life of me can't figure out how to get my > IPFilter logs to stop going into the /var/log/messages log. =A0I have a s= yslog > entry for local0.* /var/log/ipfilter.log which works great, and captures = all > the logs I want. =A0I have tried adding local0.none on the /var/log/messa= ges > line, but it seems to have no effect. =A0Can anyone tell me what I am doi= ng > wrong here, the below lines are from my syslog.conf configuration file. > > *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none > =A0 =A0 /var/log/messages > local0.* =A0 =A0 =A0 /var/log/ipfilter.log I usually do it this way: !-local0 # disable logging of local0 [log whatever] /var/log/messages !local0 # enable logging of local0 local0.* /var/log/ipfilter.log Regards, --=20 Nino From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 12:44:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399741065676 for ; Wed, 2 Mar 2011 12:44:38 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id EB6B38FC25 for ; Wed, 2 Mar 2011 12:44:37 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1PulPw-0005S1-HL for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 12:44:36 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PulPw-0001Mv-D0 for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 12:44:36 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p22CiaSv045714 for ; Wed, 2 Mar 2011 12:44:36 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p22CiZOQ045713 for freebsd-questions@freebsd.org; Wed, 2 Mar 2011 12:44:35 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 2 Mar 2011 12:44:35 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20110302124434.GA39861@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: GNU make doesn't understand .for? suffix rules obsolete? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 12:44:38 -0000 I just discovered that my FreeBSD Makefile fails miserably on a linux system with GNU Make 3.80. In particular I was surprised to find out that GNU make considers suffix rules obsolete: http://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html#Suffix-Rules I didn't think the suffix rules are obsolete in BSD make, are they? The GNU replacement for suffix rules are "pattern rules". Now these don't seem to be supported by BSD make, are they? Also, since ".for .endfor" construct doesn't seem to be supported by GNU make (please confirm or correct if I'm wrong), what is an alternative in GNU make? My aim, of course, is to have a makefile, which would work on both GNU and BSD make. The project is comparatively simple, just a collection of fortran files, which need to be compiled and several executables need to be linked against a number of libraries. 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 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 13:01:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70499106567C for ; Wed, 2 Mar 2011 13:01:09 +0000 (UTC) (envelope-from eliaschr@cha.forthnet.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.115]) by mx1.freebsd.org (Postfix) with ESMTP id CA7298FC1B for ; Wed, 2 Mar 2011 13:01:08 +0000 (UTC) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-03.forthnet.gr (8.14.3/8.14.3) with ESMTP id p22CjjbS023247 for ; Wed, 2 Mar 2011 14:45:45 +0200 Received: from MX-IN-01.forthnet.gr (mx-in-01.forthnet.gr [193.92.150.23]) by mx-av-03.forthnet.gr (8.14.3/8.14.3) with ESMTP id p22CjjSw018140 for ; Wed, 2 Mar 2011 14:45:45 +0200 Received: from pluto.universe (178.128.93.137.dsl.dyn.forthnet.gr [178.128.93.137]) by MX-IN-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id p22CjZGd013765 for ; Wed, 2 Mar 2011 14:45:44 +0200 From: Elias Chrysocheris To: freebsd-questions@freebsd.org Date: Wed, 2 Mar 2011 14:45:29 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-RELEASE; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4553883.QARyEz5BOi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201103021445.34918.eliaschr@cha.forthnet.gr> Subject: Re: ZFS root mount 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: Wed, 02 Mar 2011 13:01:09 -0000 --nextPart4553883.QARyEz5BOi Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Wednesday 02 of March 2011 00:22:28 Patrick Gibson wrote: > I'm installing 8.2 on a server using the instructions for ZFS root > filesystem (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot), and when I > reboot after installing, it says: >=20 > Root mount waiting for: usbus4 >=20 > followed by: >=20 > ROOT MOUNT ERROR >=20 > When I did the initial install, I booted using a CD, and then from the > 8.2 livefs on a USB stick. I'm not sure where it's getting usbus4 from > when it boots from the hard disk. >=20 > I can't figure out where to reset this. Any pointers? >=20 > Patrick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I think that the file zpool.cache is missing or it contains pool data comin= g=20 from the USB stick you used. I wrote an article for this, but unfortunatell= y=20 is in Greek... The article is here:=20 http://www.freebsdworld.gr/node/38#zpool_cache Besides the problem that you will not understand what I write (:)) you can= =20 follow the commands. You will probably understand what's happening there. J= ust=20 skip the part that I cange the names of the gpt partitions (the one that I= =20 have a bunch of "gpart modify" commands) I hope it will be usefull to you Regards Elias --nextPart4553883.QARyEz5BOi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAABAgAGBQJNbjvuAAoJEMwG3GYsoY+xJYIH/RqFD5HgrWZVB90ufFvdBbLX EBGHIs9ZLDwYVNs5vp1NFety8XwHZKBeozOTzUbK4AtfvEj46jR13pAWBBaYE7b6 6Y/znCHWT2mb13khaD1y9V0uian3VBdMnKIEHxUSyf8nPa0obbAXYdmHAZqCecYj tvdbvU5RjIYpRC6Kl/MN58HWjSXZ9QbUJJAjS0PqBudcGCSmd7zl+IwORLm7rw1y WDmc1nKy0+5ooqVv3pTmTzXkGhFmGbl4+iOF4K4hoGkkdzLFDLa/QHK4Uska9n+5 5HLCEn4N5ubJbZb6yWvphO7/vRTYDMY0a0C4XNrAukIQ7F/KoZHJFfIOzGL77g0= =h97C -----END PGP SIGNATURE----- --nextPart4553883.QARyEz5BOi-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 13:27:23 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83DC11065676 for ; Wed, 2 Mar 2011 13:27:23 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 41ABA8FC19 for ; Wed, 2 Mar 2011 13:27:22 +0000 (UTC) Received: by gxk7 with SMTP id 7so2742408gxk.13 for ; Wed, 02 Mar 2011 05:27:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=j4U1MMtKlZF7KjE95Ta9TCXEYfRdjS+97O6IhScsYB0=; b=bPxTsmzGk550NwRZNPtJHWQatUsZx4tra92lwFAunmq2yR/56qh9x0C94EzFN/64Je zAXOG5CfijM0cyuw40RN1of21E6z1mcVNQ6/VPSghwlwAk/wk/A1yrsO/p1DWsXiCOqs p0EvzzVWRlI97GBgwN9T+jPvNEOUMajfxvhyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=bK0pzkAnfhUnK/vqBwSQkW5D/8qMMHqd7cxERjuZJ47Zgi/A3oz7Qzg9dbGEkC6OXU Q/UekvN4QOlMcbdgQvrz7B7P5UaghhzPUbHGeqbAdeHE88xNlb4QUBvk4Jp5WPMMzlG8 f5/Hf/HMYbcuEyklCfUIGbR92McJgh1HCJ6WA= MIME-Version: 1.0 Received: by 10.236.63.35 with SMTP id z23mr13801056yhc.92.1299072442425; Wed, 02 Mar 2011 05:27:22 -0800 (PST) Received: by 10.236.108.44 with HTTP; Wed, 2 Mar 2011 05:27:22 -0800 (PST) Date: Wed, 2 Mar 2011 13:27:22 +0000 Message-ID: From: "b. f." To: Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: GNU make doesn't understand .for? suffix rules obsolete? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 13:27:23 -0000 > In particular I was surprised > to find out that GNU make considers > suffix rules obsolete: > http://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html#Suffix-Rules > > I didn't think the suffix rules are > obsolete in BSD make, are they? > No (Although maybe some people will argue that BSD make itself is obsolete...). But what does it matter -- gnu make still understands them, doesn't it? > The GNU replacement for suffix rules > are "pattern rules". Now these don't > seem to be supported by BSD make, are they? > There are some implicit rules, and variable expansions can be used, but many of the GNU constructs are not supported. See make(1), and: http://www.freebsd.org/doc/en_US.ISO8859-1/books/pmake/index.html > Also, since ".for .endfor" > construct doesn't seem to be supported > by GNU make (please confirm or correct if I'm wrong), > what is an alternative in GNU make? Patterns and the foreach function: http://www.gnu.org/software/make/manual/html_node/Foreach-Function.html#Foreach-Function > My aim, of course, is to have > a makefile, which would work > on both GNU and BSD make. > The project is comparatively simple, > just a collection of fortran files, > which need to be compiled and several > executables need to be linked > against a number of libraries. You can limit yourself to constructs common to both makes, but if you prefer gnu make, then why not just write makefiles accordingly and use gmake from devel/gmake? b. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 13:37:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDD9E1065675 for ; Wed, 2 Mar 2011 13:37:26 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (adsl-70-129-195-213.dsl.ksc2mo.swbell.net [70.129.195.213]) by mx1.freebsd.org (Postfix) with ESMTP id 644BE8FC1C for ; Wed, 2 Mar 2011 13:37:26 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.4/8.14.4) with ESMTP id p22DbGAt010161; Wed, 2 Mar 2011 07:37:17 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 02 Mar 2011 08:37:16 -0500 From: "Dean E. Weimer" To: Bernt Hansson Mail-Reply-To: In-Reply-To: <4D6E28AF.9000104@bah.homeip.net> References: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> <4D6E28AF.9000104@bah.homeip.net> Message-ID: <4ec5a646d97cba6b5e1ed07e5c470e9e@www.dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.5 Cc: freebsd-questions@freebsd.org Subject: Re: IPFilter and IPMon logging to syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 13:37:26 -0000 On Wed, 02 Mar 2011 12:23:27 +0100, Bernt Hansson wrote: > Put this in your rc.conf ipmon_flags="-D -f /var/log/ipf.log" I don't doubt that would work, but I would rather stick with using syslogd to handle the logging. As I am hoping to implement remote logging to another server for log consolidation of several servers, which is why I started the process of cleaning up the local logs. --- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 13:42:27 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D21DF1065670 for ; Wed, 2 Mar 2011 13:42:27 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 8C94E8FC13 for ; Wed, 2 Mar 2011 13:42:27 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1PumJt-0004Iy-Tz; Wed, 02 Mar 2011 13:42:26 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PumJt-0000GY-MI; Wed, 02 Mar 2011 13:42:25 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p22DgO1l086588; Wed, 2 Mar 2011 13:42:24 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p22DgNBk086587; Wed, 2 Mar 2011 13:42:23 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 2 Mar 2011 13:42:23 +0000 From: Anton Shterenlikht To: bf1783@gmail.com Message-ID: <20110302134222.GB86263@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: bf1783@gmail.com, Anton Shterenlikht , 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.4.2.3i Cc: Anton Shterenlikht , freebsd-questions@FreeBSD.org Subject: Re: GNU make doesn't understand .for? suffix rules obsolete? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 13:42:27 -0000 On Wed, Mar 02, 2011 at 01:27:22PM +0000, b. f. wrote: > > In particular I was surprised > > to find out that GNU make considers > > suffix rules obsolete: > > http://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html#Suffix-Rules > > > > I didn't think the suffix rules are > > obsolete in BSD make, are they? > > > > No (Although maybe some people will argue that BSD make itself is obsolete...). > But what does it matter -- gnu make still understands them, doesn't it? It seems the way suffix rules are impemented differs. E.g. this construct .SUFFIXES: .f90 .o .f90.o: $(AUX).mod $(FC) $(FFLAGS) -c $< meaning "compile all fortran files into objects, and make sure $(AUX).mod file exists and up to date" works in BSD make, while GNU make: *quote* Suffix rules cannot have any prerequisites of their own. If they have any, they are treated as normal files with funny names, not as suffix rules. Thus, the rule: .c.o: foo.h $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< tells how to make the file .c.o from the prerequisite file foo.h, and is not at all like the pattern rule: %.o: %.c foo.h $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $< which tells how to make `.o' files from `.c' files, and makes all `.o' files using this pattern rule also depend on foo.h. *end quote* > > There are some implicit rules, and variable expansions can be used, > but many of the GNU constructs are not supported. See make(1), and: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/pmake/index.html Thanks for pmake, but I think I'll try instead to use as simple constructs as I can. > You can limit yourself to constructs common to both makes, yes, will try. 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 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 13:45:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65EB01065670 for ; Wed, 2 Mar 2011 13:45:44 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (adsl-70-129-195-213.dsl.ksc2mo.swbell.net [70.129.195.213]) by mx1.freebsd.org (Postfix) with ESMTP id 18C078FC1B for ; Wed, 2 Mar 2011 13:45:43 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.4/8.14.4) with ESMTP id p22DjhQ1010317 for ; Wed, 2 Mar 2011 07:45:43 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 02 Mar 2011 08:45:43 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: In-Reply-To: References: <3787f7ba69db4e2b72443f513f3f148e@www.dweimer.net> Message-ID: <78945533e00f13c60c6c27ce11e11cbb@www.dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.5 Subject: Re: IPFilter and IPMon logging to syslog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 13:45:44 -0000 On Wed, 2 Mar 2011 09:34:39 +0100, n j wrote: > On Tue, Mar 1, 2011 at 8:38 PM, Dean E. Weimer wrote: >> I have been doing some work with cleaning up my log files to make >> them >> easier to read, and for the life of me can't figure out how to get >> my >> IPFilter logs to stop going into the /var/log/messages log. I have a >> syslog entry for local0.* /var/log/ipfilter.log which works great, >> and >> captures all the logs I want. I have tried adding local0.none on the >> /var/log/messages line, but it seems to have no effect. Can anyone >> tell >> me what I am doing wrong here, the below lines are from my >> syslog.conf >> configuration file. >> > > *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local0.none >> /var/log/messages local0.* /var/log/ipfilter.log > I usually do it this way: !-local0 # disable logging of local0 [log > whatever] /var/log/messages !local0 # enable logging of local0 > local0.* > /var/log/ipfilter.log Regards, -- Nino > _______________________________________________ > freebsd-questions@freebsd.org [2] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions [3] To > unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > [4]" Interesting method, I will keep this in mind for the future. One thing to note, my config above seems to have started working after the messages log rotated. I had restarted the syslog process by running /etc/rc.d/syslogd restart, but for some reason these messages continued until the newsyslog process rotated the messages file. Now to get the rest of my servers local logs cleaned up and implement a new server for log consolidation. --- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 14:26:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E4A9106566C for ; Wed, 2 Mar 2011 14:26:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id C82D88FC1A for ; Wed, 2 Mar 2011 14:26:02 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pun02-00031S-BU for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 15:25:58 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 15:25:58 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 15:25:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 02 Mar 2011 15:25:42 +0100 Lines: 19 Message-ID: References: <4D6D4764.1060207@silviosiefke.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4D6D4764.1060207@silviosiefke.de> X-Enigmail-Version: 1.1.2 Subject: Re: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 14:26:03 -0000 On 01/03/2011 20:22, Silvio Siefke wrote: > Hello, > > > i use fastcgi with PHP-FPM on Apache 2.2.17. When i go on Website with > FastCGI then the page load not complete. > > http://mail.silviosiefke.de/fastcgi_apache.png > > When i run with FCGID then the page load complete. > > http://mail.silviosiefke.de/fcgid_apache.png > > Has someone a idea what is the problem? Thank you. This is not a FreeBSD problem. The most likely problem is that your FastCGI configuration handles more paths than it should, including images, CSS and other non-fastcgi URLs. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 14:27:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A8D71065672 for ; Wed, 2 Mar 2011 14:27:19 +0000 (UTC) (envelope-from cyber366@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0EAB78FC16 for ; Wed, 2 Mar 2011 14:27:18 +0000 (UTC) Received: by vxc34 with SMTP id 34so6030351vxc.13 for ; Wed, 02 Mar 2011 06:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=neylw04T3TvMqdesrtJFgjfGMkSyY14CYh9HyaC9rPU=; b=S7evG1QjWSSqM0Ohk3kKfbj9BWOkAIL/rVUN0ifWP/aXRs0T3bdj5+ob8+Xtc7Qe7K g42yPodNCdORa7jQWh7HIrKqJQmx4E1lNIjKmivjOEwe0Y9r2aL3aQSe1EqAtjggEmQs 3KnpoPJJvfQrhmWWZdC7e315RGnWFVxGFOfhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=hg1sz/udq5mpRGwUUsuaiKpMqQ7ZVIvm6g0Ylqy3N+aZ+kt+nsVJiN1Ybe8TWObPFt DFTsFYPQcgeSH1nrYTCeEH8hVVkTz7hiUZJeh1D2ZZNe9nXqmUQP1yYkCBFlGWCNyRrJ 0S3nCN/yNdUlumOe4sus1WYH7xLrhDFsy84WU= Received: by 10.52.157.161 with SMTP id wn1mr4448193vdb.160.1299075987442; Wed, 02 Mar 2011 06:26:27 -0800 (PST) Received: from lib1-lt.haystack.mit.edu (lib1-lt.haystack.mit.edu [192.52.61.207]) by mx.google.com with ESMTPS id g2sm154vbz.0.2011.03.02.06.26.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2011 06:26:26 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: David In-Reply-To: <201102272143.p1RLhr0J027801@mail.r-bonomi.com> Date: Wed, 2 Mar 2011 09:26:26 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201102272143.p1RLhr0J027801@mail.r-bonomi.com> To: Robert Bonomi X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org, David Subject: Re: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 14:27:19 -0000 On Feb 27, 2011, at 4:43 PM, Robert Bonomi wrote: >> =46rom owner-freebsd-questions@freebsd.org Sun Feb 27 14:54:09 2011 >> From: David >> Date: Sun, 27 Feb 2011 15:46:03 -0500 >> To: freebsd-questions@freebsd.org >> Subject: FreeBSD Performance >>=20 >> Hello All: >>=20 >> I am curious... does anyone know of a reasonably priced commodity = server=20 >> capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 = GE=20 >> network interfaces? Any ideas on how hard this would be to do with=20 >> FreeBSD? >>=20 >> I know of a proprietary linux-based system, but looking for = open-source=20 >> FreeBSD based system. Thanks for the comments Robert... > A lot depends on what you need to do with the data. At the moment, I'm just looking to see if anyone has tried anything = similar. I have a detailed set of requirements/results, but wanted to keep things = simple initially. For now, let's just say there are two use cases: 1. Record 10 Gbps of data received from 2 10xGE cards onto hard disk = array 2. Playback 10 Gbps of data out over 2 10xGE cards onto network. > Do you need just the 'contents' of the network packets -- i.e. are = you > trying to send/recieve a single stream of data -- or do you need=20 > complete headers, augmented with timestamps, such that you can re- > construct/replay what was 'seen on the wire'? Just contents is fine. > Is the box 'dedicated' to receiving (or sending), and does = -nothing-else- > while that operation is in process? or do you need to sample the data = in > real-time as well? Dedicated. > Another question is _how_long_ you need to handle the 2x10gbit/sec of=20= > data. a few seconds? a few tens of seconds? minutes? hours? One hour (for now). > If you need to 'go to disk' in real-time, you're looking at needing > at least 3-4 gigabyte/sec of bandwith to disk. No commodity drives=20= > provide that kind of capacity, so you're looking at multiple drives=20= > 'in parallel' -- the logical equivalent of a 'striped' RAID array. =20= > Probably 12-16 spindles paralleled. Best handled with _hardware_=20 > raid, directly in the disk controller, but I don't know of a = commodity=20 Yes. > controller that supports enough spindles to give that bandwidth. > This means one is best off doing it in the application softwre = itself, > rather than trusting the O/S to get it right. Yes. > You're also looking at a _big_ disk array. Around 200 gigs for ONE=20= > MINUTE of data. Need 'only' an hour? That's merely 12 terabytes. Yes :) > The O/S is -relatively- unimportant. OK. As a recent convert to FreeBSD, I was hoping you would tell me=20 that the clean architecture and efficient implementation of FreeBSD = would solve all of my problems :) > You need _good_ network cards, with good drivers -- preferably ones = where > most of the network stack can be off-loaded onto the card itself. Yes. Something like TOE, batched interrupts, etc. > You also need good disk controllers, ideally semi-autonomous (like = SCSI), > with fairly large data buffers. Yes. OK. Thanks for the comments, that is helpful. I would be very interested to hear if anyone has had experience implementing a system like this (or close to it). I'm trying to decide whether I should try this = myself or proceed with the current linux-based system. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 14:34:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17D5A106566C for ; Wed, 2 Mar 2011 14:34:17 +0000 (UTC) (envelope-from bsd@silviosiefke.de) Received: from mail.silviosiefke.de (mail.silviosiefke.de [78.47.240.30]) by mx1.freebsd.org (Postfix) with ESMTP id CDD9A8FC0C for ; Wed, 2 Mar 2011 14:34:16 +0000 (UTC) Received: from [192.168.0.20] (dslb-188-101-225-069.pools.arcor-ip.net [188.101.225.69]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.silviosiefke.de (Postfix) with ESMTPSA id DDE0E95CE0 for ; Wed, 2 Mar 2011 15:34:15 +0100 (CET) Message-ID: <4D6E5565.2060603@silviosiefke.de> Date: Wed, 02 Mar 2011 15:34:13 +0100 From: Silvio Siefke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D6D4764.1060207@silviosiefke.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 14:34:17 -0000 Hey, Am 02.03.2011 15:25, schrieb Ivan Voras: > > This is not a FreeBSD problem. Thank u, that i know. But i has think that is a user list, someone can help me. Because i try since weeks and found not where is the mistake. > The most likely problem is that your FastCGI configuration handles more > paths than it should, including images, CSS and other non-fastcgi URLs. That mean? Regards Silvio From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:03:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C90DE1065673 for ; Wed, 2 Mar 2011 16:03:38 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9465E8FC1F for ; Wed, 2 Mar 2011 16:03:38 +0000 (UTC) Received: by iyj12 with SMTP id 12so65353iyj.13 for ; Wed, 02 Mar 2011 08:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=wmg75/deKXy5aa1eKp7YXHNvGjgqF4/Bf+g/vggCEaw=; b=JKGx4MHZlUgzuTzih/VRMDXIMW+TH5je1WLpe9PTpZK9pO17DTxm4uA1hZGG7qia+R rsOdShxI93VrIGa5KX5DqbYilP/Ox2+DtrxnWIXjSshgHPqiM6Ulexn5H9a25mtv9Q0v 77p+FjZSbKmvgQBCLipCs4z48se/cphdxXFzk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FfwOJfLjQoFgiVq+x30KdkZf4q1FLBbLHr46GztsUFrx13e+iLWAeWe2RTNKZzn/wa 7b4kDvx24vGlRpc+omGymBylAPrOFL4h44k5CAjsauCUkCFJUonMUH2U+4s1kFKW1+9e ous4KvROjUKGUd/SXLa4XCrLbadwjYuDrpy60= MIME-Version: 1.0 Received: by 10.231.11.2 with SMTP id r2mr16723ibr.174.1299081817876; Wed, 02 Mar 2011 08:03:37 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 08:03:37 -0800 (PST) Date: Wed, 2 Mar 2011 08:03:37 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:03:38 -0000 Hi folks, If I understand the process of upgrading FreeeBSD correctly, after running: make buildworld make buildkernel make installkernel I then need to reboot into single user mode (which can only be done if I'm physically standing at the machine, right?), and then finally: adjkerntz -i mount -a -t ufs mergemaster -p cd /usr/src make installworld mergemaster and then one final reboot. Is there a way to finish the upgrade process without actually being in front of the server??? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:05:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A971106566B for ; Wed, 2 Mar 2011 16:05:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 84AF38FC14 for ; Wed, 2 Mar 2011 16:05:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PuoYi-0000eC-KV for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 17:05:52 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 17:05:52 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 17:05:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 02 Mar 2011 11:08:23 -0500 Lines: 123 Message-ID: References: <4D6D4764.1060207@silviosiefke.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:05:56 -0000 Silvio Siefke wrote: > Hello, > > > i use fastcgi with PHP-FPM on Apache 2.2.17. When i go on Website with > FastCGI then the page load not complete. > > http://mail.silviosiefke.de/fastcgi_apache.png > > When i run with FCGID then the page load complete. > > http://mail.silviosiefke.de/fcgid_apache.png > > Has someone a idea what is the problem? Thank you. > Strictly _not_ a FreeBSD issue, but FWIW I thought maybe I'd respond anyway. Someone please correct me if I'm wrong here, as I haven't been keeping up with the latest Apache news and stuff so the following may be out of touch. I thought that at some point a couple of years ago that FastCGI became deprecated in favor of mod_fcgid. Look at the dates on this page: http://www.fastcgi.com/drupal/node/19 Apache has absorbed the mod_fcgid into the mainstream. Notice the dates on the support page below seem to be more recent: http://httpd.apache.org/mod_fcgid/ Since your website works OK with mod_fcgid why not use it because it works? I use Apache with the event mpm and mod_fcgid, but am still using PHP 5.2.x. For purposes of this problem the difference between my use of the event mpm and you using worker should probably not be significant. I cannot properly address your question concerning FastCGI as I do not use it. What I can do is share some of my configs for my web development server using mod_fcgid. httpd.conf: [...] LoadModule alias_module libexec/apache22/mod_alias.so LoadModule rewrite_module libexec/apache22/mod_rewrite.so #LoadModule php5_module libexec/apache22/libphp5.so LoadModule fcgid_module libexec/apache22/mod_fcgid.so [...] SetOutputFilter Deflate AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript application/javascript application/x-javascript text/xml application/xml application/xhtml+xml SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png)$ no-gzip dont-vary Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all # added for mod_fcgid #SetHandler fcgid-script FCGIWrapper /usr/local/bin/php-cgi .php Options ExecCGI # end of mod_fcgid change # added to enable mod_fcgid: AddHandler fcgid-script .fcgi .php SocketPath /var/run/fcgidsock/ #SocketPath /var/run/fcgid_shm IPCConnectTimeout 10 IPCCommTimeout 20 OutputBufferSize 0 MaxRequestsPerProcess 1024 # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. DirectoryIndex index.html index.php [...] This is for the main site. In addition I only have one virtual host and the httpd-vhosts.conf looks like this: NameVirtualHost *:80 ServerAdmin webmaster@test.zip DocumentRoot "/usr/local/www/apache22/oldriver.test.zip" ServerName oldriver.test.zip ServerAlias oldriver.test.zip ErrorLog "/var/log/httpd-error.log" CustomLog "/var/log/httpd-access.log" common Options Indexes FollowSymLinks FCGIWrapper /usr/local/bin/php-cgi .php Options ExecCGI DirectoryIndex index.html index.php home.php AllowOverride All Order deny,allow allow from all Your requirements are likely somewhat different from mine, so these configs work for me but you should only consider them as examples. If any of it may be useful adjust accordingly. Consider using mod_fcgid instead of FastCGI because it is newer and more currently under active support. That is, unless you have some other overriding reason that makes you forced to use FastCGI. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:06:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89C57106564A for ; Wed, 2 Mar 2011 16:06:50 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 20B618FC2B for ; Wed, 2 Mar 2011 16:06:49 +0000 (UTC) Received: by bwz12 with SMTP id 12so303377bwz.13 for ; Wed, 02 Mar 2011 08:06:49 -0800 (PST) Received: by 10.204.1.145 with SMTP id 17mr165443bkf.131.1299082008844; Wed, 02 Mar 2011 08:06:48 -0800 (PST) Received: from dfleuriot.technique-admin.paris.hi-media-techno.com ([83.167.62.196]) by mx.google.com with ESMTPS id u23sm70085bkw.9.2011.03.02.08.06.47 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 08:06:47 -0800 (PST) Message-ID: <4D6E6B16.7010508@my.gd> Date: Wed, 02 Mar 2011 17:06:46 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:06:50 -0000 On 3/2/11 5:03 PM, Ed Flecko wrote: > Hi folks, > If I understand the process of upgrading FreeeBSD correctly, after running: > > make buildworld > > make buildkernel > > make installkernel > > I then need to reboot into single user mode (which can only be done if > I'm physically standing at the machine, right?), and then finally: > > adjkerntz -i > > mount -a -t ufs > > mergemaster -p > > cd /usr/src > > make installworld > > mergemaster > > and then one final reboot. > > Is there a way to finish the upgrade process without actually being in > front of the server??? > > Thank you, > Ed Dropping to single user is not strictly necessary, in fact I never do. buildworld buildkernel installkernel reboot mergemaster -p installworld mergemaster -F rebuild your ports reboot From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:15:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C61E51065781 for ; Wed, 2 Mar 2011 16:15:34 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9DA8FC12 for ; Wed, 2 Mar 2011 16:15:34 +0000 (UTC) Received: by iwn33 with SMTP id 33so98895iwn.13 for ; Wed, 02 Mar 2011 08:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=AhGm9OkDyl6zz31Fy59Ecv57wCessMpJy0iX2Uu1+fI=; b=jDs33LprnxYK5jdL4a2j9M/dUjnzOa6WKOrf5u8s0iK8i+ZpqOnsKrA5XhxukPICXU Hfar0MbsRoONZP/GcRb3fICP5DU8CTR0W8QrQpFRXrqr42M2fIW/L4rzPhe1K17JL+C0 YADno5KhygrOIF7L+90IgIrz4IEwnbE5ScyHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xpsmw7TdP+skKftpSueqOKgCZOIm3qI0kCHkUEpGItfm6kMwnJ65bi+Tjn2Ym24iWb WXFsaq5avwe1K4nhTlLcvhB4Q3k7qJ3NANd5oHWtPne2Pn+Mr8jq/0nvZ/8KG+9byI5D RVCmSjZnEROUyTS1C2b+xjSOEKyrCZF9SVaUE= MIME-Version: 1.0 Received: by 10.231.11.2 with SMTP id r2mr26893ibr.174.1299082533928; Wed, 02 Mar 2011 08:15:33 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 08:15:33 -0800 (PST) In-Reply-To: <4D6E6B16.7010508@my.gd> References: <4D6E6B16.7010508@my.gd> Date: Wed, 2 Mar 2011 08:15:33 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:15:34 -0000 Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? 2.) How do I rebuild the ports? Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:20:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3F031065689 for ; Wed, 2 Mar 2011 16:20:37 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24B748FC15 for ; Wed, 2 Mar 2011 16:20:36 +0000 (UTC) Received: by bwz12 with SMTP id 12so318915bwz.13 for ; Wed, 02 Mar 2011 08:20:36 -0800 (PST) Received: by 10.204.62.132 with SMTP id x4mr219767bkh.30.1299082835868; Wed, 02 Mar 2011 08:20:35 -0800 (PST) Received: from dfleuriot.technique-admin.paris.hi-media-techno.com ([83.167.62.196]) by mx.google.com with ESMTPS id d17sm77965bkd.13.2011.03.02.08.20.34 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 08:20:35 -0800 (PST) Message-ID: <4D6E6E51.8030708@my.gd> Date: Wed, 02 Mar 2011 17:20:33 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D6E6B16.7010508@my.gd> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:20:37 -0000 On 3/2/11 5:15 PM, Ed Flecko wrote: > Thanks Damien. > > :-) > > Two questions - > > 1.) If rebooting into single user mode isn't obviously a > requirement...I wonder why so many tutorials, books, etc. tell you to > do this? > Rebooting single user ensures that most daemons aren't launched, as well as stuff related to networking and so on. It's safer but not mandatory per se. I've done 7.4-PRE to 8.0-REL upgrades just fine without the single user step, AND the machine came back alive ;) > 2.) How do I rebuild the ports? > Either you rebuild them by hand, one after another... Or you install a port that will do this for you, like /usr/ports/ports-mgt/portmanager/ portmanager -u -l et voila From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 16:24:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ECA9106564A for ; Wed, 2 Mar 2011 16:24:46 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 01B898FC13 for ; Wed, 2 Mar 2011 16:24:45 +0000 (UTC) Received: by wwe15 with SMTP id 15so5904789wwe.1 for ; Wed, 02 Mar 2011 08:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=sV9DDUoDoJpwwK63uje+jOL7fgKNBKE8erfre6m6JIA=; b=n/ldPIKRNjYu2FO0fH+ABBD2vkUAi5zAAsENk79FkjTmwKiT9PyykOkvSmBqqlET9Q vv1LL4o2hwRtzcVyPMn8QHStAY/V/Z8rNpERB7GYZ+WSnaY8Ecj110DDwlI9T4ACxS2j yzoTudXDkOeiPlwE9nn6JmN/GZiY1iY+JzWe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jk2Mknh51zQMKeCiipGTtavKIl7RA1KAirzGQKiXItiuctIqbCV9/KF9zlWFE8Q5+b paDqTHbVmuqiONaLtRnXYtacv7AuYMZPaazSo9mGLhlnwu0P2DLQTiDpAU66GWF40jHa 43lq1s+RQ3qF+xHimJSRTVqAFqQ71jaiHoHmQ= MIME-Version: 1.0 Received: by 10.227.54.19 with SMTP id o19mr7639214wbg.112.1299083084952; Wed, 02 Mar 2011 08:24:44 -0800 (PST) Received: by 10.227.137.203 with HTTP; Wed, 2 Mar 2011 08:24:44 -0800 (PST) In-Reply-To: References: <4D6E6B16.7010508@my.gd> Date: Wed, 2 Mar 2011 08:24:44 -0800 Message-ID: From: Nerius Landys To: Ed Flecko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 16:24:46 -0000 > Two questions - > > 1.) If rebooting into single user mode isn't obviously a > requirement...I wonder why so many tutorials, books, etc. tell you to > do this? Dropping into single user mode is highly recommended especially if you're upgrading from, say, 8.1 to 8.2 (a minor version upgrade). If you're upgrading for example from 8.1-p3 to 8.1-p4 ("patch" upgrade), then what i normally do is, instead of the single user mode, I shut down all processes that are safe to shut down and still allow me to log in remotely. For example, I'd leave sshd running, but shut down all processes controlled by scripts in /usr/local/etc/rc.d/, and I'd shut down things like ntpd, maybe even syslog and cron. For you to get console access to a server where you want to go into single user mode, a data center normally gives you KVM access, which allows you to use a browser plugin to access your server's console. A KVM switch is an apparatus that connects to the VGA port and the PS/2 keyboard port, and one accesses its functionality over the internet. Another way to do this, but is quite rare, is to log in via serial console. This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow make it possible to log in via serial console. That is that part that is quite rare. - Nerius From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 17:18:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9ED3106564A for ; Wed, 2 Mar 2011 17:18:01 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id BE48E8FC18 for ; Wed, 2 Mar 2011 17:18:00 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta04.emeryville.ca.mail.comcast.net with comcast id EGql1g00C1vN32cA4HJ0d7; Wed, 02 Mar 2011 17:18:00 +0000 Received: from comcast.net ([98.203.142.76]) by omta22.emeryville.ca.mail.comcast.net with comcast id EHHm1g00a1f6R9u8iHHvkP; Wed, 02 Mar 2011 17:17:59 +0000 Received: by comcast.net (sSMTP sendmail emulation); Wed, 02 Mar 2011 09:17:45 -0800 Date: Wed, 2 Mar 2011 09:17:45 -0800 From: Charlie Kester To: freebsd-questions@freebsd.org Message-ID: <20110302171745.GC14087@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D6E76B9.2020402@bah.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4D6E76B9.2020402@bah.homeip.net> User-Agent: Mutt/1.4.2.3i X-Mailer: Mutt 1.4.2.3i X-Composer: Vim 7.3 Subject: Re: Build error nasm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 17:18:01 -0000 On Wed 02 Mar 2011 at 08:56:25 PST Bernt Hansson wrote: >Hello list > >Trying to build nasm-2.09.04,1 > >Bails out at > >cc -c -O2 -pipe -fno-strict-aliasing -W -Wall -std=c99 -pedantic >-DHAVE_CONFIG_H -I. -I. -o regdis.o regdis.c >cc -o ndisasm ndisasm.o disasm.o sync.o nasmlib.o ver.o insnsd.o >insnsb.o insnsn.o regs.o regdis.o >nroff -man nasm.1 > nasm.man >troff: fatal error: can't find macro file tty-char >gmake: *** [nasm.man] Fel 1 >*** Error code 1 > >and if I try man man > ># man man >Formatting page, please wait...troff: fatal error: can't find macro file >tty-char >Failed. >troff: fatal error: can't find macro file tty-char > >Don't really know what to do. I think the file it's looking for is /usr/share/tmac/tty-char.tmac. Do you have that on your system and are read permissions set? From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 17:51:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52631065674 for ; Wed, 2 Mar 2011 17:51:03 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5C78FC0A for ; Wed, 2 Mar 2011 17:51:03 +0000 (UTC) Received: by iwn33 with SMTP id 33so201522iwn.13 for ; Wed, 02 Mar 2011 09:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xKejVrwnR6oWYE3JJK0vmf3xXgBEGgtqbEFW5XNtmVw=; b=tsQpJGOlqwyHIKTmrYwa4tAKTFfMhwNjp89+FKHR2XZDLTmk6oIC1idjM/B7HQ7WwV vkSGYalJUFRSbVD/F0yd48f9BFleha86xL0zkujrO7Ke9BtpH8Y8NFNeYsKl4M/q+OFX aaGUA4GpuOlGSUrMxpKmcGa7a892zyiuRVDb0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CYyqaicdAMrf4S7pSlEnbTxRpmDpwWv+INMnzHDQmCH148zN01MUYMDPN1bieQu9xh oh1UheSJM1E+sCqtc4SZnnu6WJkxgtQ4cvj7g0FCUeCTafI+ot4bi9gsZiSfBx6BOtVW S6gUR3DgHy9/MfkHPD71CFQqi570yETmnMxhU= MIME-Version: 1.0 Received: by 10.42.88.20 with SMTP id a20mr375270icm.351.1299088262781; Wed, 02 Mar 2011 09:51:02 -0800 (PST) Received: by 10.231.38.2 with HTTP; Wed, 2 Mar 2011 09:51:02 -0800 (PST) In-Reply-To: <201103021445.34918.eliaschr@cha.forthnet.gr> References: <201103021445.34918.eliaschr@cha.forthnet.gr> Date: Wed, 2 Mar 2011 09:51:02 -0800 Message-ID: From: Patrick Gibson To: Elias Chrysocheris Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS root mount 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: Wed, 02 Mar 2011 17:51:03 -0000 Thank you! Google Translate has helped some, and I will give that all a try this morning. Patrick On Wed, Mar 2, 2011 at 4:45 AM, Elias Chrysocheris wrote: > On Wednesday 02 of March 2011 00:22:28 Patrick Gibson wrote: >> I'm installing 8.2 on a server using the instructions for ZFS root >> filesystem (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot), and when I >> reboot after installing, it says: >> >> Root mount waiting for: usbus4 >> >> followed by: >> >> ROOT MOUNT ERROR >> >> When I did the initial install, I booted using a CD, and then from the >> 8.2 livefs on a USB stick. I'm not sure where it's getting usbus4 from >> when it boots from the hard disk. >> >> I can't figure out where to reset this. Any pointers? >> >> Patrick >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > I think that the file zpool.cache is missing or it contains pool data coming > from the USB stick you used. I wrote an article for this, but unfortunatelly > is in Greek... The article is here: > http://www.freebsdworld.gr/node/38#zpool_cache > Besides the problem that you will not understand what I write (:)) you can > follow the commands. You will probably understand what's happening there. Just > skip the part that I cange the names of the gpt partitions (the one that I > have a bunch of "gpart modify" commands) > > I hope it will be usefull to you > > Regards > Elias > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 17:51:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7B3E1065675 for ; Wed, 2 Mar 2011 17:51:55 +0000 (UTC) (envelope-from mubeeshalivm@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 61E1D8FC2C for ; Wed, 2 Mar 2011 17:51:54 +0000 (UTC) Received: by bwz12 with SMTP id 12so417763bwz.13 for ; Wed, 02 Mar 2011 09:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5KUfGsfzvVbQ8V2wUMYpXQncNZK9Hz80+AY9xUyxfWo=; b=gzhlujdI1MLLC6OLiI0p9j+UbH9a9KtkiY8ttPXht1xKw2NBUtds7tC9DxsXNw4du5 4JF58dfowGVKNlNNyLLJvtD5CxUCskqjwDnis6PPPmGquo0yXNwenK1TEmybV5Wy8MCo k/640PLRupL0Roe0tQU1yQPAlEjPeMk0JY8eM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xaGVuxTV0hfQqYQgQJn2yHr74XbhYGWrtpMKw8yQAkicbQ/1hnPQbXeKaHRgGT69bM FG8cseKr2kV+DkPdqsReTKziYLZruLhOlsG4fEFIBMUE8XYAv+UjkBEUJrl2Tf3MuLEW P5drQjmuHWzg7FF5wiQeoPoqQs+LBqOgtmFqo= MIME-Version: 1.0 Received: by 10.204.118.138 with SMTP id v10mr317026bkq.94.1299088314127; Wed, 02 Mar 2011 09:51:54 -0800 (PST) Received: by 10.204.62.83 with HTTP; Wed, 2 Mar 2011 09:51:54 -0800 (PST) In-Reply-To: <4D6E5E52.10200@speakeasy.net> References: <4D6E5E52.10200@speakeasy.net> Date: Wed, 2 Mar 2011 23:21:54 +0530 Message-ID: From: Mubeesh ali To: "Jason C. Wells" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: how to read a live changing capture file with a tcpdump or wireshark like with tail for a file. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 17:51:55 -0000 thanks Jason. netcat seems suited for this. I will check this out. Best Regards, Mubeesh On Wed, Mar 2, 2011 at 8:42 PM, Jason C. Wells wrote: > On 03/01/11 08:07, Mubeesh ali wrote: >> >> Hi , >> >> >> We do wifi troubleshooting and are planning to use kismet for wireless >> captures. It produces a file that will be written into every 300 >> secs(configurable value ,we use 30 secs). =A0While comparing with a >> expensive windows sniffer like Omnipeek =A0 the only disadvantage of >> this free tool is we have to continoulsly do tcpdump -r >> =A0as the file changes. same with wireshark we need to >> hit the refresh button. >> >> Is there something equivalent to 'tail' for changing files =A0for >> reading pcap files ? Appreciate any suggestions. >> > netcat? > --=20 Best=A0 Regards, Mubeesh Ali.V.M From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 17:56:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C812D106566B for ; Wed, 2 Mar 2011 17:56:27 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF3B8FC17 for ; Wed, 2 Mar 2011 17:56:27 +0000 (UTC) Received: by iyj12 with SMTP id 12so195643iyj.13 for ; Wed, 02 Mar 2011 09:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=s8Vnoxuv2TP4glUzDBJZAhp8THX0yq6UGgRqzFbAcKA=; b=YvZcbKrcWwR33nAPTBpGukM6a77ZC78Os4nCwjWPSzW/46xO9yDe9OpbcDwSajFpjz qbnIVgCvSB96fMx+hLIyJMXyMXSSer1t/Kda8T/98mSo9vsHMzRSEDC37MQA0OD3umnS Cws1wv15EM5uL0NqXBYYkqA5+1enwo/8qh3D8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jYF7Zzw1Bf3gDrYNhlg184rKDw6OnlI3KBbtFLBDYQF3s3AlTkJj1ew5/MHA5QVlBr R2fqMtddNTO2RDuKwJYVHRVQLNt5AMPz+ijlztzspLWv9CjmmE1k69cnqbX+kVvgprvQ IYxD0CjiYfu+rkCFpkf2TCPIatx2QY/ldqs1U= MIME-Version: 1.0 Received: by 10.42.223.198 with SMTP id il6mr223581icb.284.1299088586776; Wed, 02 Mar 2011 09:56:26 -0800 (PST) Received: by 10.231.38.2 with HTTP; Wed, 2 Mar 2011 09:56:26 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Mar 2011 09:56:26 -0800 Message-ID: From: Patrick Gibson To: Ed Flecko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 17:56:27 -0000 If you're using a fairly recent version of FreeBSD, why not just use the built-in freebsd-update? freebsd-update upgrade -r 8.2-RELEASE freebsd-update install reboot freebsd-update install Patrick On Wed, Mar 2, 2011 at 8:03 AM, Ed Flecko wrote: > Hi folks, > If I understand the process of upgrading FreeeBSD correctly, after running: > > make buildworld > > make buildkernel > > make installkernel > > I then need to reboot into single user mode (which can only be done if > I'm physically standing at the machine, right?), and then finally: > > adjkerntz -i > > mount -a -t ufs > > mergemaster -p > > cd /usr/src > > make installworld > > mergemaster > > and then one final reboot. > > Is there a way to finish the upgrade process without actually being in > front of the server??? > > Thank you, > Ed > _______________________________________________ > 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 Mar 2 17:57:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 048EA106566C for ; Wed, 2 Mar 2011 17:57:15 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C45668FC0C for ; Wed, 2 Mar 2011 17:57:14 +0000 (UTC) Received: by iwn33 with SMTP id 33so207911iwn.13 for ; Wed, 02 Mar 2011 09:57:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=HKhD0Fxqgd2LEtard8KlNZ7RDOm/Q5+s2vLGeU2Tcco=; b=UCGGdfEMpownCvt5uttbeiqAPa1QJXhdgeBE2P1K3ooL2tuu6Kt3UUzhyuv2mpX93l vwVHZH3qHaI2Oru6Z+SphzgxfDWz4NUEkxBN3O9yllc+YNxiEIrLFE8AQMAqsPwELPXC HYKGBKxRVSb1dcon39qeYzwEJEMLTra5S2qBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sNeVxdo3hDQznUoikWGNjj5lOmfkegxez+xLUpRY/5vwR/UmrM1zAntTd+6TmSB7ra u6Brm6oQ2q8ks7P7z2EUYp2A88KYkB9BUmXB+14xeD620pO1ZHjUsex8UonJ1/qtWS6O hyTNr20btjUBZgdhv/kw1HD6JpBoP86WkkUjw= MIME-Version: 1.0 Received: by 10.42.157.194 with SMTP id e2mr233934icx.256.1299088634253; Wed, 02 Mar 2011 09:57:14 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 09:57:14 -0800 (PST) Date: Wed, 2 Mar 2011 09:57:14 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: portmaster -afv -no-confirm --clean-distfiles-all command - too much automation??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 17:57:15 -0000 Hi folks, I'm looking at using portmaster to rebuild my ports collection and I'm wondering if using the command: portmaster -afv --no-confirm --clean-distfiles-all (-a - check all ports, update as necessary, -f - always rebuild ports, -v - verbose output, --no-confirm - do not ask the user to confirm the list of ports to be installed and/or updated before proceeding, --clean-distfiles-all - recurse through the installed ports to get a list of distinfo files, then recurse through all files in /usr/ports/distfiles to make sure that they are still associated with an installed port, delete all files without prompting) Do you think that's a little too much automation, or do you think that would be pretty safe to run without screwing things up? :-) Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:00:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D0C8106567C for ; Wed, 2 Mar 2011 18:00:29 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C6EBE8FC1B for ; Wed, 2 Mar 2011 18:00:28 +0000 (UTC) Received: by iyj12 with SMTP id 12so199864iyj.13 for ; Wed, 02 Mar 2011 10:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=7pakyj6Y13eSkM9ftTEF8koU01b2FFgdEErs0LzTcrU=; b=mkQdvS6G0OyGiPo8rz5z/Ngt82AoBfvVr065awXS08RTFMNgIY6qx6yMrMur80hIal hiCXfZ2QxR/UKqSHI0pJY7Y0KHuxaLru89LyI/Xvvo2Nb/tX8QPpCEfu9ItlLwJYznZR VG1RatCxiD7+2FMYEWNtht8q5Q79ZZcQmyBic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Uv6Xx3Ue4Bo7clQb/mG0gET+segLIDDEysEsedqPvoW/tZDQ+9L9mrDO0b6dwO4IhL r5RK+SzT+7TjPb47RHII7Dmkfo/8QdSAxdeVek3fHP5UXWqfuYtSVE9eqnn9ij4Q65Wv +BpdopxJ5VCZk62QCg+T31idKkt1td0ZCeDwI= MIME-Version: 1.0 Received: by 10.231.11.2 with SMTP id r2mr110405ibr.174.1299088828057; Wed, 02 Mar 2011 10:00:28 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 10:00:28 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Mar 2011 10:00:28 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:00:29 -0000 Patrick, It's my understanding that if you have a custom kernel, you can't use the "binary update" method. Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:01:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA76F106564A for ; Wed, 2 Mar 2011 18:01:56 +0000 (UTC) (envelope-from jgimer@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBF58FC15 for ; Wed, 2 Mar 2011 18:01:55 +0000 (UTC) Received: by fxm19 with SMTP id 19so293140fxm.13 for ; Wed, 02 Mar 2011 10:01:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nrDGH3Dv8AVRDZELgUWCGN1mShe3K9O0KXDPBuFzYA4=; b=mVqi4pyZulhqRtcWA3MFWGPl1GpIxKt7IZhl2TTDI/WBiNJySQi2pbMkD2FpEsJHIS IMHOl0AQ3KMsFIqxN0rUkNIbwhC+CmwiYOj8VKQENc8tdsKKZvrA9BWq+ksKGpGoleSG GbSS2LV42QWAHd4BhFj3klb6m7wxVYVDdX9Fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jHu3bzMmraxMpdDb8x2N+UhLtDlCj4SKEQJKnQpPZtoe6/5YukVqCyeuRAak5oTrVy pCakFGh38aCgT3+SJVHYfqYOpDE4Mus19WapnRl/6W/0s5VUzUFDpWuT+bJzlZB5qwta d6zMDf8AtSPaDPC2XY3uZKRKvGvKM1rXOjpVk= MIME-Version: 1.0 Received: by 10.223.74.15 with SMTP id s15mr172470faj.28.1299085986940; Wed, 02 Mar 2011 09:13:06 -0800 (PST) Received: by 10.223.117.198 with HTTP; Wed, 2 Mar 2011 09:13:06 -0800 (PST) In-Reply-To: <4D6E76B9.2020402@bah.homeip.net> References: <4D6E76B9.2020402@bah.homeip.net> Date: Wed, 2 Mar 2011 10:13:06 -0700 Message-ID: From: Joshua Gimer To: Bernt Hansson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Build error nasm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:01:56 -0000 See the links below, see where the macro files that the second link mentions are at and then try setting your GROFF_TMAC_PATH environmental variable as the first link suggests. http://lists.freebsd.org/pipermail/freebsd-current/2003-May/002827.html http://freebsd.monkey.org/freebsd-questions/200311/msg01114.html On Wed, Mar 2, 2011 at 9:56 AM, Bernt Hansson wrote: > Hello list > > Trying to build nasm-2.09.04,1 > > Bails out at > > cc -c -O2 -pipe -fno-strict-aliasing -W -Wall -std=3Dc99 -pedantic > -DHAVE_CONFIG_H -I. -I. -o regdis.o regdis.c > cc =A0-o ndisasm ndisasm.o disasm.o sync.o nasmlib.o ver.o insnsd.o insns= b.o > insnsn.o regs.o regdis.o > nroff -man nasm.1 > nasm.man > troff: fatal error: can't find macro file tty-char > gmake: *** [nasm.man] Fel 1 > *** Error code 1 > > and if I try man man > > # man man > Formatting page, please wait...troff: fatal error: can't find macro file > tty-char > Failed. > troff: fatal error: can't find macro file tty-char > > Don't really know what to do. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:07:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A44F106566B for ; Wed, 2 Mar 2011 18:07:39 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id D6FE18FC0C for ; Wed, 2 Mar 2011 18:07:38 +0000 (UTC) Received: (qmail 23439 invoked from network); 2 Mar 2011 18:07:38 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2011 18:07:38 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6F22B50829; Wed, 2 Mar 2011 13:07:36 -0500 (EST) From: Lowell Gilbert To: freebsd-questions@freebsd.org References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> Date: Wed, 02 Mar 2011 13:07:36 -0500 In-Reply-To: <4D6E6E51.8030708@my.gd> (Damien Fleuriot's message of "Wed, 02 Mar 2011 17:20:33 +0100") Message-ID: <4439n5bdlj.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:07:39 -0000 Damien Fleuriot writes: > On 3/2/11 5:15 PM, Ed Flecko wrote: >> Thanks Damien. >> >> :-) >> >> Two questions - >> >> 1.) If rebooting into single user mode isn't obviously a >> requirement...I wonder why so many tutorials, books, etc. tell you to >> do this? >> > > Rebooting single user ensures that most daemons aren't launched, as well > as stuff related to networking and so on. > > It's safer but not mandatory per se. > > I've done 7.4-PRE to 8.0-REL upgrades just fine without the single user > step, AND the machine came back alive ;) I do this all the time too, but if the new kernel doesn't boot, you end up in more trouble than needing an extra reboot. The reboot part is definitely important -- you can reboot into multiuser mode and do the installworld that way, but if you have the new utilities and have to drop back to an old kernel, you may have to reinstall the base system. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:08:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27585106564A for ; Wed, 2 Mar 2011 18:08:58 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B14258FC13 for ; Wed, 2 Mar 2011 18:08:57 +0000 (UTC) Received: by bwz12 with SMTP id 12so435375bwz.13 for ; Wed, 02 Mar 2011 10:08:56 -0800 (PST) Received: by 10.204.16.134 with SMTP id o6mr319437bka.133.1299089336437; Wed, 02 Mar 2011 10:08:56 -0800 (PST) Received: from dfleuriot.technique-admin.paris.hi-media-techno.com ([83.167.62.196]) by mx.google.com with ESMTPS id z18sm152393bkf.20.2011.03.02.10.08.55 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 10:08:55 -0800 (PST) Message-ID: <4D6E87B6.5080606@my.gd> Date: Wed, 02 Mar 2011 19:08:54 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:08:58 -0000 On 3/2/11 6:56 PM, Patrick Gibson wrote: > If you're using a fairly recent version of FreeBSD, why not just use > the built-in freebsd-update? > > freebsd-update upgrade -r 8.2-RELEASE > freebsd-update install > reboot > freebsd-update install > > Patrick > freebsd-update works only with GENERIC kernels, so if you're using say for example carp interfaces for redundancy, you're stuffed ;) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:18:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA974106574A for ; Wed, 2 Mar 2011 18:18:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9B01F8FC21 for ; Wed, 2 Mar 2011 18:18:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p22IIm1A061315; Wed, 2 Mar 2011 11:18:48 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p22IImX0061312; Wed, 2 Mar 2011 11:18:48 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 2 Mar 2011 11:18:48 -0700 (MST) From: Warren Block To: Damien Fleuriot In-Reply-To: <4D6E6B16.7010508@my.gd> Message-ID: References: <4D6E6B16.7010508@my.gd> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Wed, 02 Mar 2011 11:18:48 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:18:49 -0000 On Wed, 2 Mar 2011, Damien Fleuriot wrote: > Dropping to single user is not strictly necessary, in fact I never do. > > buildworld > buildkernel > installkernel > reboot > mergemaster -p > installworld > mergemaster -F > rebuild your ports > reboot Some of these steps are best practices. If you're lucky and don't have a major change in sources, some can be eliminated or simplified. 'mergemaster -p' I never use, nor the boot to single-user and manually mount filesystems. buildkernel and installkernel can be combined with the "kernel" target. The reboot after an installkernel is optional but needed to test the new kernel before doing an installworld. 'mergemaster -Ui' is what I use after installworld. Rebuilding ports is only necessary when you're changing major versions (FreeBSD 7->8). Summing all that up, it's possible to update in one session, with only one reboot. Whether that's a good idea at any given time depends on a bunch of things. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 18:21:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA5651065673 for ; Wed, 2 Mar 2011 18:21:41 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E47E8FC0C for ; Wed, 2 Mar 2011 18:21:40 +0000 (UTC) Received: by bwz12 with SMTP id 12so447896bwz.13 for ; Wed, 02 Mar 2011 10:21:40 -0800 (PST) Received: by 10.204.156.21 with SMTP id u21mr338757bkw.136.1299090100083; Wed, 02 Mar 2011 10:21:40 -0800 (PST) Received: from dfleuriot.technique-admin.paris.hi-media-techno.com ([83.167.62.196]) by mx.google.com with ESMTPS id f20sm167346bkf.4.2011.03.02.10.21.38 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 10:21:39 -0800 (PST) Message-ID: <4D6E8AB1.3050706@my.gd> Date: Wed, 02 Mar 2011 19:21:37 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> <4439n5bdlj.fsf@be-well.ilk.org> In-Reply-To: <4439n5bdlj.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 18:21:41 -0000 On 3/2/11 7:07 PM, Lowell Gilbert wrote: > Damien Fleuriot writes: > >> On 3/2/11 5:15 PM, Ed Flecko wrote: >>> Thanks Damien. >>> >>> :-) >>> >>> Two questions - >>> >>> 1.) If rebooting into single user mode isn't obviously a >>> requirement...I wonder why so many tutorials, books, etc. tell you to >>> do this? >>> >> >> Rebooting single user ensures that most daemons aren't launched, as well >> as stuff related to networking and so on. >> >> It's safer but not mandatory per se. >> >> I've done 7.4-PRE to 8.0-REL upgrades just fine without the single user >> step, AND the machine came back alive ;) > > I do this all the time too, but if the new kernel doesn't boot, you > end up in more trouble than needing an extra reboot. The reboot part is > definitely important -- you can reboot into multiuser mode and do the > installworld that way, but if you have the new utilities and have to > drop back to an old kernel, you may have to reinstall the base system. > No you don't. after you make installkernel cd /boot mv kernel test mv kernel.old kernel nextboot -k test reboot ... all goes well ... cd /boot mv kernel kernel.old mv test kernel reboot Bless nextboot :) From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 19:40:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6D51065672 for ; Wed, 2 Mar 2011 19:40:59 +0000 (UTC) (envelope-from bsd@silviosiefke.de) Received: from mail.silviosiefke.de (mail.silviosiefke.de [78.47.240.30]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3E08FC1C for ; Wed, 2 Mar 2011 19:40:58 +0000 (UTC) Received: from [192.168.0.20] (dslb-188-101-225-069.pools.arcor-ip.net [188.101.225.69]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.silviosiefke.de (Postfix) with ESMTPSA id B1D8C95CE0 for ; Wed, 2 Mar 2011 20:40:57 +0100 (CET) Message-ID: <4D6E9D4C.3010403@silviosiefke.de> Date: Wed, 02 Mar 2011 20:41:00 +0100 From: Silvio Siefke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd References: <4D6D4764.1060207@silviosiefke.de> In-Reply-To: <4D6D4764.1060207@silviosiefke.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 19:40:59 -0000 Hello, i want say its running now perfect. I has search in internet and found the follow Howto, and now it run. http://blog.myprod.net/2010/08/14/apache2-suexec-fastcgi-php-5-3-3-fpm-cache-opcode-apc/ Regards Silvio From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 19:51:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4FC11065674 for ; Wed, 2 Mar 2011 19:51:11 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6608FC15 for ; Wed, 2 Mar 2011 19:51:11 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 93591E71AE; Wed, 2 Mar 2011 19:51:10 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=PQMFHq6cZOXA qfyr7ich73wtvDs=; b=YPqfyP8ka+q4TAgLcDte2ISQNKHqJV+il5mBHEE6pGu0 DIj1+Qy9X6PCGzfIn5KQLV1j4i1tbtMaWScl9TKPdiqhjHVduhFXYot1eQhLQAK+ /1hrqi1mul6LAuvdGGzTn90nwlxobGjX+9dQQhy1z4Kf3SoycUASXbUqV+55owI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=QPICwY AlBEXhiIvXVuS68W+WJQAkt9j8xG6+FxyznrOyG2DVz6i8S+duxR26dDbjxZCG8v hxAzMwwrIcI2zBNqKEKChwUCYC1wCr0z57WmaEhwNAXjbf5QyD1SYW6+9lMP5O7x aamra+uR414Z3HqGMNR4CVnP5BedC/XZfZCgg= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 2FFBEE71AD; Wed, 2 Mar 2011 19:51:10 +0000 (GMT) Date: Wed, 2 Mar 2011 19:50:36 +0000 From: Bruce Cran To: Ed Flecko Message-ID: <20110302195036.00007658@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: portmaster -afv -no-confirm --clean-distfiles-all command - too much automation??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 19:51:11 -0000 On Wed, 2 Mar 2011 09:57:14 -0800 Ed Flecko wrote: > Do you think that's a little too much automation, or do you think that > would be pretty safe to run without screwing things up? I think portmaster's documentation explicitly advises against using -af to rebuild all ports. See the man page for details. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 20:26:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CD4D106564A for ; Wed, 2 Mar 2011 20:26:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 554648FC13 for ; Wed, 2 Mar 2011 20:26:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PusdK-0000Ek-C7 for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 21:26:54 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 21:26:54 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 21:26:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 02 Mar 2011 15:29:28 -0500 Lines: 15 Message-ID: References: <4D6D4764.1060207@silviosiefke.de> <4D6E9D4C.3010403@silviosiefke.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Apache FastCGI display Website not correct X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 20:26:56 -0000 Silvio Siefke wrote: > Hello, > > > i want say its running now perfect. I has search in internet and found > the follow Howto, and now it run. > > http://blog.myprod.net/2010/08/14/apache2-suexec-fastcgi-php-5-3-3-fpm- cache-opcode-apc/ That is excellent. I had also forgoten all about the suexec aspect too. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 20:30:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DDC7106564A for ; Wed, 2 Mar 2011 20:30:01 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E31D88FC1D for ; Wed, 2 Mar 2011 20:30:00 +0000 (UTC) Received: by iwn33 with SMTP id 33so366962iwn.13 for ; Wed, 02 Mar 2011 12:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=eZeTKxQnI94B3XbEl1eXEKZNOr60qaaroYj0H9U6P2Q=; b=Y4XOKmJZ3GsR/WUeoiDYT3sNKnUYDQNP5evLL/czVW5wqsGc0bZJPzjDSfzqki/xdM +h5EumZ0Syw1fvw7oUANTgzDRq3XN0TqyhednbA2vpU7h9L2yvllp978eEgzOhLJAybd Cao1okuxHRYyP7KeG7bxnGADet1F8S3WNV7rM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BTO+xl12Z6c9UKEqiLycsyBiD1Zbb2g4SzTRlA/1z8hie+9R9E7UQ24TwRM0F49JTs HNKxPulkiGBPLLA5Jdh+6sp7Bl5I8YPWXJA2se4h2pBn5bGh3stfdP5wn0YLtDfmqYJK oCd/P2YPFGrH1nmjzC1Oqfv08+tqsR8eoLgKE= MIME-Version: 1.0 Received: by 10.231.12.139 with SMTP id x11mr239859ibx.149.1299097799782; Wed, 02 Mar 2011 12:29:59 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 12:29:59 -0800 (PST) In-Reply-To: <20110302195036.00007658@unknown> References: <20110302195036.00007658@unknown> Date: Wed, 2 Mar 2011 12:29:59 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: portmaster -afv -no-confirm --clean-distfiles-all command - too much automation??? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 20:30:01 -0000 Hmmm...I'll check that out Bruce. I saw the command listed on: http://www.freebsd.org/doc/handbook/ports-using.html but it doesn't give any cautions against using it. Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 20:47:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B207106566B for ; Wed, 2 Mar 2011 20:47:51 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp114.dfw.emailsrvr.com (smtp114.dfw.emailsrvr.com [67.192.241.114]) by mx1.freebsd.org (Postfix) with ESMTP id CF1DB8FC16 for ; Wed, 2 Mar 2011 20:47:50 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp21.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 3651D240366 for ; Wed, 2 Mar 2011 15:47:50 -0500 (EST) X-Virus-Scanned: OK Received: by smtp21.relay.dfw1a.emailsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id BA6B6240A69 for ; Wed, 2 Mar 2011 15:47:49 -0500 (EST) Received: by vash.rhavenn.local (Postfix, from userid 4000) id 91782C16; Wed, 2 Mar 2011 11:47:48 -0900 (AKST) Date: Wed, 2 Mar 2011 11:47:48 -0900 From: Henrik Hudson To: freebsd-questions@freebsd.org Message-ID: <20110302204748.GA3416@alucard.int.rhavenn.net> References: <201102272143.p1RLhr0J027801@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 20:47:51 -0000 On Wed, 02 Mar 2011, David wrote: > > On Feb 27, 2011, at 4:43 PM, Robert Bonomi wrote: > > >> From owner-freebsd-questions@freebsd.org Sun Feb 27 14:54:09 2011 > >> From: David > >> Date: Sun, 27 Feb 2011 15:46:03 -0500 > >> To: freebsd-questions@freebsd.org > >> Subject: FreeBSD Performance > >> > >> Hello All: > >> > >> I am curious... does anyone know of a reasonably priced commodity server > >> capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE > >> network interfaces? Any ideas on how hard this would be to do with > >> FreeBSD? > >> > >> I know of a proprietary linux-based system, but looking for open-source > >> FreeBSD based system. I know it's not FreeBSD, but check out a Nexenta (NexentaStor Community Edition). As long as you're willing to spend some money on the hardware you should be able to reach the performance you're looking for. Basically, ZFS raidZ vols with some high-end SSDs setup as memory "caching" disks and then JBOD controllers with 10K rpm SAS drives should get you 12TB without issue. Also, FreeBSD 9 with it's updated ZFS version "should" get you to the same spot assuming you can find a well supported NIC stack, JBOD controller and SSDs and SAS drives you should be fine. However, you're probably talking $10K-$30k of hardware depending on what you want to spend / need. However, that would mean running CURRENT which may or may not be what you want. ZFS with the right JBOD controller and memory caches really does it just as well as a hardware RAID card if not better and it's much more flexible. We've got a 20TB HA setup with Nexenta right now with a high-end DDR3 memory SSD, a raidZ SSD set and sets of 4 disk raidZ 250GB SAS drives on JBOD controllers spread over 2 shelves and we outperform a similar sized NetApp setup by a good margin. > > Thanks for the comments Robert... > > > A lot depends on what you need to do with the data. > > At the moment, I'm just looking to see if anyone has tried anything similar. > I have a detailed set of requirements/results, but wanted to keep things simple initially. > For now, let's just say there are two use cases: > > 1. Record 10 Gbps of data received from 2 10xGE cards onto hard disk array > 2. Playback 10 Gbps of data out over 2 10xGE cards onto network. > > > Do you need just the 'contents' of the network packets -- i.e. are you > > trying to send/recieve a single stream of data -- or do you need > > complete headers, augmented with timestamps, such that you can re- > > construct/replay what was 'seen on the wire'? > > Just contents is fine. > > > Is the box 'dedicated' to receiving (or sending), and does -nothing-else- > > while that operation is in process? or do you need to sample the data in > > real-time as well? > > Dedicated. > > > Another question is _how_long_ you need to handle the 2x10gbit/sec of > > data. a few seconds? a few tens of seconds? minutes? hours? > > One hour (for now). > > > If you need to 'go to disk' in real-time, you're looking at needing > > at least 3-4 gigabyte/sec of bandwith to disk. No commodity drives > > provide that kind of capacity, so you're looking at multiple drives > > 'in parallel' -- the logical equivalent of a 'striped' RAID array. > > Probably 12-16 spindles paralleled. Best handled with _hardware_ > > raid, directly in the disk controller, but I don't know of a commodity > > Yes. > > > controller that supports enough spindles to give that bandwidth. > > This means one is best off doing it in the application softwre itself, > > rather than trusting the O/S to get it right. > > Yes. > > > You're also looking at a _big_ disk array. Around 200 gigs for ONE > > MINUTE of data. Need 'only' an hour? That's merely 12 terabytes. > > Yes :) > > > The O/S is -relatively- unimportant. > > OK. As a recent convert to FreeBSD, I was hoping you would tell me > that the clean architecture and efficient implementation of FreeBSD would solve > all of my problems :) > > > You need _good_ network cards, with good drivers -- preferably ones where > > most of the network stack can be off-loaded onto the card itself. > > Yes. Something like TOE, batched interrupts, etc. > > > You also need good disk controllers, ideally semi-autonomous (like SCSI), > > with fairly large data buffers. > > Yes. > > OK. Thanks for the comments, that is helpful. I would be very interested > to hear if anyone has had experience implementing a system like > this (or close to it). I'm trying to decide whether I should try this myself > or proceed with the current linux-based system. > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 21:37:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE46106564A for ; Wed, 2 Mar 2011 21:37:57 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C1138FC13 for ; Wed, 2 Mar 2011 21:37:57 +0000 (UTC) Received: by eyg7 with SMTP id 7so180245eyg.13 for ; Wed, 02 Mar 2011 13:37:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.17.225 with SMTP id j73mr323099eej.26.1299101876340; Wed, 02 Mar 2011 13:37:56 -0800 (PST) Received: by 10.14.119.1 with HTTP; Wed, 2 Mar 2011 13:37:56 -0800 (PST) X-Originating-IP: [128.95.17.209] In-Reply-To: References: <4D6E6B16.7010508@my.gd> Date: Wed, 2 Mar 2011 13:37:56 -0800 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 21:37:58 -0000 On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys wrote: > Another way to do this, but is quite rare, is to log in via serial > console. =A0This requires you to configure serial logins to your server > (quite easy, but you should test it first) and it requires the data > center to somehow make it possible to log in via serial console. =A0That > is that part that is quite rare. It's become less rare as more and more servers are coming with IPMI devices. Serial-over-LAN can be tough to set up properly, but once set up it works quite well. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 21:50:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B1091065675 for ; Wed, 2 Mar 2011 21:50:20 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 681808FC14 for ; Wed, 2 Mar 2011 21:50:20 +0000 (UTC) Received: by iyj12 with SMTP id 12so434907iyj.13 for ; Wed, 02 Mar 2011 13:50:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=y47LxX8oQ34Ill6Nt2vHdGIcMszUM+W8bjNCQFiN6JY=; b=WEEbJDNh17Hh5KVrsur5UW8UHkP5F89m+dR7z4ykrGDLcqdoZXWV7kUfgcJiMTFts/ ivV1jRUgnJuTPOn+y7Ju0ticK3UxUe611niEGWlzEsLGG9b9KMFHb3kw1KOAbqeRQ1r6 rLksYr9uIdU+XUz9rPUjEOcb9vJVi0Jgopouk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eqV51oDuvMwAyeoCErEyR+I8ZbJa+/RxKyesG4aFqJc5UciIbhCklEM+cysbIS/DP6 kgYz7Co9RNzDKkiQeEGc5inG6hX8I+vyT7Vk5xH9cdebW4RZ+yMN8DVfRY1I/J7S1I7A 8rFuj4glRbESrSex/XZT0dkNJM2B+MxtiUIUY= MIME-Version: 1.0 Received: by 10.231.31.196 with SMTP id z4mr278840ibc.199.1299102619777; Wed, 02 Mar 2011 13:50:19 -0800 (PST) Received: by 10.231.213.169 with HTTP; Wed, 2 Mar 2011 13:50:19 -0800 (PST) Date: Wed, 2 Mar 2011 13:50:19 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 21:50:20 -0000 Hi folks, I confess I'm more familiar with "Windows" and for years I have "Ghosted" PCs as a very fast way to get an entire PC back online in the event of a drive failure. I can easily get a PC back online within the hour using "ghost" (or some drive imaging software). Is there something similar in the FBSD arena?...some form of "backing up" a server so that if a drive fails, upon replacement of the drive(s), the OS can be very quickly recovered from a backup (of some sort), or from an image, etc.? What options are available??? Suggestions??? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 21:56:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D5DE1065672 for ; Wed, 2 Mar 2011 21:56:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E21C48FC17 for ; Wed, 2 Mar 2011 21:56:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx01.qsc.de (Postfix) with ESMTP id 71F1E3CD12; Wed, 2 Mar 2011 22:56:45 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p22LujfL001907; Wed, 2 Mar 2011 22:56:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 2 Mar 2011 22:56:45 +0100 From: Polytropon To: Ed Flecko Message-Id: <20110302225645.9a532763.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 21:56:48 -0000 On Wed, 2 Mar 2011 13:50:19 -0800, Ed Flecko wrote: > Is there something similar in the FBSD arena?...some form of "backing > up" a server so that if a drive fails, upon replacement of the > drive(s), the OS can be very quickly recovered from a backup (of some > sort), or from an image, etc.? > > What options are available??? Suggestions??? Other than mirroring techniques, the standard UNIX tools for dumping and restoring systems partition-wise are the dump and restore programs. There's a section in the handbook about how to use them. Another method is to use dd to make 1:1 copies of disks, which usually works, but is not very "fine". :-) I would go with dump/restore and have a custom-made installer script handy which is executed after booting the system (e. g. from CD, USB or LAN): It slices, partitions and newfses the disks, applies labels if needed, and restores from the .dump files as intended. This is "fast enough" as it is a very safe solution. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:01:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A941065670 for ; Wed, 2 Mar 2011 22:01:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABC98FC08 for ; Wed, 2 Mar 2011 22:01:54 +0000 (UTC) Received: (qmail 15657 invoked from network); 2 Mar 2011 22:01:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2011 22:01:53 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E193E50829; Wed, 2 Mar 2011 17:01:51 -0500 (EST) From: Lowell Gilbert To: freebsd-questions@freebsd.org References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> <4439n5bdlj.fsf@be-well.ilk.org> <4D6E8AB1.3050706@my.gd> Date: Wed, 02 Mar 2011 17:01:51 -0500 In-Reply-To: <4D6E8AB1.3050706@my.gd> (Damien Fleuriot's message of "Wed, 02 Mar 2011 19:21:37 +0100") Message-ID: <44lj0x9o6o.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:01:54 -0000 Damien Fleuriot writes: > On 3/2/11 7:07 PM, Lowell Gilbert wrote: >> I do this all the time too, but if the new kernel doesn't boot, you >> end up in more trouble than needing an extra reboot. The reboot part is >> definitely important -- you can reboot into multiuser mode and do the >> installworld that way, but if you have the new utilities and have to >> drop back to an old kernel, you may have to reinstall the base system. >> > > No you don't. > > > after you make installkernel > > cd /boot > mv kernel test > mv kernel.old kernel > nextboot -k test > reboot > > ... > > all goes well > > ... > > cd /boot > mv kernel kernel.old > mv test kernel > reboot > > > Bless nextboot :) My point was not to do installworld until after the new kernel had been shown to boot. Unless the "make installworld" was supposed to happen before the first "reboot" in that procedure, I think we're in full agreement. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:02:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9992E1065677 for ; Wed, 2 Mar 2011 22:02:40 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp154.iad.emailsrvr.com (smtp154.iad.emailsrvr.com [207.97.245.154]) by mx1.freebsd.org (Postfix) with ESMTP id 755078FC1C for ; Wed, 2 Mar 2011 22:02:40 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp55.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 405242E02F9 for ; Wed, 2 Mar 2011 16:46:10 -0500 (EST) X-Virus-Scanned: OK Received: by smtp55.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 06AFB2E062B for ; Wed, 2 Mar 2011 16:46:09 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Wed, 02 Mar 2011 16:46:06 -0500 From: Tom Worster To: FreeBSD Questions Message-ID: Thread-Topic: libsphinxclient (for the pecl sphinx api) Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: libsphinxclient (for the pecl sphinx api) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:02:40 -0000 does anyone have advice on getting libsphinxclient up an running? the sphinxsearch port seems not to do it and i'm completely failing to build the client from source. tia tom From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:07:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3FD9106564A for ; Wed, 2 Mar 2011 22:07:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 944298FC15 for ; Wed, 2 Mar 2011 22:07:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p22M7Vme062130; Wed, 2 Mar 2011 15:07:31 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p22M7Vu6062127; Wed, 2 Mar 2011 15:07:31 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 2 Mar 2011 15:07:31 -0700 (MST) From: Warren Block To: Ed Flecko In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Wed, 02 Mar 2011 15:07:31 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:07:32 -0000 On Wed, 2 Mar 2011, Ed Flecko wrote: > Hi folks, > I confess I'm more familiar with "Windows" and for years I have > "Ghosted" PCs as a very fast way to get an entire PC back online in > the event of a drive failure. I can easily get a PC back online within > the hour using "ghost" (or some drive imaging software). > > Is there something similar in the FBSD arena?...some form of "backing > up" a server so that if a drive fails, upon replacement of the > drive(s), the OS can be very quickly recovered from a backup (of some > sort), or from an image, etc.? > > What options are available??? Suggestions??? It depends on what filesystem you're using. For UFS, there are two basic ways. Copy at the block level or the filesystem level. The first would be dd(1), the second dump(8)/restore(8). There are third-party backup programs like (beta) versions of Clonezilla (http://www.clonezilla.org) that understand the filesystems and try to copy only used blocks but include MBRs and other information. For speed of an image restore, dd(8) using a zero-filled image might be fastest, and will restore the MBR or GPT and slices and everything. I have a little bit of information about dd and Clonezilla and a lot more about dump in http://www.wonkity.com/~wblock/docs/html/backup.html From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:11:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8BC4106564A for ; Wed, 2 Mar 2011 22:11:11 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 81C578FC1B for ; Wed, 2 Mar 2011 22:11:11 +0000 (UTC) Received: (qmail 16666 invoked from network); 2 Mar 2011 22:11:10 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2011 22:11:10 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1358D5082A; Wed, 2 Mar 2011 17:11:08 -0500 (EST) From: Lowell Gilbert To: Ed Flecko References: Date: Wed, 02 Mar 2011 17:11:08 -0500 In-Reply-To: (Ed Flecko's message of "Wed, 2 Mar 2011 13:50:19 -0800") Message-ID: <44hbbl9nr7.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:11:11 -0000 Ed Flecko writes: > I confess I'm more familiar with "Windows" and for years I have > "Ghosted" PCs as a very fast way to get an entire PC back online in > the event of a drive failure. I can easily get a PC back online within > the hour using "ghost" (or some drive imaging software). > > Is there something similar in the FBSD arena?...some form of "backing > up" a server so that if a drive fails, upon replacement of the > drive(s), the OS can be very quickly recovered from a backup (of some > sort), or from an image, etc.? > > What options are available??? Suggestions??? Lots of options. - The standard backup technique is dump(8)/restore(8). It takes more than an hour for me to get back up from a dead disk, but I think it would be much faster if I didn't encrypt my backups. [Also, size and speed of disks and backup media will matter, of course.] - There are "ghost" style programs that understand BSD filesystems. I don't really see any advantage to these. - mirroring techniques. This would mean that when a disk dies, you already have a copy of it ready to step in. Some forms of RAID will do this for you, there's a GEOM class that will mirror any filesystem on it, or you could run a separate program (e.g., rsync to copy changed files over on a schedule). Other than, possibly, the "ghost" options, you'll find more information on all of these concepts and terms in the FreeBSD Handbook. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:18:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CE4E1065670 for ; Wed, 2 Mar 2011 22:18:36 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id F288A8FC08 for ; Wed, 2 Mar 2011 22:18:35 +0000 (UTC) Received: by wwe15 with SMTP id 15so6309067wwe.1 for ; Wed, 02 Mar 2011 14:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mJPHy//yZZ7pp6tAETLES0OkFg0pXAk7b3W+XzYCL0w=; b=RmFLkLwYzNrwY/IeUvsLrQ/3FCzQNYXXrY4RGoH/PTSd+GSeLsaiYvHaei7VJfSRNu F80cp08ueDSLlOg/yPGfFQZhnzx0+9bAiN9MGa6XdK11xKMTt98ofGowpp5s4kAaTQEg YkB9/nfwM6f0KJ9cy7MvnIf22edX5+VbGZrak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VWYWKTIg988Gz44myTdSMpRMwX7kipeBraobuQ+aXHmPZL9uK1Utp4xXu8g/mYHEYK hBL4xbYt9Awf127vx0oOvDfril8nn+5bBoffA/Y4FhgrBGeN26XnlkoVZgKYWpq8/dr5 qCS0oKmo74/roI7Me2OAm3VfJzisHlzdabXFs= MIME-Version: 1.0 Received: by 10.227.153.158 with SMTP id k30mr247462wbw.62.1299104314790; Wed, 02 Mar 2011 14:18:34 -0800 (PST) Received: by 10.227.30.97 with HTTP; Wed, 2 Mar 2011 14:18:34 -0800 (PST) In-Reply-To: References: <4D6E6B16.7010508@my.gd> Date: Wed, 2 Mar 2011 14:18:34 -0800 Message-ID: From: Nerius Landys To: David Brodbeck Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:18:36 -0000 > On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys wrote: >> Another way to do this, but is quite rare, is to log in via serial >> console. =A0This requires you to configure serial logins to your server >> (quite easy, but you should test it first) and it requires the data >> center to somehow make it possible to log in via serial console. =A0That >> is that part that is quite rare. > > It's become less rare as more and more servers are coming with IPMI > devices. =A0Serial-over-LAN can be tough to set up properly, but once > set up it works quite well. Actually the guy who hosts my servers at m5hosting.com was showing and telling be about some BIOS-over-lan or something like that. I can't remember exactly what the feature was, but certain motherboards (some Supermicro models in particular) let you access "something" over LAN. Maybe that something was BIOS or serial console, or video console, I can't remember. IIRC when you access that stuff over lan it is like a mini HTTP server and sends you some Java applet or something. Pretty neat. From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:21:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31918106566C for ; Wed, 2 Mar 2011 22:21:42 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B8B608FC0C for ; Wed, 2 Mar 2011 22:21:41 +0000 (UTC) Received: by wwb31 with SMTP id 31so670237wwb.31 for ; Wed, 02 Mar 2011 14:21:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7o12Ti2sGrsym4dhpCLeQy/IiTirlN0jJXzbxzO0j0s=; b=EpY2sMVDOg9mPC5E1nMt1Mal/ugqAZWp4S7ls4kzUTlDrCvI1na1ipGWN+qdVa68u9 3Sq3bwqYRKthN6rlD2BEwoIqdYWX1zbMEAxKnxRsx9yja8URwY34lkKxswHad3rQpiJ9 TYMv7D9yIKdE6QUEA02EyryFPhRwHLL1PgVrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=M9mPGXH7pcY57ceXx2Mv7v6zzSQVs/vT80tMi2TqnIjp9omLI1Lb7gRDAFaq/70bgR u3VCZdCk0xmvj3Y3U4N2yvvnOn1HKbS5vt6HpfBXA+ZZElp66e6TiJgNgRejeNWbQaKL UiZ8vEnZ8mDaA0uiOk3kRst1VZZq/suZy8Bxw= MIME-Version: 1.0 Received: by 10.227.53.203 with SMTP id n11mr231397wbg.120.1299104500571; Wed, 02 Mar 2011 14:21:40 -0800 (PST) Received: by 10.227.30.97 with HTTP; Wed, 2 Mar 2011 14:21:40 -0800 (PST) In-Reply-To: <44hbbl9nr7.fsf@be-well.ilk.org> References: <44hbbl9nr7.fsf@be-well.ilk.org> Date: Wed, 2 Mar 2011 14:21:40 -0800 Message-ID: From: Nerius Landys To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Ed Flecko , Lowell Gilbert Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:21:42 -0000 This topic was recently discussed on the FreeBSD Forums, so I'll link it here: http://forums.freebsd.org/showthread.php?t=21993 From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:34:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326211065672 for ; Wed, 2 Mar 2011 22:34:22 +0000 (UTC) (envelope-from prvs=003599b1d5=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id B66E98FC16 for ; Wed, 2 Mar 2011 22:34:21 +0000 (UTC) Received: (qmail 51968 invoked from network); 2 Mar 2011 22:07:39 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 2 Mar 2011 22:07:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:vbr-info; s=6bc9.4d6ebfab.k1103; i=johnl@user.iecc.com; bh=F/h6OgomNI9sHg2STjmeMoAcn5pUhu4a+zaW8fAnin8=; b=T6TYDMgQ6RIMkoSpP4oRK24Bf8JSK8k36tLHpfhs5dINfhqU8uvEAAh2j+yX0i7iRVoZDh0qnUDR5txPifhlIdykZt8WuAABcTo3GKFGiDjZPzuDMhJh9T9YWVRFzR4eSw+2TX+H+kAnL0ppIHXSjOwCbsWYukCkmvwlDQre+jM= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 2 Mar 2011 22:07:39 -0000 Message-ID: <20110302220739.27592.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: edflecko@gmail.com Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:34:22 -0000 >Is there something similar in the FBSD arena?...some form of "backing >up" a server so that if a drive fails, upon replacement of the >drive(s), the OS can be very quickly recovered from a backup (of some >sort), or from an image, etc.? I've found that if you make normal backups using dump to a USB disk and keep an install CD handy, it's pretty quick to boot the CD, partition and format the disk, and then restore. It's not as automated as the Windows approach, but if you know what you're doing it's mostly limited by the speed of the disks. Use dump rather than an image copy so you only restore what's actually in use. R's, John From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:36:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B0D6106566C for ; Wed, 2 Mar 2011 22:36:03 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E04848FC0C for ; Wed, 2 Mar 2011 22:36:02 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p22MZpPB006884 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 2 Mar 2011 22:35:59 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p22MZpPB006884 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1299105359; bh=bk7N6Hnr4mM1SwVxG5jhu8JlA88Zy1mJ9Y6+9lL9xwA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D6EC63E.5000304@infracaninophile.co.uk>|Date:=20W ed,=2002=20Mar=202011=2022:35:42=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.14)=20Gecko/20110221=20Thunderbird/3.1.8|MIME-Version:=201 .0|To:=20Tom=20Worster=20|CC:=20FreeBSD=20Question s=20|Subject:=20Re:=20libsphinxclie nt=20(for=20the=20pecl=20sphinx=20api)|References:=20|In-Reply-To:=20|X- Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"ap plication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig57 EACE9CC4BB35A8D285D932"; b=F6GL7dbAQKaFt/PJhQL7d5yITmRmWa63i3uGvpxiWx0qJUjeygtFFRcA4XwFUMy80 +3JBirLrVAY8vrgd8uNs8DPAhR8WjVFe06i8Kt954SeZiswieOJUe9pAcYULmLPVOR m63VZZM9Q2kS2KHGon2/VlTbJr4ATpycAmrL7WfE= Message-ID: <4D6EC63E.5000304@infracaninophile.co.uk> Date: Wed, 02 Mar 2011 22:35:42 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 MIME-Version: 1.0 To: Tom Worster References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig57EACE9CC4BB35A8D285D932" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: libsphinxclient (for the pecl sphinx api) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:36:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig57EACE9CC4BB35A8D285D932 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/03/2011 21:46, Tom Worster wrote: > does anyone have advice on getting libsphinxclient up an running? >=20 > the sphinxsearch port seems not to do it and i'm completely failing to > build the client from source. Well, as maintainer of sphinxsearch, I'm sorry about that. I did have a quick look at building libsphinxclient from both the 0.9.9 and 1.10-beta sources. You're right. It's pretty broken on FreeBSD. Patches welcome! I'll be happy to add libsphinxclient support somehow -- probably as a separate port, but right now $REALLIFE is keeping me too busy to devote much time to doing ports stuff. Looks like there's been some significant fixes gone into the development version -- the OP might like to try grabbing the latest code from SVN (http://code.google.com/p/sphinxsearch/) and trying that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig57EACE9CC4BB35A8D285D932 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1uxkcACgkQ8Mjk52CukIxKnwCggYu8i4izH7ODtaBksdRGmWQR YasAn2mhfR9AG4NQQHEwj6FewCWYrETb =ZJFH -----END PGP SIGNATURE----- --------------enig57EACE9CC4BB35A8D285D932-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:52:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EE03106566C for ; Wed, 2 Mar 2011 22:52:34 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2AA6B8FC0C for ; Wed, 2 Mar 2011 22:52:33 +0000 (UTC) Received: by bwz12 with SMTP id 12so705901bwz.13 for ; Wed, 02 Mar 2011 14:52:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=EtF2gA17f6t5p822oQGBH7KkFqkncIu/93s/8slejTk=; b=v5bVr+7QTtpk5jeccnQPYUBGFjy7st8QQ+ajuA8j1JFFWYLVfxT7S7jO2AoIjyN9ss cRHY4qGs4wGe2ozdXHr7buwUHupyCDLb0qa9MF043CYjbTTfrpqUQz9gsw9l3r295aus Y+S9wpS1HMw97IDx/RD0HrjPmGaeo+ndEPaUg= 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=gD01yuta7sFTtMh709zwHO8qn3IwwZbtoRpkS+8P+++HHgMzXV8Uegu1DuL2JeI5Mw vbXZZ9QoLaHoU4yjmiitpxaPXQ7ekeYipY6s3Z5OVhxouXmY7OF6r08sWUjqA/Rm1SZS R/6ZYYt4pF5jzXFLQDxoMk7cwRNguMEnBmG/s= Received: by 10.205.34.129 with SMTP id ss1mr378633bkb.33.1299106352329; Wed, 02 Mar 2011 14:52:32 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id q18sm343769bka.3.2011.03.02.14.52.31 (version=SSLv3 cipher=OTHER); Wed, 02 Mar 2011 14:52:31 -0800 (PST) Message-ID: <4D6ECA01.40002@gmail.com> Date: Wed, 02 Mar 2011 23:51:45 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Question about nethack and setgid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:52:34 -0000 Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile. the real binary is here /usr/local/lib/nethack/nethack And the mode is -rwxr-sr-x 1 games games 1793635 25 Jan 2011 /usr/local/lib/nethack/nethack So that means people in games group will run nethack as games user (owner of file) but I'm not in games group ! and I can save the file located in /usr/local/lib/nethack/logfile which mode is -rw-rw-r-- games games I'm writing a game that will store file too, because I can't make it works like nethack I was planning using the setuid mode but I don't like much this .. What am I misunderstanding? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:55:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63D62106564A for ; Wed, 2 Mar 2011 22:55:02 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 35FAB8FC17 for ; Wed, 2 Mar 2011 22:55:02 +0000 (UTC) MIME-version: 1.0 Received: from spool003.mac.com ([10.150.69.53]) by asmtp030.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTP id <0LHG00H1UA7EKIA0@asmtp030.mac.com> for freebsd-questions@freebsd.org; Wed, 02 Mar 2011 13:55:01 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-02_07:2011-03-02, 2011-03-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103020124 Received: from localhost ([10.150.79.233]) by spool003.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LHG00A7WA7HHI50@spool003.mac.com>; Wed, 02 Mar 2011 13:54:54 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103020124 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-02_07:2011-03-02, 2011-03-02, 1970-01-01 signatures=0 To: Ed Flecko From: Peter Giessel Date: Wed, 02 Mar 2011 21:54:53 +0000 (GMT) X-Mailer: MobileMe Mail (1C3224) Message-id: In-reply-to: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:55:02 -0000 On Mar 02, 2011, at 12:50 PM, Ed Flecko wrote: > Hi folks, > I confess I'm more familiar with "Windows" and for years I have > "Ghosted" PCs as a very fast way to get an entire PC back online in > the event of a drive failure. I can easily get a PC back online within > the hour using "ghost" (or some drive imaging software). > > Is there something similar in the FBSD arena?...some form of "backing > up" a server so that if a drive fails, upon replacement of the > drive(s), the OS can be very quickly recovered from a backup (of some > sort), or from an image, etc.? > > What options are available??? Suggestions??? =20 Dump and Restore. See the handbook: =EF=BB=BF = From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:55:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E9A106567E for ; Wed, 2 Mar 2011 22:55:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E67B8FC0A for ; Wed, 2 Mar 2011 22:55:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id p22Mt6qK091323; Wed, 2 Mar 2011 23:55:06 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 99170BA8C; Wed, 2 Mar 2011 23:55:06 +0100 (CET) Date: Wed, 2 Mar 2011 23:55:06 +0100 From: Roland Smith To: Damien Fleuriot Message-ID: <20110302225506.GB75759@slackbox.erewhon.net> References: <4D6E6B16.7010508@my.gd> <4D6E6E51.8030708@my.gd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <4D6E6E51.8030708@my.gd> 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.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 22:55:14 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 02, 2011 at 05:20:33PM +0100, Damien Fleuriot wrote: >=20 > > 2.) How do I rebuild the ports? > >=20 >=20 > Either you rebuild them by hand, one after another... It kind of depends what kind of upgrade you are doing. When upgrading to another minor version (say from 8.1 to 8.2) no port rebuilds are necessary. When upgrading to another major version (e.g. from 7.x to 8.x) rebuilding a= ll ports is usually necessary since there can be incompatible changes in e.g. system calls or libraries. The best way to to this is to make a list of all installed ports (e.g. with 'portmaster -L' or 'ls /var/db/pkg/'), delete all ports and re-install them. This is the only way to be _sure_ that all ports are rebuilt correctly. Using e.g. portmaster, portmanager or portupgr= ade for this can lead to problems later (upgrades failing for obscure reasons). 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) --V0207lvV8h4k8FAm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk1uysoACgkQEnfvsMMhpyXYrgCeOHcEEw7gJ9uQWlx0LF+jSIzI 1xAAnjg0RGfPkRMfP7Ni3AnoIKunkGDE =zphf -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 23:12:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FF2B106566C for ; Wed, 2 Mar 2011 23:12:59 +0000 (UTC) (envelope-from max@mxcrypt.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5B62A8FC16 for ; Wed, 2 Mar 2011 23:12:59 +0000 (UTC) Received: by vxc34 with SMTP id 34so571759vxc.13 for ; Wed, 02 Mar 2011 15:12:58 -0800 (PST) Received: by 10.52.97.233 with SMTP id ed9mr632060vdb.269.1299107578437; Wed, 02 Mar 2011 15:12:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.42.67 with HTTP; Wed, 2 Mar 2011 15:12:28 -0800 (PST) In-Reply-To: References: <4D6E6B16.7010508@my.gd> From: Maxim Khitrov Date: Wed, 2 Mar 2011 18:12:28 -0500 Message-ID: To: Nerius Landys Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 23:12:59 -0000 On Wed, Mar 2, 2011 at 5:18 PM, Nerius Landys wrote: >> On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys wrote: >>> Another way to do this, but is quite rare, is to log in via serial >>> console. =C2=A0This requires you to configure serial logins to your ser= ver >>> (quite easy, but you should test it first) and it requires the data >>> center to somehow make it possible to log in via serial console. =C2=A0= That >>> is that part that is quite rare. >> >> It's become less rare as more and more servers are coming with IPMI >> devices. =C2=A0Serial-over-LAN can be tough to set up properly, but once >> set up it works quite well. > > Actually the guy who hosts my servers at m5hosting.com was showing and > telling be about some BIOS-over-lan or something like that. =C2=A0I can't > remember exactly what the feature was, but certain motherboards (some > Supermicro models in particular) let you access "something" over LAN. > Maybe that something was BIOS or serial console, or video console, I > can't remember. =C2=A0IIRC when you access that stuff over lan it is like= a > mini HTTP server and sends you some Java applet or something. =C2=A0Prett= y > neat. I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0 in FreeBSD) and is powered whenever the power cord is plugged-in. As a result, you have some really useful functionality such as power control (turn the server on/off remotely), access to sensors (MB & CPU temperatures, voltages, chassis intrusion), text console, and KVM console. KVM console is accessed using a Java application that has to be installed on the client. It's pretty much identical to having a physical monitor and keyboard attached, in that you can control the system from the moment that it turns on, including going into BIOS. The only glitch I found so far is that the connection freezes for a few seconds while FreeBSD initializes em0 during boot. After that everything is fine. - Max From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 00:10:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 011981065670 for ; Thu, 3 Mar 2011 00:10:11 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8650F8FC16 for ; Thu, 3 Mar 2011 00:10:10 +0000 (UTC) Received: by wyb32 with SMTP id 32so685371wyb.13 for ; Wed, 02 Mar 2011 16:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mANbucOj8eDeoFeTcorfH8YN/1gH/9+DmX/8Ho8ORsw=; b=fua0n1X36I+9DBVWuJmoLN/yVvMy31v5+JqCKqHopZzKj6mRx8r18vxmXif12ZqV/0 HHsfRz2RYdT88Lo87/EUGVgF78yGKLrjgdzC6F/iQfa4/O81NDNkCUxVFDHDpGWjiViS 6BfZAeYfuPCjVfBNr9iMrp5o/AcoG4159+4r4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fAdhlmfaN0+BLb+bsyifbQI0UIEPZDY5+Xzk1JIcIb2egA9VOJaxfe7F600zhRz06b dyem19U72W3O7EhBBgREzfxUfUnGcB0cu2OWinlKKAefuirBNlyhOrNN3ymSnYzV15oZ iO72ufXdgixdod1++r/K/R50Ja0NrLPJiGMFI= MIME-Version: 1.0 Received: by 10.227.63.130 with SMTP id b2mr303704wbi.149.1299111009295; Wed, 02 Mar 2011 16:10:09 -0800 (PST) Received: by 10.227.30.97 with HTTP; Wed, 2 Mar 2011 16:10:09 -0800 (PST) In-Reply-To: References: <4D6E6B16.7010508@my.gd> Date: Wed, 2 Mar 2011 16:10:09 -0800 Message-ID: From: Nerius Landys To: Maxim Khitrov Content-Type: text/plain; charset=ISO-8859-1 Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 00:10:11 -0000 > I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). > It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI > and KVM-over-IP functionality. The chip gets its own IP address > (separate from em0 in FreeBSD) and is powered whenever the power cord > is plugged-in. > > As a result, you have some really useful functionality such as power > control (turn the server on/off remotely), access to sensors (MB & CPU > temperatures, voltages, chassis intrusion), text console, and KVM > console. > > KVM console is accessed using a Java application that has to be > installed on the client. It's pretty much identical to having a > physical monitor and keyboard attached, in that you can control the > system from the moment that it turns on, including going into BIOS. > The only glitch I found so far is that the connection freezes for a > few seconds while FreeBSD initializes em0 during boot. After that > everything is fine. That's really neat. How do you configure the LAN on that chip? For example, how do you specify the IP address, gateway, netmask, etc? Is this done in the BIOS? So you would normally have at least 2 IPs for the server - one for em0 and one for the special chip? Is this a separate ethernet jack? Also, what about being more vulnerable - I mean, it's an added way of compromising your system, right? Getting in through the KVM-over-IP? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 00:47:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D974106566B for ; Thu, 3 Mar 2011 00:47:06 +0000 (UTC) (envelope-from max@mxcrypt.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E2C608FC08 for ; Thu, 3 Mar 2011 00:47:05 +0000 (UTC) Received: by vxc34 with SMTP id 34so647840vxc.13 for ; Wed, 02 Mar 2011 16:47:05 -0800 (PST) Received: by 10.52.97.233 with SMTP id ed9mr751428vdb.269.1299113225124; Wed, 02 Mar 2011 16:47:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.42.67 with HTTP; Wed, 2 Mar 2011 16:46:35 -0800 (PST) In-Reply-To: References: <4D6E6B16.7010508@my.gd> From: Maxim Khitrov Date: Wed, 2 Mar 2011 19:46:35 -0500 Message-ID: To: Nerius Landys Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: David Brodbeck , freebsd-questions@freebsd.org Subject: Re: Finish upgrading remote server without physically being there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 00:47:06 -0000 On Wed, Mar 2, 2011 at 7:10 PM, Nerius Landys wrote: >> I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). >> It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI >> and KVM-over-IP functionality. The chip gets its own IP address >> (separate from em0 in FreeBSD) and is powered whenever the power cord >> is plugged-in. >> >> As a result, you have some really useful functionality such as power >> control (turn the server on/off remotely), access to sensors (MB & CPU >> temperatures, voltages, chassis intrusion), text console, and KVM >> console. >> >> KVM console is accessed using a Java application that has to be >> installed on the client. It's pretty much identical to having a >> physical monitor and keyboard attached, in that you can control the >> system from the moment that it turns on, including going into BIOS. >> The only glitch I found so far is that the connection freezes for a >> few seconds while FreeBSD initializes em0 during boot. After that >> everything is fine. > > That's really neat. =C2=A0How do you configure the LAN on that chip? =C2= =A0For > example, how do you specify the IP address, gateway, netmask, etc? =C2=A0= Is > this done in the BIOS? =C2=A0So you would normally have at least 2 IPs fo= r > the server - one for em0 and one for the special chip? =C2=A0Is this a > separate ethernet jack? =C2=A0Also, what about being more vulnerable - I > mean, it's an added way of compromising your system, right? =C2=A0Getting > in through the KVM-over-IP? The initial IP configuration is done through the BIOS. After that, you can using the IPMI View application to change the network settings remotely. The physical Ethernet jack is the same as em0, so yes, it has two separate IPs assigned to it, though the OS is only aware of one. There are some other implementations (e.g. Dell's iDRAC 6 enterprise) where the management interface is physically separate. On this Supermicro board, the interface supports VLAN tagging, so you can use that to achieve some separation. Otherwise, you're right about vulnerability. You have username/password authentication and the session is encrypted using aes-cbc-128 cipher. Even with this, I wouldn't feel comfortable exposing this port to the outside world. As it happens, this system will be my new firewall, so em0 will be my lan and em1 is wan. - Max From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 00:54:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B19106564A for ; Thu, 3 Mar 2011 00:54:43 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1168FC17 for ; Thu, 3 Mar 2011 00:54:42 +0000 (UTC) Received: by wwb31 with SMTP id 31so809447wwb.31 for ; Wed, 02 Mar 2011 16:54:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xMOS7uUhFivQkd1cuanPsU/SE5uokV2/x/u3OR2j78E=; b=hr7VmfHQuJW/q1uomk6qSaZT20wijVCtQwJ0nKmA1xVxVzRPKv0no/qESrYXd6X0SD Fg4H9+KyYbbwueEzvjbpUqakYhwC7i1ruAmIhmU4QGq5k0BML/wYvvRB1Az2KopCSRBA Q275eWb5NKGy1XPiYwQCdhC997teqpV+8PluI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=reFzEQOsjs29wP7exhsJ+vn8Ym9Q9D1zea1cdsHyY3+pjrE1Rr+ULKGzNd6pkXl/3W H6kD+b3/v3q/A0yJ1FyWNM1hzTcfFsWsq9JElnQFR0ePberfvQUOqA9iAlNswH1Pb5/s nIurMeLO7C/TX6SMb6byVNwiTZ60F99MhpUh8= MIME-Version: 1.0 Received: by 10.216.39.196 with SMTP id d46mr277553web.114.1299113681465; Wed, 02 Mar 2011 16:54:41 -0800 (PST) Received: by 10.216.25.72 with HTTP; Wed, 2 Mar 2011 16:54:41 -0800 (PST) In-Reply-To: <4D6ECA01.40002@gmail.com> References: <4D6ECA01.40002@gmail.com> Date: Wed, 2 Mar 2011 18:54:41 -0600 Message-ID: From: Brandon Gooch To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Question about nethack and setgid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 00:54:43 -0000 On Wed, Mar 2, 2011 at 4:51 PM, David Demelier w= rote: > Hello, > > I don't understand how nethack can store the score in > /usr/local/lib/nethack/logfile. > > the real binary is here /usr/local/lib/nethack/nethack > > And the mode is > > -rwxr-sr-x =A01 games =A0games =A01793635 25 Jan 2011 > /usr/local/lib/nethack/nethack > > So that means people in games group will run nethack as games user (owner= of > file) but I'm not in games group ! and I can save the file located in > > /usr/local/lib/nethack/logfile which mode is -rw-rw-r-- =A0games =A0games > > I'm writing a game that will store file too, because I can't make it work= s > like nethack I was planning using the setuid mode but I don't like much t= his > .. > > What am I misunderstanding? > > Cheers, > > -- > David Demelier Take a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/permissions.html#= AEN4027 I believe that it will demystify the behavior you're seeing. -Brandon From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 01:41:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1735E106566B for ; Thu, 3 Mar 2011 01:41:50 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id D8FC58FC1A for ; Thu, 3 Mar 2011 01:41:49 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p231n00R054900; Wed, 2 Mar 2011 19:49:00 -0600 (CST) Date: Wed, 2 Mar 2011 19:49:00 -0600 (CST) From: Robert Bonomi Message-Id: <201103030149.p231n00R054900@mail.r-bonomi.com> To: demelier.david@gmail.com, freebsd-questions@freebsd.org In-Reply-To: <4D6ECA01.40002@gmail.com> Cc: Subject: Re: Question about nethack and setgid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 01:41:50 -0000 > Date: Wed, 02 Mar 2011 23:51:45 +0100 > From: David Demelier > To: freebsd-questions@freebsd.org > Subject: Question about nethack and setgid > > Hello, > > I don't understand how nethack can store the score in > /usr/local/lib/nethack/logfile. > > the real binary is here /usr/local/lib/nethack/nethack > > And the mode is > > -rwxr-sr-x 1 games games 1793635 25 Jan 2011 > /usr/local/lib/nethack/nethack > > So that means people in games group will run nethack as games user (owner > of file) Actually, it means that the program will run with the _group_ id of the file -- i.e. the 'games' group. _That_ 's' is the 'sgid' or 'set groupID' bit. > but I'm not in games group ! and I can save the file located in > > /usr/local/lib/nethack/logfile which mode is -rw-rw-r-- games games Lo and behold! The file _is_ writable by the games group. > I'm writing a game that will store file too, because I can't make it > works like nethack I was planning using the setuid mode but I don't like > much this .. > > What am I misunderstanding? the function of the 'setgid' bit. > Cheers, > > -- > David Demelier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions To > unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 02:25:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B6251065672 for ; Thu, 3 Mar 2011 02:25:31 +0000 (UTC) (envelope-from led@ledinside.com) Received: from esmtp.dramx.com (esmtp.sramx.com [218.32.192.82]) by mx1.freebsd.org (Postfix) with ESMTP id 75E1E8FC1D for ; Thu, 3 Mar 2011 02:25:27 +0000 (UTC) Received: from ledinside.com (unknown [192.168.2.14]) by esmtp.dramx.com (Postfix) with ESMTP id DE53F44A7E for ; Thu, 3 Mar 2011 10:21:39 +0800 (CST) Received: from [192.168.2.115] by dramexchange.com (MDaemon PRO v9.6.2) with ESMTP id md50002860467.msg for ; Thu, 03 Mar 2011 10:23:24 +0800 To: freebsd-questions@freebsd.org From: LEDinside.com Date: Thu, 03 Mar 2011 10:23:01 +0800 X-LibVersion: 3.3.2 Message-ID: <20110303022301.19332.257588044.swift@dx-gutuma.dramx.com> X-Spam-Processed: dramx.com, Thu, 03 Mar 2011 10:23:24 +0800 (not processed: spam filter heuristic analysis disabled) X-Return-Path: led@ledinside.com X-Envelope-From: led@ledinside.com X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LEDinside Greater China Events 2011 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "LEDinside.com" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 02:25:31 -0000 A considerable number of new entrants in the LED market, which is now the driving force of innovation in the green industry, are continuously growing in recent years. With the promotion of energy-savings and green energy, many countries began to strongly enforce the restrictions on traditional lighting in the upcoming years. As the LED market becomes more mature, LEDinside believes it is paramount to deliver the real-time LED industry trends and market intelligence to LED industry professionals. In 2011, LEDinside will be holding 4 forums in 3 major cities this year - Shenzhen, Shanghai, and Taipei. These events provide perfect settings for participants to exchange information with industry heavyweights, gain insights, and to explore potential business opportunities. Sponsorship Types Sponsorship package for Green Lighting Shanghai Forum 2011 Sponsorship package for LEDforum Event Series: Silver Platinum Diamond US$ 6,000 US$ 12,000 US$ 18,000 * 5 complementary tickets * One post-forum report * Place company logo on all LEDforum promotional materials * Company introduction and logo on the LEDforum web pages * Permission to deliver giveaways to attendees via DRAMeXchange * Place company promotional logo with our forum handout(s) Includes all Silver Benefits Plus: * One speaking session * 90 seconds display of video advertisement * One company poster (180*150cm) at the conference venue * One full-color advertisement page within the forum handout(s) * One banner (480*60 pixel) on LEDinside weekly Diamond sponsorship receives all benefits of Silver and Platinum sponsorship, plus: * Product demo table * 500 badge lanyards and material packaging with brand logo * Double page-spread ad (equivalent of two A4) within the forum handouts * Recognition as the provider of personal interpretation service and equipments Contact us Taipei Shanghai Shenzhen +886-2-7702-6888 Angus Hsu ext.690 [1]angushsu@trendforce.com Ann Chang ext.665 [2]annchang@trendforce.com Jessie Choi +86-(21)6439-9830 [3]JessieChoi@TrendForce.com Sara Fan +86-755-82838931 [4]sarafan@sz.dramexchange.com [5]About LEDinside LEDinside, a subsidiary of TrendForce, offers research information on LED (light-emitting diode). Moreover, LEDinside also covers the technology development, market trend, and financial information of the LED industry on a global and regional basis. For more about LEDinside, please visit [6]www.ledinside.com [7]About TrendForce TrendForce is a global pro vider of market intelligence, in-depth analysis and consulting services. TrendForce consists of 4 major research divisions - DRAMeXchange, WitsView, LEDinside and EnergyTrend which cover research sectors including DRAM, NAND Flash, PC, LCD display, LED, and green energy. Additional information can be found at [8]www.trendforce.com © 2011 LEDinside, a Business Division of [9]TrendForce Corp. All rights reserved. References Visible links 1. mailto:angushsu@trendforce.com 2. mailto:annchang@trendforce.com 3. mailto:JessieChoi@TrendForce.com 4. mailto:sarafan@sz.dramexchange.com 5. http://www.ledinside.com/ 6. http://www.ledinside.com/ 7. http://www.trendforce.com/ 8. http://www.trendforce.com/ 9. http://www.trendforce.com/ Hidden links: 10. http://seminar.energytrend.com/campaign/2011greenlighting/US/INDEX/ 11. http://seminar.energytrend.com/Campaign/2011greenlighting/US/sponsorshipprogram/ 12. http://seminar.energytrend.com/campaign/2011greenlighting/US/INDEX/ 13. http://www.ledinside.com/ 14. http://www.trendforce.com/ 15. http://www.ledinside.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 06:35:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F721065670 for ; Thu, 3 Mar 2011 06:35:01 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2838FC15 for ; Thu, 3 Mar 2011 06:35:00 +0000 (UTC) Received: (qmail 18379 invoked from network); 3 Mar 2011 06:35:00 -0000 Received: from s3.stradamotorsports.com (HELO w16.stradamotorsports.com) (jcw@[64.81.163.125]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Mar 2011 06:35:00 -0000 Message-ID: <4D6F3694.5040803@speakeasy.net> Date: Wed, 02 Mar 2011 22:35:00 -0800 From: "Jason C. Wells" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110120 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SIL Fonts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 06:35:01 -0000 I was unable to find a port with Charis or Doulos typefaces. Perhaps someone can tell me that these typefaces are part of some meta-port. Which? Thanks, Jason From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 08:55:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 033011065672 for ; Thu, 3 Mar 2011 08:55:51 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7E9588FC08 for ; Thu, 3 Mar 2011 08:55:50 +0000 (UTC) Received: by bwz12 with SMTP id 12so1012748bwz.13 for ; Thu, 03 Mar 2011 00:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gHvcWA/mULw5B86xGqnpUfXp9YrBVKOlF5OXO/3vaRQ=; b=gY9ochULOl8DaLh5d/8VQcTnZ2rZ6t81opOr4T9UMq9VEljVR/A25Dw/yZqFgScfMJ 9s+o3aWKm1xWLNyWZss1OYB7KX8SwoWIxdF1YX5EsMnKr40ma5j+utLX/4EliKpvyx03 pxKrp6eiiipkdty48YCqp+Qbikv1mmggVZt5Y= 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=auqkc9LckRRF71IA+VrB76Au261Zxqvu1Lw1w9IqNMGXhL9JIiHOGg/hQnLH/1oWx3 oJ8fgrFWwlMBFhGWscpKSi3zwkkKX8ddYD4n6h0k/3aQgVOr+og6m4Cg6IEFho39InQd IABNxp3lAbZ9p7dQ/AcCjyg7TXAtoKASO5HwY= Received: by 10.204.35.150 with SMTP id p22mr1115475bkd.83.1299142549260; Thu, 03 Mar 2011 00:55:49 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id x6sm572353bkv.12.2011.03.03.00.55.47 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 00:55:48 -0800 (PST) Message-ID: <4D6F5764.6000109@gmail.com> Date: Thu, 03 Mar 2011 09:55:00 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110302 Thunderbird/3.1.8 MIME-Version: 1.0 To: Robert Bonomi References: <201103030149.p231n00R054900@mail.r-bonomi.com> In-Reply-To: <201103030149.p231n00R054900@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Question about nethack and setgid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 08:55:51 -0000 On 03/03/2011 02:49, Robert Bonomi wrote: >> Date: Wed, 02 Mar 2011 23:51:45 +0100 >> From: David Demelier >> To: freebsd-questions@freebsd.org >> Subject: Question about nethack and setgid >> >> Hello, >> >> I don't understand how nethack can store the score in >> /usr/local/lib/nethack/logfile. >> >> the real binary is here /usr/local/lib/nethack/nethack >> >> And the mode is >> >> -rwxr-sr-x 1 games games 1793635 25 Jan 2011 >> /usr/local/lib/nethack/nethack >> >> So that means people in games group will run nethack as games user (owner >> of file) > > Actually, it means that the program will run with the _group_ id of the > file -- i.e. the 'games' group. _That_ 's' is the 'sgid' or 'set groupID' > bit. > >> but I'm not in games group ! and I can save the file located in >> >> /usr/local/lib/nethack/logfile which mode is -rw-rw-r-- games games > > Lo and behold! The file _is_ writable by the games group. > >> I'm writing a game that will store file too, because I can't make it >> works like nethack I was planning using the setuid mode but I don't like >> much this .. >> >> What am I misunderstanding? > > the function of the 'setgid' bit.> >> Cheers, >> >> -- >> David Demelier >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To >> unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 11:30:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39FF51065673 for ; Thu, 3 Mar 2011 11:30:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id EFA9F8FC19 for ; Thu, 3 Mar 2011 11:30:36 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx02.qsc.de (Postfix) with ESMTP id 2512E1E34F; Thu, 3 Mar 2011 12:30:34 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p23BUYLE001433; Thu, 3 Mar 2011 12:30:34 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 3 Mar 2011 12:30:34 +0100 From: Polytropon To: John Levine Message-Id: <20110303123034.9cd09de4.freebsd@edvax.de> In-Reply-To: <20110302220739.27592.qmail@joyce.lan> References: <20110302220739.27592.qmail@joyce.lan> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 11:30:37 -0000 On 2 Mar 2011 22:07:39 -0000, John Levine wrote: > It's not as automated as the Windows approach, but if you know what > you're doing it's mostly limited by the speed of the disks. Use dump > rather than an image copy so you only restore what's actually in use. Unlike "Windows", UNIX gives you the ability to create a fully programmable automated approach according to your needs, e. g. for multiple installations, defective systems can be booted via LAN, USB or CD, then it can be determined _which_ system it is automatically, and the proper backup sets can be restored. Partitioning tasks (labeling, slicing, partitioning, newfsing and tunefsing, as well as other pre-restore tasks) can also be fully automated, reducing any interaction to zero (which is less than nearly-zero), which means that it's even better automated than "Windows". By the way, you can create similar procedures if you are using ZFS. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 12:02:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B7F1106567A for ; Thu, 3 Mar 2011 12:02:08 +0000 (UTC) (envelope-from larinus@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2CECB8FC1C for ; Thu, 3 Mar 2011 12:02:07 +0000 (UTC) Received: by fxm19 with SMTP id 19so1140096fxm.13 for ; Thu, 03 Mar 2011 04:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=0Ydi4wbKFzWe50eqTgrALN5L7B7/C3IVnpD4K5/3Guw=; b=Xrlt+HR5ReP4t/9tZM0BUtXmmfR1FWox0zZZ86qys+M7XESq669uF7tMHmWKBhSGat oqyzaL/4jikCKdlvaq2UfwSn2xLMOAkcmsvasfkskeOw95nlN/8njOLkTPWdBzHja5Od QxDina3hdeYeFUOry0jiLufpyO9Ts4Hw4vSfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:organization:x-mailer:mime-version :content-type:content-transfer-encoding; b=RXJ0G0pWSOTkkG3U11+DeV+hxehzHZ5l4gDou5DoPpBTRIqzAiAy6FPkVhfq5Q0CJg cTTa/BwpFafkBhSmDfneVZTRDgNNkrdCNc/Nz3nx10lBq5efp958W5thZHils1pts/Vz lA0nUI1XrbNQmqcenEiEkmjYX9dSmHlEj+3/U= Received: by 10.223.96.73 with SMTP id g9mr1355111fan.24.1299151898028; Thu, 03 Mar 2011 03:31:38 -0800 (PST) Received: from (cs-service.by [195.222.65.5]) by mx.google.com with ESMTPS id n7sm503313fam.35.2011.03.03.03.31.35 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 03:31:36 -0800 (PST) Date: Thu, 3 Mar 2011 13:32:49 +0200 From: Vitaly Liaschuk To: freebsd-questions Message-ID: <4d6f7c18.875bdf0a.2007.3630@mx.google.com> Organization: HOME X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: kernel backtrace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 12:02:08 -0000 Hi, list! I have a server with mpd and freeradius. Sometimes this server crashing down. # uname -a FreeBSD billing.com 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Mon Feb 21 10:31:53 EET 2011local@localhost.com:/usr/src/sys/i386/compile/GENERIC i386 # Here is a crash log. Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x28 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08c6960 stack pointer = 0x28:0xc6bbbbbc frame pointer = 0x28:0xc6bbbc18 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi4: clock) trap number = 12 panic: page fault cpuid = 0 Uptime: 4h55m10s Physical memory: 3315 MB Dumping 228 MB: 213 197 181 165 149 133 117 101 85 69 53 37 21 5 I want to see the backtrace, but I can not do that. # kgdb kernel.debug /var/crash/vmcore.4 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"... Cannot access memory at address 0x0 (kgdb) bt #0 0x00000000 in ?? () (kgdb) So, my question is: Why I can not see a backtrace? From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 13:01:55 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BABCA106566B for ; Thu, 3 Mar 2011 13:01:55 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78C4E8FC21 for ; Thu, 3 Mar 2011 13:01:55 +0000 (UTC) Received: by gyh4 with SMTP id 4so447328gyh.13 for ; Thu, 03 Mar 2011 05:01:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=yIdPpxXgjEO7UqEikyaEKxsKsPsNf9URQ7n6Os8FnYA=; b=MbFI5b3V5jlqqkzjZmnR/KSq6WH3je+ISibrwhnc5owko3xIWrnLfwPGHjTrb0iJPZ HLY8UBNZ9s07GxI0tH5UKclykFWbbGp/sZ/ecRFh4k2ajAT3dJnE8JgKlAWoIBG5Ed1R wHb0mtGj2pcmKTk1ajEh/LwLcDUWgZgTVlh/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=iG6Ag9jEADzd5DU2c7/HG0aZ1tcW8AZN9CpcEVb5YsJ8eB8SpBBoC8SBtuwpqr4Ox9 Oe0+PaHL74yAleXfcJOhGKp7qWGR2KZ1VTpDMFu/aGYD+AduJjUjNxtVKEKh6OT1H5+3 tuydJVZi133q5lsC67kA+YaiDpEJOVYh+wM+E= MIME-Version: 1.0 Received: by 10.236.116.71 with SMTP id f47mr1637471yhh.24.1299157314659; Thu, 03 Mar 2011 05:01:54 -0800 (PST) Received: by 10.236.108.44 with HTTP; Thu, 3 Mar 2011 05:01:54 -0800 (PST) Date: Thu, 3 Mar 2011 13:01:54 +0000 Message-ID: From: "b. f." To: "Jason C. Wells" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: SIL Fonts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 13:01:55 -0000 >I was unable to find a port with Charis or Doulos typefaces. Perhaps >someone can tell me that these typefaces are part of some meta-port. Which? Hmm. I don't see any port with them, either, although bundling of them is permitted, under certain circumstances, and I didn't look into the innards of every font port. Of course, you could always get them from SIL and add them manually. And I imagine that they may be accessible via third-party texlive packages. Do you need ports for these fonts? b From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:13:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F01D2106566B for ; Thu, 3 Mar 2011 14:13:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 79D5E8FC15 for ; Thu, 3 Mar 2011 14:13:22 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p23EDDdD020580 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 3 Mar 2011 14:13:19 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p23EDDdD020580 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1299161599; bh=QqpxTohZ3xTDGfwFbM/rQ2jZEXizjRmN7dVpoyMHr/4=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D6FA1F1.4010204@infracaninophile.co.uk>|Date:=20T hu,=2003=20Mar=202011=2014:13:05=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.14)=20Gecko/20110221=20Thunderbird/3.1.8|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20SIL=20Font s|References:=20<4D6F3694.5040803@speakeasy.net>|In-Reply-To:=20<4 D6F3694.5040803@speakeasy.net>|X-Enigmail-Version:=201.1.1|Content -Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protoc ol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"---------- --enigDAE0C049B88636F05B2D647B"; b=rCB1I8J1Q4ulfpy2Z7+2LmLJked1Wpd0rzw9iHKTyo1+eRpCUeJMS/66mL4GhcJG/ mPKNHE4+/hfX11JgLKZcjO1bmp+53xcCwtLnI/uB9u8TDN6d9weAoZWhSL7ua05RBw bsrd7GwvZAW+qloWH/DZjWJ1tdO7fKug/w3OBdJc= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4D6FA1F1.4010204@infracaninophile.co.uk> Date: Thu, 03 Mar 2011 14:13:05 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D6F3694.5040803@speakeasy.net> In-Reply-To: <4D6F3694.5040803@speakeasy.net> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDAE0C049B88636F05B2D647B" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: SIL Fonts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:13:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDAE0C049B88636F05B2D647B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/03/2011 06:35, Jason C. Wells wrote: > I was unable to find a port with Charis or Doulos typefaces. Perhaps > someone can tell me that these typefaces are part of some meta-port.=20 > Which? As far as I know, those fonts haven't been ported yet. Why not try porting them yourself? You can model your work on the gentium port I wrote. The port does little more than unpack the tarball from SIL and copy files into various places. See the Porter's Handbook for details on how it all works: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDAE0C049B88636F05B2D647B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1vofgACgkQ8Mjk52CukIzH8gCfU/lfac/7p/pW9fYopoNWYZAZ 2a4AoImqSxOjhKeh621lEa11Bv9jjZV4 =dKZd -----END PGP SIGNATURE----- --------------enigDAE0C049B88636F05B2D647B-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:27:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FE591065672 for ; Thu, 3 Mar 2011 14:27:14 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 47F278FC17 for ; Thu, 3 Mar 2011 14:27:14 +0000 (UTC) Received: from mr129041.univ-rennes1.fr (mr129041.cri.univ-rennes1.fr [129.20.129.41]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 48C5B63307B for ; Thu, 3 Mar 2011 15:27:13 +0100 (CET) Received: from mr129041.univ-rennes1.fr (localhost [127.0.0.1]) by mr129041.univ-rennes1.fr (Postfix) with ESMTP id 025D5B874 for ; Thu, 3 Mar 2011 15:27:13 +0100 (CET) Date: Thu, 3 Mar 2011 15:27:12 +0100 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Message-ID: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:27:14 -0000 Hello, I've got two ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) in one router/firewall. I use OpenBSD 4.8 on this box. That works fine, but I see some input "Ierr" on the interfaces (using netstat), even when the load is not very high. $ netstat -I em2 -w2 (bandwith = 150 Mbits) em2 in packets errs 43263 0 43458 17 39056 0 46648 124 44783 630 42571 0 45338 0 40932 33 43713 84 40193 193 40491 0 I would like to know if under FreeBSD, you see this kind of Ierr? Thanks, regards. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:38:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3D5106566B for ; Thu, 3 Mar 2011 14:38:41 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id E874E8FC16 for ; Thu, 3 Mar 2011 14:38:40 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:b465:c134:204f:fc84] ([IPv6:2607:f3e0:0:4:b465:c134:204f:fc84]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p23EcaVX029229 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 3 Mar 2011 09:38:37 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4D6FA7EE.3070308@sentex.net> Date: Thu, 03 Mar 2011 09:38:38 -0500 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Patrick Lamaiziere References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> In-Reply-To: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:38:41 -0000 On 3/3/2011 9:27 AM, Patrick Lamaiziere wrote: > Hello, > > I've got two ethernet cards Intel PRO/1000 QP (82571EB) and Intel > PRO/1000 QP (82575GB) in one router/firewall. I use OpenBSD 4.8 on > this box. That works fine, but I see some input "Ierr" on the interfaces > (using netstat), even when the load is not very high. > > $ netstat -I em2 -w2 (bandwith = 150 Mbits) > em2 in > packets errs > 43263 0 > 43458 17 > 39056 0 > 46648 124 > 44783 630 > 42571 0 > 45338 0 > 40932 33 > 43713 84 > 40193 193 > 40491 0 > > I would like to know if under FreeBSD, you see this kind of Ierr? what does sysctl -a dev.em show for the two cards and what version of FreeBSD are you using ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:49:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 703C01065672 for ; Thu, 3 Mar 2011 14:49:43 +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 2A8568FC12 for ; Thu, 3 Mar 2011 14:49:41 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 03 Mar 2011 09:49:42 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.2.3-GA) with ESMTP id AYI49484; Thu, 3 Mar 2011 09:49:40 -0500 Received-SPF: None identity=pra; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 03 Mar 2011 09:49:40 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19823.43636.562011.533740@jerusalem.litteratus.org> Date: Thu, 3 Mar 2011 09:49:24 -0500 To: Patrick Lamaiziere In-Reply-To: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:49:43 -0000 Patrick Lamaiziere writes: > I've got two ethernet cards Intel PRO/1000 QP (82571EB) and Intel > PRO/1000 QP (82575GB) in one router/firewall. I use OpenBSD 4.8 > on this box. That works fine, but I see some input "Ierr" on the > interfaces (using netstat), even when the load is not very high. I have Pro/1000 GT "Dual Port Gigabit Ethernet Controller (82546EB)". huff@>> uptime 9:46AM up 50 days, 22:16, 5 users, load averages: 3.85, 3.56, 3.81 > $ netstat -I em2 -w2 (bandwith = 150 Mbits) huff@>> netstat -in Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll em0 1500 209.6.xx.yy/21 209.6.91.204 49357148 - - 54769770 - - em1 1500 10.0.0.0/8 10.0.0.1 13547336 - - 209590 - - Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:54:12 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB134106564A for ; Thu, 3 Mar 2011 14:54:12 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A6E5B8FC0C for ; Thu, 3 Mar 2011 14:54:12 +0000 (UTC) Received: by ywf9 with SMTP id 9so441425ywf.13 for ; Thu, 03 Mar 2011 06:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=urV/B3uN9iYvxXv8bEZwg50B0+BV0TxXjQWN7AsSLpk=; b=Bvhu5aVYotMV0v1dT2AQ+zA/WQNqBCAUXx0AF2ZCoo4PToaFC9H7kBxFuXdz6OFAvT aaCiqtuebOYgCuEEEgeupLH+Zj36orCd7slcqEzSptbYUNY4Bc/xAoKzFKJhUrHPrDTC 7Mu0dKlCvumCGh2HcMPX7JH0dkRguGO2/wHaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=JCm/b4WTGSp6Tvu1h/6ShIc4PJpq+33UKr06DL5EvD04Od96s6AirErOhFpXzJ+IQ7 w40jVpjcqaHixpJQDCnThh6TtgrUqnVgiMPXf558C7MOhnKFxaLhyOXNsVn3VQmDt4px IBDK0rBbcfB6upbsU4oOMY7RgeWVc5MlwIKCQ= MIME-Version: 1.0 Received: by 10.236.111.15 with SMTP id v15mr1857275yhg.37.1299164051753; Thu, 03 Mar 2011 06:54:11 -0800 (PST) Received: by 10.236.108.44 with HTTP; Thu, 3 Mar 2011 06:54:11 -0800 (PST) In-Reply-To: <4D6FAAEE.7050106@speakeasy.net> References: <4D6FAAEE.7050106@speakeasy.net> Date: Thu, 3 Mar 2011 14:54:11 +0000 Message-ID: From: "b. f." To: "Jason C. Wells" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: SIL Fonts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:54:13 -0000 On 3/3/11, Jason C. Wells wrote: > On 03/03/11 05:01, b. f. wrote: > I don't _need_ ports but I do like to use them because they include > management tools. thanks for the response. Right, then, I will add some ports. b. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 14:57:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C6901065673 for ; Thu, 3 Mar 2011 14:57:10 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id AFE828FC1A for ; Thu, 3 Mar 2011 14:57:09 +0000 (UTC) Received: by wwb31 with SMTP id 31so1509875wwb.31 for ; Thu, 03 Mar 2011 06:57:08 -0800 (PST) Received: by 10.227.134.135 with SMTP id j7mr1059270wbt.12.1299164228163; Thu, 03 Mar 2011 06:57:08 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id u9sm946529wbg.0.2011.03.03.06.57.06 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 06:57:07 -0800 (PST) Message-ID: <4D6FAC41.5070904@my.gd> Date: Thu, 03 Mar 2011 15:57:05 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> In-Reply-To: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:57:10 -0000 On 3/3/11 3:27 PM, Patrick Lamaiziere wrote: > Hello, > > I've got two ethernet cards Intel PRO/1000 QP (82571EB) and Intel > PRO/1000 QP (82575GB) in one router/firewall. I use OpenBSD 4.8 on > this box. That works fine, but I see some input "Ierr" on the interfaces > (using netstat), even when the load is not very high. > > $ netstat -I em2 -w2 (bandwith = 150 Mbits) > em2 in > packets errs > 43263 0 > 43458 17 > 39056 0 > 46648 124 > 44783 630 > 42571 0 > 45338 0 > 40932 33 > 43713 84 > 40193 193 > 40491 0 > > I would like to know if under FreeBSD, you see this kind of Ierr? > > Thanks, regards. igb0@pci0:7:0:0: class=0x020000 card=0x145a8086 chip=0x10d68086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82575GB Gigabit Network Connection' class = network subclass = ethernet bar [10] = type Memory, range 32, base 0xdabc0000, size 131072, enabled bar [14] = type Memory, range 32, base 0xdac00000, size 2097152, enabled bar [18] = type I/O Port, range 32, base 0xdcc0, size 32, enabled bar [1c] = type Memory, range 32, base 0xdabb8000, size 16384, enabled cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message, 64 bit cap 11[60] = MSI-X supports 10 messages in map 0x1c enabled cap 10[a0] = PCI-Express 2 endpoint max data 256(256) link x4(x4) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 001b21ffff12f438 # netstat -I igb1 Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll igb1 1500 00:1b:21:12:f4:39 20782510695 0 0 21019791814 0 0 igb1 1500 192.168.26.0 192.168.26.249 58475410 - - 78206829 - - To give you an idea of what kind of load the box has: State Table Total Rate current entries 33174 searches 83656551544 44334.3/s inserts 7175668168 3802.8/s removals 7175634994 3802.8/s Looks good here From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 15:12:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CEF0106564A for ; Thu, 3 Mar 2011 15:12:02 +0000 (UTC) (envelope-from meta@club.kyutech.ac.jp) Received: from sapphire.club.kyutech.ac.jp (sapphire.club.kyutech.ac.jp [131.206.108.7]) by mx1.freebsd.org (Postfix) with ESMTP id 369568FC16 for ; Thu, 3 Mar 2011 15:12:01 +0000 (UTC) Received: from sapphire.club.kyutech.ac.jp (localhost [127.0.0.1]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 903341144E for ; Thu, 3 Mar 2011 23:53:31 +0900 (JST) X-Virus-Scanned: amavisd-new at club.kyutech.ac.jp Received: from club.kyutech.ac.jp (rose.club.kyutech.ac.jp [131.206.108.6]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTPS id 1E9D51143B; Thu, 3 Mar 2011 23:53:16 +0900 (JST) Date: Thu, 3 Mar 2011 23:53:14 +0900 From: Kouichiro Iwao To: freebsd-questions@freebsd.org Message-ID: <20110303145314.GA54198@club.kyutech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: license of the code in freebsd documantation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 15:12:02 -0000 I'm writing a script based on the code in freebsd docs, and caring about the license of it. The original scripts are example 6 and 7 of the following page. How do I have to treat my code if I distribute it? http://www.freebsd.org/doc/en/articles/ldap-auth/client.html I know freebsd docs is licensed under The FreeBSD Documantation License but don't know about codes in them. -- kiwao From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 15:14:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D206106566B for ; Thu, 3 Mar 2011 15:14:36 +0000 (UTC) (envelope-from prvs=0036d4fa96=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id B805A8FC0C for ; Thu, 3 Mar 2011 15:14:35 +0000 (UTC) Received: (qmail 19660 invoked from network); 3 Mar 2011 14:47:54 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 3 Mar 2011 14:47:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:vbr-info; s=6592.4d6faa1a.k1103; i=johnl@user.iecc.com; bh=FCHlkqw9Dazb01u6fayo3FytvPWiAkQcvqAtlkQztYc=; b=ITNzGSJWHXvlsEvOoIFmeoK26FBM1cdJYLA70e12VEre34EJbtAw9l8hknbNncYGwQ1JWPRFBeTc+kzXuT9hqLjUDZ8bWbgABL7uFI0MxTF5ATaaHfVZGwODekJX1Gc53d6uNicMApRPM47AM/fWC/jYzSjKjlIRsY88KNdRW4Y= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 3 Mar 2011 14:47:54 -0000 Message-ID: <20110303144754.26001.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: <20110303123034.9cd09de4.freebsd@edvax.de> Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: freebsd@edvax.de Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 15:14:36 -0000 >> It's not as automated as the Windows approach, but if you know what >> you're doing it's mostly limited by the speed of the disks. ... >Unlike "Windows", UNIX gives you the ability to create a fully >programmable automated approach according to your needs, e. g. for >multiple installations, defective systems can be booted via LAN, USB >or CD, ... Of course. But the more interesting question is whether anyone's done that, e.g., a script to put dumps and a description of the disk setup on a backup device, and a boot image that will take the description and the dumps and put them back. As far as I know, nobody has. R's, John From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 15:50:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 171F7106564A for ; Thu, 3 Mar 2011 15:50:48 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 80D048FC08 for ; Thu, 3 Mar 2011 15:50:47 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:b465:c134:204f:fc84] ([IPv6:2607:f3e0:0:4:b465:c134:204f:fc84]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p23FoNKM041690 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 3 Mar 2011 10:50:38 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4D6FB8C1.5020605@sentex.net> Date: Thu, 03 Mar 2011 10:50:25 -0500 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Patrick Lamaiziere References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> <4D6FA7EE.3070308@sentex.net> In-Reply-To: <4D6FA7EE.3070308@sentex.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 15:50:48 -0000 On 3/3/2011 9:38 AM, Mike Tancsa wrote: > On 3/3/2011 9:27 AM, Patrick Lamaiziere wrote: >> Hello, >> >> I've got two ethernet cards Intel PRO/1000 QP (82571EB) and Intel >> PRO/1000 QP (82575GB) in one router/firewall. I use OpenBSD 4.8 on >> this box. That works fine, but I see some input "Ierr" on the interfaces >> (using netstat), even when the load is not very high. >> >> $ netstat -I em2 -w2 (bandwith = 150 Mbits) >> em2 in >> packets errs >> 43263 0 >> 43458 17 >> 39056 0 >> 46648 124 >> 44783 630 >> 42571 0 >> 45338 0 >> 40932 33 >> 43713 84 >> 40193 193 >> 40491 0 >> >> I would like to know if under FreeBSD, you see this kind of Ierr? > > what does > sysctl -a dev.em On my RELENG_8 box anywhere from 150-200Mb. Its an i7 920 with HT disabled. I get the odd error when traffic might burst to ~300Mb, or if its a high pps DDoS netstat -I em3 -w2 -b input (em3) output packets errs idrops bytes packets errs bytes colls 56679 0 0 47939889 24152 0 9241389 0 54177 0 0 46428216 21228 0 7658356 0 56423 0 0 47128429 21150 0 7504242 0 56355 0 0 48825932 21268 0 7375570 0 51313 0 0 41167876 21769 0 7745953 0 50287 0 0 40457080 20546 0 7636296 0 53996 0 0 44835477 22446 0 8195803 0 56622 0 0 47612493 22716 0 9101322 0 55103 0 0 43807429 23357 0 9618771 0 51373 0 0 40845281 21921 0 7621992 0 51047 0 0 39974391 21696 0 8036735 0 54348 0 0 43621771 21423 0 8145924 0 57291 0 0 47342937 22954 0 7952060 0 53454 0 0 43216991 21437 0 8131857 0 53968 0 0 43914442 21597 0 8433904 0 55069 0 0 46510336 22778 0 7717062 0 53664 0 0 43481854 24254 0 9693232 0 57467 0 0 45683446 25757 0 9747942 0 54721 0 0 43217577 23125 0 9481772 0 62349 0 0 52526624 23861 0 9862234 0 em3@pci0:3:0:1: class=0x020000 card=0x115e8086 chip=0x105e8086 rev=0x06 hdr=0x00 -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 15:53:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95A32106564A for ; Thu, 3 Mar 2011 15:53:28 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 60D7C8FC1A for ; Thu, 3 Mar 2011 15:53:28 +0000 (UTC) Received: by iwn33 with SMTP id 33so1220405iwn.13 for ; Thu, 03 Mar 2011 07:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=4+8KEEIYHwBcsOS/xlIKgkJ88yWsTxVK53lV+0FRGTY=; b=HLWrtWVmKzEs2G96qlPTf+XW82pbhfeS5ikLOOu9ds+eXpjqfUYOK5CbhVHizrryHl MSXJu12NLoV8Cpl0+g8m9WdlPR8iMwoeLMVEp86Lo5s++W+cGozubZA7VAHgyLRhLbQg OpSEeVnk/iKt6H0FVIs44MztXRB1OX0W9vt4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gDfKHzOmq/ME0LNTCWfc9/2noAfmWe97+ebCrd80wkvIZt0EcOgHdyFefS3tgLIvyh 66VzG07F+0/i3TzkWYmw2SUBTWyZGQzqxLOY/8fxJLI9Yd5f2xSrQqLN4EXJSmnE0t/i zz76qTn23Wrmgq1IDbrqJWQM7g0jVwkm8cAEs= MIME-Version: 1.0 Received: by 10.231.11.2 with SMTP id r2mr1012448ibr.174.1299167607791; Thu, 03 Mar 2011 07:53:27 -0800 (PST) Received: by 10.231.213.169 with HTTP; Thu, 3 Mar 2011 07:53:27 -0800 (PST) Date: Thu, 3 Mar 2011 07:53:27 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Do you have to install Apache to use sarg (and squid) with Webmin? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 15:53:28 -0000 Hi folks, I'm trying to put a simple proxy server together, and I have installed Squid, Sarg and Webmin, all of which are working fine. When I go into webmin to add a sarg module, I don't see it anywhere as an option. Is that because I have to install Apache first? If so, how do I then add the sarg module? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:19:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B61CC106564A for ; Thu, 3 Mar 2011 16:19:49 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp134.iad.emailsrvr.com (smtp134.iad.emailsrvr.com [207.97.245.134]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6388FC0A for ; Thu, 3 Mar 2011 16:19:49 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp33.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id E61F43042D; Thu, 3 Mar 2011 11:19:48 -0500 (EST) X-Virus-Scanned: OK Received: by smtp33.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 0C85930B03; Thu, 3 Mar 2011 11:19:47 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Thu, 03 Mar 2011 11:19:43 -0500 From: Tom Worster To: Matthew Seaman Message-ID: Thread-Topic: libsphinxclient (for the pecl sphinx api) In-Reply-To: <4D6EC63E.5000304@infracaninophile.co.uk> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: FreeBSD Questions Subject: Re: libsphinxclient (for the pecl sphinx api) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 16:19:49 -0000 On 3/2/11 5:35 PM, "Matthew Seaman" wrote: >On 02/03/2011 21:46, Tom Worster wrote: >> does anyone have advice on getting libsphinxclient up an running? >> >> the sphinxsearch port seems not to do it and i'm completely failing to >> build the client from source. > >Well, as maintainer of sphinxsearch, I'm sorry about that. I did have a >quick look at building libsphinxclient from both the 0.9.9 and 1.10-beta >sources. You're right. It's pretty broken on FreeBSD. > >Patches welcome! I'll be happy to add libsphinxclient support somehow >-- probably as a separate port, but right now $REALLIFE is keeping me >too busy to devote much time to doing ports stuff. i wish i could help. but i'm just a user, not a developer, and i find tinkering with make files and the rest is usually a mistake. >Looks like there's been some significant fixes gone into the development >version -- the OP might like to try grabbing the latest code from SVN >(http://code.google.com/p/sphinxsearch/) and trying that. the new stuff looks very interesting but for the production systems i generally use "releases" of whatever it may be on the assumption that a bit more qa goes into those. that's why i'm not even dealing with sphinx 1.10 for now as it's marked as a beta. all the same, thanks for the info. tom From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:28:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB888106564A for ; Thu, 3 Mar 2011 16:28:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4612A8FC18 for ; Thu, 3 Mar 2011 16:28:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PvBOP-0003ba-2J for freebsd-questions@freebsd.org; Thu, 03 Mar 2011 17:28:45 +0100 Received: from static-87-79-237-121.netcologne.de ([87.79.237.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Mar 2011 17:28:45 +0100 Received: from tg by static-87-79-237-121.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Mar 2011 17:28:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Thorsten Glaser Date: Thu, 3 Mar 2011 16:28:27 +0000 (UTC) Lines: 20 Message-ID: References: <20110224234044.0df661c1.freebsd@edvax.de> <20110224225425.GB13490@guilt.hydra> <20110225001301.e4f6d95f.freebsd@edvax.de> <21929_1298589484_4D66E72C_21929_309_1_D9B37353831173459FDAA836D3B43499BD35499F@WADPMBXV0.waddell.com> <20110224232404.GA13838@guilt.hydra> <20110225002644.GA14159@guilt.hydra> <20110225010037.GA25929@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 87.79.237.121 (Opera/9.27 (X11; MirBSD i386; U; en)) Subject: Re: Backtick versus $() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 16:28:46 -0000 Rob Farmer predatorlabs.net> writes: > LOL - how hypocritical. This thread was four days dead then suddenly > two people show up and start pushing this mksh shell, which seems to Sorry for reviving again, but I only show up as I have an “alert†set to mksh to know when it’s being discussed already. Please know that the discussion “style†of that other guy is in no way related to mksh. > be part of some obscure OpenBSD fork. Actually, it’s just developed as part of it. It’s in FreeBSD® ports, you know ☺ but actively used by quite a number of operating systems, such as Android, and included with many others (Debian/*buntu, Fedora, Red Hat Enterprise Linux 6, to name just a few), and available for/on even more. Most recent addition is FreeMiNT on Atari, and I’m expecting LynxOS any time now. As stated last week, I’m not likely to come back to this thread again. Dropping in via GMane only, anyway. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:39:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D09E6106564A for ; Thu, 3 Mar 2011 16:39:43 +0000 (UTC) (envelope-from frank@solensky.org) Received: from qmta08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id 957C78FC1C for ; Thu, 3 Mar 2011 16:39:43 +0000 (UTC) Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36]) by qmta08.westchester.pa.mail.comcast.net with comcast id EgSH1g0080mv7h058gSUkF; Thu, 03 Mar 2011 16:26:28 +0000 Received: from [192.168.30.12] ([66.129.232.2]) by omta11.westchester.pa.mail.comcast.net with comcast id EgSG1g02703ltHu3XgSKhs; Thu, 03 Mar 2011 16:26:25 +0000 From: Frank Solensky Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8C148) Message-Id: <910E776A-D865-4F78-8BE5-E974326636D0@solensky.org> Date: Thu, 3 Mar 2011 11:26:12 -0500 To: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8C148) Subject: Bit order == byte order?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 16:39:43 -0000 In sys/netinet/ip.h, the first octet of the ip header structure tests the by= te ordering to determine the ordering of the header length (ip_hl) and versi= on (ip_v) fields. My question: that always works? While my reading of the language specificat= ion document leaves both the ordering of the bits within a byte and the byte= s within a longer field as implementation choices, the two are independent o= f each other. I haven't run into a CPU where this assumption was proven incorrect. It just= surprised me to see that recently= From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:59:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D801065678 for ; Thu, 3 Mar 2011 16:59:37 +0000 (UTC) (envelope-from jbiquez@intranet.com.mx) Received: from intranet.com.mx (intranet.com.mx [200.33.246.7]) by mx1.freebsd.org (Postfix) with ESMTP id 595288FC1C for ; Thu, 3 Mar 2011 16:59:37 +0000 (UTC) Received: from PC2.intranet.com.mx (189.241.21.209) by intranet.com.mx with ESMTP (EIMS X 3.3.9) for ; Thu, 3 Mar 2011 11:00:11 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 X-Priority: 1 (Highest) Date: Thu, 03 Mar 2011 10:59:59 -0600 To: freebsd-questions@freebsd.org From: Jorge Biquez Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <3382016411-764985335@intranet.com.mx> Subject: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 16:59:37 -0000 Hello all. I am sorry in advance if this question sounds too stupid. I have a small server for personal use of webpages running: 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 it is working fine , no problem very stable. I just need to block some IP class C address that are always trying to "discover" directories or applications under the web server. They do not do and can not do anything since this server has nothing installed but i am tired of seeing in the logs all the intents they do every 2-3 seconds. I have not installed any kind of firewall yet. What do you think is the best way to accomplish this task? If possible the easiest one. I do not want to do anything else but just bloc IP's, at this moment at least. Thanks in advance. Jorge Biquez From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 17:05:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EF291065672 for ; Thu, 3 Mar 2011 17:05:25 +0000 (UTC) (envelope-from mkearney@nvita.org) Received: from squirrelserver.nvita.org (nvita.org [173.10.132.234]) by mx1.freebsd.org (Postfix) with ESMTP id ECDAA8FC1E for ; Thu, 3 Mar 2011 17:05:24 +0000 (UTC) Received: from SQUIRRELSERVER.nvita.org ([192.168.0.3]) by SQUIRRELSERVER.nvita.org ([192.168.0.3]) with mapi; Thu, 3 Mar 2011 12:04:44 -0500 From: "Michael J. Kearney" To: "freebsd-questions@freebsd.org" Date: Thu, 3 Mar 2011 12:04:40 -0500 Thread-Topic: Do you have to install Apache to use sarg (and squid) with Webmin? Thread-Index: AcvZvJXTZ/ukkUx5T5yi4J2syXNj+QACH9X4 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Do you have to install Apache to use sarg (and squid) with Webmin? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:05:25 -0000 No. Apache Mod_proxy is independent of squid, even natd and ipfw; a reverse= proxy? Ed Flecko wrote: Hi folks, I'm trying to put a simple proxy server together, and I have installed Squid, Sarg and Webmin, all of which are working fine. When I go into webmin to add a sarg module, I don't see it anywhere as an option. Is that because I have to install Apache first? If so, how do I then add the sarg module? Thank you, Ed _______________________________________________ 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 Mar 3 17:08:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB8ED1065675 for ; Thu, 3 Mar 2011 17:08:33 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost1.waddell.com (mailhost1.waddell.com [67.130.252.46]) by mx1.freebsd.org (Postfix) with ESMTP id A778B8FC13 for ; Thu, 3 Mar 2011 17:08:33 +0000 (UTC) Received: from emlpfilt2.waddell.com (emlpfilt2.waddell.com [10.1.10.30]) by mailhost1.waddell.com (Postfix) with ESMTP id 1AFEE6139C; Thu, 3 Mar 2011 11:08:33 -0600 (CST) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0D5F92F8003; Thu, 3 Mar 2011 11:08:33 -0600 (CST) Received: from WADPHTCAS0.waddell.com (wadphtcas0.waddell.com [192.168.203.229]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 076FD2F8002; Thu, 3 Mar 2011 11:08:33 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.145]) by WADPHTCAS0.waddell.com ([192.168.203.229]) with mapi; Thu, 3 Mar 2011 11:08:32 -0600 From: Gary Gatten To: "'jbiquez@intranet.com.mx'" , "'freebsd-questions@freebsd.org'" Date: Thu, 3 Mar 2011 11:08:32 -0600 Thread-Topic: Simplest way to deny access to a class C Thread-Index: AcvZxNbYlGT4Q2oVTXaseQDIKR6eDQAAMkpy Message-ID: <24110_1299172113_4D6FCB11_24110_299_1_D9B37353831173459FDAA836D3B43499BD354A31@WADPMBXV0.waddell.com> In-Reply-To: <3382016411-764985335@intranet.com.mx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:08:33 -0000 Adding null routes to the address space in question will prevent comms, but= it won't stop traffic getting to you and then perhaps being logged. Some sort of firewall with a policy that denies them without logging? ----- Original Message ----- From: Jorge Biquez [mailto:jbiquez@intranet.com.mx] Sent: Thursday, March 03, 2011 10:59 AM To: freebsd-questions@freebsd.org Subject: Simplest way to deny access to a class C Hello all. I am sorry in advance if this question sounds too stupid. I have a small server for personal use of webpages running: 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 it is working fine , no problem very stable. I just need to block some IP class C address that are always trying=20 to "discover" directories or applications under the web server. They=20 do not do and can not do anything since this server has nothing=20 installed but i am tired of seeing in the logs all the intents they=20 do every 2-3 seconds. I have not installed any kind of firewall yet. What do you think is the best way to accomplish this task? If=20 possible the easiest one. I do not want to do anything else but just=20 bloc IP's, at this moment at least. Thanks in advance. Jorge Biquez _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 17:13:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C80DD1065680 for ; Thu, 3 Mar 2011 17:13:00 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 650B58FC13 for ; Thu, 3 Mar 2011 17:12:59 +0000 (UTC) Received: by wwb31 with SMTP id 31so1698396wwb.31 for ; Thu, 03 Mar 2011 09:12:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.71.13 with SMTP id q13mr1162929wed.21.1299172378797; Thu, 03 Mar 2011 09:12:58 -0800 (PST) Sender: nvidican@m2.vidican.com Received: by 10.216.93.5 with HTTP; Thu, 3 Mar 2011 09:12:58 -0800 (PST) X-Originating-IP: [136.1.1.105] In-Reply-To: <3382016411-764985335@intranet.com.mx> References: <3382016411-764985335@intranet.com.mx> Date: Thu, 3 Mar 2011 12:12:58 -0500 X-Google-Sender-Auth: 6XZH2zvZrv7QpzBcvL34EzFyih8 Message-ID: From: Nathan Vidican To: Jorge Biquez Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:13:00 -0000 Since you currently have NO firewall, then I would say the simplest method would be to turn one on, and create an open ruleset allowing all traffic, then add a filter rule to just block out what you do not want. However, having said this is the simplest way - it is not the best or even a really good way. Firewall should be inclusive; designed to only allow what you DO want and ignore/drop everything else. Please see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html for a good explanation and overview. Some firewalls can be used as modules with the generic kernel, some will require you to compile a custom kernel - again there are advantages/disadvantages to either approach. Personally I use IPFW for simple stuff, and PF when it gets more complex, but that's just me. On Thu, Mar 3, 2011 at 11:59 AM, Jorge Biquez wrote: > Hello all. > > I am sorry in advance if this question sounds too stupid. > > I have a small server for personal use of webpages running: > > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 > > it is working fine , no problem very stable. > > I just need to block some IP class C address that are always trying to > "discover" directories or applications under the web server. They do not do > and can not do anything since this server has nothing installed but i am > tired of seeing in the logs all the intents they do every 2-3 seconds. > > I have not installed any kind of firewall yet. > What do you think is the best way to accomplish this task? If possible the > easiest one. I do not want to do anything else but just bloc IP's, at this > moment at least. > > Thanks in advance. > > Jorge Biquez > > _______________________________________________ > 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" > -- Nathan Vidican nathan@vidican.com (519) 962-9987 (Canada) (313) 586-1982 (USA) From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 17:13:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BA6E106567A for ; Thu, 3 Mar 2011 17:13:41 +0000 (UTC) (envelope-from mkearney@nvita.org) Received: from squirrelserver.nvita.org (nvita.org [173.10.132.234]) by mx1.freebsd.org (Postfix) with ESMTP id CE7418FC1F for ; Thu, 3 Mar 2011 17:13:39 +0000 (UTC) Received: from SQUIRRELSERVER.nvita.org ([192.168.0.3]) by SQUIRRELSERVER.nvita.org ([192.168.0.3]) with mapi; Thu, 3 Mar 2011 12:23:47 -0500 From: "Michael J. Kearney" To: "freebsd-questions@freebsd.org" Date: Thu, 3 Mar 2011 12:23:46 -0500 Thread-Topic: Simplest way to deny access to a class C Thread-Index: AcvZxjfNZ0H5hbOAT5WHe6GWCVDJpgAAYiVM Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:13:41 -0000 Install a wins server to stop netbios requests and a dhcp server or denying= the dhcp requests won't stop them. Use natd to forward them. Jorge Biquez wrote: Hello all. I am sorry in advance if this question sounds too stupid. I have a small server for personal use of webpages running: 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 it is working fine , no problem very stable. I just need to block some IP class C address that are always trying to "discover" directories or applications under the web server. They do not do and can not do anything since this server has nothing installed but i am tired of seeing in the logs all the intents they do every 2-3 seconds. I have not installed any kind of firewall yet. What do you think is the best way to accomplish this task? If possible the easiest one. I do not want to do anything else but just bloc IP's, at this moment at least. Thanks in advance. Jorge Biquez _______________________________________________ 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 Mar 3 17:23:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 950A8106564A for ; Thu, 3 Mar 2011 17:23:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 56A0A8FC0A for ; Thu, 3 Mar 2011 17:23:11 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p23HN7Ev065869; Thu, 3 Mar 2011 10:23:07 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p23HN7VC065866; Thu, 3 Mar 2011 10:23:07 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 3 Mar 2011 10:23:07 -0700 (MST) From: Warren Block To: John Levine In-Reply-To: <20110303144754.26001.qmail@joyce.lan> Message-ID: References: <20110303144754.26001.qmail@joyce.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Thu, 03 Mar 2011 10:23:08 -0700 (MST) Cc: freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: Fastest way to get an entire FBSD system back online? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:23:11 -0000 On Thu, 3 Mar 2011, John Levine wrote: >>> It's not as automated as the Windows approach, but if you know what >>> you're doing it's mostly limited by the speed of the disks. ... > >> Unlike "Windows", UNIX gives you the ability to create a fully >> programmable automated approach according to your needs, e. g. for >> multiple installations, defective systems can be booted via LAN, USB >> or CD, ... > > Of course. But the more interesting question is whether anyone's done > that, e.g., a script to put dumps and a description of the disk setup > on a backup device, and a boot image that will take the description > and the dumps and put them back. As far as I know, nobody has. Sometimes called "bare-metal restore". The tools are there, but I haven't seen it done with FreeBSD, either. Handling media changes might be a little tricky for, say, a multi-DVD restore. And of course it should have a suitably scary "This will destroy the system you are running!" warning. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 17:30:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66BC7106566B for ; Thu, 3 Mar 2011 17:30:54 +0000 (UTC) (envelope-from 839273@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 148028FC0A for ; Thu, 3 Mar 2011 17:30:53 +0000 (UTC) Received: by yxl31 with SMTP id 31so512181yxl.13 for ; Thu, 03 Mar 2011 09:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ooRgokZMN5z2pXR6MN5BEDKyFa9x0MA77SOZt6/4Y5s=; b=BBELmqgzhdtMaGmCp2PJYPc0mV3eYNuhuHQsO2N07CDsrekn0wKVN9SL0sIPoU8YyK t0WIBlTum3dMj5IQxS6C4/KBLAOz3ZW6U2NoY9e3bmGqvjfb0uYQa8U4kNGNo41wgRxR chrXNLfGjdLEqn6WUfyF4XxFX4ZCYewsNv/MM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Ia/+SL25OhbKIF/uto0hso51KvAmUcORiaqrwnRewzukmUJHec6o+Z57z64fM+ugJT /2VHQ60gk3GhfK2RC05FzSx42EhYQ6PlCqQtoJn8GMX5jnfHnzaP7YE8GZ3ioJ3EZM3D bFBRhtqCp8DRQdAlZAnq8iP6KJGdfhyd53Ge0= MIME-Version: 1.0 Received: by 10.151.9.3 with SMTP id m3mr2179074ybi.32.1299173453256; Thu, 03 Mar 2011 09:30:53 -0800 (PST) Sender: 839273@gmail.com Received: by 10.150.215.21 with HTTP; Thu, 3 Mar 2011 09:30:53 -0800 (PST) In-Reply-To: References: <20110224234044.0df661c1.freebsd@edvax.de> <20110224225425.GB13490@guilt.hydra> <20110225001301.e4f6d95f.freebsd@edvax.de> <21929_1298589484_4D66E72C_21929_309_1_D9B37353831173459FDAA836D3B43499BD35499F@WADPMBXV0.waddell.com> <20110224232404.GA13838@guilt.hydra> <20110225002644.GA14159@guilt.hydra> <20110225010037.GA25929@libertas.local.camdensoftware.com> Date: Thu, 3 Mar 2011 13:00:53 -0430 X-Google-Sender-Auth: 5EVMnVTZTCp7bIcfftkeZm0oFfU Message-ID: From: Andres Perera To: Thorsten Glaser Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Backtick versus $() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 839273@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:30:54 -0000 On Thu, Mar 3, 2011 at 11:58 AM, Thorsten Glaser wrote: > Rob Farmer predatorlabs.net> writes: > >> LOL - how hypocritical. This thread was four days dead then suddenly >> two people show up and start pushing this mksh shell, which seems to > > Sorry for reviving again, but I only show up as I have an =E2=80=9Calert= =E2=80=9D set > to mksh to know when it=E2=80=99s being discussed already. Please know th= at > the discussion =E2=80=9Cstyle=E2=80=9D of that other guy is in no way rel= ated to mksh. > bash is better than mksh >> be part of some obscure OpenBSD fork. > > Actually, it=E2=80=99s just developed as part of it. It=E2=80=99s in Free= BSD=C2=AE ports, > you know =E2=98=BA but actively used by quite a number of operating syste= ms, > such as Android, and included with many others (Debian/*buntu, Fedora, > Red Hat Enterprise Linux 6, to name just a few), and available for/on > even more. Most recent addition is FreeMiNT on Atari, and I=E2=80=99m exp= ecting > LynxOS any time now. > > As stated last week, I=E2=80=99m not likely to come back to this thread a= gain. > Dropping in via GMane only, anyway. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 18:12:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD282106564A for ; Thu, 3 Mar 2011 18:12:52 +0000 (UTC) (envelope-from mkearney@nvita.org) Received: from squirrelserver.nvita.org (nvita.org [173.10.132.234]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA128FC13 for ; Thu, 3 Mar 2011 18:12:52 +0000 (UTC) Received: from SQUIRRELSERVER.nvita.org ([192.168.0.3]) by SQUIRRELSERVER.nvita.org ([192.168.0.3]) with mapi; Thu, 3 Mar 2011 13:22:59 -0500 From: "Michael J. Kearney" To: "freebsd-questions@freebsd.org" Date: Thu, 3 Mar 2011 13:22:57 -0500 Thread-Topic: Simplest way to deny access to a class C Thread-Index: AcvZxjfNZ0H5hbOAT5WHe6GWCVDJpgAAYiVMAAIRNf4= Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 18:12:52 -0000 Ps what log are you reading? Lol "Michael J. Kearney" wrote: Install a wins server to stop netbios requests and a dhcp server or denying= the dhcp requests won't stop them. Use natd to forward them. Jorge Biquez wrote: Hello all. I am sorry in advance if this question sounds too stupid. I have a small server for personal use of webpages running: 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 it is working fine , no problem very stable. I just need to block some IP class C address that are always trying to "discover" directories or applications under the web server. They do not do and can not do anything since this server has nothing installed but i am tired of seeing in the logs all the intents they do every 2-3 seconds. I have not installed any kind of firewall yet. What do you think is the best way to accomplish this task? If possible the easiest one. I do not want to do anything else but just bloc IP's, at this moment at least. Thanks in advance. Jorge Biquez _______________________________________________ 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 Thu Mar 3 18:40:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE7F106566C for ; Thu, 3 Mar 2011 18:40:22 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 13E588FC0C for ; Thu, 3 Mar 2011 18:40:21 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 0F17663307B for ; Thu, 3 Mar 2011 19:40:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 66DD42CEC44 for ; Thu, 3 Mar 2011 19:40:18 +0100 (CET) Date: Thu, 3 Mar 2011 19:40:17 +0100 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Message-ID: <20110303194017.159421e6@davenulle.org> In-Reply-To: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 18:40:22 -0000 Le Thu, 3 Mar 2011 15:27:12 +0100, Patrick Lamaiziere a écrit : > I would like to know if under FreeBSD, you see this kind of Ierr? Thanks to all, I think I should have a try with FreeBSD so. Regards. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 18:48:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 798331065672 for ; Thu, 3 Mar 2011 18:48:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1784E8FC08 for ; Thu, 3 Mar 2011 18:48:08 +0000 (UTC) Received: by wyb32 with SMTP id 32so1573225wyb.13 for ; Thu, 03 Mar 2011 10:48:07 -0800 (PST) Received: by 10.227.195.210 with SMTP id ed18mr1291577wbb.63.1299178087698; Thu, 03 Mar 2011 10:48:07 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id bd8sm1101612wbb.7.2011.03.03.10.48.06 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 10:48:06 -0800 (PST) Message-ID: <4D6FE265.2040705@my.gd> Date: Thu, 03 Mar 2011 19:48:05 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110303152712.286cb86d@mr129041.univ-rennes1.fr> <20110303194017.159421e6@davenulle.org> In-Reply-To: <20110303194017.159421e6@davenulle.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Ethernet cards Intel PRO/1000 QP (82571EB) and Intel PRO/1000 QP (82575GB) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 18:48:09 -0000 On 3/3/11 7:40 PM, Patrick Lamaiziere wrote: > Le Thu, 3 Mar 2011 15:27:12 +0100, > Patrick Lamaiziere a écrit : > >> I would like to know if under FreeBSD, you see this kind of Ierr? > > Thanks to all, I think I should have a try with FreeBSD so. > > 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" Make sure you try under freebsd 8.2 as the igb driver was improved, as pointed out by Jack Vogel from Intel. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 19:02:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E12BA106564A for ; Thu, 3 Mar 2011 19:02:11 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6D65C8FC13 for ; Thu, 3 Mar 2011 19:02:11 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so1525364bwz.13 for ; Thu, 03 Mar 2011 11:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=3o69UEzfbotCd1rQy32JuaM/o6YLAjxObVD7wwGdTJc=; b=J3R7e2ODUN7ZJk3IEvcJI2S8qcgInhlu3G6qOSuhqacXUeLflYc1IGfFlq/D5HpUrx BaTEuptGTR9gh4FBmW7bzi5CibQAHLefKIZVmhZmO0B3BLc83Gm9jEBi2Qp/X70MP62e eLIuPAoHOOy0G943veSqqtRh0W3KZxn8mHABw= 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=T+7apaJSPtRMh0xCsmKLebhfzwp6juLS+Gd8iE732DUs3jnDPKyDrMeKa0plAKxTFf kOzOC7ZOtoPOAdrMtWAGr9TGLtrS5tjrXc5Z5zSfqzf9sf4UXHpYknWZFk+iAiRZ3G+G 88OTzK++KxSW/97Oq/z312I0I3vvcCOnwaMrI= Received: by 10.204.122.198 with SMTP id m6mr1817337bkr.186.1299178930572; Thu, 03 Mar 2011 11:02:10 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id b6sm987646bkb.22.2011.03.03.11.02.08 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 11:02:09 -0800 (PST) Message-ID: <4D6FE581.3080902@gmail.com> Date: Thu, 03 Mar 2011 20:01:21 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110302 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: snd_hda and via codec: no sound or full volume X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 19:02:12 -0000 Hello, A friend has a computer with a HDA VIA codec, he told me when he's trying to increase/decrease vol with mixer nothing happens : in fact only mixer vol 0 or mixer vol 1 change something. The values between 1-100 are the same volume. This is dmesg about snd_hda with verbose mode : http://files.malikania.fr/snd-hda.txt and /dev/sndstat: FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play) What happens? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 17:01:15 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1009106566B for ; Thu, 3 Mar 2011 17:01:15 +0000 (UTC) (envelope-from freebsd-questions@bsdgeeks4u.com) Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by mx1.freebsd.org (Postfix) with SMTP id 6EAB28FC24 for ; Thu, 3 Mar 2011 17:01:15 +0000 (UTC) Received: (qmail 30501 invoked by uid 0); 3 Mar 2011 16:33:14 -0000 Received: from unknown (HELO box287.bluehost.com) (69.89.31.87) by oproxy3.bluehost.com with SMTP; 3 Mar 2011 16:33:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bsdgeeks4u.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=q9NhvZJqZ1Hf/N8MK1tticj5NzjGsBG2XmmpKCFsrZTKWgizhQKUhnm5KmdxtvvX9Ix4hYLbT6FNPdk/tRPS84odPO8gEJTeoHk7nRUz+c9hm6e08+rUsGoHCI55kpOH; Received: from 69.169.154.191.provo.static.broadweavenetworks.net ([69.169.154.191] helo=[192.168.0.3]) by box287.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PvBSi-0007m2-Bz; Thu, 03 Mar 2011 09:33:12 -0700 Message-ID: <4D6FC2BD.9080201@bsdgeeks4u.com> Date: Thu, 03 Mar 2011 09:33:01 -0700 From: John D Jones III User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101230 Lanikai/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110301205319.GA15882@thought.org> <4D6D5F11.3050708@wingfoot.org> <20110301225020.GA17756@thought.org> In-Reply-To: <20110301225020.GA17756@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {858:box287.bluehost.com:dewpoint:bsdgeeks4u.com} {sentby:smtp auth 69.169.154.191 authed with freebsd-questions@bsdgeeks4u.com} X-Mailman-Approved-At: Thu, 03 Mar 2011 19:08:29 +0000 Cc: questions@freebsd.org Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 17:01:15 -0000 On 03/01/2011 03:50 PM, Gary Kline wrote: > On Tue, Mar 01, 2011 at 04:03:13PM -0500, Glenn Sieb wrote: >> On 3/1/11 3:53 PM, Gary Kline wrote: >>> >>> Any clues why I get a one-liner from wordpress that my database >>> extention is missing? I re-installed everything; it is running. >>> The "wordpress" db is there when I check 'show database'. What >>> else? >> >> Check and make sure the MySQL extensions are installed in PHP? >> >> pkg_info | grep php5-mysql >> (if not..) >> cd /usr/ports/databases/php5-mysql&& make install clean >> >> Good luck! >> --Glenn >> > > This was the first thing I [re-] installed. > > > q0 14:47 Server [5001] pkg_info | gr php5-mysql > 470:php5-mysql-5.3.5 The mysql shared extension for php > 471:php5-mysqli-5.3.5 The mysqli shared extension for php > q0 14:47 Server [5002] >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I had a similar problem with PHP after I upgraded it. The location of the php extensions had changed, but my php.ini was still pointing to the old location of the modules. You may want to double check the path and make sure they're both the same. If not, I recommend copying in the new .default php.ini file and make your custom changes there, as there were recently many settings changed/added in the latest PHP version. -- Thanks, John D Jones III freebsd-questions@bsdgeeks4u.com From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 19:11:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD8C6106566B for ; Thu, 3 Mar 2011 19:11:47 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp2.iomartmail.com (asmtp2.iomartmail.com [62.128.201.249]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3EF8FC13 for ; Thu, 3 Mar 2011 19:11:46 +0000 (UTC) Received: from asmtp2.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id p23JBiQF030391; Thu, 3 Mar 2011 19:11:44 GMT Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id p23JBhFf030382; Thu, 3 Mar 2011 19:11:43 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 2CBC333C3D; Thu, 3 Mar 2011 19:11:43 +0000 (GMT) Date: Thu, 3 Mar 2011 19:11:43 +0000 From: Frank Shute To: Jorge Biquez Message-ID: <20110303191143.GA61384@orange.esperance-linux.co.uk> References: <3382016411-764985335@intranet.com.mx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <3382016411-764985335@intranet.com.mx> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-RC2 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C 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: Thu, 03 Mar 2011 19:11:47 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 10:59:59AM -0600, Jorge Biquez wrote: > > Hello all. >=20 > I am sorry in advance if this question sounds too stupid. >=20 > I have a small server for personal use of webpages running: >=20 > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >=20 > it is working fine , no problem very stable. >=20 > I just need to block some IP class C address that are always trying=20 > to "discover" directories or applications under the web server. They=20 > do not do and can not do anything since this server has nothing=20 > installed but i am tired of seeing in the logs all the intents they=20 > do every 2-3 seconds. >=20 > I have not installed any kind of firewall yet. > What do you think is the best way to accomplish this task? If=20 > possible the easiest one. I do not want to do anything else but just=20 > bloc IP's, at this moment at least. >=20 > Thanks in advance. >=20 > Jorge Biquez >=20 I'm assuming you're running Apache, in which case you can block addresses using .htaccess http://www.webmasterworld.com/apache/3118159.htm Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1v5+4ACgkQHduKvUAgeK6/VwCaAyHQAGKQxoixqClEJmsaqqtg zQwAoIp+Bh1DmgalA7mbODby/bNdcSQt =dxPE -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 19:35:31 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DBD106564A for ; Thu, 3 Mar 2011 19:35:31 +0000 (UTC) (envelope-from mkearney@nvita.org) Received: from squirrelserver.nvita.org (nvita.org [173.10.132.234]) by mx1.freebsd.org (Postfix) with ESMTP id D966D8FC1A for ; Thu, 3 Mar 2011 19:35:30 +0000 (UTC) Received: from SQUIRRELSERVER.nvita.org ([192.168.0.3]) by SQUIRRELSERVER.nvita.org ([192.168.0.3]) with mapi; Thu, 3 Mar 2011 14:34:58 -0500 From: "Michael J. Kearney" To: "questions@freebsd.org" Date: Thu, 3 Mar 2011 14:34:56 -0500 Thread-Topic: mysql missing from my home-page WordPress.... Thread-Index: AcvZ2Au/83n97nzSR5SRmYfSKFczhgAAgfaa Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 19:35:31 -0000 Wordpress install ftw I created a new database manually.... Http://www.inverselog.info John D Jones III wrote: On 03/01/2011 03:50 PM, Gary Kline wrote: > On Tue, Mar 01, 2011 at 04:03:13PM -0500, Glenn Sieb wrote: >> On 3/1/11 3:53 PM, Gary Kline wrote: >>> >>> Any clues why I get a one-liner from wordpress that my database >>> extention is missing? I re-installed everything; it is running. >>> The "wordpress" db is there when I check 'show database'. What >>> else? >> >> Check and make sure the MySQL extensions are installed in PHP? >> >> pkg_info | grep php5-mysql >> (if not..) >> cd /usr/ports/databases/php5-mysql&& make install clean >> >> Good luck! >> --Glenn >> > > This was the first thing I [re-] installed. > > > q0 14:47 Server [5001] pkg_info | gr php5-mysql > 470:php5-mysql-5.3.5 The mysql shared extension for php > 471:php5-mysqli-5.3.5 The mysqli shared extension for php > q0 14:47 Server [5002] >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" > I had a similar problem with PHP after I upgraded it. The location of the php extensions had changed, but my php.ini was still pointing to the old location of the modules. You may want to double check the path and make sure they're both the same. If not, I recommend copying in the new .default php.ini file and make your custom changes there, as there were recently many settings changed/added in the latest PHP version. -- Thanks, John D Jones III freebsd-questions@bsdgeeks4u.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 Thu Mar 3 20:22:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E751065670 for ; Thu, 3 Mar 2011 20:22:17 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E95258FC1E for ; Thu, 3 Mar 2011 20:22:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so1601218bwz.13 for ; Thu, 03 Mar 2011 12:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=UYUvFwof6gkzApjySJwDwhEy6bWct2n8NYjrpUS+ims=; b=cvc+oVAtOJrZvioYu+875TtfsvbZ2gEttwx2tiuvT4nBvJC8IXIKXyub3qGDvxOrUm C8H6GZxf8r2lU3OGx8/Vjft64cVbGDgzF8iIOaI7Nla4Sew1PBeUgOg3b4iThQpkoI9C MIlNkFqSrFpk3/vIbxHdZmjhXoATNaLKAoRJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=kgbu/6kNSNIdk25K2OBC+Uig4YyapayzBYn8tMDZGbMQM0C08IaDz4zNPiWRQLAF07 sFQNUf9AyeJ7JZuBW/1S2SkDhkn5jG9i5XZgM4Ljg3eNp2S87N3rmq6vw649dFuerXpg 9q089zKqV+U77h8F93a8hVFSYAs6f6zj2QSE8= Received: by 10.204.116.5 with SMTP id k5mr1844866bkq.73.1299183735663; Thu, 03 Mar 2011 12:22:15 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id 12sm1051283bki.7.2011.03.03.12.22.13 (version=SSLv3 cipher=OTHER); Thu, 03 Mar 2011 12:22:14 -0800 (PST) Message-ID: <4D6FF847.1080607@gmail.com> Date: Thu, 03 Mar 2011 21:21:27 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110302 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Kernel compiling 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: Thu, 03 Mar 2011 20:22:17 -0000 On 25/02/2011 12:21, Redd Vinylene wrote: > Heya! > > Anybody know what's wrong with this? > > ## make buildworld buildkernel KERNCONF=NINJA > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include 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 -fstack-protector -Werror > /usr/src/sys/kern/sysv_msg.c > /usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to > incomplete type 'struct freebsd7_msgctl_args' > /usr/src/sys/kern/sysv_msg.c:163: error: 'freebsd7_msgctl' undeclared here > (not in a function) > /usr/src/sys/kern/sysv_msg.c:1463: error: initializer element is not > constant > /usr/src/sys/kern/sysv_msg.c:1463: error: (near initialization for > 'msgcalls[0]') > cc1: warnings being treated as errors > /usr/src/sys/kern/sysv_msg.c:1507: warning: function declaration isn't a > prototype > /usr/src/sys/kern/sysv_msg.c: In function 'freebsd7_msgctl': > /usr/src/sys/kern/sysv_msg.c:1516: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1516: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1516: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1517: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1517: error: request for member 'buf' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'msqid' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1532: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 2 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1532: warning: passing argument 3 of > 'kern_msgctl' makes integer from pointer without a cast > /usr/src/sys/kern/sysv_msg.c:1535: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1535: error: request for member 'cmd' in > something not a structure or union > /usr/src/sys/kern/sysv_msg.c:1535: warning: comparison between pointer and > integer > /usr/src/sys/kern/sysv_msg.c:1548: error: dereferencing pointer to > incomplete type > /usr/src/sys/kern/sysv_msg.c:1548: error: request for member 'buf' in > something not a structure or union > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/NINJA. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > ## /usr/obj/usr/src/sys/NINJA > > cpu I586_CPU > > ident NINJA > > options SCHED_ULE > > options PREEMPTION > > options FFS > > options SOFTUPDATES > > options UFS_ACL > > options UFS_DIRHASH > > options UFS_GJOURNAL > > options MD_ROOT > > options MSDOSFS > > options CD9660 > > options PROCFS > > options PSEUDOFS > > options COMPAT_43 > > options COMPAT_FREEBSD4 > > options COMPAT_FREEBSD5 > > options COMPAT_FREEBSD6 > > options KTRACE > > options SYSVSHM > > options SYSVMSG > > options SYSVSEM > > options KBD_INSTALL_CDEV > > options _KPOSIX_PRIORITY_SCHEDULING > > device pci > > device sio > > device ata > > device atadisk > > device atapicd > > options ATA_STATIC_ID > > device fdc > > device atkbdc > > device atkbd > > device psm > > device vga > > device splash > > device sc > > device sound > > device ether > > device miibus > > device rl > > device ep > > device loop > > device random > > device tun > > device pty > > device md > > options AUDIT > > options INET > > options INET6 > > device gif > > device faith > > device bpf > > device pf > > device pflog > > device pfsync > > options ALTQ > > options ALTQ_CBQ > > options ALTQ_RED > > options ALTQ_RIO > > options ALTQ_HFSC > > options ALTQ_PRIQ > > ## uname -v > > FreeBSD 7.0-STABLE #0: Thu Jul 24 18:57:08 CEST 2008 > > ## /etc/cvsupfile > > *default host=cvsup.no.FreeBSD.org > > *default base=/var/db > > *default prefix=/usr > > *default release=cvs tag=RELENG_8 > > *default delete use-rel-suffix > > src-all > > doc-all tag=. > > Many 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" I hope you're not running buildworld eachtime you try to compile the kernel :p -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 21:03:18 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCA71065670 for ; Thu, 3 Mar 2011 21:03:18 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C25118FC12 for ; Thu, 3 Mar 2011 21:03:17 +0000 (UTC) Received: by ywf9 with SMTP id 9so591280ywf.13 for ; Thu, 03 Mar 2011 13:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=mRtP0RvoBd3ZGFYZD6YvZI4UFJBk6HHncvPjIVas5dI=; b=Sra6ODqoTuNNVp4s8Laa5H/6HrGBYackb9FFJYs4W4iqthQFcsiV0DX937eurG0M7i vKMT6wjufKipESi7BnDVi3GytPgHUqZ/UXY0fh1+EiahmCsdnbJqnwvB+6fXmKawVbwr eCmzJy+lUj0fcnmLq0/7nd27z/XbfmNAXSa2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=V2H8DgOmGVx2hTJiusuL8GmOkgsV03rp/z2yzqz0T0ciy6Y0ZdBPYGjcoXrCJunkkt F3FDuJQdFg/eIuQ34UhNTVrHB7eD8VKd4e8zeSZdG5AXF93mJ2rKm4POILRYNGG+0UJ5 i5Dl+IyHRkTVF1tCNvgloEvgUeY6VUu2TSI7c= MIME-Version: 1.0 Received: by 10.236.111.15 with SMTP id v15mr2479772yhg.37.1299186196847; Thu, 03 Mar 2011 13:03:16 -0800 (PST) Received: by 10.236.108.44 with HTTP; Thu, 3 Mar 2011 13:03:16 -0800 (PST) Date: Thu, 3 Mar 2011 21:03:16 +0000 Message-ID: From: "b. f." To: Redd Vinylene Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Kernel compiling problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 21:03:18 -0000 >Heya! > >Anybody know what's wrong with this? > >## make buildworld buildkernel KERNCONF=NINJA ... >/usr/src/sys/kern/sysv_msg.c:163: error: invalid application of 'sizeof' to >incomplete type 'struct freebsd7_msgctl_args This error message is suggestive. ;) >options COMPAT_FREEBSD4 > >options COMPAT_FREEBSD5 > >options COMPAT_FREEBSD6 Upgrading from 7.x to 8.x, eh? But I think you forgot to update parts of your kernel config. From src/sys/conf/NOTES: "Note that as a general rule, COMPAT_FREEBSD depends on COMPAT_FREEBSD, COMPAT_FREEBSD, etc." ... up until m-1, where m is the FreeBSD version you are building. So if you have COMPAT_FREEBSD[456], you need COMPAT_FREEBSD7 as well. (When running 7.x, you didn't need it, of course.) b. From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 21:03:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E90BA106564A for ; Thu, 3 Mar 2011 21:03:33 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 79D618FC16 for ; Thu, 3 Mar 2011 21:03:33 +0000 (UTC) Received: from c83-255-51-20.bredband.comhem.se ([83.255.51.20]:27809 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.73) (envelope-from ) id 1PvFTP-00040B-7G for freebsd-questions@freebsd.org; Thu, 03 Mar 2011 21:50:13 +0100 Received: (qmail 29780 invoked from network); 3 Mar 2011 21:50:10 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 3 Mar 2011 21:50:10 +0100 Received: (qmail 47685 invoked by uid 1001); 3 Mar 2011 21:50:10 +0100 Date: Thu, 3 Mar 2011 21:50:10 +0100 From: Erik Trulsson To: Frank Solensky Message-ID: <20110303205010.GA47653@owl.midgard.homeip.net> References: <910E776A-D865-4F78-8BE5-E974326636D0@solensky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <910E776A-D865-4F78-8BE5-E974326636D0@solensky.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 83.255.51.20 X-Scan-Result: No virus found in message 1PvFTP-00040B-7G. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1PvFTP-00040B-7G 1aafc1c9830b4c3582292ab65108945b Cc: freebsd-questions@freebsd.org Subject: Re: Bit order == byte order?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 21:03:34 -0000 On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote: > In sys/netinet/ip.h, the first octet of the ip header structure tests > the byte ordering to determine the ordering of the header length > (ip_hl) and version (ip_v) fields. > > My question: that always works? While my reading of the language > specification document leaves both the ordering of the bits within a > byte and the bytes within a longer field as implementation choices, > the two are independent of each other. > > I haven't run into a CPU where this assumption was proven incorrect. > It just surprised me to see that recently Unless you have a CPU where memory is addressed bit-by-bit rather than byte-by-byte the ordering of bits within a byte is not only completely irrelevant, it is also pretty much impossible to determine programatically. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 22:11:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4C0F106564A for ; Thu, 3 Mar 2011 22:11:20 +0000 (UTC) (envelope-from johnandsara2@cox.net) Received: from eastrmfep01.cox.net (eastrmfep01.cox.net [68.230.240.57]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0AC8FC14 for ; Thu, 3 Mar 2011 22:11:20 +0000 (UTC) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmfepo202.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110303220111.CADJ32466.eastrmfepo202.cox.net@eastrmimpo03.cox.net> for ; Thu, 3 Mar 2011 17:01:11 -0500 Received: from [192.168.3.22] ([70.177.175.218]) by eastrmimpo03.cox.net with bizsmtp id Em1A1g00H4j5s1A02m1AQt; Thu, 03 Mar 2011 17:01:10 -0500 X-VR-Score: -60.00 X-Authority-Analysis: v=1.1 cv=sZ692tWbL3oQGWGsspuLn/T8OGOqcF/eqa0ZzW5P+rg= c=1 sm=1 a=7vvK7YYyvVEA:10 a=Wajolswj7cQA:10 a=8nJEP1OIZ-IA:10 a=X+KhNg43ZadPNnHnGU4Afw==:17 a=FP58Ms26AAAA:8 a=x4Ef0vR84zL4QgRX6g8A:9 a=sbZJa1p6ZkC_tEbZ4jkA:7 a=0GFPSvDune-80H_MxezgbSPJ4QcA:4 a=wPNLvfGTeEIA:10 a=X+KhNg43ZadPNnHnGU4Afw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <4D700FA6.1030806@cox.net> Date: Thu, 03 Mar 2011 17:01:10 -0500 From: "John D. Hendrickson and Sara Darnell" User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: johnandsara2@cox.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 22:11:20 -0000 Hi. I'm a BSD idiot I use [Debian] linux. rc.d question I'm trying to release a project (just below) to the widest possible unix audience. I need a line in "/etc/inittab" and to have a start/stop in "/etc/rc.d", nothing unusual I think. I read many freeBSD rc.d materials and it only convinced me as much as I'd learned: if I'm not running BSD I don't know enough to talk about it :) I'm not sure how a real BSD hacker would place a "simple start stop". Not where or how, not even after reading the docs. Also I'm not sure the project is good enough to warrant further testing / if the casual user might save time / effort with it. Tell me what you think if you have time! Who doesn't want feedback? http://sourceforge.net/projects/xdm-options/ https://sourceforge.net/projects/xdm-options/ (second has httpS) (xdm sample scripts but "complete / round trip". chooser, login, desktop chooser, xdm server: by menu with no hacking required on any unix, saving the casual xdm interested person time in use or setup, is my hope) ... it uses no libs at all If anyone would like to quickly comment I'd love to hear why bsd would be a better choice than ubantu (for what audience it is better). Thanks all, John From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 22:33:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46001106567A for ; Thu, 3 Mar 2011 22:33:44 +0000 (UTC) (envelope-from heidi.wyss@nordultra.com) Received: from mx18.bluewin.ch (mx18.bluewin.ch [195.186.19.35]) by mx1.freebsd.org (Postfix) with ESMTP id D43E18FC1A for ; Thu, 3 Mar 2011 22:33:43 +0000 (UTC) Received: from [195.186.19.83] ([195.186.19.83:37641] helo=tr16.bluewin.ch) by mx18.bluewin.ch (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id 6E/2E-05294-EB3107D4; Thu, 03 Mar 2011 22:18:38 +0000 Received: from feegan.home (62.202.108.134) by tr16.bluewin.ch (The Blue Window 8.5.119.018.5.119.01) (authenticated as thorpen.garman) id 4D41F50B01C621EC for freebsd-questions@freebsd.org; Thu, 3 Mar 2011 22:18:38 +0000 Message-ID: <4D7013BE.8060206@nordultra.com> Date: Thu, 03 Mar 2011 23:18:38 +0100 From: Heidi Wyss User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110228 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: No Handbook in 8.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: Thu, 03 Mar 2011 22:33:44 -0000 There seems to be no FreeBSD handbook in the 8.2 installation, likewise 8.0 and 8.1 (see http://docs.freebsd.org/doc/). Is this a botch or something else? Heidi From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 22:43:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DA37106564A for ; Thu, 3 Mar 2011 22:43:44 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id 1DBC78FC0C for ; Thu, 3 Mar 2011 22:43:43 +0000 (UTC) Received: (qmail 21953 invoked by uid 0); 3 Mar 2011 22:43:43 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 3 Mar 2011 22:43:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=ieI5SuugVmPoBKRoNBUTruVhSZVVdHvhMush2QVZaVYyelXX7ko97X+zq0/IZEGX0LmkgjgYs35kVS7qFYo9wWbKNs9onakxFsAaAF9f3fX2yJxYD2iLUzsj3DrWLg2t; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PvHFG-0002dg-6F for freebsd-questions@freebsd.org; Thu, 03 Mar 2011 15:43:43 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 03 Mar 2011 15:32:38 -0700 Date: Thu, 3 Mar 2011 15:32:38 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20110303223238.GA47498@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D700FA6.1030806@cox.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <4D700FA6.1030806@cox.net> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 22:43:44 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 05:01:10PM -0500, John D. Hendrickson and Sara Darn= ell wrote: >=20 > Hi. I'm a BSD idiot I use [Debian] linux. [snip] >=20 > If anyone would like to quickly comment I'd love to hear why bsd would=20 > be a better choice than ubantu (for what audience it is better). FreeBSD is definitely a better choice for *me* than Debian, or (worse yet) Ubuntu. I'm temporarily stuck in a hell of my own making, of sorts, because I installed Debian on a laptop I bought to make up for the fact that I managed to buy a laptop for which FreeBSD does not yet have complete graphics support (Intel HD video). The end result is significant annoyance. Debian, since I used it regularly about half a decade ago, has become increasingly complicated by attempts to guess what users want and provide it. This approach tends to result in making it very difficult to do things differently if you want to. Problems I'm encountering right now mostly center around networking issues -- for some asinine reason, it will connect to my WPA encrypted wireless network at home, but not to an open wireless network at a coffee shop. It makes no reasonable sense. With FreeBSD, it would be a trivial exercise to make it work. Worst-case scenario, I could just change a couple of lines in /etc/rc.d and enter the /etc/rc.d/netif restart command. On Debian, I've tried about half a dozen different approaches to getting it to connect to the coffee shop network, including more than one GUI with a seriously suboptimal interface, with no luck; it just keeps failing to get an IP address. I'm pretty sure there's some kind of automagical DWIMmery going on behind the scenes, trying to guess what I want it to do and doing it without my permission, and getting its guesses *wrong*. The upshot is this: FreeBSD is better for people who like essentially deterministic behavior out of their OSes, where the same input produces the same output, with (little or) no chance of it blowing up in your face or just stubbornly refusing to let you do what you want to do because some developer somewhere set up automagical default management based on what *he* thinks you *really* want to do. Debian to some extent, and Ubuntu to a far greater extent, is for people who don't want to know anything about what the system is doing under the hood, to the extent that if the system doesn't get it right automatically the person will refuse to actually spend any time learning enough about the system to fix the problem. Things are getting positively Microsoftish. In case you couldn't tell, I'm frustrated. I'm beginning to wonder whether having 4:3 resolution stretched out to a 16:9 aspect ratio display might be a lesser evil than using Debian, when it is even more annoying now (relative to FreeBSD) than it was five years ago. tl;dr summary: FreeBSD is "power-user" friendly. Linux-based systems are getting increasingly "dumbed-down user" obsequious, to the detriment of people who like being able to customize the system's behavior (or, y'know, actually troubleshoot it at all). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEUEARECAAYFAk1wFwYACgkQ9mn/Pj01uKXsAwCWNX3iYki5asWQl9JNrGvTLz2l ZgCg7cSqkFPnY5SZFO6dXB+kagR/Q0Q= =F/ao -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 23:25:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F0B6106564A for ; Thu, 3 Mar 2011 23:25:08 +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 4BBE88FC0C for ; Thu, 3 Mar 2011 23:25:07 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 03 Mar 2011 18:25:07 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.2.3-GA) with ESMTP id AYJ39488; Thu, 3 Mar 2011 18:25:06 -0500 Received-SPF: None identity=pra; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=209.6.91.204; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 03 Mar 2011 18:25:00 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19824.9029.710949.431232@jerusalem.litteratus.org> Date: Thu, 3 Mar 2011 18:24:53 -0500 To: Heidi Wyss In-Reply-To: <4D7013BE.8060206@nordultra.com> References: <4D7013BE.8060206@nordultra.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: No Handbook in 8.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: Thu, 03 Mar 2011 23:25:08 -0000 Heidi Wyss writes: > There seems to be no FreeBSD handbook in the 8.2 installation, > likewise 8.0 and 8.1 (see http://docs.freebsd.org/doc/). Is this > a botch or something else? Documentation is now included as a port, one per language. See e.g. "misc/freebsd-doc-en". Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 23:58:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78377106566C for ; Thu, 3 Mar 2011 23:58:06 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE388FC18 for ; Thu, 3 Mar 2011 23:58:05 +0000 (UTC) Received: by iyj12 with SMTP id 12so1687013iyj.13 for ; Thu, 03 Mar 2011 15:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=x0WQm7m0IKpYpQZdM8eG9UsbnPgPfmvZbxAW2Br/SoI=; b=CpUEYNR7FzPAAji50Q9kkA/c+Dcv8ed93KSmHr/u9uEHTUn57obYzGxEcI7bB0OUcY /zLYzK3IRy0xI9rlR0SORqOfKBfjfrfPuCz3k/FJ2phSkGSA+8MQqowStNR00obKp9lP +VzsamuYKIwlIlK+fV+xG4BpOTow60pH+8Q+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=N0vgSxYaITz9L2EB/csoKPv1JarsFPjx0CQu85lhhcyPStafXQLOa3Q0rt2PfIw4sP hFM7sUvIh22pw/ZWM9IxXZHvUkmyPLY4SBAY+zsU9vHIIrmafw6W5tCry28bsimnW0yl SCEbOCyk3WeFiISXiEoFx9tTz5Go4F246o72Q= MIME-Version: 1.0 Received: by 10.231.36.198 with SMTP id u6mr1411346ibd.100.1299196685425; Thu, 03 Mar 2011 15:58:05 -0800 (PST) Received: by 10.231.38.2 with HTTP; Thu, 3 Mar 2011 15:58:05 -0800 (PST) In-Reply-To: <3382016411-764985335@intranet.com.mx> References: <3382016411-764985335@intranet.com.mx> Date: Thu, 3 Mar 2011 15:58:05 -0800 Message-ID: From: Patrick Gibson To: Jorge Biquez Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 23:58:06 -0000 You might consider mod_security (/usr/ports/www/mod_security) which can be set up to ban hosts based on behaviour or characteristics. Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in that it scans whatever logs you want, and can trigger a block in your firewall if enough violating log entries are found within a particular period of time. Everything is totally configurable, and there are plenty of examples that come with it. Patrick On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez wrote: > Hello all. > > I am sorry in advance if this question sounds too stupid. > > I have a small server for personal use of webpages running: > > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 > > it is working fine , no problem very stable. > > I just need to block some IP class C address that are always trying to > "discover" directories or applications under the web server. They do not do > and can not do anything since this server has nothing installed but i am > tired of seeing in the logs all the intents they do every 2-3 seconds. > > I have not installed any kind of firewall yet. > What do you think is the best way to accomplish this task? If possible the > easiest one. I do not want to do anything else but just bloc IP's, at this > moment at least. > > Thanks in advance. > > Jorge Biquez > > _______________________________________________ > 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 Mar 4 00:02:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F0911065670 for ; Fri, 4 Mar 2011 00:02:43 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost1.waddell.com (mailhost1.waddell.com [67.130.252.46]) by mx1.freebsd.org (Postfix) with ESMTP id 180158FC0C for ; Fri, 4 Mar 2011 00:02:43 +0000 (UTC) Received: from emlpfilt2.waddell.com (mailhost2.waddell.com [10.1.10.30]) by mailhost1.waddell.com (Postfix) with ESMTP id BAACF50D87; Thu, 3 Mar 2011 18:02:42 -0600 (CST) Received: from emlpfilt2.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id AD3B25788F4; Thu, 3 Mar 2011 18:02:42 -0600 (CST) Received: from WADPHTCAS0.waddell.com (wadphtcas0.waddell.com [192.168.203.229]) by emlpfilt2.waddell.com (Postfix) with ESMTP id 5EBB62F8003; Thu, 3 Mar 2011 18:02:42 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.145]) by WADPHTCAS0.waddell.com ([192.168.203.229]) with mapi; Thu, 3 Mar 2011 18:02:41 -0600 From: Gary Gatten To: 'Patrick Gibson' , Jorge Biquez Date: Thu, 3 Mar 2011 18:02:41 -0600 Thread-Topic: Simplest way to deny access to a class C Thread-Index: AcvZ/uh7YvO83hW5TwiOEUt1bAhy1gAAFFgQ Message-ID: <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> References: <3382016411-764985335@intranet.com.mx> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-questions@freebsd.org" Subject: RE: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 00:02:43 -0000 Be careful of automated responses. What if someone spoofs IP's of legit us= ers / customers / whatever and your automated response blocks them? Not go= od. I thought about blocking....well, never mind - might pi$$ someone off and a= ttract unwanted attention... -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Patrick Gibson Sent: Thursday, March 03, 2011 5:58 PM To: Jorge Biquez Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C You might consider mod_security (/usr/ports/www/mod_security) which can be set up to ban hosts based on behaviour or characteristics. Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in that it scans whatever logs you want, and can trigger a block in your firewall if enough violating log entries are found within a particular period of time. Everything is totally configurable, and there are plenty of examples that come with it. Patrick On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez wrot= e: > Hello all. > > I am sorry in advance if this question sounds too stupid. > > I have a small server for personal use of webpages running: > > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 > > it is working fine , no problem very stable. > > I just need to block some IP class C address that are always trying to > "discover" directories or applications under the web server. They do not = do > and can not do anything since this server has nothing installed but i am > tired of seeing in the logs all the intents they do every 2-3 seconds. > > I have not installed any kind of firewall yet. > What do you think is the best way to accomplish this task? If possible the > easiest one. I do not want to do anything else but just bloc IP's, at this > moment at least. > > Thanks in advance. > > Jorge Biquez > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 00:26:31 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D2B1106566C for ; Fri, 4 Mar 2011 00:26:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4C7FB8FC13 for ; Fri, 4 Mar 2011 00:26:30 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 29AE6E803DB; Thu, 3 Mar 2011 16:26:30 -0800 (PST) Date: Thu, 3 Mar 2011 16:26:30 -0800 From: Gary Kline To: "Michael J. Kearney" Message-ID: <20110304002630.GA31751@thought.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "questions@freebsd.org" Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 00:26:31 -0000 On Thu, Mar 03, 2011 at 02:34:56PM -0500, Michael J. Kearney wrote: > Wordpress install ftw > > I created a new database manually.... > > Http://www.inverselog.info > > John D Jones III wrote: > > > On 03/01/2011 03:50 PM, Gary Kline wrote: > > On Tue, Mar 01, 2011 at 04:03:13PM -0500, Glenn Sieb wrote: > >> On 3/1/11 3:53 PM, Gary Kline wrote: > >>> > >>> Any clues why I get a one-liner from wordpress that my database > >>> extention is missing? I re-installed everything; it is running. > >>> The "wordpress" db is there when I check 'show database'. What > >>> else? > >> > >> Check and make sure the MySQL extensions are installed in PHP? > >> > >> pkg_info | grep php5-mysql > >> (if not..) > >> cd /usr/ports/databases/php5-mysql&& make install clean > >> > >> Good luck! > >> --Glenn > >> > > > > This was the first thing I [re-] installed. > > > > > > q0 14:47 Server [5001] pkg_info | gr php5-mysql > > 470:php5-mysql-5.3.5 The mysql shared extension for php > > 471:php5-mysqli-5.3.5 The mysqli shared extension for php > > q0 14:47 Server [5002] > >> > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > I had a similar problem with PHP after I upgraded it. The location of > the php extensions had changed, but my php.ini was still pointing to the > old location of the modules. You may want to double check the path and > make sure they're both the same. If not, I recommend copying in the new > .default php.ini file and make your custom changes there, as there were > recently many settings changed/added in the latest PHP version. > > -- > Thanks, > John D Jones III > freebsd-questions@bsdgeeks4u.com Thanks duly noted to everyone. I was beginning to wonder if I had lost what mind I've got left! Not used to losing my two trial blog, (1), and beyond that, being dumbfounded at how messy it may be to keep WP "current." (2) All of a sudden I'm thinking [[*hmmm, well, censored*]]. -g > _______________________________________________ > 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" > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 02:43:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E2B41065673 for ; Fri, 4 Mar 2011 02:43:14 +0000 (UTC) (envelope-from jbiquez@intranet.com.mx) Received: from intranet.com.mx (intranet.com.mx [200.33.246.7]) by mx1.freebsd.org (Postfix) with ESMTP id D74138FC12 for ; Fri, 4 Mar 2011 02:43:13 +0000 (UTC) Received: from PC2.intranet.com.mx (189.144.56.132) by intranet.com.mx with ESMTP (EIMS X 3.3.9) for ; Thu, 3 Mar 2011 20:43:49 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 03 Mar 2011 20:43:56 -0600 To: freebsd-questions@freebsd.org From: Jorge Biquez In-Reply-To: <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA 836D3B43499BD354A48@WADPMBXV0.waddell.com> References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <3382051429-764985639@intranet.com.mx> Subject: RE: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 02:43:14 -0000 Thank you all for your time and comments. I guess that I will install a firewall, that way I can also block those Class C's from sending tons of emails to non existing accounts.... I will read the website to see the best options. Any suggestion is more than welcome. Jorge Biquez At 06:02 p.m. 03/03/2011, you wrote: >Be careful of automated responses. What if someone spoofs IP's of >legit users / customers / whatever and your automated response >blocks them? Not good. > >I thought about blocking....well, never mind - might pi$$ someone >off and attract unwanted attention... > >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Patrick Gibson >Sent: Thursday, March 03, 2011 5:58 PM >To: Jorge Biquez >Cc: freebsd-questions@freebsd.org >Subject: Re: Simplest way to deny access to a class C > >You might consider mod_security (/usr/ports/www/mod_security) which >can be set up to ban hosts based on behaviour or characteristics. > >Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in >that it scans whatever logs you want, and can trigger a block in your >firewall if enough violating log entries are found within a particular >period of time. Everything is totally configurable, and there are >plenty of examples that come with it. > >Patrick > > >On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez wrote: > > Hello all. > > > > I am sorry in advance if this question sounds too stupid. > > > > I have a small server for personal use of webpages running: > > > > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 > > > > it is working fine , no problem very stable. > > > > I just need to block some IP class C address that are always trying to > > "discover" directories or applications under the web server. They do not do > > and can not do anything since this server has nothing installed but i am > > tired of seeing in the logs all the intents they do every 2-3 seconds. > > > > I have not installed any kind of firewall yet. > > What do you think is the best way to accomplish this task? If possible the > > easiest one. I do not want to do anything else but just bloc IP's, at this > > moment at least. > > > > Thanks in advance. > > > > Jorge Biquez > > > > _______________________________________________ > > 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" > > > > > > >
>
>"This email is intended to be reviewed by only the intended recipient > and may contain information that is privileged and/or confidential. > If you are not the intended recipient, you are hereby notified that > any review, use, dissemination, disclosure or copying of this email > and its attachments, if any, is strictly prohibited. If you have > received this email in error, please immediately notify the sender by > return email and delete this email from your system." >
> >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 07:20:11 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EF21106566C for ; Fri, 4 Mar 2011 07:20:11 +0000 (UTC) (envelope-from zbigniew.szalbot@sgmlifewords.com) Received: from mx1.myoutlookonline.com (mx1.myoutlookonline.com [64.95.72.238]) by mx1.freebsd.org (Postfix) with ESMTP id CEB5A8FC08 for ; Fri, 4 Mar 2011 07:20:10 +0000 (UTC) Received: from st23.mx1.myoutlookonline.com (localhost [127.0.0.1]) by mx1.myoutlookonline.com (Postfix) with ESMTP id 88D3C417074 for ; Fri, 4 Mar 2011 02:00:25 -0500 (EST) X-Virus-Scanned: by SpamTitan at mail.lan Received: from mx1.myoutlookonline.com (unknown [10.110.2.1]) by mx1.myoutlookonline.com (Postfix) with ESMTP id 281EF416C42 for ; Fri, 4 Mar 2011 02:00:25 -0500 (EST) Received: from mx1.myoutlookonline.com ([10.110.12.7]) by mx1.myoutlookonline.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Mar 2011 01:59:50 -0500 Received: from mail-iy0-f182.google.com ([209.85.210.182]) by mx1.myoutlookonline.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Mar 2011 01:59:48 -0500 Received: by iyj12 with SMTP id 12so1943332iyj.13 for ; Thu, 03 Mar 2011 23:00:24 -0800 (PST) Received: by 10.42.139.197 with SMTP id h5mr210485icu.243.1299222024102; Thu, 03 Mar 2011 23:00:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.179.167 with HTTP; Thu, 3 Mar 2011 23:00:09 -0800 (PST) In-Reply-To: <20110304002630.GA31751@thought.org> References: <20110304002630.GA31751@thought.org> From: Zbigniew Szalbot Date: Fri, 4 Mar 2011 08:00:09 +0100 Message-ID: To: Gary Kline Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 04 Mar 2011 06:59:48.0628 (UTC) FILETIME=[C068DD40:01CBDA39] Cc: "Michael J. Kearney" , "questions@freebsd.org" Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 07:20:11 -0000 Hello, > =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks duly noted to everyone. =C2=A0I was beg= inning to wonder if I > =C2=A0 =C2=A0 =C2=A0 =C2=A0had lost what mind I've got left! =C2=A0Not us= ed to losing my two trial > =C2=A0 =C2=A0 =C2=A0 =C2=A0blog, (1), and beyond that, being dumbfounded = at how messy it > =C2=A0 =C2=A0 =C2=A0 =C2=A0may be to keep WP "current." =C2=A0 (2) It seems to me you are making you life more difficult with WP than it needs to be. Keeping WP current is a piece of cake, and you do not need to do it via ports. WP has built-in ftp capabilities and once you provide it with proper credentials, upgrading is as easy as clicking the upgrade button from within WP admin interface. This way you can keep multiple WP installations and easily maintain them. :) Warm regards, Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 09:10:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41B8106564A for ; Fri, 4 Mar 2011 09:10:37 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id A96E68FC25 for ; Fri, 4 Mar 2011 09:10:37 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p249Aahj060944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 Mar 2011 01:10:36 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p249AaR2060943; Fri, 4 Mar 2011 01:10:36 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA04537; Fri, 4 Mar 11 01:10:03 PST Date: Fri, 04 Mar 2011 01:09:23 -0800 From: perryh@pluto.rain.com To: ertr1013@student.uu.se Message-Id: <4d70ac43.iPJOAUhHtgE0uJR+%perryh@pluto.rain.com> References: <910E776A-D865-4F78-8BE5-E974326636D0@solensky.org> <20110303205010.GA47653@owl.midgard.homeip.net> In-Reply-To: <20110303205010.GA47653@owl.midgard.homeip.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: frank@solensky.org, freebsd-questions@freebsd.org Subject: Re: Bit order == byte order?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 09:10:38 -0000 Erik Trulsson wrote: > On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote: > > In sys/netinet/ip.h, the first octet of the ip header structure > > tests the byte ordering to determine the ordering of the header > > length (ip_hl) and version (ip_v) fields. > > > > My question: that always works? While my reading of the > > language specification document leaves both the ordering of > > the bits within a byte and the bytes within a longer field as > > implementation choices, the two are independent of each other. > > > > I haven't run into a CPU where this assumption was proven > > incorrect ... > > Unless you have a CPU where memory is addressed bit-by-bit rather > than byte-by-byte the ordering of bits within a byte is not only > completely irrelevant, it is also pretty much impossible to > determine programatically. Agreed it is at least difficult to determine programatically, however it is quite important when dealing with hardware that converts between a sequence of bytes and a bitstream, e.g. serial ports, network interfaces, SATA ports. Driver writers had _better_ know which bit of the byte, as well as which byte of a word/longword/quadword, is going on the wire first. The O.P. is absolutely correct that bit order within a byte and byte order within a multibyte field need not, in principle, be the same. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 10:04:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32BC4106564A for ; Fri, 4 Mar 2011 10:04:06 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id B66A48FC08 for ; Fri, 4 Mar 2011 10:04:05 +0000 (UTC) Received: from c83-255-51-20.bredband.comhem.se ([83.255.51.20]:53169 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.73) (envelope-from ) id 1PvRra-0001Wm-9C for freebsd-questions@freebsd.org; Fri, 04 Mar 2011 11:04:02 +0100 Received: (qmail 33946 invoked from network); 4 Mar 2011 10:57:17 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 4 Mar 2011 10:57:17 +0100 Received: (qmail 51911 invoked by uid 1001); 4 Mar 2011 10:57:17 +0100 Date: Fri, 4 Mar 2011 10:57:16 +0100 From: Erik Trulsson To: perryh@pluto.rain.com Message-ID: <20110304095716.GA51831@owl.midgard.homeip.net> References: <910E776A-D865-4F78-8BE5-E974326636D0@solensky.org> <20110303205010.GA47653@owl.midgard.homeip.net> <4d70ac43.iPJOAUhHtgE0uJR+%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d70ac43.iPJOAUhHtgE0uJR+%perryh@pluto.rain.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 83.255.51.20 X-Scan-Result: No virus found in message 1PvRra-0001Wm-9C. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1PvRra-0001Wm-9C 7d78dbcd787445e4e81284473ebbc04c Cc: frank@solensky.org, freebsd-questions@freebsd.org Subject: Re: Bit order == byte order?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 10:04:06 -0000 On Fri, Mar 04, 2011 at 01:09:23AM -0800, perryh@pluto.rain.com wrote: > Erik Trulsson wrote: > > On Thu, Mar 03, 2011 at 11:26:12AM -0500, Frank Solensky wrote: > > > In sys/netinet/ip.h, the first octet of the ip header structure > > > tests the byte ordering to determine the ordering of the header > > > length (ip_hl) and version (ip_v) fields. > > > > > > My question: that always works? While my reading of the > > > language specification document leaves both the ordering of > > > the bits within a byte and the bytes within a longer field as > > > implementation choices, the two are independent of each other. > > > > > > I haven't run into a CPU where this assumption was proven > > > incorrect ... > > > > Unless you have a CPU where memory is addressed bit-by-bit rather > > than byte-by-byte the ordering of bits within a byte is not only > > completely irrelevant, it is also pretty much impossible to > > determine programatically. > > Agreed it is at least difficult to determine programatically, > however it is quite important when dealing with hardware that > converts between a sequence of bytes and a bitstream, e.g. > serial ports, network interfaces, SATA ports. Driver writers > had _better_ know which bit of the byte, as well as which > byte of a word/longword/quadword, is going on the wire first. Although it certainly matters for serial I/O devices which bit goes out first on the wire, you only need to know if the I/O hardware will push out data with the most significant bit first or the least significant bit first and possibly adjust the values you write to the I/O hardware if it does not match the order you want the bits to go out. You still don't need to know anything about in which order bits are stored in a byte inside the CPU or in RAM. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 11:23:24 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89DE5106566C for ; Fri, 4 Mar 2011 11:23:24 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 17EC88FC0C for ; Fri, 4 Mar 2011 11:23:23 +0000 (UTC) Received: by qyk27 with SMTP id 27so1766927qyk.13 for ; Fri, 04 Mar 2011 03:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=1IMYs8AI31u9UFhjf8lqW8bRZqXhMc6azFvG7uOccrE=; b=DwYd/nUwGKjPEk6GA6uAZJP+QT/qz1Ifdwr3QC2OyjXYp1BPiu0+A90Tfwf3JSwCi4 RhC9ntsHnHB2j+khGRemwVh9/aZdhhqQuBHsfqVkX/dGExIvH03CjzVWkvIPToNCr6kJ JU1MA7c9TuHDc0hnh1FmqPFFE+9EBSwstOXKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fBLbVDjarAndGmM8YlOFmvzwWZVw6R5v2hkVt3e9i5mJ6dGDlkzWo/Jd4o7QCoDa0u 1nXXHDFmuB4S5IdCUKyiZ/DJEX3SwBZnqTZDEj78xsELbz0gutPMm4e7KyGU9Nruyrlw +CGrTvRV5uaYk6s6Z7HquYOT6DWhhNm7RDvlY= MIME-Version: 1.0 Received: by 10.229.66.151 with SMTP id n23mr336467qci.268.1299237803274; Fri, 04 Mar 2011 03:23:23 -0800 (PST) Received: by 10.229.218.206 with HTTP; Fri, 4 Mar 2011 03:23:23 -0800 (PST) Date: Fri, 4 Mar 2011 12:23:23 +0100 Message-ID: From: Redd Vinylene To: questions , ports@freebsd.org, glewis@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Cannot build jdk16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 11:23:24 -0000 Hello! /usr/ports/java/jdk16 instructs me to manually fetch tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file however is no longer available and has been replaced by tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and "make -DNO_CHECKSUM"? Many thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 12:45:45 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85896106564A for ; Fri, 4 Mar 2011 12:45:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 43DF28FC19 for ; Fri, 4 Mar 2011 12:45:45 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx01.qsc.de (Postfix) with ESMTP id C16253CBA5; Fri, 4 Mar 2011 13:45:43 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p24CjguF001423; Fri, 4 Mar 2011 13:45:42 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 4 Mar 2011 13:45:42 +0100 From: Polytropon To: Redd Vinylene Message-Id: <20110304134542.cf5fe915.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, glewis@freebsd.org, questions Subject: Re: Cannot build jdk16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 12:45:45 -0000 On Fri, 4 Mar 2011 12:23:23 +0100, Redd Vinylene wrote: > Hello! > > /usr/ports/java/jdk16 instructs me to manually fetch > tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file > however is no longer available and has been replaced by > tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite > of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and > "make -DNO_CHECKSUM"? If you don't depend on tzupdater, you should run "make config" and disable it prior to the build process. Then it won't be requested. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 12:55:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970AE106566C for ; Fri, 4 Mar 2011 12:55:17 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 285CE8FC15 for ; Fri, 4 Mar 2011 12:55:16 +0000 (UTC) Received: by wyb32 with SMTP id 32so2353876wyb.13 for ; Fri, 04 Mar 2011 04:55:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=rSdwcelFYhroW0jgCxw0E6m1lXAuyIXZyFSr9FFUR94=; b=DXyUBfdIfGZO2INzZwxW9+J/dFm2DwIquw8M+98Hqgm9uxGNcir5sI4qw1lnBp7N1e 9mvyWBvT+iyM0RVsoVZn9Im8VokdbUesMdYzdJPPlPUD4cDiThgc8aDkKdTB4MKfMulO vUz66x+QAavuP4EHvGAlpIX1Le6Pc3FaNbFmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=V1WV5dZiDNR69wvBPGM6DvBBesjIkOWke3TA+iKsBIrbwQ5RPWGHN82MuAgfX9wzqy lOebLUWfFjHJidPy9cgx1Ed8jyTw75APX9kEJm2fF1MRq//Bv54nFpRm2LxnJMq81w3o /BhCbdCXkCdvWiZDAw/cvYiVWOjHp5xTj5Er4= Received: by 10.216.191.208 with SMTP id g58mr480357wen.85.1299243315958; Fri, 04 Mar 2011 04:55:15 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n11sm1150874wej.43.2011.03.04.04.55.13 (version=SSLv3 cipher=OTHER); Fri, 04 Mar 2011 04:55:14 -0800 (PST) Date: Fri, 4 Mar 2011 12:55:09 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110304125509.1c666079@gumby.homeunix.com> In-Reply-To: <4D700FA6.1030806@cox.net> References: <4D700FA6.1030806@cox.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 12:55:17 -0000 On Thu, 03 Mar 2011 17:01:10 -0500 "John D. Hendrickson and Sara Darnell" wrote: > Hi. I'm a BSD idiot I use [Debian] linux. > > rc.d question > > I'm trying to release a project (just below) to the widest possible > unix audience. I need a line in "/etc/inittab" and to have a > start/stop in "/etc/rc.d", nothing unusual I think. I read many > freeBSD rc.d materials and it only convinced me as much as I'd > learned: if I'm not running BSD I don't know enough to talk about > it :) Usually FreeBSD rc.d scripts are maintained by the port maintainer rather than the upstream project. If you are unclear about it, I would suggest you don't bother. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 13:28:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB3A1065670 for ; Fri, 4 Mar 2011 13:28:25 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2038FC08 for ; Fri, 4 Mar 2011 13:28:24 +0000 (UTC) Received: (qmail 11956 invoked from network); 4 Mar 2011 13:28:23 -0000 Received: from p57bdfe99.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.254.153) by t1850.greatnet.de with ESMTPA; 4 Mar 2011 13:28:23 -0000 Date: Fri, 4 Mar 2011 15:28:10 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110304152810.36060288@dijkstra> In-Reply-To: <4D700FA6.1030806@cox.net> References: <4D700FA6.1030806@cox.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/7T7H9DMIkzfTx6Nih4ZJhWf"; protocol="application/pgp-signature" Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 13:28:26 -0000 --Sig_/7T7H9DMIkzfTx6Nih4ZJhWf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 03 Mar 2011 17:01:10 -0500 "John D. Hendrickson and Sara Darnell" wrote: > [snip]=20 > If anyone would like to quickly comment I'd love to hear why bsd > would be a better choice than ubantu (for what audience it is better). >=20 > Thanks all, >=20 > John >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi John, same with me as with Chad Perrin. Sadly, I cannot put my issue right and brief at the same time, so please excuse me being verbose. I started with Linux when being in high-school out of frustration of Windows forcing me to do things their way. After switching my entire environment to Suse Linux and after that to a version of RedHat, I quickly found out that I just switched to a different flavour of being forced to do things a certain way. When at university, I tried Gentoo Linux, learned a lot and solved problems my way. Having bought a notebook later on, I decided trying the then very much in vogue Ubuntu with a Xubuntu installation. Although satisfied with the very usable defaults, I was quickly unnerved by not being able to control things. Later, I tried OpenSolaris and FreeBSD and am now using FreeBSD due to the same reasons as Chad Perrin stated: Being a power-user, wanting to control things and (now diverting from Chad's reasons) wanting to use technology (most importantly ZFS) without being impeded for ideological reasons of viral GPLishness. So, same reasons here as with Chad Perrin, safe for an additionally and lately aquired GPL-allergy. @ Chad: Perhaps you might be happier being coerced to use a Linux with a GNU/Linux flavour like Gentoo or ArchLinux. I have never tried the latter, however, with Gentoo you are very much in control. Gentoo effectively forces you to do your own compiling via portage, so be prepared for a very long install. ArchLinux is to my knowledge binary based and might be quicker to install. Both Gentoo and ArchLinux have a reputation to put the user in charge. What drove me away from Gentoo apart from that GPL-flu was deteriorating quality of system tools. You install what is world in FreeBSD from portage in Gentoo, so when updating your portage, necessary system tools sometimes break. I was driven over the edge when some network-etc syntax changed without telling me and I lost my network connection as a result. I had something different in mind for the weekend and was just furious - so treat Gentoo with care. Cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/7T7H9DMIkzfTx6Nih4ZJhWf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNcPcBAAoJEJTIKW/o3iwUFX8P/i4SKCu/7i3qDESI/15xirz8 nO/AW8R5nc3OmQFelIdwT8JS3QqSp55xa9J0AHGG4IUCY6sONrxRuMCz63SOsD3Q HD25AdnNisZrXZlNWjOGmK3iF+Wgiang6TPAxai9KaGhD53s4fpYBdfSxh5mGZlF 04oaMLU7k78fN/XUJq3W8ZEjjEMahEi/qnq0jpiEauR2L5YP+5G5WhVKS0IVvg1i A6dDwlxGjVnvNgiiCLtyxfpo41Gf7bnucVdhMmMJAUMA9v9IxC+r9mKVgWy8tKNt ULOSIWQTiko0TXwZ+Je2ZvnrpFeyVZWHfWcdlHUlcZJuh8BJDQeieoH1gV3ZTWrY BpNKMrMT+iKuMpHelIDOCi5tV8xnOiia2ZjcZeTob02YuOnk9P3cLTOUBi3AclGJ QfwNA3/28wHrYsUzPKyNvUutNdH87E0iudARiGmSkhJ/ZyhXO+IbH9hkP9ugxTmg zLp3YUBZTu4S5LOdjs6CUi2WMJ8DODMinDtuO5eXeB3uPFdoqCti/MaI9US+dfGW +IFXl0/vt26fiByd2QQerRIAFz8ixAUAgrE/SeUHWkouVfFBt0s7qBGWAgqBtt4N agTDD3xwP1EzEUUhlp9QFl5nQQ1QYQjrmOvT2Kfw35qj4lDpDOq7UaMshMRK7eqw waVKvGSG5rGTHmsAFn32 =X/9n -----END PGP SIGNATURE----- --Sig_/7T7H9DMIkzfTx6Nih4ZJhWf-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 13:29:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28D47106566B for ; Fri, 4 Mar 2011 13:29:17 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id A76128FC19 for ; Fri, 4 Mar 2011 13:29:15 +0000 (UTC) Received: from park.js.berklix.net (p5B22D44A.dip.t-dialin.net [91.34.212.74]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p24DT6CJ002426; Fri, 4 Mar 2011 13:29:08 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p24DSucc060620; Fri, 4 Mar 2011 14:28:56 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id p24DSmGV002382; Fri, 4 Mar 2011 14:28:53 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201103041328.p24DSmGV002382@fire.js.berklix.net> To: Mario Lobo From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 17 Feb 2011 22:07:36 -0300." <201102172207.37004.lobo@bsd.com.br> Date: Fri, 04 Mar 2011 14:28:48 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: CPU heating! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 13:29:17 -0000 Hi, [ I'm late on thread, so briefly ] If you get desperate overheating & crashes, try eg /usr/sbin/powerd -a min -b min -n min Thats what I'm doing on one box, till I can remove, review/ regrease. One can also observe subsets of values from sysctl -a | grep temp in a while (1) sysctl ...... sleep 2 end loop, while re-invoking various powerd -v with different params. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not quoted-printable, Not HTML, Not base 64. Reply below text sections not at top, to avoid breaking cumulative context. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 13:51:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CB751065673 for ; Fri, 4 Mar 2011 13:51:04 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EBDE08FC0C for ; Fri, 4 Mar 2011 13:51:03 +0000 (UTC) Received: by wyb32 with SMTP id 32so2409277wyb.13 for ; Fri, 04 Mar 2011 05:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=VpXRnXLvwZIJZB5N61LX7egQzkK2OTwor7S2jlnPQs8=; b=SAMIXwESIqwH9j1WuSFZ3n5gv0QO4nqOVgxzRfnJvAJ5VrustmAr7Y3SmxGYHTbPpr CUDTBsno2Glr8eFAtCTnCnbgtU/ygvbXXtSEHu9ALq3JwCLb92wfINxZgfVwuuViBPux 9TTLPzi1DV0g0zu6VNEMt6XLMyC47iHQ4TPEM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wZyVNAat5EVyC2HCrW3qJqGtw/vqB1H2/43Meen8brTmr2YUZoEHemQus6/ml6DVJ/ oT3kRffYrJ7T2CjaA+23dnNNYft+2PfOVJN6zrOkCAUxV/jJlMbIcZ/ZSzvcioR2rZkW UnIN9XGbuYTLe7qSmnzypXJH+k/NAMSfS1liI= MIME-Version: 1.0 Received: by 10.216.24.73 with SMTP id w51mr535337wew.72.1299246662252; Fri, 04 Mar 2011 05:51:02 -0800 (PST) Received: by 10.216.80.147 with HTTP; Fri, 4 Mar 2011 05:51:02 -0800 (PST) In-Reply-To: <3382051429-764985639@intranet.com.mx> References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> <3382051429-764985639@intranet.com.mx> Date: Fri, 4 Mar 2011 13:51:02 +0000 Message-ID: From: krad To: Jorge Biquez Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 13:51:04 -0000 On 4 March 2011 02:43, Jorge Biquez wrote: > Thank you all for your time and comments. > > I guess that I will install a firewall, that way I can also block those > Class C's from sending tons of emails to non existing accounts.... > I will read the website to see the best options. Any suggestion is more > than welcome. > > Jorge Biquez > > > At 06:02 p.m. 03/03/2011, you wrote: > >> Be careful of automated responses. What if someone spoofs IP's of legit >> users / customers / whatever and your automated response blocks them? Not >> good. >> >> I thought about blocking....well, never mind - might pi$$ someone off and >> attract unwanted attention... >> >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto: >> owner-freebsd-questions@freebsd.org] On Behalf Of Patrick Gibson >> Sent: Thursday, March 03, 2011 5:58 PM >> To: Jorge Biquez >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Simplest way to deny access to a class C >> >> You might consider mod_security (/usr/ports/www/mod_security) which >> can be set up to ban hosts based on behaviour or characteristics. >> >> Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in >> that it scans whatever logs you want, and can trigger a block in your >> firewall if enough violating log entries are found within a particular >> period of time. Everything is totally configurable, and there are >> plenty of examples that come with it. >> >> Patrick >> >> >> On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez >> wrote: >> > Hello all. >> > >> > I am sorry in advance if this question sounds too stupid. >> > >> > I have a small server for personal use of webpages running: >> > >> > 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >> > >> > it is working fine , no problem very stable. >> > >> > I just need to block some IP class C address that are always trying to >> > "discover" directories or applications under the web server. They do not >> do >> > and can not do anything since this server has nothing installed but i am >> > tired of seeing in the logs all the intents they do every 2-3 seconds. >> > >> > I have not installed any kind of firewall yet. >> > What do you think is the best way to accomplish this task? If possible >> the >> > easiest one. I do not want to do anything else but just bloc IP's, at >> this >> > moment at least. >> > >> > Thanks in advance. >> > >> > Jorge Biquez >> > >> > _______________________________________________ >> > 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" >> >> >> >> >> >> >>
>>
>> "This email is intended to be reviewed by only the intended recipient >> and may contain information that is privileged and/or confidential. >> If you are not the intended recipient, you are hereby notified that >> any review, use, dissemination, disclosure or copying of this email >> and its attachments, if any, is strictly prohibited. If you have >> received this email in error, please immediately notify the sender by >> return email and delete this email from your system." >>
>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > you might wamt to look at geoip as well. you can open up services to specif regions then, or block other regions. Can be controversial though. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 15:27:49 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B641065670 for ; Fri, 4 Mar 2011 15:27:49 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4B79E8FC0C for ; Fri, 4 Mar 2011 15:27:48 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PvWuu-0000Eb-C3 for questions@freebsd.org; Fri, 04 Mar 2011 07:27:45 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Mar 2011 07:27:44 -0800 Date: Fri, 4 Mar 2011 07:27:44 -0800 From: Chip Camden To: "questions@freebsd.org" Message-ID: <20110304152744.GB55534@libertas.local.camdensoftware.com> Mail-Followup-To: "questions@freebsd.org" References: <20110304002630.GA31751@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 15:27:49 -0000 --+g7M9IMkV8truYOl Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Zbigniew Szalbot on Friday, 04 March 2011: > Hello, >=20 > > =A0 =A0 =A0 =A0Thanks duly noted to everyone. =A0I was beginning to won= der if I > > =A0 =A0 =A0 =A0had lost what mind I've got left! =A0Not used to losing = my two trial > > =A0 =A0 =A0 =A0blog, (1), and beyond that, being dumbfounded at how mes= sy it > > =A0 =A0 =A0 =A0may be to keep WP "current." =A0 (2) >=20 > It seems to me you are making you life more difficult with WP than it > needs to be. Keeping WP current is a piece of cake, and you do not > need to do it via ports. WP has built-in ftp capabilities and once you > provide it with proper credentials, upgrading is as easy as clicking > the upgrade button from within WP admin interface. This way you can > keep multiple WP installations and easily maintain them. :) >=20 I have not had a lot of luck with upgrading from within the admin panel, but it is still easy to upgrade by downloading the latest tarball and simply extracting it over the installation. Then go into the admin panel to see if it requires that you press a button to update the database. Done! Of course, make a backup first. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com --+g7M9IMkV8truYOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNcQTwAAoJEIpckszW26+RqMUH/Ay7N8mpQcj98mahNlriQo/E 1hD2ebj5kqHTO9iLC3lOwLBziXpmBjN0bugc8/fk1fwGUweqtHHFNnRCg4LZKJDL n3FQVuDaTzQFasoIYxsyvX7LxcEqnBvPjAAxATSp2Mwh7Df6LGDthHScvd87KWtX bvA2/N0cVPuyi1Dw77/diICMhT5YzAE2ysLf9+vgIXID31PASLqkAfkzg4jOrFAu zLC+2cYheDKbkM2rMPwo91NmH+xVdvwDnAbzmk5WT9qUrNhAgjnJbS2VLovb/NBm kaCr4T6Y/rvuVleYFlHyNgDPX3k/P89lTkoatu3Fh1AMw+IQx5RpfjS6ZPC/FJg= =UmMn -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 15:36:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C5CF1065672 for ; Fri, 4 Mar 2011 15:36:13 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by mx1.freebsd.org (Postfix) with SMTP id 3BA4F8FC0C for ; Fri, 4 Mar 2011 15:36:12 +0000 (UTC) Received: (qmail 879 invoked by uid 0); 4 Mar 2011 15:36:12 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy3.bluehost.com with SMTP; 4 Mar 2011 15:36:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=POFSxDG5rbLVK2cnWZ7S5opvTdSrN8rL8PjPqhhDQPOB8DZp3/Et9HK2AMOMDd7jO7WMLutQsqmCVK5iPUm5GJBUwnY0rlxvjoMcYpJiWy9SRVRjnwyuc3dhy7TzwykU; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PvX35-00024r-8z for freebsd-questions@freebsd.org; Fri, 04 Mar 2011 08:36:12 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 04 Mar 2011 08:25:05 -0700 Date: Fri, 4 Mar 2011 08:25:05 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20110304152505.GA51149@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D700FA6.1030806@cox.net> <20110304152810.36060288@dijkstra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20110304152810.36060288@dijkstra> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 15:36:13 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2011 at 03:28:10PM +0100, Christopher J. Ruwe wrote: >=20 > Later, I tried OpenSolaris and FreeBSD and am now using FreeBSD due to > the same reasons as Chad Perrin stated: Being a power-user, wanting to > control things and (now diverting from Chad's reasons) wanting to use > technology (most importantly ZFS) without being impeded for ideological > reasons of viral GPLishness. I'd say you diverted from what I satated -- though not from my reasons overall. That is actually among the reasons I prefer FreeBSD, even if I didn't mention it. >=20 > So, same reasons here as with Chad Perrin, safe for an additionally and > lately aquired GPL-allergy. My GPL-allergy has been around since late 2003, but has been growing in strength. 2006 was when it finally got to the point where I stopped using Linux-based systems for my own purposes until some video issues "forced" me back to it last month. >=20 > @ Chad: Perhaps you might be happier being coerced to use a > Linux with a GNU/Linux flavour like Gentoo or ArchLinux. I have never > tried the latter, however, with Gentoo you are very much in control. > Gentoo effectively forces you to do your own compiling via portage, so > be prepared for a very long install. ArchLinux is to my knowledge binary > based and might be quicker to install. Both Gentoo and ArchLinux have a > reputation to put the user in charge. I'm considering ArchLinux. I've played with Gentoo in the past (2004ish), and did not much find it to my liking -- mostly because of software stability issues and a community overrun with ricers. >=20 > What drove me away from Gentoo apart from that GPL-flu was deteriorating > quality of system tools. You install what is world in FreeBSD from > portage in Gentoo, so when updating your portage, necessary system > tools sometimes break. I was driven over the edge when some network-etc > syntax changed without telling me and I lost my network connection as a > result. I had something different in mind for the weekend and was just > furious - so treat Gentoo with care. That kind of breakage is among the reasons I didn't like Gentoo. Around that time, Debian was much more stable in practice (even Debian Testing), but things have changed in the Debian world since I last used it for my own purposes five years ago; now, it's prone to breakage as well, evidently. From your description, it sounds like Gentoo wouldn't solve the kinds of problems I'm having with Debian; it would just rearrange the deck chairs on the Titanic. I've heard Arch is a tolerable substitute for FreeBSD when you "must" use Linux-based systems for some reason. I'm probably going to wipe the system and reinstall this weekend to try to solve my networking issue, and Arch looks like the option I'll try -- though I'll probably check into whether OpenBSD has support for the graphics chipset in this laptop, too (I really doubt it). =2E . . and then, as soon as the graphics support gets sorted out in FreeBSD, I'll probably wipe again and install FreeBSD. I had FreeBSD installed on it briefly already, and everything about it worked exactly as expected except the graphics, after all. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1xBFEACgkQ9mn/Pj01uKUx0gCgrkGUALTZc7TyRIqfgZxTAaHJ d6kAoPqE4OaJH8uRTLN2JHqoLmbEA2Yk =G7iF -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 15:37:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506881065670 for ; Fri, 4 Mar 2011 15:37:45 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3658FC1A for ; Fri, 4 Mar 2011 15:37:44 +0000 (UTC) Received: by iyj12 with SMTP id 12so2324741iyj.13 for ; Fri, 04 Mar 2011 07:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=/UKQ5rwYtO8eCdgVvfc5MPaOTBdbPiymv5y+OiMpEEc=; b=oo25pS5nm6KhxwaPV/F6WwZ7vBfEmKXKVA8EpnN/ugbI5ovMsLzskv6AwITOqRsuja 40OTPoh2rxndWvHX+8AR+RE+UfrWdLT7Nf0AhjJYCYnQeGApgZ1ChlAu2urkoaqy/Xru OFc7KkC7sV7ZCyLpefphdX8SiXRXOM6Y6oeaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Nut1IieRzdEmD33JAOHhFrK+N1R1WaosTo/onxPShmY4jyrsuEpYSB1npqlaoCI7EB VpRm+n4A6rgg3dgsnZ0lTOPB2F3Aln6a2HES71WlxyfIR8mf6wZLT0R1Bnhf4m0iihxS M/RoUCfMHcP8UGxP188VuqdoyuL2ZT0Bv/WAQ= MIME-Version: 1.0 Received: by 10.231.171.200 with SMTP id i8mr495022ibz.124.1299253064356; Fri, 04 Mar 2011 07:37:44 -0800 (PST) Received: by 10.231.199.4 with HTTP; Fri, 4 Mar 2011 07:37:44 -0800 (PST) Date: Fri, 4 Mar 2011 07:37:44 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 15:37:45 -0000 Hi folks, I see I have some ports that need to be updated, so I'm using portmaster (portmaster -a to be specific), and it fails with the following - ===>>> Starting check for build dependencies ===>>> Gathering dependency list for textproc/docproj-nojadetex from ports ===>>> No dependencies for textproc/docproj-nojadetex ===> Cleaning for docproj-nojadetex-1.17_4 ===> /usr/ports/textproc/docproj-nojadetex/work not writable, skipping touch: /usr/ports/textproc/docproj-nojadetex/work/.build_done.docproj._usr_local: Operation not permitted *** Error code 1 Stop in /usr/ports/textproc/docproj-nojadetex. ===>>> make failed for textproc/docproj-nojadetex ===>>> Aborting update ===>>> Update for textproc/docproj-nojadetex failed ===>>> Aborting update ===>>> Update for misc/freebsd-doc-en failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster misc/freebsd-doc-en textproc/docproj-nojadetex graphics/netpbm graphics/jasper graphics/libglut x11-toolkits/libXmu x11-toolkits/libXt x11/libSM devel/automake x11/libICE x11/libXi graphics/jbigkit graphics/png graphics/tiff graphics/peps print/ghostscript8 graphics/jbig2dec print/cups-image print/cups-client security/gnutls print/gsfonts x11-fonts/fontconfig print/freetype2 graphics/scr2png textproc/docbook-410 textproc/iso8879 textproc/xmlcatmgr textproc/docbook-xml textproc/docbook-xsl textproc/docbook textproc/docbook-420 textproc/docbook-430 textproc/docbook-440 textproc/docbook-450 textproc/docbook-500 textproc/xmlcharent textproc/docbook-sk textproc/docbook-xml-430 textproc/docbook-xml-440 textproc/docbook-xml-450 textproc/dsssl-docbook-modular textproc/fixrtf textproc/html textproc/html2text textproc/jade textproc/linuxdoc textproc/p5-XML-Parser textproc/scr2txt textproc/xhtml www/links1 www/tidy devel/libtool security/ca_root_nss devel/libsigsegv net/openldap24-client devel/pcre devel/apr1 devel/autoconf ftp/curl www/apache22 www/privoxy www/sarg sysutils/webmin Any ideas on what my problem(s) is and how to solve it??? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 16:12:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C05106566B for ; Fri, 4 Mar 2011 16:12:11 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC1B8FC17 for ; Fri, 4 Mar 2011 16:12:10 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p24GC91E098967; Fri, 4 Mar 2011 16:12:09 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D710F59.1060206@qeng-ho.org> Date: Fri, 04 Mar 2011 16:12:09 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110303 Thunderbird/3.1.8 MIME-Version: 1.0 To: Ed Flecko 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: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 16:12:11 -0000 On 03/04/11 15:37, Ed Flecko wrote: [Snips] Given this: > ===> /usr/ports/textproc/docproj-nojadetex/work not writable, skipping > Any ideas on what my problem(s) is and how to solve it??? Either you've got a read-only /usr/ports or you've forgotten to run as root. [I will admit to doing the latter occasionally.] From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 16:32:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E2A1065678 for ; Fri, 4 Mar 2011 16:32:40 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp134.iad.emailsrvr.com (smtp134.iad.emailsrvr.com [207.97.245.134]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3978FC25 for ; Fri, 4 Mar 2011 16:32:40 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp53.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id A689B59174 for ; Fri, 4 Mar 2011 11:32:31 -0500 (EST) X-Virus-Scanned: OK Received: by smtp53.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id C458958FE5 for ; Fri, 4 Mar 2011 11:32:14 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Fri, 04 Mar 2011 11:32:11 -0500 From: Tom Worster To: FreeBSD Questions Message-ID: Thread-Topic: determining freebsd-update status Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: determining freebsd-update status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 16:32:40 -0000 to determine roughly where a server is in its updates (we're running only RELEASE) i do: 1 - check the 1st 4 fields of the tag file in the freebsd-update working dir. 2 - check the output of freebsd-update IDS. is it the case that freebsd-update IDS checks base system status relative to what's referenced in the tag file? tia tom From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 16:51:10 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABA59106564A for ; Fri, 4 Mar 2011 16:51:10 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 723E38FC18 for ; Fri, 4 Mar 2011 16:51:10 +0000 (UTC) Received: (qmail 31604 invoked by uid 0); 4 Mar 2011 16:24:30 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 4 Mar 2011 16:24:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=d3XAFEYg0y8rmQ3lhUkuyQc/Hodd7nUPmXBroYN11j9EsimYl3I67H6lRv/lsKLIknqAy3YEOdhJgjF64G3/0f+sticLINtVw9RmqHC0b6F6zKntnsyU5ZN1gWgleP/+; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PvXnp-0004nr-00 for questions@freebsd.org; Fri, 04 Mar 2011 09:24:30 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 04 Mar 2011 09:13:23 -0700 Date: Fri, 4 Mar 2011 09:13:23 -0700 From: Chad Perrin To: "questions@freebsd.org" Message-ID: <20110304161323.GA51360@guilt.hydra> Mail-Followup-To: "questions@freebsd.org" References: <20110304002630.GA31751@thought.org> <20110304152744.GB55534@libertas.local.camdensoftware.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20110304152744.GB55534@libertas.local.camdensoftware.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 16:51:10 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2011 at 07:27:44AM -0800, Chip Camden wrote: >=20 > I have not had a lot of luck with upgrading from within the admin panel, > but it is still easy to upgrade by downloading the latest tarball and > simply extracting it over the installation. Then go into the admin panel > to see if it requires that you press a button to update the database. > Done! >=20 > Of course, make a backup first. =2E . . and Heaven help you if you had to make any nontrivial changes to your local install of WordPress to make up for some of its many deficiencies, and don't have a detailed record of exactly what changes you made, since I know of no upgrade methodology for WordPress that don't destroy such changes in a way that makes it effectively impossible to just apply a patch to reintroduce them. WordPress developers apparently like to substantially change the way things look in all the core files (thus breaking patches made from earlier versions) without substantively changing the way things work or the readability of the code. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1xD6MACgkQ9mn/Pj01uKXzzgCg22cQMhA0SEZ/e4zMSOA3oBBR ODMAniJodXC7vR6QoSBk7EOQpb3aMrg9 =Wd3e -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:00:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968EE1065670 for ; Fri, 4 Mar 2011 17:00:15 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1178FC0A for ; Fri, 4 Mar 2011 17:00:15 +0000 (UTC) Received: by iwn33 with SMTP id 33so2412630iwn.13 for ; Fri, 04 Mar 2011 09:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BcenVQpq2esZrc7wFIH9ZKyouC2uUfbhw4owgfC4WL4=; b=RyWsH/eR6y5iNPYablR4TixayIPh8UQ7DaHnz61jTpIXXf1xBJE1oiIV3lRsQ4ShxP DpX3cLHpaK3W9kIbYCwd1R8SmKdr7LpXfx9b74kAbC0c2XSqjE2fk5lPNAJRNBjy+icv iX0hgNSeGJa/Mq6mDf+x9ciSYSX1it9YwsIhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qWbOdhNgL4Ko579fgy+0a7XN+gGOR1NF3DiKwX5zCcxTUNZnclDvxBGsCivX04IdVM cS9uQpc1lm+UVOPwJ9FmgSgRxp1nfUh5cRJ0BfevK9lKjkmXjeZELapau0OvTV7r8stS 0BCvqD6FLb7qBNdJJ4cUJeQ3SfvVMn0urbiJg= MIME-Version: 1.0 Received: by 10.231.171.200 with SMTP id i8mr554144ibz.124.1299258014491; Fri, 04 Mar 2011 09:00:14 -0800 (PST) Received: by 10.231.199.4 with HTTP; Fri, 4 Mar 2011 09:00:14 -0800 (PST) In-Reply-To: References: Date: Fri, 4 Mar 2011 09:00:14 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:00:15 -0000 Thanks gentlemen; I was not running portmaster as root. When I re-run portmaster -a as root, I get the following: ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for devel/automake from ports ===>>> Dependency check complete for devel/automake en-freebsd-doc-20100625 >> textproc/docproj-nojadetex >> graphics/netpbm >> graphics/jasper >> graphics/libglut >> x11-toolkits/libXmu >> x11-toolkits/libXt >> x11/libSM >> devel/automake ===> Installing for automake-1.11.1 ===> Generating temporary packing list ===> Checking if devel/automake already installed ===> automake-1.11.1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/automake without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/devel/automake. Suggestions? Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:07:10 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B06106579A; Fri, 4 Mar 2011 17:07:10 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id 754C78FC0C; Fri, 4 Mar 2011 17:07:10 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward12.mail.yandex.net (Yandex) with ESMTP id 4E4D1C22E0A; Fri, 4 Mar 2011 19:53:06 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1299257586; bh=X4vz1CrXVqPRon5LIZmQ06MVqSxNgu2IoxOGiu+iIw0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SJUgC8b/HlM+fnae/fEJLB+FqnUmoHot4jjiwJAxagamoj4Fe5VXPMNLJkve22Nfi 4xT8TT5dMRJvlJDBoxkxlJJ+veaPRI4RdyqS+RmIgeNoifxCw2MSPGPR0SbEDJEuHC tfADFUI54+hZMh5aQLjufd/u4lF9VG2y96QT+xIQ= Received: from smeshariki2.local (unknown [213.27.65.65]) by smtp12.mail.yandex.net (Yandex) with ESMTPSA id DF9AE5728073; Fri, 4 Mar 2011 19:53:05 +0300 (MSK) Message-ID: <4D71189C.8050305@yandex.ru> Date: Fri, 04 Mar 2011 19:51:40 +0300 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.14) Gecko/20110303 Thunderbird/3.1.8 MIME-Version: 1.0 To: Redd Vinylene References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: ports@freebsd.org, glewis@FreeBSD.org, questions Subject: Re: Cannot build jdk16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:07:10 -0000 04.03.2011 14:23, Redd Vinylene пишет: > Hello! > > /usr/ports/java/jdk16 instructs me to manually fetch > tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file > however is no longer available and has been replaced by > tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite > of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and > "make -DNO_CHECKSUM"? > > Many thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=155270 -- Regards, Ruslan From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:09:25 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD5CF106566B for ; Fri, 4 Mar 2011 17:09:25 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 804168FC0A for ; Fri, 4 Mar 2011 17:09:25 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PvYVE-0004tY-8r for questions@freebsd.org; Fri, 04 Mar 2011 09:09:21 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Mar 2011 09:09:20 -0800 Date: Fri, 4 Mar 2011 09:09:20 -0800 From: Chip Camden To: "questions@freebsd.org" Message-ID: <20110304170920.GE55534@libertas.local.camdensoftware.com> Mail-Followup-To: "questions@freebsd.org" References: <20110304002630.GA31751@thought.org> <20110304152744.GB55534@libertas.local.camdensoftware.com> <20110304161323.GA51360@guilt.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FN+gV9K+162wdwwF" Content-Disposition: inline In-Reply-To: <20110304161323.GA51360@guilt.hydra> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:09:25 -0000 --FN+gV9K+162wdwwF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Chad Perrin on Friday, 04 March 2011: > On Fri, Mar 04, 2011 at 07:27:44AM -0800, Chip Camden wrote: > >=20 > > I have not had a lot of luck with upgrading from within the admin panel, > > but it is still easy to upgrade by downloading the latest tarball and > > simply extracting it over the installation. Then go into the admin pan= el > > to see if it requires that you press a button to update the database. > > Done! > >=20 > > Of course, make a backup first. >=20 > . . . and Heaven help you if you had to make any nontrivial changes to > your local install of WordPress to make up for some of its many > deficiencies, and don't have a detailed record of exactly what changes > you made, since I know of no upgrade methodology for WordPress that don't > destroy such changes in a way that makes it effectively impossible to > just apply a patch to reintroduce them. WordPress developers apparently > like to substantially change the way things look in all the core files > (thus breaking patches made from earlier versions) without substantively > changing the way things work or the readability of the code. >=20 > --=20 > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Yes, I've been bitten by that. Nowadays I confine all of my customizations to plugins or theme files, os I can always drop in their latest version and then check to see if they broke the plugins somehow (which has happened on occasion). --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com --FN+gV9K+162wdwwF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNcRzAAAoJEIpckszW26+RJkAH/15xOBLOSleHP5zHXBbwksKy gueG4CK77pTSFpLC80vlYwdZYeWHdJ9RXULrKsafmkyMvJ+ih6v4poS//r0d1Xey 3vvuxatzQ14spVwpsLDIGzmvVzO7VH6NLy/ThheegDjbwccEBq69KrnW/GcXr+QS S1k0XH93nwJw9z+fKb2Z8qK9gCMnvpRW0+kqRHcPMHVUomi6EiS5I6kOZinD1Qfa 1tDRuEInn6vq2gsooewU73yC6sNUaCy6YguxAQnvcMRDBpcggBtVJxquh5wLe+qx RJE2PX2aJkt7j2Ft5oBDYMpHBENQ+S/m9hpU2id2xtF4AZjyG780wWUyGKE4soI= =C1q1 -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:18:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6384E106564A for ; Fri, 4 Mar 2011 17:18:26 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id E01F08FC13 for ; Fri, 4 Mar 2011 17:18:25 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p24HIOLi000110; Fri, 4 Mar 2011 17:18:24 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D711EE0.9010909@qeng-ho.org> Date: Fri, 04 Mar 2011 17:18:24 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110303 Thunderbird/3.1.8 MIME-Version: 1.0 To: Ed Flecko 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: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:18:26 -0000 On 03/04/11 17:00, Ed Flecko wrote: > Thanks gentlemen; I was not running portmaster as root. > > When I re-run portmaster -a as root, I get the following: > > ===>>> Starting check for runtime dependencies > ===>>> Gathering dependency list for devel/automake from ports > ===>>> Dependency check complete for devel/automake > en-freebsd-doc-20100625>> textproc/docproj-nojadetex>> > graphics/netpbm>> graphics/jasper>> graphics/libglut>> > x11-toolkits/libXmu>> x11-toolkits/libXt>> x11/libSM>> > devel/automake > ===> Installing for automake-1.11.1 > ===> Generating temporary packing list > ===> Checking if devel/automake already installed > ===> automake-1.11.1 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/automake > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/automake. > > > > > Suggestions? Do what it says? make -C /usr/ports/devel/automake deinstall reinstall or maybe (note the lack of "-a" here) env FORCE_PKG_REGISTER=yes portmaster devel/automake and then try portmaster -a again. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:34:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49F6C106566C for ; Fri, 4 Mar 2011 17:34:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id EBC8B8FC18 for ; Fri, 4 Mar 2011 17:34:51 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx02.qsc.de (Postfix) with ESMTP id 4852E1E9AA; Fri, 4 Mar 2011 18:34:50 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p24HYnWp001618; Fri, 4 Mar 2011 18:34:49 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 4 Mar 2011 18:34:49 +0100 From: Polytropon To: "Christopher J. Ruwe" Message-Id: <20110304183449.b2b4c1ac.freebsd@edvax.de> In-Reply-To: <20110304152810.36060288@dijkstra> References: <4D700FA6.1030806@cox.net> <20110304152810.36060288@dijkstra> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:34:53 -0000 Readers will surely see more and more people having similar reasons why those who happily use FreeBSD do not want to go back to Linux, or even worse, "Windows". I may include myself here, with the special case that I've never been a "Windows" user, so my mind is clean and healthy and unspoiled of MICROS~1's strange ideas of how things work. :-) On Fri, 4 Mar 2011 15:28:10 +0100, "Christopher J. Ruwe" wrote: > I started with Linux when being in high-school out of frustration of > Windows forcing me to do things their way. In my case, it happened in school, simply because of the reason that I needed a versatile typesetting system (text, formulas, graphs) to print to a laser printer. As LaTeX was already available on Linux, I started with Slackware which was a very UNIX-like system (a positive opinion!) at that time. Later on, I did use PTS-Linux (derived from DLD, a german Linux distribution, if I remember correctly), as well as S.u.S.E.-Linux (its formal name at that time). While I found that generic UNIX knowledge was applicable everywhere, "Linux knowledge" was not, as you could see from file names and locations, procedures, and configuration statements which could not be transferred 1:1 between the systems. > When at university, I tried Gentoo Linux, learned a lot and solved > problems my way. Having bought a notebook later on, I decided trying > the then very much in vogue Ubuntu with a Xubuntu installation. > Although satisfied with the very usable defaults, I was quickly > unnerved by not being able to control things. University was the time when I found out about FreeBSD. Having generic UNIX knowledge already (Linux, Solaris, IRIX) I could predict (!) where things are on a FreeBSD system, how they act, and what they do. This was my main reason to keep using this system, exlusively as a home desktop since version 4.0, without any disadvantages so far. I doubt that Linux would have delivered the quality I'm looking for: The quality of not being forced to abandon fully functional hardware simply because new defaults tell me I need a plentycore CPU and tenmelonhundred GB of RAM, just to keep doing the same things. As a developer, targetting Linux (as a family of operating systems) is not very easy, as they all do differ in some way. At least there is source code to consult if problems arise, but sometimes you're searching through header files to find out what *foo() is today. :-) > What drove me away from Gentoo apart from that GPL-flu was deteriorating > quality of system tools. You install what is world in FreeBSD from > portage in Gentoo, so when updating your portage, necessary system > tools sometimes break. Linux does not differentiate between "the system" and "everything else"; even the kernel can be seen as a package on the system. Along with different packaging systems, distributions differ in what packages they use to make their "base system" (default amount of installation). For developers, FreeBSD is an EXCELLENT operating system as it offers consistency, compatibility and interoperatbility at a good speed ratio (won't run slower after upgrading). The code quality and the availability of good documentation (man pages, handbook, FAQ), even accessible LOCALLY with no Internet connection at hand, makes it a strong partner for DURABLE solutions in software development. A friendly and intelligent community adds to the sum. The sum is SUPERIOR to what I could experience in my "career". I know this is a quite general statement and doesn't help the OP in particular, but I thought it would be worth sharing it. I hope it was. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 17:36:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87AAA1065674 for ; Fri, 4 Mar 2011 17:36:49 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0BC8FC13 for ; Fri, 4 Mar 2011 17:36:48 +0000 (UTC) Received: by iwn33 with SMTP id 33so2450210iwn.13 for ; Fri, 04 Mar 2011 09:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=3VmZgJqfogZNICvNitGSEJvgBUWu3Tcqxof6kEUumlA=; b=pU4+hjg03OrAZAOtRbZWSw/yzlVYvOtj+psBWMBaKCSWadzORZR+JBWoZgrXqH2W/B at9pChZz6AAn1Pw8iackJQnrR1g0OjDGjPKZByXHj3SDNn+JWA4BFZIoPvbi5j3t4S44 H26AAXQ7ep8KOV0ILeY6646ZMG4dLmWSQNJW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KzxnVd2zlbdszVZ+ov56NXluyD3b1UK7j4xYqPHeM6SlYnPROWZoAAn7WcLaFaR+Kj 6ye9ZnEF3SngyoHEjLz/mqJpVCrKCGlmmo3+uQ2m75w7kLLeJeHuQOI9CJolqE1Yfxis BUikvK49fG1dA/nwKrnhHrPpYv6+LREYWDwkA= MIME-Version: 1.0 Received: by 10.42.176.74 with SMTP id bd10mr917118icb.256.1299260207943; Fri, 04 Mar 2011 09:36:47 -0800 (PST) Received: by 10.231.199.4 with HTTP; Fri, 4 Mar 2011 09:36:47 -0800 (PST) In-Reply-To: <4D711EE0.9010909@qeng-ho.org> References: <4D711EE0.9010909@qeng-ho.org> Date: Fri, 4 Mar 2011 09:36:47 -0800 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 17:36:51 -0000 Thanks Aurthur. :-) It's funny...I DID what it asks and it still didn't work (make deinstall, etc.). Apparently, I installed it from a package, so I did a pkg_delete automake and then started my portmaster -a again and it seems to be running fine. :-) Ed From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 18:12:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B70106564A for ; Fri, 4 Mar 2011 18:12:22 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF588FC08 for ; Fri, 4 Mar 2011 18:12:22 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 4B3D46FDCAC; Fri, 4 Mar 2011 10:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1299262342; x=1301076742; bh=ECajuLyRh9Mlfh56lw32aBlhxkLTTlUceiG mvvDROs4=; b=pKxyc1PYrAFob2hvexvgt/I1im85f+lo2IpCecC8sC3eN2Lr+je 2X3HHsZuXdS1oyDtlPfySpFWoNwKo9+nRt+mfi4Sp97QctdyV0c7J3Hp74bcY6Mb I6cUWTdh78agLPDVQNEOBqk0uFhftsj2N4IzKm7pUbJNWyJFxObG6y4c= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HXkS5X5yf4I4; Fri, 4 Mar 2011 10:12:22 -0800 (PST) Received: from experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with SMTP id 1A3166FDCA1; Fri, 4 Mar 2011 10:12:22 -0800 (PST) Received: (nullmailer pid 76393 invoked by uid 1001); Fri, 04 Mar 2011 18:09:00 -0000 Date: Fri, 4 Mar 2011 10:09:00 -0800 From: Jason Helfman To: Tom Worster Message-ID: <20110304180900.GU76063@eggman.experts-exchange.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.2-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: determining freebsd-update status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 18:12:22 -0000 On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: >to determine roughly where a server is in its updates (we're running only >RELEASE) i do: > >1 - check the 1st 4 fields of the tag file in the freebsd-update working >dir. Just because the 1st 4 fields are populated, doesn't necessarily imply it is running at that version. The tag is stating what it has recently "seen" as available on the update server, but that doesn't mean that those updates have been installed. > >2 - check the output of freebsd-update IDS. > >is it the case that freebsd-update IDS checks base system status relative >to what's referenced in the tag file? No. The hash index file is pulled from the update server for the installed release, and your system is compared with that. > >tia >tom > > >_______________________________________________ >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" > -jgh From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 18:37:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2567A10657C3 for ; Fri, 4 Mar 2011 18:37:34 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id A2B868FC12 for ; Fri, 4 Mar 2011 18:37:33 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p24IbWM6001407; Fri, 4 Mar 2011 18:37:32 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D71316C.9040505@qeng-ho.org> Date: Fri, 04 Mar 2011 18:37:32 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110303 Thunderbird/3.1.8 MIME-Version: 1.0 To: Ed Flecko References: <4D711EE0.9010909@qeng-ho.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions Subject: Re: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 18:37:34 -0000 On 03/04/11 17:36, Ed Flecko wrote: > Thanks Aurthur. > > :-) > > It's funny...I DID what it asks and it still didn't work (make deinstall, etc.). A tip for the future: always say what you've tried. It lets us save our waning mind reading powers for important cases, like working out what the wife actually wants for her birthday when all she says is "oh, any little thing will do". :-) > Apparently, I installed it from a package, so I did a pkg_delete > automake and then started my portmaster -a again and it seems to be > running fine. Ah, the third option which I forgot to mention. It's always the option one forgets to mention that works. In theory package install and port install are supposed to be the same (modulo config options). In practice there are odd cases, and automake seems to provoke them. Thinking back, I've had to pkg_delete it before now in order to upgrade, and I always install from ports. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:05:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0BE1065674 for ; Fri, 4 Mar 2011 19:05:24 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp204.iad.emailsrvr.com (smtp204.iad.emailsrvr.com [207.97.245.204]) by mx1.freebsd.org (Postfix) with ESMTP id 633F68FC1D for ; Fri, 4 Mar 2011 19:05:21 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 4DD8C3504F6; Fri, 4 Mar 2011 14:05:21 -0500 (EST) X-Virus-Scanned: OK Received: by smtp40.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id D9A8C350BAE; Fri, 4 Mar 2011 14:05:19 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Fri, 04 Mar 2011 14:05:15 -0500 From: Tom Worster To: Jason Helfman Message-ID: Thread-Topic: determining freebsd-update status In-Reply-To: <20110304180900.GU76063@eggman.experts-exchange.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: FreeBSD Questions Subject: Re: determining freebsd-update status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 19:05:24 -0000 thanks for the answers, jason. two more questions below. On 3/4/11 1:09 PM, "Jason Helfman" wrote: >On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: >>to determine roughly where a server is in its updates (we're running only >>RELEASE) i do: >> >>1 - check the 1st 4 fields of the tag file in the freebsd-update working >>dir. > >Just because the 1st 4 fields are populated, doesn't necessarily imply it >is >running at that version. The tag is stating what it has recently "seen" >as >available on the update server, but that doesn't mean that those updates >have been installed. ok. >> >>2 - check the output of freebsd-update IDS. >> >>is it the case that freebsd-update IDS checks base system status relative >>to what's referenced in the tag file? > >No. The hash index file is pulled from the update server for the >installed >release, and your system is compared with that. "the installed release" being what exactly? and how does freebsd-update determine what it is? From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:09:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968B6106564A for ; Fri, 4 Mar 2011 19:09:16 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp204.iad.emailsrvr.com (smtp204.iad.emailsrvr.com [207.97.245.204]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9DF8FC16 for ; Fri, 4 Mar 2011 19:09:16 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp40.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id D4DD13506F2; Fri, 4 Mar 2011 14:09:15 -0500 (EST) X-Virus-Scanned: OK Received: by smtp40.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 34F1B350350; Fri, 4 Mar 2011 14:09:14 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Fri, 04 Mar 2011 14:09:11 -0500 From: Tom Worster To: Ed Flecko Message-ID: Thread-Topic: "portmaster -a" command fails - *** Error code 1 In-Reply-To: <4D71316C.9040505@qeng-ho.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: FreeBSD-Questions Subject: Re: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 19:09:16 -0000 these situations arise quite often where you have to delete a port before portmaster will continue. sometimes you can predict it by reading /usr/ports/UPDATING not that this is the only reason to read UPDATING. On 3/4/11 1:37 PM, "Arthur Chance" wrote: >On 03/04/11 17:36, Ed Flecko wrote: >> Thanks Aurthur. >> >> :-) >> >> It's funny...I DID what it asks and it still didn't work (make >>deinstall, etc.). > >A tip for the future: always say what you've tried. It lets us save our >waning mind reading powers for important cases, like working out what >the wife actually wants for her birthday when all she says is "oh, any >little thing will do". :-) > >> Apparently, I installed it from a package, so I did a pkg_delete >> automake and then started my portmaster -a again and it seems to be >> running fine. > >Ah, the third option which I forgot to mention. It's always the option >one forgets to mention that works. > >In theory package install and port install are supposed to be the same >(modulo config options). In practice there are odd cases, and automake >seems to provoke them. Thinking back, I've had to pkg_delete it before >now in order to upgrade, and I always install from ports. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:13:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 301D6106564A for ; Fri, 4 Mar 2011 19:13:50 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 0B61A8FC0A for ; Fri, 4 Mar 2011 19:13:49 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id C196C6FDB8A; Fri, 4 Mar 2011 11:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1299266029; x=1301080429; bh=JG8klUmnDa/7PjbYL5JU6H2IcHY+tAdHLiO ION/9oWA=; b=kCjIIWfAo0sG+4bFm14yCOIHnBuD3jPY1i8X9oZDyEGJc+7Ciak noKkvt+2sRAD4w364fUNeUIMOhkSRxScDx2L+/Gw45M90/nADnl1ByZcLAy4+hKR eMhQNpzZsFPYRbmu1RGzBecf3o6d90c6JZIcCO7VsGLsOVlI2iyD1Raw= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cqk-sMdqlkZ2; Fri, 4 Mar 2011 11:13:49 -0800 (PST) Received: from experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with SMTP id 8B0CE6FDB83; Fri, 4 Mar 2011 11:13:49 -0800 (PST) Received: (nullmailer pid 76698 invoked by uid 1001); Fri, 04 Mar 2011 19:10:27 -0000 Date: Fri, 4 Mar 2011 11:10:27 -0800 From: Jason Helfman To: Tom Worster Message-ID: <20110304191027.GV76063@eggman.experts-exchange.com> References: <20110304180900.GU76063@eggman.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.2-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: determining freebsd-update status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 19:13:50 -0000 On Fri, Mar 04, 2011 at 02:05:15PM -0500, Tom Worster thus spake: >thanks for the answers, jason. two more questions below. > np > >On 3/4/11 1:09 PM, "Jason Helfman" wrote: > >>On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake: >>>to determine roughly where a server is in its updates (we're running only >>>RELEASE) i do: >>> >>>1 - check the 1st 4 fields of the tag file in the freebsd-update working >>>dir. >> >>Just because the 1st 4 fields are populated, doesn't necessarily imply it >>is >>running at that version. The tag is stating what it has recently "seen" >>as >>available on the update server, but that doesn't mean that those updates >>have been installed. > >ok. > > >>> >>>2 - check the output of freebsd-update IDS. >>> >>>is it the case that freebsd-update IDS checks base system status relative >>>to what's referenced in the tag file? >> >>No. The hash index file is pulled from the update server for the >>installed >>release, and your system is compared with that. > >"the installed release" being what exactly? What the system is running. > >and how does freebsd-update determine what it is? From the code, it appears to use `uname -r` and `uname -m`, for release and architecture, respectively. -jgh From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:30:08 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 122DC106566B for ; Fri, 4 Mar 2011 19:30:08 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B23688FC17 for ; Fri, 4 Mar 2011 19:30:07 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 92882E805E1; Fri, 4 Mar 2011 11:30:06 -0800 (PST) Date: Fri, 4 Mar 2011 11:30:06 -0800 From: Gary Kline To: "questions@freebsd.org" Message-ID: <20110304193006.GA17556@thought.org> References: <20110304002630.GA31751@thought.org> <20110304152744.GB55534@libertas.local.camdensoftware.com> <20110304161323.GA51360@guilt.hydra> <20110304170920.GE55534@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110304170920.GE55534@libertas.local.camdensoftware.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 19:30:08 -0000 [Just a top post to say that recent troubles of unknown cause on my server --7.3-- have drained time from my thought of joining the "Blogger World."] On Fri, Mar 04, 2011 at 09:09:20AM -0800, Chip Camden wrote: > Quoth Chad Perrin on Friday, 04 March 2011: > > On Fri, Mar 04, 2011 at 07:27:44AM -0800, Chip Camden wrote: > > > > > > I have not had a lot of luck with upgrading from within the admin panel, > > > but it is still easy to upgrade by downloading the latest tarball and > > > simply extracting it over the installation. Then go into the admin panel > > > to see if it requires that you press a button to update the database. > > > Done! > > > > > > Of course, make a backup first. I make bups of bups; the thing is that when I _thought_ i had "upgraded" by push-button nothing had actually happened. My version had not been uprev'd to 3.1; it was still a 3.0.4. Etc. I'mall but certain this would have been the same if I were running Linux. ...So yes, I will d/load stuff, move or scp it into my www/data/blog/* and extract. My proposed site is titled "...And miles to go before I sleep"; the blog directory is, literally "blog". (I posted a question on the forum about where to change the author info and someone said it was "www.home/blog/author/authorID" --IIRC. I didn't understand the answer.) > > > > . . . and Heaven help you if you had to make any nontrivial changes to > > your local install of WordPress to make up for some of its many > > deficiencies, and don't have a detailed record of exactly what changes > > you made, since I know of no upgrade methodology for WordPress that don't > > destroy such changes in a way that makes it effectively impossible to > > just apply a patch to reintroduce them. WordPress developers apparently > > like to substantially change the way things look in all the core files > > (thus breaking patches made from earlier versions) without substantively > > changing the way things work or the readability of the code. > > I just found the WP-3.1.zip file in my ~/Downloads directory. I had not looked. On the WP.org forum I claimed to be running 3.1 rather than 3.0.4. Could have have nosed me somehow? How tightly integrated are the clients integrated with WordPress? Another thin I don't quite get is whether this group in a non-profit [.org] or a for-profit [.com]. I've seen some instructive videos for this effort; I'm assuming that these are for the ".com/commercial" side. Is there a place on the WP .org side that has a series of tutorials-- 001 to NNN that I should read? This one isn't going to be plug-in-an-use; it looks like it demands at least a moderate learning curve. > > -- > > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > > Yes, I've been bitten by that. Nowadays I confine all of my > customizations to plugins or theme files, os I can always drop in their > latest version and then check to see if they broke the plugins somehow > (which has happened on occasion). > Yipes. Thanks for the clue. gary > -- > Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F > http://chipsquips.com | http://camdensoftware.com | http://chipstips.com -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:46:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09CBC106564A for ; Fri, 4 Mar 2011 19:46:51 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp2.iomartmail.com (asmtp2.iomartmail.com [62.128.201.249]) by mx1.freebsd.org (Postfix) with ESMTP id 922028FC21 for ; Fri, 4 Mar 2011 19:46:50 +0000 (UTC) Received: from asmtp2.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id p24JkfXk019270; Fri, 4 Mar 2011 19:46:41 GMT Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id p24JkfwV019263; Fri, 4 Mar 2011 19:46:41 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id BC9D633C1F; Fri, 4 Mar 2011 19:46:40 +0000 (GMT) Date: Fri, 4 Mar 2011 19:46:40 +0000 From: Frank Shute To: Kouichiro Iwao Message-ID: <20110304194640.GB1394@orange.esperance-linux.co.uk> References: <20110303145314.GA54198@club.kyutech.ac.jp> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <20110303145314.GA54198@club.kyutech.ac.jp> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-RC2 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: license of the code in freebsd documantation 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, 04 Mar 2011 19:46:51 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2011 at 11:53:14PM +0900, Kouichiro Iwao wrote: > > I'm writing a script based on the code in freebsd docs, > and caring about the license of it. The original scripts are=20 > example 6 and 7 of the following page. How do I have to treat=20 > my code if I distribute it? > http://www.freebsd.org/doc/en/articles/ldap-auth/client.html >=20 > I know freebsd docs is licensed under The FreeBSD Documantation=20 > License but don't know about codes in them. >=20 > --=20 > kiwao Since those scripts have been contributed to the FreeBSD project, I would treat them as if they had the standard FreeBSD license. If you do that, then you should be playing safe i.e they're almost certainly not under a more restrictive license. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1xQZ8ACgkQHduKvUAgeK4LrwCgsqIrKoMqFmtfdRDtxAJFDyEe Z8UAn1zHd2ApHs6DgKLfFDCv6LXPO6wr =TTmV -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 19:51:21 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B16FA1065674 for ; Fri, 4 Mar 2011 19:51:21 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 736088FC08 for ; Fri, 4 Mar 2011 19:51:21 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pvb1y-0007xk-4G for questions@freebsd.org; Fri, 04 Mar 2011 11:51:19 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 04 Mar 2011 11:51:15 -0800 Date: Fri, 4 Mar 2011 11:51:15 -0800 From: Chip Camden To: "questions@freebsd.org" Message-ID: <20110304195115.GF55534@libertas.local.camdensoftware.com> Mail-Followup-To: "questions@freebsd.org" References: <20110304002630.GA31751@thought.org> <20110304152744.GB55534@libertas.local.camdensoftware.com> <20110304161323.GA51360@guilt.hydra> <20110304170920.GE55534@libertas.local.camdensoftware.com> <20110304193006.GA17556@thought.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Il7n/DHsA0sMLmDu" Content-Disposition: inline In-Reply-To: <20110304193006.GA17556@thought.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: mysql missing from my home-page WordPress.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 19:51:21 -0000 --Il7n/DHsA0sMLmDu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Gary Kline on Friday, 04 March 2011: =E2=9C=82 snip =E2=9C=82 > it into my www/data/blog/* and extract. My proposed site is=20 > titled "...And miles to go before I sleep"; the blog directory > is, literally "blog". (I posted a question on the forum about > where to change the author info and someone said it was=20 > "www.home/blog/author/authorID" --IIRC. I didn't understand the > answer.) =E2=9C=82 snip =E2=9C=82 It's in the MySQL database. You change it by going into the admin panel (www.home/blog/wp-admin) then go to the general settings (on the left sidebar, under "Settings" click "General" or navigate to www.home/blog/wp-admin/options-general.php). =E2=9C=82 snip =E2=9C=82 >=20 > I just found the WP-3.1.zip file in my ~/Downloads directory. I > had not looked. On the WP.org forum I claimed to be running 3.1 > rather than 3.0.4. Could have have nosed me somehow? How > tightly integrated are the clients integrated with WordPress? > Another thin I don't quite get is whether this group in a > non-profit [.org] or a for-profit [.com]. =20 Wordpress.org is the site for the open source Wordpress project. It's where you download sources, and where everything's documented. Wordpress.com is a site where you can sign up for a free account that they host. You might want to bookmark http://codex.wordpress.org/Main_Page =E2=9C=82 snip =E2=9C=82 --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com --Il7n/DHsA0sMLmDu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNcUKzAAoJEIpckszW26+RqVkIAJqZcS+juGgI83gOJz9UMGY7 uAaLIe5IXiqWpZbj3a2j/P15kfqfWyUW+4CxDuDDT/INAaz+mHRq2ZKEsDC+5hxs py0FsFl9/np2kvefapQLeFg35+1s57O0r6q1j4pLNJoC+ZOHo0MnjxQbW7jYmlDj biL7L2kzmgL1vDTVtkid57ZtHgkQ4TlNy0zSmEV7aif8rhwPFOc/Zx5AntqVlH+R cBvqpV/TceUG8gZ+7qc+xQEkdib7JQtyIH7C/k/kpaHbcoSCVDxTjAhsypXri8zi ZVenSkGXRmOeGhNG8lIXiqEfPt0Qer1+4Dtr8Vm+aaPvgZwxWi8eRSddS4ULR8E= =mkLh -----END PGP SIGNATURE----- --Il7n/DHsA0sMLmDu-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 21:30:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D59AE1065676 for ; Fri, 4 Mar 2011 21:30:53 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 728568FC1E for ; Fri, 4 Mar 2011 21:30:52 +0000 (UTC) Received: by eyg7 with SMTP id 7so865623eyg.13 for ; Fri, 04 Mar 2011 13:30:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.107.13 with SMTP id z13mr13358ebo.8.1299274251949; Fri, 04 Mar 2011 13:30:51 -0800 (PST) Received: by 10.14.119.1 with HTTP; Fri, 4 Mar 2011 13:30:51 -0800 (PST) X-Originating-IP: [128.95.17.209] In-Reply-To: <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Date: Fri, 4 Mar 2011 13:30:51 -0800 Message-ID: From: David Brodbeck To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 21:30:53 -0000 On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > Be careful of automated responses. =A0What if someone spoofs IP's of legi= t users / customers / whatever and your automated response blocks them? =A0= Not good. Fortunately this is a relatively low risk with fail2ban, because to spoof a failed SSH connection you need to spoof a whole three-way TCP handshake. This could happen, but only if the attacker is on the same subnet as the affected customer or can intercept all their traffic for a man-in-the-middle attack. A bigger risk is customers fat-fingering their password repeatedly and locking themselves out. ;) From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 21:43:46 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF751065670 for ; Fri, 4 Mar 2011 21:43:46 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [75.101.116.66]) by mx1.freebsd.org (Postfix) with ESMTP id A97DA8FC15 for ; Fri, 4 Mar 2011 21:43:34 +0000 (UTC) Received: from [10.0.1.3] (pool-108-23-64-87.lsanca.fios.verizon.net [108.23.64.87]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id p24LOXCe028705 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 4 Mar 2011 13:24:37 -0800 (PST) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 4 Mar 2011 13:24:32 -0800 Message-Id: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: Subject: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 21:43:46 -0000 I have a client who has purchased some software. I don't know anything = much about it yet other than it claims to run on Debian and CentOS. I = suspect its binaries. I will have access to things like the developer, = name etc. on Monday. However, thats when he needs to know if I can make = it run on FreeBSD. I am not convinced I want to run production software = on the Linux compatibility suite. No good reason other than it sounds = like its adding a lot more opportunities for breakage. This has to be = an always up application. I have virtually no knowledge of CentOS other = than it was installed on one server when I got it. Any chance those = binaries might work on FreeBSD? I am planning on starting with FreeBSD = 8.2 since its just out and working fine on one of my servers, but could = use an earlier version if required to make this stuff run. =20= From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:10:15 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D6E1065670 for ; Fri, 4 Mar 2011 22:10:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 88E078FC0C for ; Fri, 4 Mar 2011 22:10:15 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx01.qsc.de (Postfix) with ESMTP id A68AA3826C; Fri, 4 Mar 2011 23:10:13 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p24MACU5002266; Fri, 4 Mar 2011 23:10:12 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 4 Mar 2011 23:10:12 +0100 From: Polytropon To: Doug Hardie Message-Id: <20110304231012.7b45286f.freebsd@edvax.de> In-Reply-To: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:10:15 -0000 On Fri, 4 Mar 2011 13:24:32 -0800, Doug Hardie wrote: > I have a client who has purchased some software. I don't know > anything much about it yet other than it claims to run on Debian > and CentOS. I suspect its binaries. I will have access to > things like the developer, name etc. on Monday. However, thats > when he needs to know if I can make it run on FreeBSD. I am not > convinced I want to run production software on the Linux > compatibility suite. FreeBSD itself offers a Linux ABI - an alternative binary interface. Maybe you'll need additional libraries or programs that are provided by linux-* ports. > No good reason other than it sounds like its adding a lot more > opportunities for breakage. It's often said that FreeBSD's Linux ABI runs Linux programs faster and better than pure Linux, but as I don't use Linux programs on my FreeBSD systems, I can't be more specific on this claim. > This has to be an always up application. I have virtually > no knowledge of CentOS other than it was installed on one > server when I got it. Any chance those binaries might work > on FreeBSD? That's really hard to estimate without further knowledge. You should at least TRY to run the application in question and see if it brings up further requirements or problems, and upon that experience, make further decisions. > I am planning on starting with FreeBSD 8.2 since its just out > and working fine on one of my servers, but could use an earlier > version if required to make this stuff run. It shouldn't be neccessary to use older versions of FreeBSD. However you can install the COMPAT[4567] components (kernel settings and ports) to provide that level of OS access if it should be required. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:11:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33436106567A for ; Fri, 4 Mar 2011 22:11:49 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BB1D58FC26 for ; Fri, 4 Mar 2011 22:11:48 +0000 (UTC) Received: by wyb32 with SMTP id 32so2943404wyb.13 for ; Fri, 04 Mar 2011 14:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=4PxgQEppoZ3qfB5FsNsSmzYsPkHABm+PvaYyOK/SIqU=; b=ZEKwFbjN27plwQ0tim2cUEGNuR9TiDEZhYciP8GnKeB/H4K9SBZLqJb7q/S+sRm9Ri EVUp6M+/EztBy0m4M/aVukrVjuVzKZi3CftqbLV8YhIhIksY9ObEKMYWvAVRiuNPDpaI LcSXjSDlJTBkH0q4pi8/EX0IDUamQb6uWwnrA= 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=GsjCPTcQpPge0S3veXW6pP5HWmrNmH5PxLH2khbTp7O633EwPM4TGCVcNlb0ywPVxi Rvg8W9EFTKZkSfX0PGTsJbJD73mTCqoAUrXTdwH/9A3iRtEZkB3NIPXvrGPwEJBk9MW9 PsL+jQ1okJjj6YMyC0r8hAtc49+notcg03B5M= Received: by 10.227.160.69 with SMTP id m5mr991627wbx.97.1299276707835; Fri, 04 Mar 2011 14:11:47 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id o6sm2149933wbo.3.2011.03.04.14.11.46 (version=SSLv3 cipher=OTHER); Fri, 04 Mar 2011 14:11:47 -0800 (PST) Message-ID: <4D716372.2050606@gmail.com> Date: Fri, 04 Mar 2011 23:10:58 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110302 Thunderbird/3.1.8 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 kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:11:49 -0000 Hello, I know this is a awful subject, but I recently tried a Gentoo on my laptop and I was surprised to see Linux booting about 2-3 times faster than FreeBSD. I don't talk about the init/rc script but only kernel initialisation. For linux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD. Why FreeBSD is so slower than Linux to boot the kernel? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:39:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E689D1065674 for ; Fri, 4 Mar 2011 22:38:59 +0000 (UTC) (envelope-from pldrouin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 754F08FC24 for ; Fri, 4 Mar 2011 22:38:59 +0000 (UTC) Received: by iwn33 with SMTP id 33so2715707iwn.13 for ; Fri, 04 Mar 2011 14:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=B2CNDtRv9taIUdPapsgeIu/R5FD4dLBJ5hoiphm19Jc=; b=DWVQJrczkMmnwOZbAK5BnuX2B5mOo7KqgR4jBP/1mLjIMEd3U7ktVje1/3UqfNXJpm 9v+bcV+8td08w0CMkwTkES04m6tnWhgIH5QTvHB36YLmt1GLUzva8RvG8NoyQxMxzS3y oYwteLk8BXObLe0o1eN/l/58dA3wkqgV5CEQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EHyuIl7Gj2BPR9YNAEIVa1YwXlihGDcvxupl+KqNo/3nipAUX8H7ruO7l8kB5K91Mh E357KxpuhZxDBvwmsso3lapTKG/Err/L95Ma2lHfUg8RY+sTRIGD5zF+O50Ot/qmYbKS TD0RLI88qcQOuptj1tKYc9nKqNpEfu38hApFI= MIME-Version: 1.0 Received: by 10.231.127.72 with SMTP id f8mr821451ibs.21.1299278338291; Fri, 04 Mar 2011 14:38:58 -0800 (PST) Received: by 10.231.40.4 with HTTP; Fri, 4 Mar 2011 14:38:58 -0800 (PST) In-Reply-To: <4D716372.2050606@gmail.com> References: <4D716372.2050606@gmail.com> Date: Fri, 4 Mar 2011 17:38:58 -0500 Message-ID: From: Pierre-Luc Drouin To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:39:00 -0000 I guess part of it must have something to do with how the devices are identified by the FreeBSD kernel vs linux. I know also that when using a ZFS boot partition, it takes a lot longer to my system to boot compared to UFS... On Fri, Mar 4, 2011 at 5:10 PM, David Demelier wrote: > Hello, > > I know this is a awful subject, but I recently tried a Gentoo on my laptop > and I was surprised to see Linux booting about 2-3 times faster than > FreeBSD. > > I don't talk about the init/rc script but only kernel initialisation. For > linux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD. > > Why FreeBSD is so slower than Linux to boot the kernel? > > Cheers, > > -- > David Demelier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:48:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31265106566C for ; Fri, 4 Mar 2011 22:48:48 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id C5A588FC0A for ; Fri, 4 Mar 2011 22:48:47 +0000 (UTC) Received: by ewy28 with SMTP id 28so894753ewy.13 for ; Fri, 04 Mar 2011 14:48:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.50.73 with SMTP id y49mr779459eeb.22.1299278926757; Fri, 04 Mar 2011 14:48:46 -0800 (PST) Received: by 10.14.119.1 with HTTP; Fri, 4 Mar 2011 14:48:46 -0800 (PST) X-Originating-IP: [128.95.17.209] In-Reply-To: <20110304183449.b2b4c1ac.freebsd@edvax.de> References: <4D700FA6.1030806@cox.net> <20110304152810.36060288@dijkstra> <20110304183449.b2b4c1ac.freebsd@edvax.de> Date: Fri, 4 Mar 2011 14:48:46 -0800 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: xdm-options - non-bsd user needs bsd rc.d advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:48:48 -0000 On Fri, Mar 4, 2011 at 9:34 AM, Polytropon wrote: > While I found that generic > UNIX knowledge was applicable everywhere, "Linux knowledge" > was not, as you could see from file names and locations, > procedures, and configuration statements which could not > be transferred 1:1 between the systems. I find that's true even going between "true UNIX" systems, like FreeBSD and Solaris. Maybe it was different back in the SunOS days, but modern Solaris has a lot of very Solaris-specific tools that work in opaque ways; for example, you don't edit links to /etc/init.d anymore, you create an XML service description file and use svcadm to manipulate it in some hidden database. There are still BSD-ish tools in Solaris (and GNU tools, too), but Solaris purists will strongly discourage you from using them. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:52:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C190106566B for ; Fri, 4 Mar 2011 22:52:43 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id B2C708FC0A for ; Fri, 4 Mar 2011 22:52:42 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id AE44DE7F82; Fri, 4 Mar 2011 22:52:41 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=miaWZgStkxy5 Nwte4NsSkq15BCQ=; b=DhkYgydqVxvxpH9EeqJ3EwMDA9lYN5/ZOiXs56DEWYdk Jfh6O1oEhmgVXVKANz327J2Bd43CbjU9aUBSY6I+ZoCrTCUPEwtxYXh7U8ZccZNf lLrGK9jXr/LjdmCaUlRypffg3bVnLONnqmA7JSPyF8y8gdQ1vghb6xOVGdT4puo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=C+pOMQ yxB2h07g9niZ5gnxF1q1/s17O6RdA8NA6Af76bYfHYW9UiP+RvEEHl4dEoTLevc1 Ky5ukNU1QRi9o2Nf6gYx5dnLBf8b0h5VTTEMHVEuP8l1qIAIYz2Uk9HYUr7nGmSF t6mlQ/DUjZKkM1tWXkKvl98v7IwqS6uEK+RZo= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 627CEE7F74; Fri, 4 Mar 2011 22:52:41 +0000 (GMT) From: Bruce Cran To: David Demelier In-Reply-To: <4D716372.2050606@gmail.com> References: <4D716372.2050606@gmail.com> Content-Type: text/plain; charset="us-ascii" Date: Fri, 04 Mar 2011 22:51:59 +0000 Message-ID: <1299279119.2909.1.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:52:43 -0000 On Fri, 2011-03-04 at 23:10 +0100, David Demelier wrote: > Why FreeBSD is so slower than Linux to boot the kernel? I think it's because no concerted effort has been put into optimizing the boot time on FreeBSD. I tested a stripped-down kernel on my iBook G4 a while ago and it would boot in a couple of seconds - but that was without any network card, USB support etc. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:56:20 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3E52106566C for ; Fri, 4 Mar 2011 22:56:20 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [75.101.116.66]) by mx1.freebsd.org (Postfix) with ESMTP id CE83C8FC16 for ; Fri, 4 Mar 2011 22:56:03 +0000 (UTC) Received: from [10.0.1.3] (pool-108-23-64-87.lsanca.fios.verizon.net [108.23.64.87]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id p24MscWr031626 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 4 Mar 2011 14:54:39 -0800 (PST) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Doug Hardie In-Reply-To: <20110304224553.GD28710@comcast.net> Date: Fri, 4 Mar 2011 14:54:38 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <98DE64E1-EE7F-4B52-A204-A2AF70005FDE@lafn.org> References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> <20110304224553.GD28710@comcast.net> To: Charlie Kester X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: FreeBSD Questions Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:56:21 -0000 On 4 March 2011, at 14:45, Charlie Kester wrote: > On Fri 04 Mar 2011 at 13:24:32 PST Doug Hardie wrote: >> I have a client who has purchased some software. I don't know = anything >> much about it yet other than it claims to run on Debian and CentOS. I >> suspect its binaries. I will have access to things like the = developer, >> name etc. on Monday. However, thats when he needs to know if I can = make >> it run on FreeBSD. >=20 > Are you bidding against a Linux guy for this job? No. I have the job. >=20 > That doesn't sound like a reasonable demand. Does he want your final > answer on Monday, or do you think you can buy some time for further > investigation He is under the gun and needs to get this working last week..... > if you tell him about FreeBSD's support for the Linux ABI, > etc.? He is pretty much non-technical and will go with any solution I believe = will work. >=20 > Maybe bring in a FreeBSD laptop and do a demo where you install some > Linux binary from the web and show him that it runs? (Be sure to > practice the demo beforehand!) I still wouldn't give him an ironclad > guarantee that the software he bought will run too, but perhaps the = demo > will raise his confidence level enough to give you a chance to find = out. Pretty much I will have the real software on Monday and will need to get = it up and going very quickly. I want to use FreeBSD because all the = other parts of what he needs I already have running on various FreeBSD = servers. Also, I very much like the FreeBSD approach (like to pf) of = don't break things that previously worked without workarounds so that = production systems are not killed. >=20 >=20 From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 22:59:26 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 542541065672 for ; Fri, 4 Mar 2011 22:59:26 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC268FC17 for ; Fri, 4 Mar 2011 22:59:26 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta15.emeryville.ca.mail.comcast.net with comcast id FAPh1g0021eYJf8AFAmFoc; Fri, 04 Mar 2011 22:46:15 +0000 Received: from comcast.net ([98.203.142.76]) by omta19.emeryville.ca.mail.comcast.net with comcast id FAlt1g01W1f6R9u01Am6Tc; Fri, 04 Mar 2011 22:46:14 +0000 Received: by comcast.net (sSMTP sendmail emulation); Fri, 04 Mar 2011 14:45:53 -0800 Date: Fri, 4 Mar 2011 14:45:53 -0800 From: Charlie Kester To: Doug Hardie Message-ID: <20110304224553.GD28710@comcast.net> References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> User-Agent: Mutt/1.4.2.3i X-Mailer: Mutt 1.4.2.3i X-Composer: Vim 7.3 Cc: FreeBSD Questions Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 22:59:26 -0000 On Fri 04 Mar 2011 at 13:24:32 PST Doug Hardie wrote: >I have a client who has purchased some software. I don't know anything >much about it yet other than it claims to run on Debian and CentOS. I >suspect its binaries. I will have access to things like the developer, >name etc. on Monday. However, thats when he needs to know if I can make >it run on FreeBSD. Are you bidding against a Linux guy for this job? That doesn't sound like a reasonable demand. Does he want your final answer on Monday, or do you think you can buy some time for further investigation if you tell him about FreeBSD's support for the Linux ABI, etc.? Maybe bring in a FreeBSD laptop and do a demo where you install some Linux binary from the web and show him that it runs? (Be sure to practice the demo beforehand!) I still wouldn't give him an ironclad guarantee that the software he bought will run too, but perhaps the demo will raise his confidence level enough to give you a chance to find out. From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 23:01:25 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06C91065670 for ; Fri, 4 Mar 2011 23:01:25 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy2-pub.bluehost.com (cpoproxy2-pub.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id BA4888FC12 for ; Fri, 4 Mar 2011 23:01:25 +0000 (UTC) Received: (qmail 6108 invoked by uid 0); 4 Mar 2011 23:01:25 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 4 Mar 2011 23:01:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=VxE5h/kElLGTswu1mOeUeO6RJ2Bv8XOIBE2GOuTdaZ48wIgRs0iPAT/o37oXEHS25/xui93jKIlcCt0dVl7vxlYZTVINZg157EMO2a7ht0F3NyoTXZTE6wJrvxQtDEvi; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pvdzv-0002YZ-Uk for questions@freebsd.org; Fri, 04 Mar 2011 16:01:25 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 04 Mar 2011 15:50:17 -0700 Date: Fri, 4 Mar 2011 15:50:17 -0700 From: Chad Perrin To: FreeBSD Questions Message-ID: <20110304225017.GA52635@guilt.hydra> Mail-Followup-To: FreeBSD Questions References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 23:01:26 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2011 at 01:24:32PM -0800, Doug Hardie wrote: > > I have a client who has purchased some software. I don't know anything > much about it yet other than it claims to run on Debian and CentOS. I > suspect its binaries. I will have access to things like the developer, > name etc. on Monday. However, thats when he needs to know if I can > make it run on FreeBSD. I am not convinced I want to run production > software on the Linux compatibility suite. No good reason other than > it sounds like its adding a lot more opportunities for breakage. This > has to be an always up application. I have virtually no knowledge of > CentOS other than it was installed on one server when I got it. Any > chance those binaries might work on FreeBSD? I am planning on starting > with FreeBSD 8.2 since its just out and working fine on one of my > servers, but could use an earlier version if required to make this > stuff run. =20 Linux binaries . . . ? That's unlikely to work on FreeBSD without the Linux compatibility layer. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1xbKkACgkQ9mn/Pj01uKVZdQCeJFWd5l86KA0nFaTjpLKw0n2P o7AAoJGePWVlA+GbDMp4rR3TtelCBz2K =s3uT -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 23:17:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85BFB1065670 for ; Fri, 4 Mar 2011 23:17:21 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2739F8FC13 for ; Fri, 4 Mar 2011 23:17:20 +0000 (UTC) Received: by ewy28 with SMTP id 28so899431ewy.13 for ; Fri, 04 Mar 2011 15:17:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.5.2 with SMTP id 2mr796937eek.15.1299280640192; Fri, 04 Mar 2011 15:17:20 -0800 (PST) Received: by 10.14.119.1 with HTTP; Fri, 4 Mar 2011 15:17:20 -0800 (PST) X-Originating-IP: [128.95.17.209] In-Reply-To: <1299279119.2909.1.camel@core.nessbank> References: <4D716372.2050606@gmail.com> <1299279119.2909.1.camel@core.nessbank> Date: Fri, 4 Mar 2011 15:17:20 -0800 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 23:17:21 -0000 On Fri, Mar 4, 2011 at 2:51 PM, Bruce Cran wrote: > I think it's because no concerted effort has been put into optimizing > the boot time on FreeBSD. I tested a stripped-down kernel on my iBook G4 > a while ago and it would boot in a couple of seconds - but that was > without any network card, USB support etc. I think that's correct. There was a concerted effort to optimize boot time on Linux once people started to run it on netbooks, where fast booting is a big deal. FreeBSD concentrates mostly on servers, and no one really cares how long it takes a server to boot because you don't boot them very often... From owner-freebsd-questions@FreeBSD.ORG Fri Mar 4 23:42:12 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 484B71065670 for ; Fri, 4 Mar 2011 23:42:12 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB2138FC15 for ; Fri, 4 Mar 2011 23:42:11 +0000 (UTC) Received: by eyg7 with SMTP id 7so891039eyg.13 for ; Fri, 04 Mar 2011 15:42:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.53.1 with SMTP id f1mr787040eec.29.1299280536505; Fri, 04 Mar 2011 15:15:36 -0800 (PST) Received: by 10.14.119.1 with HTTP; Fri, 4 Mar 2011 15:15:36 -0800 (PST) X-Originating-IP: [128.95.17.209] In-Reply-To: <98DE64E1-EE7F-4B52-A204-A2AF70005FDE@lafn.org> References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> <20110304224553.GD28710@comcast.net> <98DE64E1-EE7F-4B52-A204-A2AF70005FDE@lafn.org> Date: Fri, 4 Mar 2011 15:15:36 -0800 Message-ID: From: David Brodbeck To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 23:42:12 -0000 On Fri, Mar 4, 2011 at 2:54 PM, Doug Hardie wrote: > Pretty much I will have the real software on Monday and will need to get = it up and going very quickly. =A0I want to use FreeBSD because all the othe= r parts of what he needs I already have running on various FreeBSD servers.= =A0Also, I very much like the FreeBSD approach (like to pf) of don't break= things that previously worked without workarounds so that production syste= ms are not killed. The only problem I can see -- assuming it runs at all -- is that any tech support contracts for the software will likely assume you're running it under Linux. They may not be happy trying to troubleshoot it under FreeBSD and may want to blame the OS for any problems you encounter. I try to run commercial software on "officially supported" operating systems just for that reason. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 00:14:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DD0C106564A for ; Sat, 5 Mar 2011 00:14:45 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 201778FC08 for ; Sat, 5 Mar 2011 00:14:44 +0000 (UTC) Received: by iyj12 with SMTP id 12so2775349iyj.13 for ; Fri, 04 Mar 2011 16:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=t7PZUta5t6MgU4o00CgBU54KDXtNyaoed05cWBGV9Ww=; b=GAjn1XSKa2x+Xvwo9dfhAE4kN7lRn2tm7l9MHQ4g99r7uvysrSBaHx43pywpkSYXTK PyCP6JVWy9vrzJ7lC2auu7fBR91giVy8mdpuv+Xi+W3xj9tlX1nHnCTql9ilGTtU6iA2 tByM8vcYD/u4B8L/Ke0OTGnFnlP/A2bdJHDU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kkM1eHDYyH5gX3NE5jWRXgPNySbJQK0T+5bcy93bCrj7kEp4EmxeTsp/Ql7I4CX2is V1LDScxcG9pBdZfhGRbK+ZQ8FCFT7rvEEJDVcsoYAHk5NnLzuMsx5UXnifTeNuVriGVk oeJfvMdZeP+gf19Sem7lnkPD+828Lf7MPgb0w= MIME-Version: 1.0 Received: by 10.231.196.78 with SMTP id ef14mr892505ibb.100.1299284084609; Fri, 04 Mar 2011 16:14:44 -0800 (PST) Received: by 10.231.38.2 with HTTP; Fri, 4 Mar 2011 16:14:44 -0800 (PST) In-Reply-To: <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Date: Fri, 4 Mar 2011 16:14:44 -0800 Message-ID: From: Patrick Gibson To: Gary Gatten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jorge Biquez , "freebsd-questions@freebsd.org" Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 00:14:45 -0000 fail2ban by default only bans an IP for 10 minutes, and that's configurable. It can also email you anytime it imposes a ban, so one can keep an eye on things at least in the beginning to see if it's causing a problem for legitimate users. On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > Be careful of automated responses. =A0What if someone spoofs IP's of legi= t users / customers / whatever and your automated response blocks them? =A0= Not good. > > I thought about blocking....well, never mind - might pi$$ someone off and= attract unwanted attention... > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions= @freebsd.org] On Behalf Of Patrick Gibson > Sent: Thursday, March 03, 2011 5:58 PM > To: Jorge Biquez > Cc: freebsd-questions@freebsd.org > Subject: Re: Simplest way to deny access to a class C > > You might consider mod_security (/usr/ports/www/mod_security) which > can be set up to ban hosts based on behaviour or characteristics. > > Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in > that it scans whatever logs you want, and can trigger a block in your > firewall if enough violating log entries are found within a particular > period of time. Everything is totally configurable, and there are > plenty of examples that come with it. > > Patrick > > > On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez wr= ote: >> Hello all. >> >> I am sorry in advance if this question sounds too stupid. >> >> I have a small server for personal use of webpages running: >> >> 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >> >> it is working fine , no problem very stable. >> >> I just need to block some IP class C address that are always trying to >> "discover" directories or applications under the web server. They do not= do >> and can not do anything since this server has nothing installed but i am >> tired of seeing in the logs all the intents they do every 2-3 seconds. >> >> I have not installed any kind of firewall yet. >> What do you think is the best way to accomplish this task? If possible t= he >> easiest one. I do not want to do anything else but just bloc IP's, at th= is >> moment at least. >> >> Thanks in advance. >> >> Jorge Biquez >> >> _______________________________________________ >> 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.o= rg" > > > > > > >
>
> "This email is intended to be reviewed by only the intended recipient > =A0and may contain information that is privileged and/or confidential. > =A0If you are not the intended recipient, you are hereby notified that > =A0any review, use, dissemination, disclosure or copying of this email > =A0and its attachments, if any, is strictly prohibited. =A0If you have > =A0received this email in error, please immediately notify the sender by > =A0return email and delete this email from your system." >
> > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 00:30:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F66B1065676 for ; Sat, 5 Mar 2011 00:30:39 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA988FC12 for ; Sat, 5 Mar 2011 00:30:38 +0000 (UTC) Received: by ewy28 with SMTP id 28so911088ewy.13 for ; Fri, 04 Mar 2011 16:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Tuf7DFBtT/eLxZnQKg/773FmYVPHCVAJ8O2B3yuNSm0=; b=juOyqX4LsetsF4y7NIooEnDCNBEghlmTUFhXznxkw4HQxfgMT9VrahI+idlqj/c5rR urvobRYzyS8K8xAWMy9rq1xJOYbUxZbz5JSRcixBcySm+lp+dclrU3u+42mrba+G3y04 W1enr0ZRhnJy6BGC9s6/s8WmWnI8zvTDagd0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b0sJ304GnZecj6fqYAgbUdEX1nNuYVcJW0xJYAmf/0JPX39EadDCgLbro4FRclZNbE mi/ZtmgCbhXXqOWr39Og9zn/bZydZ2WaZ0Q+rAdArzNmp7c62Ac2qhnyxxXmnmND5SO9 JpojY00ahMWi1vQXmEDN+Klazg6tWsGBwdOyk= MIME-Version: 1.0 Received: by 10.14.134.15 with SMTP id r15mr886989eei.30.1299285037254; Fri, 04 Mar 2011 16:30:37 -0800 (PST) Received: by 10.14.48.75 with HTTP; Fri, 4 Mar 2011 16:30:37 -0800 (PST) In-Reply-To: References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Date: Fri, 4 Mar 2011 19:30:37 -0500 Message-ID: From: Outback Dingo To: Patrick Gibson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jorge Biquez , Gary Gatten , "freebsd-questions@freebsd.org" Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 00:30:39 -0000 On Fri, Mar 4, 2011 at 7:14 PM, Patrick Gibson wrote: > fail2ban by default only bans an IP for 10 minutes, and that's > configurable. It can also email you anytime it imposes a ban, so one > can keep an eye on things at least in the beginning to see if it's > causing a problem for legitimate users. > > On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: > > Be careful of automated responses. What if someone spoofs IP's of legit > users / customers / whatever and your automated response blocks them? Not > good. > > > > I thought about blocking....well, never mind - might pi$$ someone off and > attract unwanted attention... > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto: > owner-freebsd-questions@freebsd.org] On Behalf Of Patrick Gibson > > Sent: Thursday, March 03, 2011 5:58 PM > > To: Jorge Biquez > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Simplest way to deny access to a class C > > > > You might consider mod_security (/usr/ports/www/mod_security) which > > can be set up to ban hosts based on behaviour or characteristics. > > > > Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in > > that it scans whatever logs you want, and can trigger a block in your > > firewall if enough violating log entries are found within a particular > > period of time. Everything is totally configurable, and there are > > plenty of examples that come with it. > > > > Patrick > > > > > > On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez > wrote: > >> Hello all. > >> > >> I am sorry in advance if this question sounds too stupid. > >> > >> I have a small server for personal use of webpages running: > >> > >> 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 > >> > >> it is working fine , no problem very stable. > >> > >> I just need to block some IP class C address that are always trying to > >> "discover" directories or applications under the web server. They do not > do > >> and can not do anything since this server has nothing installed but i am > >> tired of seeing in the logs all the intents they do every 2-3 seconds. > >> > >> I have not installed any kind of firewall yet. > >> What do you think is the best way to accomplish this task? If possible > the > >> easiest one. I do not want to do anything else but just bloc IP's, at > this > >> moment at least. > I wonder why nobodies mentioned a quite simple method with tcpwrappers and hosts.allow / hosts.deny also > >> > >> Thanks in advance. > >> > >> Jorge Biquez > >> > >> _______________________________________________ > >> 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" > > > > > > > > > > > > > >
> >
> > "This email is intended to be reviewed by only the intended recipient > > and may contain information that is privileged and/or confidential. > > If you are not the intended recipient, you are hereby notified that > > any review, use, dissemination, disclosure or copying of this email > > and its attachments, if any, is strictly prohibited. If you have > > received this email in error, please immediately notify the sender by > > return email and delete this email from your system." > >
> > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 00:31:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9F691065688 for ; Sat, 5 Mar 2011 00:31:03 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 448EE8FC14 for ; Sat, 5 Mar 2011 00:31:02 +0000 (UTC) Received: by wyb32 with SMTP id 32so3035659wyb.13 for ; Fri, 04 Mar 2011 16:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=f3lCNK9U1jYV3ZuQcZPnF+oew6yTJdK1CPhktJTRDS8=; b=Kw/P5h+8Fy7IrbGkQtV0tfW46rmsKomfzPHRv84RdD2TWCtcL3g1TE0B5aIMJPC/p5 uSxw5wa0OqrVr/pImwfyZeN9y4sNQwD52bhwQ38k48DT1RYLhh75yFL/91zBapBOsxJb ea6VY8dmRZckbIZ6C8xYLiiYaR2fMn2Mr/5U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=VlgsAyups96wRMY9OJXYvCMokUqMJCdHqsZasoFzsQsMl+ZUpCZcExnHeBgEqRG7Gn RUC7JE9Ao4Ty2cySPdRZECpcYl3mGBt9pZ+KzMGH7sGu/TFF+cgJwPgZe6xRfmVtZcQb 6fFWQJtPqtszWV3euj+FvYorlS5e+jq2E6d2U= Received: by 10.216.171.133 with SMTP id r5mr12716wel.91.1299285062056; Fri, 04 Mar 2011 16:31:02 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id o6sm2231830wbo.9.2011.03.04.16.30.59 (version=SSLv3 cipher=OTHER); Fri, 04 Mar 2011 16:31:01 -0800 (PST) Date: Sat, 5 Mar 2011 00:30:56 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110305003056.0b3c14fc@gumby.homeunix.com> In-Reply-To: <4D71316C.9040505@qeng-ho.org> References: <4D711EE0.9010909@qeng-ho.org> <4D71316C.9040505@qeng-ho.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: "portmaster -a" command fails - *** Error code 1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 00:31:03 -0000 On Fri, 04 Mar 2011 18:37:32 +0000 Arthur Chance wrote: > On 03/04/11 17:36, Ed Flecko wrote: > > Thanks Aurthur. > > > > :-) > > > > It's funny...I DID what it asks and it still didn't work (make > > deinstall, etc.). > ... > > Apparently, I installed it from a package, so I did a pkg_delete > > automake and then started my portmaster -a again and it seems to be > > running fine. > > Ah, the third option which I forgot to mention. It's always the > option one forgets to mention that works. > > In theory package install and port install are supposed to be the > same (modulo config options). In practice there are odd cases, and > automake seems to provoke them. Thinking back, I've had to pkg_delete > it before now in order to upgrade, and I always install from ports. It's not really a matter of ports verses packages, a make deinstall calls pkg_delete. The suggestion "You may wish to ``make deinstall'' and install this port again..." shouldn't be taken too seriously, since it just a standard response to a make install on an already installed port. It probably fails because what's needed is to delete the package, not delete and reinstall. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 00:49:35 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47ECD106564A; Sat, 5 Mar 2011 00:49:35 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F14848FC14; Sat, 5 Mar 2011 00:49:34 +0000 (UTC) Received: by iwn33 with SMTP id 33so2793669iwn.13 for ; Fri, 04 Mar 2011 16:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=bQttRZr2EgMpgdmzaoQnn2Ah6h6B4HRSfwps6CgrKgY=; b=xooTXVJqewjnqxWkkjyReR3zwhSDoctQIWI2n26OVfB+SMbksRwL28d3oBd/JLB7Xn kToelXUpbZ21c0z+vBffK7qbmIzE4jEKWStrOms+zK5WJ66I8ovi3dw2o/KEuSCeeLBu OCurt/CF5KBsVd5Ak5UkSmrrcB7ZUfPQAcxbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=kha6KNdOA68ST91zlOw6qAma9WSqNLTPU65SPV19Ua8g2Mf7W7bXYUgPY9KL7Wp46D 6g0v2tpDxkO38ebwYNDPKePzyaFNuwgoOd40LbmMPMCpVeiAf+Fmx8eUm5IGj06wouhd R9TXCRP8tOqLaOSfd4+s9plePQ7goQSKLLC2w= Received: by 10.43.68.208 with SMTP id xz16mr1508562icb.164.1299284466807; Fri, 04 Mar 2011 16:21:06 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088798793.dsl.bell.ca [64.229.192.73]) by mx.google.com with ESMTPS id xa8sm2031108icb.10.2011.03.04.16.21.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2011 16:21:05 -0800 (PST) Message-ID: <4D7181EC.1090602@gmail.com> Date: Fri, 04 Mar 2011 19:21:00 -0500 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.14) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: questions@freebsd.org, freebsd-ports-bugs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: multimedia/py-gstreamer build failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 00:49:35 -0000 Anyone have an idea on this? It's blocking dozens of apps that need updating. ---> Installing 'py27-gstreamer-0.10.21' from a port (multimedia/py-gstreamer) ---> Building '/usr/ports/multimedia/py-gstreamer' ===> Cleaning for py27-gstreamer-0.10.21 ===> License LGPL21 accepted by the user ===> Extracting for py27-gstreamer-0.10.21 => SHA256 Checksum OK for gst-python-0.10.21.tar.bz2. ===> Patching for py27-gstreamer-0.10.21 ===> py27-gstreamer-0.10.21 depends on file: /usr/local/lib/python2.7/site-packages/libxml2mod.so - found ===> py27-gstreamer-0.10.21 depends on file: /usr/local/bin/python2.7 - found ===> py27-gstreamer-0.10.21 depends on executable: gmake - found ===> py27-gstreamer-0.10.21 depends on package: gstreamer-plugins>=0.10.0 - found ===> py27-gstreamer-0.10.21 depends on executable: pkg-config - found ===> py27-gstreamer-0.10.21 depends on executable: pygobject-codegen-2.0 - found ===> py27-gstreamer-0.10.21 depends on shared library: glib-2.0.0 - found ===> Configuring for py27-gstreamer-0.10.21 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... gawk checking whether gmake sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-portbld-freebsd8.2 checking host system type... i386-portbld-freebsd8.2 checking how to print strings... printf checking for style of include used by gmake... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert i386-portbld-freebsd8.2 file names to i386-portbld-freebsd8.2 format... func_convert_file_noop checking how to convert i386-portbld-freebsd8.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking for cc option to accept ISO C99... -std=gnu99 checking for cc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether cc -std=gnu99 and cc understand -c and -o together... yes checking for python version... 2.7 checking for python platform... freebsd8 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for python >= 2.3... okay checking for headers required to compile python extensions... found checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes Building against GStreamer core 0.10.31 , ignoring API additions if needed checking for GST_BASE... yes checking for GST_CONTROLLER... yes checking for GST_NET... yes checking for GST_DP... yes checking for GST_PLUGINS_BASE... yes checking for PYGOBJECT... yes yes checking for PYGOBJECT_2_12... yes yes checking for PYGOBJECT_2_16... yes yes checking to see if compiler understands -Wall... yes checking to see if compiler understands -Wdeclaration-after-statement... yes checking to see if compiler understands -Wvla... no checking to see if compiler understands -Wpointer-arith... yes configure: set WARNING_CFLAGS to -Wall -Wdeclaration-after-statement -Wpointer-arith configure: set ERROR_CFLAGS to checking for valgrind... no checking for libraries required to embed python... yes configure: Using /usr/local/lib/gstreamer-0.10 as the plugin install location configure: creating ./config.status config.status: creating Makefile config.status: creating codegen/Makefile config.status: creating common/Makefile config.status: creating common/m4/Makefile config.status: creating gst/Makefile config.status: creating gst/gstversion.override config.status: creating gst/extend/Makefile config.status: creating examples/Makefile config.status: creating pkgconfig/Makefile config.status: creating pkgconfig/gst-python.pc config.status: WARNING: 'pkgconfig/gst-python.pc.in' seems to ignore the --datarootdir setting config.status: creating pkgconfig/gst-python-uninstalled.pc config.status: creating plugin/Makefile config.status: creating testsuite/Makefile config.status: creating win32/common/config.h config.status: creating gst-python.spec config.status: creating gst/__init__.py config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ===> Building for py27-gstreamer-0.10.21 if test -f pygst.py; then chmod +w pygst.py; fi sed -e "s|@PYGSTDIR\@|/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21|g" \ -e "s|@GST_MAJORMINOR\@|0.10|g" \ pygst.py.in > pygst.py chmod -w pygst.py gmake all-recursive gmake[1]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21' Making all in common gmake[2]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common' Making all in m4 gmake[3]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common/m4' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common/m4' gmake[3]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common' gmake[2]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common' Making all in codegen gmake[2]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen' Making all in gst gmake[2]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' Making all in extend gmake[3]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst/extend' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst/extend' gmake[3]: Entering directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygstiterator.lo CC _gst_la-pygstminiobject.lo CC _gst_la-pygstvalue.lo CC _gst_la-pygstexception.lo GEN gst.c Traceback (most recent call last): File "../codegen/codegen.py", line 1575, in sys.exit(main(sys.argv)) File "../codegen/codegen.py", line 1532, in main o = override.Overrides(arg, path=extendpath) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 49, in __init__ self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 174, in __parse_override self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 174, in __parse_override self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 104, in __parse_override command = words[0] IndexError: list index out of range gmake[3]: *** [gst.c] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/py-gstreamer. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20110304-24903-gkrq7s-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/py-gstreamer (unknown build error) From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 01:03:36 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36988106566C; Sat, 5 Mar 2011 01:03:36 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1D9F8FC18; Sat, 5 Mar 2011 01:03:35 +0000 (UTC) Received: by iwn33 with SMTP id 33so2801233iwn.13 for ; Fri, 04 Mar 2011 17:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=TkYhGLo0Czg/WAn4f6HNHhz8oQ12+gansW7wxQl0tuQ=; b=r8Tx65x0nMtouWj5ej2oD77qkgxVUvdb3RNlNRG6ACtXABJjT3Dhzc8rtWve5jdNvu aX8neqE2eHuuq0arWyaMXlTE44m1KuM3FjX5mwhsaMqCslkudqQnOZyz3Z6h7+WcaQKc wqa6GkbaU3GZaMJMP4P4uIBACI1OZt0ME1amc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=kcCD2LJZ29G0xzsFVWyNX0Bywo+oywqGNt6i+kPaU9xUy4ys6U3xtqyC/92XEqXstv u3alWutak+yfFdq33asLaFdBVuY1TgeWZnbc/SpPfKeBTPmALqj12gDVRUxY5XhUbKZx /HSCm0kF5jHGlYuJdhRMgd/LsyJszbnXkaI9E= Received: by 10.43.56.202 with SMTP id wd10mr1446634icb.275.1299287015314; Fri, 04 Mar 2011 17:03:35 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088798793.dsl.bell.ca [64.229.192.73]) by mx.google.com with ESMTPS id xi12sm2052308icb.18.2011.03.04.17.03.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2011 17:03:34 -0800 (PST) Message-ID: <4D718BE1.1050804@gmail.com> Date: Fri, 04 Mar 2011 20:03:29 -0500 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.14) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: questions@freebsd.org, freebsd-ports-bugs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Fwd: multimedia/py-gstreamer build failure [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 01:03:36 -0000 It would appear there was some python 2.6 cruft left floating around, rebuilding gstreamer and related ports fixed this. Sorry about the noise. `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygstiterator.lo CC _gst_la-pygstminiobject.lo CC _gst_la-pygstvalue.lo CC _gst_la-pygstexception.lo GEN gst.c Traceback (most recent call last): File "../codegen/codegen.py", line 1575, in sys.exit(main(sys.argv)) File "../codegen/codegen.py", line 1532, in main o = override.Overrides(arg, path=extendpath) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 49, in __init__ self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 174, in __parse_override self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 174, in __parse_override self.handle_file(filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 92, in handle_file self.__parse_override(buf, startline, filename) File "/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", line 104, in __parse_override command = words[0] IndexError: list index out of range gmake[3]: *** [gst.c] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21' gmake: *** [all] Error 2 From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 01:09:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEA12106564A for ; Sat, 5 Mar 2011 01:09:35 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mailoutltc.fnis.com (mailoutltc.fnis.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 72A678FC17 for ; Sat, 5 Mar 2011 01:09:35 +0000 (UTC) Received: from sbhfislrext02.fnfis.com ([192.168.249.140]) by SCSFISLTC01 (8.14.3/8.14.3) with ESMTP id p250RBTV002873 for ; Fri, 4 Mar 2011 18:27:11 -0600 Received: from sbhfisltcgw01.FNFIS.COM (Not Verified[10.132.248.121]) by sbhfislrext02.fnfis.com with MailMarshal (v6, 5, 4, 7535) id ; Fri, 04 Mar 2011 18:27:12 -0600 Received: from sbhfisltcgw01.FNFIS.COM ([10.132.248.121]) by sbhfisltcgw01.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Fri, 4 Mar 2011 18:27:11 -0600 Received: from lefty.vicor.com ([10.132.254.136]) by sbhfisltcgw01.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 4 Mar 2011 18:27:11 -0600 Message-ID: <4D71835D.3020007@fisglobal.com> Date: Fri, 04 Mar 2011 16:27:09 -0800 From: "Robison, Dave" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20101222 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Mar 2011 00:27:11.0620 (UTC) FILETIME=[11C07440:01CBDACC] Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: david.robison@fisglobal.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 01:09:35 -0000 Check out portsentry perhaps? I used to use it quite a bit. Whenever someone would hit one of a number of defined ports, I'd automatically add a rule denying them in IPFW and also drop their route to a non-existent IP on my class C. On 03/04/11 16:14, Patrick Gibson wrote: > fail2ban by default only bans an IP for 10 minutes, and that's > configurable. It can also email you anytime it imposes a ban, so one > can keep an eye on things at least in the beginning to see if it's > causing a problem for legitimate users. > > On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: >> Be careful of automated responses. What if someone spoofs IP's of legit users / customers / whatever and your automated response blocks them? Not good. >> >> I thought about blocking....well, never mind - might pi$$ someone off and attract unwanted attention... >> >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Patrick Gibson >> Sent: Thursday, March 03, 2011 5:58 PM >> To: Jorge Biquez >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Simplest way to deny access to a class C >> >> You might consider mod_security (/usr/ports/www/mod_security) which >> can be set up to ban hosts based on behaviour or characteristics. >> >> Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in >> that it scans whatever logs you want, and can trigger a block in your >> firewall if enough violating log entries are found within a particular >> period of time. Everything is totally configurable, and there are >> plenty of examples that come with it. >> >> Patrick >> >> >> On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez wrote: >>> Hello all. >>> >>> I am sorry in advance if this question sounds too stupid. >>> >>> I have a small server for personal use of webpages running: >>> >>> 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >>> >>> it is working fine , no problem very stable. >>> >>> I just need to block some IP class C address that are always trying to >>> "discover" directories or applications under the web server. They do not do >>> and can not do anything since this server has nothing installed but i am >>> tired of seeing in the logs all the intents they do every 2-3 seconds. >>> >>> I have not installed any kind of firewall yet. >>> What do you think is the best way to accomplish this task? If possible the >>> easiest one. I do not want to do anything else but just bloc IP's, at this >>> moment at least. >>> >>> Thanks in advance. >>> >>> Jorge Biquez >>> >>> _______________________________________________ >>> 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" >> >> >> >> >> >> >>
>>
>> "This email is intended to be reviewed by only the intended recipient >> and may contain information that is privileged and/or confidential. >> If you are not the intended recipient, you are hereby notified that >> any review, use, dissemination, disclosure or copying of this email >> and its attachments, if any, is strictly prohibited. If you have >> received this email in error, please immediately notify the sender by >> return email and delete this email from your system." >>
>> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 01:26:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA101065670 for ; Sat, 5 Mar 2011 01:26:07 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D01598FC12 for ; Sat, 5 Mar 2011 01:26:05 +0000 (UTC) Received: by wyb32 with SMTP id 32so3085951wyb.13 for ; Fri, 04 Mar 2011 17:26:04 -0800 (PST) Received: by 10.216.7.8 with SMTP id 8mr57663weo.30.1299288364419; Fri, 04 Mar 2011 17:26:04 -0800 (PST) Received: from [192.168.0.20] (paris.c-mal.com [88.170.200.60]) by mx.google.com with ESMTPS id w25sm11378wbd.17.2011.03.04.17.26.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2011 17:26:03 -0800 (PST) References: <4D716372.2050606@gmail.com> In-Reply-To: <4D716372.2050606@gmail.com> Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6248FEC4-FE1E-4FDE-A73F-495A9036F216@my.gd> X-Mailer: iPhone Mail (8A293) From: Damien Fleuriot Date: Sat, 5 Mar 2011 02:25:34 +0100 To: David Demelier Cc: "freebsd-questions@freebsd.org" Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 01:26:07 -0000 On 4 Mar 2011, at 23:10, David Demelier wrote: > Hello, >=20 > I know this is a awful subject, but I recently tried a Gentoo on my laptop= and I was surprised to see Linux booting about 2-3 times faster than FreeBS= D. >=20 > I don't talk about the init/rc script but only kernel initialisation. For l= inux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD. >=20 > Why FreeBSD is so slower than Linux to boot the kernel? >=20 > Cheers, >=20 > --=20 > David Demelier > ______________________________ I'll drift a bit off topic here, just slightly. To be honest, I for one would muuuuuch rather have a bsd kernel that takes a= bit more time to boot, than a Linux one. Have you seen the rate at which debian publishes kernel updates ? We reboot some servers every week here, to apply this or that new kernel. Bsd takes longer, but over the course of a month we might reboot them once v= s thrice for Linux. Overall, and discounting all the upgrading hassle, who boots faster now ? 1x freebsd or 3x Linux ? ;) To accelerate boot time you may also recompile a custom kernel and remove su= pport for all the stuff you don't need, like all these outdated NIC drivers,= wifi, scsi if you run sata... I run kernels with support for just one sata raid controller, 3 NIC drivers,= remove support for all the USB stuff except the keyboard in case we need lo= cal console access, remove UFS ACL support (never used it, not sure I ever w= ill). Hell I even remove support for the parallel port... Dramatically speeds up the boot process.= From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 01:31:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2E3106564A for ; Sat, 5 Mar 2011 01:31:17 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id DC2A38FC12 for ; Sat, 5 Mar 2011 01:31:16 +0000 (UTC) Received: from [192.168.1.18] (bgn92-1-81-57-223-72.fbx.proxad.net [81.57.223.72]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id F35D83DD071 for ; Sat, 5 Mar 2011 02:11:38 +0100 (CET) Message-ID: <4D718E29.1060502@dichotomia.fr> Date: Sat, 05 Mar 2011 02:13:13 +0100 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> In-Reply-To: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (sslmail.dichotomia.fr); Sat, 05 Mar 2011 02:11:39 +0100 (CET) Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 01:31:17 -0000 Le 04/03/2011 22:24, Doug Hardie a écrit : > I have a client who has purchased some software. I don't know anything much about it yet other than it claims to run on Debian and CentOS. I suspect its binaries. I will have access to things like the developer, name etc. on Monday. However, thats when he needs to know if I can make it run on FreeBSD. I am not convinced I want to run production software on the Linux compatibility suite. No good reason other than it sounds like its adding a lot more opportunities for breakage. This has to be an always up application. I have virtually no knowledge of CentOS other than it was installed on one server when I got it. Any chance those binaries might work on FreeBSD? I am planning on starting with FreeBSD 8.2 since its just out and working fine on one of my servers, but could use an earlier version if required to make this stuff run. _______________________________________________ > 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" Based on what little informations you gave us, I will risk an analysis. I might be completly wrong, but most of the time this is how things happen : One developper who has validated his product only on CentOS and Debian means troubles. When you have even just a little money on the side you start testing on Red Hat/Suse Enterprise and at least try it on Solaris. Always up means web, control or real-time. First the program is in binary form - you probably won't have access to any code or compiling instructions - which means that Case 1 : It is a fully contained dedicated binary. Generally this is only the case whith extremely specialised binaries, for exemple a controller for a mechanical device. Generally these programs reads input from a file/stream/socket/device and writes to the same kind of folw for the output. In this specific case you might want to try linux compatibility. But I would hardly recommand it as you might loose all form of support in the process. Case 2 : It is an "all in one" program. Basically it means it will have a GUI or a web interface. This means most of the time that quite a lot of libraries are hardlinked or rt-linked, and that quite a lot of assumptions are made about the underlaying system (Bash is present, GTK libs too, the system is x86 or has x86 compatibiliy layer, terminal is in ISO and not UTF, X11 is installed etc.). Sometimes even the paths are hard coded. In this case go Debian - the exact same version the developper uses for testing. CentOS is ab interressing piece of software but it is very different from FreeBSD in many regards, and it is a bit overkill to use it for just one specific application. Case 3 : Even though it is propriatary, you do have access to source code and compile instructions. Then native FreeBSD is definitly worth a try. Try to get as much testing time as you can from the client and the dev. Prepare a Debian on the side just in case. In this kind of scenario (basically when the client needs a brand new binary you never heard of before installed for yesterday morning) I tend to use virtual machine as much as I can. If the application is not I/O hungry (disk or network) create a VM under Debian that you will be able to monitor from your FreeBSD. I would recommand VirtualBox if X11 is already in place on the server. During the testing phase take as many snapshots as possible. In the end, even if you go for dedicated hardware, you still will have a pack of different setups you can refer to. And monitoring memory comsuption is a must on closed binaries comming form small companies... From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 02:07:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B89A106564A for ; Sat, 5 Mar 2011 02:07:34 +0000 (UTC) (envelope-from jbiquez@intranet.com.mx) Received: from intranet.com.mx (intranet.com.mx [200.33.246.7]) by mx1.freebsd.org (Postfix) with ESMTP id F0FE28FC16 for ; Sat, 5 Mar 2011 02:07:33 +0000 (UTC) Received: from PC2.intranet.com.mx (189.241.44.64) by intranet.com.mx with ESMTP (EIMS X 3.3.9) for ; Fri, 4 Mar 2011 20:08:10 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 04 Mar 2011 20:07:27 -0600 To: freebsd-questions@freebsd.org From: Jorge Biquez In-Reply-To: References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Mime-Version: 1.0 Message-ID: <3382135692-764986037@intranet.com.mx> Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 02:07:34 -0000 > >I wonder why nobodies mentioned a quite simple method with tcpwrappers and >hosts.allow / hosts.deny also Hello. I guess something simple could work.... For some reason, don ask me why becasue I did not find why, the: Order Deny, Allow Deny IP Allow all under httpd.conf and outsite as .htaccess does not work but for now teh thing is simple, to block a class C, those guys are stupiod and programmed bad an application (I guess) and are pointing to one of my domains... since 4 weeks ago I am receiving this kind of access: 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "PROPFIND /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "PROPFIND /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "PROPFIND /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "PROPFIND /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "PROPFIND /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "PROPFIND /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "PROPFIND /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "PROPFIND /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "PROPFIND /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "PROPFIND /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" They change IP's , from the same Class C. No trying to do anything else, hack or send email.... So I decided to block the Class C. I guess that with the deny, allow directives under Apache would be enough but they do not work. I am under Apache 1.3x and all works fine but that directives do not. I tried , read and not be able to make them work so that's why I decided to block them and block others, those yes are trying to hack, the simplest way..... anyway.... I will see if the: >hosts.allow / hosts.deny would help. If needed I would upgrade to latest version of FreeBSD Apache or whatever needed. Even when they do not do anything my server, a 386 that has been running Freebsd the last 13 years since Freebsd 3.x is supporting this extra load and besides they are wasting my bandwidth. I can not do anything and no problem but I'd like to solve this and continue learning Freebsd. Thanks for your time. Jorge Biquez From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 02:25:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7B531065672 for ; Sat, 5 Mar 2011 02:25:36 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [67.130.252.61]) by mx1.freebsd.org (Postfix) with ESMTP id 83E5A8FC17 for ; Sat, 5 Mar 2011 02:25:36 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id E74C8508DF; Fri, 4 Mar 2011 20:25:35 -0600 (CST) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E2A843C338; Fri, 4 Mar 2011 20:25:35 -0600 (CST) Received: from ADVPHTCAS0.wradvisors.com (advphtcas0.wradvisors.com [192.168.203.228]) by mailhost3.waddell.com (Postfix) with ESMTP id D77163C31E; Fri, 4 Mar 2011 20:25:35 -0600 (CST) Received: from WADPMBXV0.waddell.com ([169.254.1.145]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Fri, 4 Mar 2011 20:25:35 -0600 From: Gary Gatten To: "'jbiquez@intranet.com.mx'" , "'freebsd-questions@freebsd.org'" Date: Fri, 4 Mar 2011 20:25:34 -0600 Thread-Topic: Simplest way to deny access to a class C Thread-Index: Acva2iMXufEBjnlQQNKzbFdweUfXHQAAnhpR Message-ID: <27487_1299291935_4D719F1F_27487_5208_1_D9B37353831173459FDAA836D3B43499BD354A56@WADPMBXV0.waddell.com> In-Reply-To: <3382135692-764986037@intranet.com.mx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 02:25:36 -0000 Null (bogus) route that /24 seems the most simple to me: 5 seconds and no u= pgrades or add ons. ----- Original Message ----- From: Jorge Biquez [mailto:jbiquez@intranet.com.mx] Sent: Friday, March 04, 2011 08:07 PM To: freebsd-questions@freebsd.org Subject: Re: Simplest way to deny access to a class C > >I wonder why nobodies mentioned a quite simple method with tcpwrappers and >hosts.allow / hosts.deny also Hello. I guess something simple could work.... For some reason, don ask me=20 why becasue I did not find why, the: Order Deny, Allow Deny IP Allow all under httpd.conf and outsite as .htaccess does not work but for now=20 teh thing is simple, to block a class C, those guys are stupiod and=20 programmed bad an application (I guess) and are pointing to one of my=20 domains... since 4 weeks ago I am receiving this kind of access: 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "OPTIONS / HTTP/1.1"=20 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "PROPFIND=20 /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:43:48 -0600] "PROPFIND=20 /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2= 600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "OPTIONS / HTTP/1.1"=20 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "PROPFIND=20 /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:13 -0600] "PROPFIND=20 /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2= 600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "OPTIONS / HTTP/1.1"=20 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "PROPFIND=20 /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:19 -0600] "PROPFIND=20 /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2= 600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "OPTIONS / HTTP/1.1"=20 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "PROPFIND=20 /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:44:34 -0600] "PROPFIND=20 /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2= 600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "OPTIONS / HTTP/1.1"=20 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "PROPFIND=20 /Backup-usuarios HTTP/1.1" 301 323 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600" 189.254.19.93 - - [04/Mar/2011:19:45:06 -0600] "PROPFIND=20 /Backup-usuarios/ HTTP/1.1" 200 40833 "-" "Microsoft-WebDAV-MiniRedir/5.1.2= 600" They change IP's , from the same Class C. No trying to do anything=20 else, hack or send email.... So I decided to block the Class C. I guess that with the deny, allow=20 directives under Apache would be enough but they do not work. I am=20 under Apache 1.3x and all works fine but that directives do not. I=20 tried , read and not be able to make them work so that's why I=20 decided to block them and block others, those yes are trying to hack,=20 the simplest way..... anyway.... I will see if the: >hosts.allow / hosts.deny would help. If needed I would upgrade to latest version of FreeBSD=20 Apache or whatever needed. Even when they do not do anything my=20 server, a 386 that has been running Freebsd the last 13 years since=20 Freebsd 3.x is supporting this extra load and besides they are=20 wasting my bandwidth. I can not do anything and no problem but I'd=20 like to solve this and continue learning Freebsd. Thanks for your time. Jorge Biquez _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 03:39:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A98C106564A for ; Sat, 5 Mar 2011 03:39:59 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 59DE28FC0C for ; Sat, 5 Mar 2011 03:39:59 +0000 (UTC) Received: by iwn33 with SMTP id 33so2873304iwn.13 for ; Fri, 04 Mar 2011 19:39:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=v+glWapD/+P2dX6qaO49vUJ5sy4rkmUMZE+HVqp3d+E=; b=jxH9bwhNurkSIfpiwYFqzJVHt19OHBldBd1r01vyAlGEs1MMGi+KUIwGhs6GfI1R2J zowY/DBeXdLKTR+HWQm9gwg72RGT6Ioc+72tNK4GOc8R39Yo49oQyCbqMvBcuDi3uzKu JWV3mXhks9BphJIaXF4tNdNMQ9VGoJcfICRf4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CCpvJvdhyJgnirt5Agz+HBuD7e7HgPLpcHSaj2NshpzKtfT7KQV9XavzoMA/gj/A8A GUjtBOA1WfC92CM/QDj5VcVWco5ANrVybVsBul1PdB0Di81h1caDCNXOTS9c5LgzR0NT 8SEhV3UKMLJzzcsTmpeYcjO5KZpj+RP0/T3ls= MIME-Version: 1.0 Received: by 10.231.188.222 with SMTP id db30mr1000493ibb.150.1299296398571; Fri, 04 Mar 2011 19:39:58 -0800 (PST) Received: by 10.231.38.2 with HTTP; Fri, 4 Mar 2011 19:39:58 -0800 (PST) In-Reply-To: References: <3382016411-764985335@intranet.com.mx> <11805_1299196962_4D702C22_11805_70_1_D9B37353831173459FDAA836D3B43499BD354A48@WADPMBXV0.waddell.com> Date: Fri, 4 Mar 2011 19:39:58 -0800 Message-ID: From: Patrick Gibson To: Outback Dingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jorge Biquez , Gary Gatten , "freebsd-questions@freebsd.org" Subject: Re: Simplest way to deny access to a class C X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 03:39:59 -0000 The original question had to do with requests to a web server, and it would not be practical nor typical to route all http traffic through inetd. As well, tcpwrappers require manual work; mod_security and fail2ban are both ban automatically based on specified criteria and patterns. While mod_security only works for Apache, fail2ban works for any service that writes out to a log file. We have it watching our instances of Apache, Postfix, Cyrus IMAP, and sshd services for repeated login failure within a short period of time. It has done wonders. Patrick On Fri, Mar 4, 2011 at 4:30 PM, Outback Dingo wrot= e: > > > On Fri, Mar 4, 2011 at 7:14 PM, Patrick Gibson > wrote: >> >> fail2ban by default only bans an IP for 10 minutes, and that's >> configurable. It can also email you anytime it imposes a ban, so one >> can keep an eye on things at least in the beginning to see if it's >> causing a problem for legitimate users. >> >> On Thu, Mar 3, 2011 at 4:02 PM, Gary Gatten wrote: >> > Be careful of automated responses. =A0What if someone spoofs IP's of l= egit >> > users / customers / whatever and your automated response blocks them? = =A0Not >> > good. >> > >> > I thought about blocking....well, never mind - might pi$$ someone off >> > and attract unwanted attention... >> > >> > -----Original Message----- >> > From: owner-freebsd-questions@freebsd.org >> > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Patrick Gibs= on >> > Sent: Thursday, March 03, 2011 5:58 PM >> > To: Jorge Biquez >> > Cc: freebsd-questions@freebsd.org >> > Subject: Re: Simplest way to deny access to a class C >> > >> > You might consider mod_security (/usr/ports/www/mod_security) which >> > can be set up to ban hosts based on behaviour or characteristics. >> > >> > Or fail2ban (/usr/ports/security/py-fail2ban) is really great, too, in >> > that it scans whatever logs you want, and can trigger a block in your >> > firewall if enough violating log entries are found within a particular >> > period of time. Everything is totally configurable, and there are >> > plenty of examples that come with it. >> > >> > Patrick >> > >> > >> > On Thu, Mar 3, 2011 at 8:59 AM, Jorge Biquez >> > wrote: >> >> Hello all. >> >> >> >> I am sorry in advance if this question sounds too stupid. >> >> >> >> I have a small server for personal use of webpages running: >> >> >> >> 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0 >> >> >> >> it is working fine , no problem very stable. >> >> >> >> I just need to block some IP class C address that are always trying t= o >> >> "discover" directories or applications under the web server. They do >> >> not do >> >> and can not do anything since this server has nothing installed but i >> >> am >> >> tired of seeing in the logs all the intents they do every 2-3 seconds= . >> >> >> >> I have not installed any kind of firewall yet. >> >> What do you think is the best way to accomplish this task? If possibl= e >> >> the >> >> easiest one. I do not want to do anything else but just bloc IP's, at >> >> this >> >> moment at least. > > I wonder why nobodies mentioned a quite simple method with tcpwrappers an= d > hosts.allow / hosts.deny also > > >> >> >> >> >> Thanks in advance. >> >> >> >> Jorge Biquez >> >> >> >> _______________________________________________ >> >> 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" >> > >> > >> > >> > >> > >> > >> >
> > 2.25pt;padding:0in 0in 1.0pt 0in'> >> >
>> > "This email is intended to be reviewed by only the intended recipient >> > =A0and may contain information that is privileged and/or confidential. >> > =A0If you are not the intended recipient, you are hereby notified that >> > =A0any review, use, dissemination, disclosure or copying of this email >> > =A0and its attachments, if any, is strictly prohibited. =A0If you have >> > =A0received this email in error, please immediately notify the sender = by >> > =A0return email and delete this email from your system." >> >
>> > >> > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 03:56:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A822A106564A for ; Sat, 5 Mar 2011 03:56:38 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D3AF8FC0A for ; Sat, 5 Mar 2011 03:56:37 +0000 (UTC) Received: by fxm19 with SMTP id 19so3148215fxm.13 for ; Fri, 04 Mar 2011 19:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FfQGrLDZ9o//sTYV8+QX03OJg5JwZQ5ru6zH2qkMnGQ=; b=X39RliD7+qSxCH+vruwWL+I5nO6Y8YLdM5nYuqaifM7dAQ7df/6kaakiafrTpTiWDw KEMSVBOevX8rAhS6g31sOa2QDk77QLBFE3m+ByWnBSW8/Vk6EQCCoRnHwcTrrEeajTDo IHFn9K6ArWVxoAxD5D2csradMS8QmDlyoahKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IDqoTJgkBkw5scsA9kMKCPRLcgHRtk1sPnmYTe/2IXyyFIFcq4nKLtAkxXsK5ue9o1 7xJGLce9HNXdqd3DquiaLFl9HYERP6kisr3sz+yPdl8tTTn8ebxIs/tKvv7sPZQ0o8eH gqJZGpa+U0Bq77kF4HkKniasWFIHdJikXo4Z4= MIME-Version: 1.0 Received: by 10.223.106.1 with SMTP id v1mr1737044fao.21.1299297397114; Fri, 04 Mar 2011 19:56:37 -0800 (PST) Received: by 10.223.96.203 with HTTP; Fri, 4 Mar 2011 19:56:37 -0800 (PST) In-Reply-To: <4D716372.2050606@gmail.com> References: <4D716372.2050606@gmail.com> Date: Fri, 4 Mar 2011 22:56:37 -0500 Message-ID: From: "illoai@gmail.com" To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 03:56:38 -0000 On 4 March 2011 17:10, David Demelier wrote: > Hello, > > I know this is a awful subject, but I recently tried a Gentoo on my laptop > and I was surprised to see Linux booting about 2-3 times faster than > FreeBSD. > > I don't talk about the init/rc script but only kernel initialisation. For > linux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD. > > Why FreeBSD is so slower than Linux to boot the kernel? > USB probe times for FreeBSD are extremely long. I'm not sure of Linux parallelizes this or just waits until rc time. Wireless seems to be a similar issue here. -- -- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 09:46:41 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FCCF1065670; Sat, 5 Mar 2011 09:46:41 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4158FC14; Sat, 5 Mar 2011 09:46:40 +0000 (UTC) Received: by qwj8 with SMTP id 8so2417281qwj.13 for ; Sat, 05 Mar 2011 01:46:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=71E2L36nmAERQzRskv60/lo9H91e7cF5dKXu/HA0I3E=; b=Or03jM8dB3KVMW60mHEfB/r3hl1aJd8F85mO7G7mHjt5PQdqMFoVpfjAiSmYLOjJUl TM52q958WdorSx+PmOqPpsahSwnmMU/veaVBD09kx2ZV97yxiV7IR6n/Yxy57FjCjsr+ d/Hov1TKdRKp0JwRByXMDfcFd6TdWlvyQ+k7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qxlXarjcPjWCUpRjahNTajB0PeGgyG9MbamNNKuFx8/58NqHGtxuYzNcpU4JtVZasY kW9ll4l2DVtkZdFEKRwjstoRzAUMNRja7XFlrzrXxA/i7gYK+mqclnr7DuTVyMbUENx8 4ozsWFqFI1ti/cSa6CfAV/cKijWiYJcLNsCSU= MIME-Version: 1.0 Received: by 10.229.77.229 with SMTP id h37mr1283894qck.230.1299318399992; Sat, 05 Mar 2011 01:46:39 -0800 (PST) Received: by 10.229.218.206 with HTTP; Sat, 5 Mar 2011 01:46:39 -0800 (PST) In-Reply-To: <4D71189C.8050305@yandex.ru> References: <4D71189C.8050305@yandex.ru> Date: Sat, 5 Mar 2011 10:46:39 +0100 Message-ID: From: Redd Vinylene To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, glewis@freebsd.org, questions Subject: Re: Cannot build jdk16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 09:46:41 -0000 Thanks a lot for the help guys! On Fri, Mar 4, 2011 at 5:51 PM, Ruslan Mahmatkhanov wrot= e: > 04.03.2011 14:23, Redd Vinylene =D0=C9=DB=C5=D4: > > Hello! >> >> /usr/ports/java/jdk16 instructs me to manually fetch >> tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this fil= e >> however is no longer available and has been replaced by >> tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despi= te >> of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and >> "make -DNO_CHECKSUM"? >> >> Many thanks! >> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D155270 > > > -- > Regards, > Ruslan > From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 10:19:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89216106564A for ; Sat, 5 Mar 2011 10:19:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 41FC28FC08 for ; Sat, 5 Mar 2011 10:19:46 +0000 (UTC) Received: from [93.104.81.127] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PvoaO-0006Qh-5D for freebsd-questions@freebsd.org; Sat, 05 Mar 2011 11:19:44 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p25AJemd004440 for ; Sat, 5 Mar 2011 11:19:41 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p25AJeet004439 for freebsd-questions@freebsd.org; Sat, 5 Mar 2011 11:19:40 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 5 Mar 2011 11:19:39 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110305101939.GA4413@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.81.127 Subject: tool like od(1) but dumping Unicode codepoints 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: Sat, 05 Mar 2011 10:19:46 -0000 Hello, Is there some tool in the ports which works more or less like od(1), but instead of dumping octal or hex, the Unicode codepoints of the bytes of a UTF-8 text file? Thanks for any pointer matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 12:10:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEE85106567E for ; Sat, 5 Mar 2011 12:10:18 +0000 (UTC) (envelope-from erikmccaskey64@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id A86E08FC15 for ; Sat, 5 Mar 2011 12:10:18 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=faAxDaneaRuwyfOJHVdb24Wf4Q1ZyDKZa1DjMI3gepDG93NX9rdu5XSBB9vnsyCmir7QdF3xCGWS hJnt/dulx0hqyGWATb2dmqPALtznib+wPm+FrrgH2t8iTEDreMVT Received: from 172.29.249.242 (172.29.249.242 [172.29.249.242]) by mx.zohomail.com with SMTP id 12993270181152.4356707062579517; Sat, 5 Mar 2011 04:10:18 -0800 (PST) Date: Sat, 05 Mar 2011 04:10:17 -0800 From: erikmccaskey64 To: "freebsd" Message-ID: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Is it safe to run tcpdump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 12:10:18 -0000 Is it safe to always run tcpdump on the server, e.g.: like this: tcpdump -qn dst net 192.168.1.0/24 I need it to "audit the network" .. :\ From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 13:17:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id DDF1B1065670; Sat, 5 Mar 2011 13:17:18 +0000 (UTC) Date: Sat, 5 Mar 2011 13:17:18 +0000 From: Alexander Best To: "illoai@gmail.com" Message-ID: <20110305131718.GA57122@freebsd.org> References: <4D716372.2050606@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 13:17:18 -0000 On Fri Mar 4 11, illoai@gmail.com wrote: > On 4 March 2011 17:10, David Demelier wrote: > > Hello, > > > > I know this is a awful subject, but I recently tried a Gentoo on my laptop > > and I was surprised to see Linux booting about 2-3 times faster than > > FreeBSD. > > > > I don't talk about the init/rc script but only kernel initialisation. For > > linux kernel it's around 5-6 seconds vs 15-18 seconds for FreeBSD. > > > > Why FreeBSD is so slower than Linux to boot the kernel? > > > > USB probe times for FreeBSD are extremely > long. I'm not sure of Linux parallelizes this > or just waits until rc time. > > Wireless seems to be a similar issue here. also timeouts in freebsd were chosen very conservatively. you might want to alter those. examples are ATA or CAM timeouts. also there seem to be a number of hardcoded delays present in some code which have to be altered in the source tree. an example is the folowing code in the boot stage 2 (boot2, but also present in gptboot and the zfs counterparts): if (autoboot && keyhit(3)) { cheers. alex > > -- > -- -- a13x From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 15:44:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64D77106566B for ; Sat, 5 Mar 2011 15:44:01 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mx1.freebsd.org (Postfix) with SMTP id D0D678FC0A for ; Sat, 5 Mar 2011 15:44:00 +0000 (UTC) Received: (qmail 29906 invoked by uid 0); 5 Mar 2011 15:43:59 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy1.bluehost.com.bluehost.com with SMTP; 5 Mar 2011 15:43:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=AzCX+v0Rw9rwzmqyt0RWi0oVrz4K2n+Fls41MKbKf5M/V4VF9Ddjm43ZxX9aucipyrlj1KnRlciJCYv3ugt/cbvkiMhqM/+emeVrpOuEaEixmzDxS3kj7tAdSyUXGqOz; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pvte9-0002AI-MU for freebsd-questions@freebsd.org; Sat, 05 Mar 2011 08:43:58 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sat, 05 Mar 2011 08:32:48 -0700 Date: Sat, 5 Mar 2011 08:32:48 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20110305153248.GA53295@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D716372.2050606@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <4D716372.2050606@gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Subject: Re: FreeBSD kernel init slower than linux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 15:44:01 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2011 at 11:10:58PM +0100, David Demelier wrote: >=20 > I know this is a awful subject, but I recently tried a Gentoo on my=20 > laptop and I was surprised to see Linux booting about 2-3 times faster=20 > than FreeBSD. a note: You probably meant "as fast", rather than "faster": 2x "as fast" =3D boots in half the time 2x "faster" =3D boots in one third the time 3x "as fast" =3D boots in one third the time 3x "faster" =3D boots in one quarter the time Which did you mean -- half to one third the time, or one third to one=20 quarter the time? I ask because I see the mistake made where people say "faster", "more", "higher", "cheaper", and so on -- when what they really mean is "as fast", "as much", "as high", "as cheap", and so on -- all the time. It gets annoying that people misuse the language (often accidentally, though I'm pretty sure it's intentional a lot of the time in the case of advertising) such that these comparisons end up sounding more dramatic and exciting. (We now return you to your regularly scheduled anecdotal benchmarking discussion.) --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1yV6AACgkQ9mn/Pj01uKV3GQCgz8bAPiH8TzR8bPCT7ayHhlkC TSYAoNOw6YFT3t+UaykrYTf54p19qfu2 =ZnuX -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 17:18:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0E101065672 for ; Sat, 5 Mar 2011 17:18:42 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 43CE68FC0C for ; Sat, 5 Mar 2011 17:18:41 +0000 (UTC) Received: by wyb32 with SMTP id 32so3555206wyb.13 for ; Sat, 05 Mar 2011 09:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=shQeJilfaVk84689HOzhITFox8gMzVIkqbYXMdjVYcI=; b=l0FYGAJBvF3vnQ8KU189XSY+FFmbw4bYyu2avOnBZYEe1SpvjWDAXwNIfFgZHCdzA2 I9jaJMP0Yob3FE8rk1/LQ3G7ZRomGP3B3YE6qbZp7yYFsFB3gJHzOfqkVAsX5bo4cnTF a/3YAuOPSdQaO3AU+BDc1rI1Am1ZeB8PDqEV8= 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=nFqLt18a8NYrakNn49JBnPpTHcnplnT0c+iRw9BMyviARly4tYwH8EXGMa1j3pLUK6 /BWCD7DVZrg2/2BjfYNxbmK2+abfyVgqsQLpufdkSco9MSH+NSkoC82Ry2+6lMwdszxP 1qlIKY+pbcgCpUFbOO/0xkvlkq7cVY9zl31pE= Received: by 10.227.202.139 with SMTP id fe11mr1678120wbb.169.1299345521056; Sat, 05 Mar 2011 09:18:41 -0800 (PST) Received: from prime.nonspace ([82.132.211.52]) by mx.google.com with ESMTPS id w25sm555100wbd.5.2011.03.05.09.18.39 (version=SSLv3 cipher=OTHER); Sat, 05 Mar 2011 09:18:40 -0800 (PST) Message-ID: <4D727076.1070908@gmail.com> Date: Sat, 05 Mar 2011 17:18:46 +0000 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101215 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: how to keep track of data usage (mobile broadband) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 17:18:42 -0000 Hi. Currently I'm planning to go with mobile broadband on my laptop. I got my card working fine but the remaining problem is - there is a limit of 5GB per month and I really don't want to go over it. How can I keep track of data usage? It's a laptop so these counters needs to be reboot persistent. I'm running 8.1-R with ue0 interface. Any hints are welcome! Michael From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 17:27:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE4C8106566B for ; Sat, 5 Mar 2011 17:27:53 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 50D1B8FC0A for ; Sat, 5 Mar 2011 17:27:52 +0000 (UTC) Received: by fxm19 with SMTP id 19so3453423fxm.13 for ; Sat, 05 Mar 2011 09:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=sebU7y/e6f7Z8zyjqa2m2mBYlGqAgBjPyUhEE+Z0bNI=; b=J6+XXZSs5zVhENdgmkh1RzB171xmNB0PZN9/uxt75Xfj5vIg3oMoDkj6Gf4dJ30kgA q4nABTE5+fZErifb7BaSSErphDAqC1qv63NWX2HI2iER4HxFf2ENmkGhPNPSNgdQrT8q PSSQqUNpn8uVDDhzUbgplpWeKiSu+xPW/b5qc= 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=Yebj7ZFY7Z92N57e/jmoX+AfpiHBt0aYGG3MOQqjglRvsHUj9KkW6iJfUtMc2pPm/A xx8RWD6ZGiPcrXfO12O1hs0sMs1JmcLWo2xhYu7NwypftyikR+nOk0xRClBH5WDZpGpO ZJqCPLQ5p7wR129C4wVvGSXZnOEMnkwgK6PTg= Received: by 10.223.73.194 with SMTP id r2mr512181faj.108.1299346072200; Sat, 05 Mar 2011 09:27:52 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id 5sm240710fak.23.2011.03.05.09.27.50 (version=SSLv3 cipher=OTHER); Sat, 05 Mar 2011 09:27:51 -0800 (PST) Message-ID: <4D727264.7040609@gmail.com> Date: Sat, 05 Mar 2011 18:27:00 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110302 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Switching between ttys takes 5 seconds with radeon hd 5670 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 17:27:53 -0000 Hello, I've got a brand new radeon hd 5670, when I switch between ttys it takes about 5 seconds to refresh (to show the next tty) Is this due to the lack of KMS support in FreeBSD? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 18:03:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB11106566C for ; Sat, 5 Mar 2011 18:03:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D0C548FC15 for ; Sat, 5 Mar 2011 18:03:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p25I3aPZ089750; Sat, 5 Mar 2011 11:03:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p25I3Z2w089747; Sat, 5 Mar 2011 11:03:35 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Mar 2011 11:03:35 -0700 (MST) From: Warren Block To: David Demelier In-Reply-To: <4D727264.7040609@gmail.com> Message-ID: References: <4D727264.7040609@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 05 Mar 2011 11:03:36 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Switching between ttys takes 5 seconds with radeon hd 5670 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 18:03:37 -0000 On Sat, 5 Mar 2011, David Demelier wrote: > I've got a brand new radeon hd 5670, when I switch between ttys it takes > about 5 seconds to refresh (to show the next tty) Do you mean switching between text consoles (ttyv) or between a text console and X? Switching between X and a console, or particularly back from a console to X, is slow unless you have moused_enable="YES" in /etc/rc.conf. > Is this due to the lack of KMS support in FreeBSD? Probably not. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 18:18:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11CA61065675 for ; Sat, 5 Mar 2011 18:18:14 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE4208FC15 for ; Sat, 5 Mar 2011 18:18:13 +0000 (UTC) Received: by iwn33 with SMTP id 33so3284568iwn.13 for ; Sat, 05 Mar 2011 10:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=h3Bx748363aeOFO1xL7fjn1UE52/O6PvSnEzx5sSoR0=; b=N2WhwF0n1+ol/40je+3oLgI68KBvCQmufxu/2ZBsNqlpEzpkNBTq63AhthPKLFs7YA WeLVfjpR28zmOxJcvsOga6u7iEl5n9+tXFzv3OC2EMN8TMzw1NacJyy2vSlSZFWel17w SbeWC18wE4kVOOYeDa+/rvbXiaTymuQ/msUg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Kks3yCcBUW0Sq21yH0YnBSKraDLf9gHGY+BEIpWr7Z9fDaNdnENFkvB1HODlhf7oKc es1rxvqQQXPpzmJ8G8xwLRYU3vyOqoCF71mRcSOr7dIu6zwR56tnSjyTjA2yQu2Dic/a iOxwb2Dcq/Q6X1bbHbAmlIKeiH3ap7VYdxESg= Received: by 10.231.130.30 with SMTP id q30mr1455314ibs.99.1299349093128; Sat, 05 Mar 2011 10:18:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.183.131 with HTTP; Sat, 5 Mar 2011 10:17:53 -0800 (PST) In-Reply-To: <4D727076.1070908@gmail.com> References: <4D727076.1070908@gmail.com> From: Eitan Adler Date: Sat, 5 Mar 2011 13:17:53 -0500 Message-ID: To: Michael Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: how to keep track of data usage (mobile broadband) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 18:18:14 -0000 > How can I keep track of data usage? It's a laptop so these counters needs to > be reboot persistent. I'm running 8.1-R with ue0 interface. Check out http://humdi.net/vnstat/ and http://www.cyberciti.biz/faq/freebsd-install-vnstat-network-traffic-monitor-software/ -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 18:22:15 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AEA0106566C for ; Sat, 5 Mar 2011 18:22:15 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F251A8FC12 for ; Sat, 5 Mar 2011 18:22:14 +0000 (UTC) Received: by qyk27 with SMTP id 27so2673106qyk.13 for ; Sat, 05 Mar 2011 10:22:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.115.37 with SMTP id g37mr1582202qcq.161.1299347935646; Sat, 05 Mar 2011 09:58:55 -0800 (PST) Received: by 10.229.182.131 with HTTP; Sat, 5 Mar 2011 09:58:55 -0800 (PST) X-Originating-IP: [93.221.180.126] In-Reply-To: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> References: <5F4DD89C-5F3B-46B8-BA91-A25B8BF11EEB@lafn.org> Date: Sat, 5 Mar 2011 18:58:55 +0100 Message-ID: From: "C. P. Ghost" To: Doug Hardie Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: Purchased Binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 18:22:15 -0000 On Fri, Mar 4, 2011 at 10:24 PM, Doug Hardie wrote: > Any chance those binaries might work on FreeBSD? It depends. If they don't use too many linuxisms (stuff that is only present in Linux but not on other Unices), they might work on FreeBSD's Linuxulator. Just give it a try. Your binaries MIGHT work out of the box. Install the appropriate linux-* ports and kldload the linux.ko kernel module. However, if they require (and provide) a custom Linux kernel driver module to complement their userland program, you're out of luck... unless you choose to run it in a virtualized environment... say, like a CentOS guest in a VirtualBox running on a FreeBSD host. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 18:47:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E7AC106566B for ; Sat, 5 Mar 2011 18:47:20 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3A92B8FC14 for ; Sat, 5 Mar 2011 18:47:19 +0000 (UTC) Received: by yie12 with SMTP id 12so1307054yie.13 for ; Sat, 05 Mar 2011 10:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=u8vFOJvc+oEN3EaYofkr8EI+k1mX11L8iP0JiVJCjkE=; b=xzD3yYgSuMM+9gZNvhx9nz0zcENomk4/g9ma7WyTHJGRBmpK7wErC4b7R1LYSz6trw AlpsbIfuWqnyyuhwP5EnizEs/WvFgHbwJYdKEKU4zjVVUWDjDw5my3TkQ1a8ulKTJszR 5V1lMiMQq7k8vOpOrqCWd3NcMfEsAjg8p7kq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=quCqv0euLzMWEeJetJkBguBlQyJ5OxknKXeDL4xiFE29o+d0GufoKQHXUizhsXHJqb QPfSkS7HfmH+pDMep+CdTPSTu9gMIkaieVa5gMiFCvb4uEEg0Az2VYKThYqC6VFnRxXb ki6oOT9z7ywJzwDMP2vF7H/icCOAvNlVKKvCY= MIME-Version: 1.0 Received: by 10.90.145.15 with SMTP id s15mr2684053agd.145.1299350839401; Sat, 05 Mar 2011 10:47:19 -0800 (PST) Received: by 10.90.50.14 with HTTP; Sat, 5 Mar 2011 10:47:19 -0800 (PST) In-Reply-To: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> References: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> Date: Sat, 5 Mar 2011 11:47:19 -0700 Message-ID: From: Modulok To: erikmccaskey64 Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd Subject: Re: Is it safe to run tcpdump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 18:47:20 -0000 What do you mean by 'safe'? The only side affects I can think of to running tcpdump on an interface constantly, is the generation of large log files (if you re-directed to log files) as well as the fact that it usually puts an interface into 'promiscuous mode'. (See the -p flag.) This offloads network traffic onto the cpu which could introduce additional network latency for high throughput networks in some situations. (As far as how much latency, if any, and whether it's actually a problem depends on many factors. Test it.) Other ways to generate network logs would be via the logging feature of the PF firewall. You can setup specific rules to capture tcpdump compatible logs and send them either to a log file or to a pseudo network interface (the pflog device) for live viewing. There's a chapter about this covered in Peter Hansteen's "The Book of PF". -Modulok- On 3/5/11, erikmccaskey64 wrote: > Is it safe to always run tcpdump on the server, e.g.: like this: > > > tcpdump -qn dst net 192.168.1.0/24 > > > I need it to "audit the network" .. :\ > > _______________________________________________ > 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 Mar 5 19:11:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B420E106566B for ; Sat, 5 Mar 2011 19:11:51 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 43D018FC08 for ; Sat, 5 Mar 2011 19:11:51 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 6C4EEE7F8A; Sat, 5 Mar 2011 19:11:50 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=48G8OeJvzaBq z8A4JhbNCQxsp0s=; b=vfDv7KAfJbQYPFmrmHXlmyiyX00qz+EPSXdKaLhqpF/O bybFpZvm1Ox7mVw1JOs2aDis1BTPlOekMTmOmdzd8H3qwb4SfK9tRwUSya+8PLrQ wp9DyRbZG6PXnwFLE0fbK2wxuqNgIpVOfw0iMzYgk6DJ1IG+7yAVBgsmVyAwRJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=jGQC/B BEB5jiOnqMUyjufrwzeUfASRzxAuE8vVIlv/kZ9I8jTG8UTF5GsFtblg6wlnkKOT O82cQGkHK3dPdUg9BcD2xLk3nYGa5f1VxUEP0mcj9+iD3Fng7AA6G0a0mP1EoaxE pDSOi3fUEWKlDH+xTP3I1FHTDW06/Sqe27anM= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 1B739E7F82; Sat, 5 Mar 2011 19:11:50 +0000 (GMT) Date: Sat, 5 Mar 2011 19:11:05 +0000 From: Bruce Cran To: Modulok Message-ID: <20110305191105.00001bdf@unknown> In-Reply-To: References: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: erikmccaskey64 , freebsd Subject: Re: Is it safe to run tcpdump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 19:11:51 -0000 On Sat, 5 Mar 2011 11:47:19 -0700 Modulok wrote: > What do you mean by 'safe'? As in secure? http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 19:32:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11EDE106564A for ; Sat, 5 Mar 2011 19:32:48 +0000 (UTC) (envelope-from mikes@siralan.org) Received: from mail.suso.org (mail.suso.org [66.244.94.5]) by mx1.freebsd.org (Postfix) with ESMTP id E5A188FC13 for ; Sat, 5 Mar 2011 19:32:47 +0000 (UTC) Received: from c-69-136-1-54.hsd1.in.comcast.net (c-69-136-1-54.hsd1.in.comcast.net [69.136.1.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.suso.org (Postfix) with ESMTP id E0FC71B095; Sat, 5 Mar 2011 19:02:58 +0000 (GMT) Date: Sat, 5 Mar 2011 14:01:48 -0500 (EST) From: "Michael L. Squires" X-X-Sender: mikes@familysquires.net To: erikmccaskey64 In-Reply-To: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> Message-ID: <20110305135922.I39360@familysquires.net> References: <12e85ece3b5.7517152619980667233.9119604654657332096@zoho.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd Subject: Re: Is it safe to run tcpdump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 19:32:48 -0000 On Sat, 5 Mar 2011, erikmccaskey64 wrote: > Is it safe to always run tcpdump on the server, e.g.: like this: > > > tcpdump -qn dst net 192.168.1.0/24 Depends on who's watching; running tcpdump on a network managed by someone else might be noticed by the network admin if they're looking for NICs being run in promsicuous mode. This is a red flag if you're looking for someone running a password sniffer. Mike Squires From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 20:14:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0EA21065676 for ; Sat, 5 Mar 2011 20:14:47 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 762158FC18 for ; Sat, 5 Mar 2011 20:14:47 +0000 (UTC) Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta03.westchester.pa.mail.comcast.net with comcast id FYDv1g0010EZKEL53YEnnW; Sat, 05 Mar 2011 20:14:47 +0000 Received: from localhost ([67.180.204.190]) by omta01.westchester.pa.mail.comcast.net with comcast id FYEl1g00346zqiB3MYEmBH; Sat, 05 Mar 2011 20:14:47 +0000 Date: Sat, 5 Mar 2011 12:14:43 -0800 From: Rem P Roberti To: FreeBSD Message-ID: <20110305201443.GA2720@bsd.remdog.net> Mail-Followup-To: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Printer Offline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 20:14:47 -0000 I have a printer, which was installed and is working under CUPS, that seems to go offline of its own accord. And when that happens I have found no other option than to reboot. I know, I know...you should never have to reboot, but that's the only thing that seems to work. When I check out localhost:631 everything looks good, and all the uncompleted jobs are there patiently waiting to get processed. But, as I said, the jobs can't get done without a reboot. When I do reboot, just before the login prompt shows up, the printer jumps into action and all of the uncompleted jobs get processed. I should also point out that immediately after reboot the printer works flawlessly, printing on demand. It is only after being idle for a while that it just seems to go offline, without any warning. Rem From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 20:22:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22CFB1065670 for ; Sat, 5 Mar 2011 20:22:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D17208FC0A for ; Sat, 5 Mar 2011 20:22:39 +0000 (UTC) Received: by vxc34 with SMTP id 34so3374868vxc.13 for ; Sat, 05 Mar 2011 12:22:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=B3kp2sw3obHytmxNuIsqEWPOu2TikHnpkTnBfMSsy5g=; b=vJk+MWvnD1LiFqT+HjBa9X9n8VqMoQphghoQLvf4EbSD0zQGQTw/ADnGTpJ0GVKg5g z5ZxAXdJ7b8m8gxsw+1N/7+ZlWc1+RgaZjzVhfmNYENHVciFi83WMOYxgKReOsucksPN glbA6U5xbE1Qc6Hiijb0zP3rbVKxvi2ygxRoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=YYb/4CzQeeoAe1OYolFckwKA01sagjgrtH0vzpp19zVYYh+URW0Pcibq5rr44+mxZX cehE+V8q0V8IQrTFnhHCqCJcE4VUKNVwyXld/rlAh3g6NA8CjTJsXcAMO++bP4rj8GIM 2YshbtF0CsuZRR9L6J+1Fbh8E1udQ+4xlffAQ= Received: by 10.52.72.167 with SMTP id e7mr3089792vdv.136.1299356558112; Sat, 05 Mar 2011 12:22:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.186.200 with HTTP; Sat, 5 Mar 2011 12:22:18 -0800 (PST) In-Reply-To: <4D6BF823.2090602@gmail.com> References: <4D6BF823.2090602@gmail.com> From: "Paul B. Mahol" Date: Sat, 5 Mar 2011 21:22:18 +0100 Message-ID: To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: optical driver with ahci bios mode but ata(4) driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 20:22:40 -0000 On Mon, Feb 28, 2011 at 8:31 PM, David Demelier wrote: > Hello, > > My bios can be set to use IDE emulation or ahci mode, I prefere the ahci > mode because it's a bit faster. > > It's probably stupid to stay with ata(4) driver with the ahci mode, isn't > it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just > fail and break an blank cd for nothing. > > I guess this is the correct behavior when trying to use burncd(8) / > cdcontrol(1) : > > markand@Melon ~ $ burncd msinfo > burncd: ioctl(CDIOREADTOCHEADER): Input/output error > > markand@Melon ~ $ cdcontrol info > cdcontrol: getting toc header: Input/output error > cdcontrol: Input/output error > > But why the optical drive is only affected? If I use ata(4) driver even with > ahci mode set in the bios, why the hard drive works pretty well? Are you using atapicam module? From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 21:40:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBAE0106564A for ; Sat, 5 Mar 2011 21:40:44 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from nm29-vm0.bullet.mail.sp2.yahoo.com (nm29-vm0.bullet.mail.sp2.yahoo.com [98.139.91.236]) by mx1.freebsd.org (Postfix) with SMTP id 97BFA8FC0A for ; Sat, 5 Mar 2011 21:40:44 +0000 (UTC) Received: from [98.139.91.63] by nm29.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 Received: from [98.139.91.10] by tm3.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 Received: from [127.0.0.1] by omp1010.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 293625.68707.bm@omp1010.mail.sp2.yahoo.com Received: (qmail 52809 invoked by uid 60001); 5 Mar 2011 21:40:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1299361243; bh=TakRZEHlbrP2fCgphNVHvFNoCniZPY6412Oj0k1FQN0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LiY8JcJci/5HAq4GdRIfDkvnHHz6kkFIRn8A4fmXMIKzpYC10jBImKqu+FIGIJ+0QsrwoHFKEQEierOmkGBjrqjjIHA4qfKjwuQ5Vtaoo2T1o2zKBucQHGh4MaqtxnTyDOp+eF1NEqNpVUNOuWvRv5aww0t52gRoR8oZkaFHh6Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PecLqdjjNmXVPgmOXJuYM9GUKR7sV+zkOq5n8ehcgJsjf6XIJ0ZiFDecjfYC8v0kVeyhz6WJ6on0w49zVhVAcaf50S54EwnGv9IYclPFl/eBpvywxNaEGUSRSCxqxgdjB5ert0ZVDvYP6AJF/6mx2l8hmC+jkYmEBbCcVt4zBlQ=; Message-ID: <818125.75432.qm@web110303.mail.gq1.yahoo.com> X-YMail-OSG: Lbub9I0VM1knHslLBQ2h3uGwiQTHTRnm5l1gDfjHsQcanu6 quL3.KLrbi3eGuKtpLlhZIjoTv1NDr5jc4i9HbIsbkDEmFne0t_gQF394QKA uQ4JxXNhkaP57ituH24QkbsxkAn8hGF92lH4ea0_Su.MHnasljHcQmHyllcR H.XEbxcEEexKLSVd99YBEUAsJE30PoY1ad3NsXSLHb1oEUtdBHDMiCdiR9rp xyvAqPRZrNGSC1h.PF8Xi3uBv_aosKkEhB8M52ZV71aygoyYEk0y5III3kLd NH8KfRr_oBf02PaXeD5f2c3vMuLZXiFJ_yi1iRNP00ggpqnuCYHJVWMEGbgs vhBTtZXuMstEJU1iyRtwxsO3CdSVl9AQPrfIHLf1iagWhqJalDjLXChQ.gil BU4HFmINt721X Received: from [24.228.57.153] by web110303.mail.gq1.yahoo.com via HTTP; Sat, 05 Mar 2011 13:40:43 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.295617 Date: Sat, 5 Mar 2011 13:40:43 -0800 (PST) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20110305120028.BBB791065739@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nanosleep, pthreads, FreeBSD 7.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: Sat, 05 Mar 2011 21:40:44 -0000 Hi, As I underestand things, nanosleep() is supposed to affect only the thread to which it is applied. I have a test program in which it appears to block both that thread and the thread which created it. Is this a known problem? Am I misreading things? I'm on 7.2; does this change in later versions? Mark Terribile materribile@yahoo.com From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 21:40:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D01BE10656D8 for ; Sat, 5 Mar 2011 21:40:58 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 923038FC14 for ; Sat, 5 Mar 2011 21:40:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p25LevTZ090396; Sat, 5 Mar 2011 14:40:57 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p25Leu8P090393; Sat, 5 Mar 2011 14:40:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Mar 2011 14:40:56 -0700 (MST) From: Warren Block To: Rem P Roberti In-Reply-To: <20110305201443.GA2720@bsd.remdog.net> Message-ID: References: <20110305201443.GA2720@bsd.remdog.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 05 Mar 2011 14:40:57 -0700 (MST) Cc: FreeBSD Subject: Re: Printer Offline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 21:40:58 -0000 On Sat, 5 Mar 2011, Rem P Roberti wrote: > I have a printer, which was installed and is working under CUPS, that seems > to go offline of its own accord. And when that happens I have found no > other option than to reboot. I know, I know...you should never have to > reboot, but that's the only thing that seems to work. When I check out > localhost:631 everything looks good, and all the uncompleted jobs are > there patiently waiting to get processed. But, as I said, the jobs > can't get done without a reboot. When I do reboot, just before the > login prompt shows up, the printer jumps into action and all of the > uncompleted jobs get processed. I should also point out that > immediately after reboot the printer works flawlessly, printing on > demand. It is only after being idle for a while that it just seems to > go offline, without any warning. The model of printer and how it is connected are likely important. First guess would be power-save shuts down the printer and it's not being woken up again. CUPS has an lpstat program which may be able to tell you something useful about the state of the printer. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 22:14:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FD49106566C for ; Sat, 5 Mar 2011 22:14:00 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 107E48FC0C for ; Sat, 5 Mar 2011 22:13:59 +0000 (UTC) Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by qmta10.westchester.pa.mail.comcast.net with comcast id FaDS1g0010ldTLk5AaE0AF; Sat, 05 Mar 2011 22:14:00 +0000 Received: from localhost ([67.180.204.190]) by omta04.westchester.pa.mail.comcast.net with comcast id FaDw1g02846zqiB3QaDzCb; Sat, 05 Mar 2011 22:13:59 +0000 Date: Sat, 5 Mar 2011 14:13:55 -0800 From: Rem P Roberti To: Warren Block Message-ID: <20110305221355.GA1391@bsd.remdog.net> Mail-Followup-To: Warren Block , FreeBSD References: <20110305201443.GA2720@bsd.remdog.net> 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 Subject: Re: Printer Offline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 22:14:00 -0000 On 2011.03.05 14:40:56 +0000, Warren Block wrote: > On Sat, 5 Mar 2011, Rem P Roberti wrote: > > >I have a printer, which was installed and is working under CUPS, that seems > >to go offline of its own accord. And when that happens I have found no > >other option than to reboot. I know, I know...you should never have to > >reboot, but that's the only thing that seems to work. When I check out > >localhost:631 everything looks good, and all the uncompleted jobs are > >there patiently waiting to get processed. But, as I said, the jobs > >can't get done without a reboot. When I do reboot, just before the > >login prompt shows up, the printer jumps into action and all of the > >uncompleted jobs get processed. I should also point out that > >immediately after reboot the printer works flawlessly, printing on > >demand. It is only after being idle for a while that it just seems to > >go offline, without any warning. > > The model of printer and how it is connected are likely important. > > First guess would be power-save shuts down the printer and it's not > being woken up again. CUPS has an lpstat program which may be able to > tell you something useful about the state of the printer. Thanks for the reply. The printer is an HP Photosmart 9180, connected to ulpt0, which cannot be toggled online/offline. The printer is designed to remain on full time, and has maintenance routines that it goes through every 24 hrs. If you turn it off and then turn it back on again it goes through a long set of diagnostic routines. I'm not sure how to avail myself of the lpstat program, but I shall read the man pages and see what I can come up with. Rem From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 23:13:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020E7106566B for ; Sat, 5 Mar 2011 23:13:40 +0000 (UTC) (envelope-from milo@cyberlifelabs.com) Received: from qmta13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by mx1.freebsd.org (Postfix) with ESMTP id B54868FC13 for ; Sat, 5 Mar 2011 23:13:39 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta13.westchester.pa.mail.comcast.net with comcast id Fb0N1g0081c6gX85Db0QZR; Sat, 05 Mar 2011 23:00:24 +0000 Received: from server.bellingham.cyberlifelabs.net ([71.227.219.222]) by omta23.westchester.pa.mail.comcast.net with comcast id Fb0K1g00k4oVxvK3jb0LMZ; Sat, 05 Mar 2011 23:00:21 +0000 From: Milo Hyson Date: Sat, 5 Mar 2011 15:00:17 -0800 Message-Id: <95109270-7F98-46B3-B0A8-B0578772374A@cyberlifelabs.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bug in routed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 23:13:40 -0000 I'm posting this in questions because 1) I'm not sure if it's really a = defect, and 2) I'm not sure what other list might be more appropriate. I've been experimenting with modifications to the i386 platform in = STABLE-8 to support 64-bit time_t values. After changing = sys/i386/include/_types.h so that __time_t is defined as __int64_t, I = received a warning when compiling sbin/routed/if.c that complained about = passing a time_t for %ld. The following patch illustrates the change I = made to fix this: --- orig/if.c 2011-03-05 14:25:47.000000000 -0800 +++ new/if.c 2011-03-05 14:26:01.000000000 -0800 @@ -950,8 +950,8 @@ trace_act("interface %s has been = off" " %ld seconds; forget = it", ifp->int_name, - (long)now.tv_sec- - ifp->int_data.ts); + (long)(now.tv_sec- + = ifp->int_data.ts)); ifdel(ifp); } continue; I'm guessing the original intent here was for the result of the = subtraction to be passed as a long to trace_act(), but in actuality it's = passed as a time_t. The original code compiles just fine if time_t and = long are the same size. Additional note, this particular code fragment does not seem to exist in = -current, so the issue appears limited to -stable. - Milo Hyson Chief Scientist CyberLife Labs, Inc. From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 23:27:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6435C106566C for ; Sat, 5 Mar 2011 23:27:31 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from nm7-vm0.bullet.mail.sp2.yahoo.com (nm7-vm0.bullet.mail.sp2.yahoo.com [98.139.91.192]) by mx1.freebsd.org (Postfix) with SMTP id 3F46D8FC08 for ; Sat, 5 Mar 2011 23:27:31 +0000 (UTC) Received: from [98.139.91.64] by nm7.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 23:27:31 -0000 Received: from [98.139.91.39] by tm4.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 23:27:31 -0000 Received: from [127.0.0.1] by omp1039.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 23:27:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 998715.53110.bm@omp1039.mail.sp2.yahoo.com Received: (qmail 63887 invoked by uid 60001); 5 Mar 2011 23:27:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1299367650; bh=+fjoXUReaFKgeE7ek2IYIYH3/PXg8yhb7d7dcLK4e5g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EZhjfmNr9bRT0/oIMLcR/5zEFllKNtZCKAyaF0nDP0udPJ3ALfxo9cHStxvmyZXzmEtze0eKCyq2KDHXtWkVKyYkZTvVddyF4nr7Z0KAJQNMJ3fE2EwTvwGaFwAJx87hwvhT1fBMHe3xckirU8oEP8RClB+f47zPTp2sxLV0Y0g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vqP0AFpl7IliKO9fMsZnARqXvuzmprzPqv0kjrFljEcBnwpQf8d8+TQeTx13/aBYCUFovVi1GxmpOZSp+p9ITcr7rWqny8Nc8CXf5bXXo6krw1+Cw5Ks1C3Mu7WN9u/F2hZ1xSYNRoRAh9BQYsLNYrqmNc4M6Mfc4WoZR++4o9E=; Message-ID: <513697.63864.qm@web110312.mail.gq1.yahoo.com> X-YMail-OSG: VPjyOeMVM1k7xMwT6tVL.Rt6RoUydFSfx13DN.Y1ybUkNR7 vjrTulWhFMDcj2a39_dZfZN6o8kw6fNmG91uPjFlgn2UifHBL_7H.LiFpjL. _m2BhFqKjE7J8Y6wY4sNXodoK.Szjyo3WLjwhoRfAUJcsuqSfFTzHcbH3Ypk N0XoTmp7VpR9Jdf7lBIc1grbykmNmAZgpe_uJlkwqXjdgeurFi.6p6oXh_78 GFOkNnTxnMrmIO5NDi8ZecosBoQzeB2T3O2d7A97GoRqjAEJosQALPjCJmUh kfJA6Tv2mWykfcRef9LOm1WWk0bXIf9uaFwW8qri_7ygrPZuSR9BTA0Ffya5 JMKnGERgQ56o_w0ws203ni3Axv8hmuBCVSdzr.tmmX.s0NyEpTN5RhkGUL0w 5FRWV3v7sNlmq Received: from [24.228.57.153] by web110312.mail.gq1.yahoo.com via HTTP; Sat, 05 Mar 2011 15:27:29 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.295617 Date: Sat, 5 Mar 2011 15:27:29 -0800 (PST) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20110305120028.BBB791065739@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Please disregard earlier message re: nanosleep, pthreads, and 7.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: Sat, 05 Mar 2011 23:27:31 -0000 A few hours ago I wrote: > As I underestand things, nanosleep() is supposed to affect only > the thread to which it is applied. I have a test program in > which it appears to block both that thread and the thread which > created it. Is this a known problem? Am I misreading things? > I'm on 7.2; does this change in later versions? The word "appears" was apt. My test program, though only a page long, was in error. I am happy to now go hunting my real problems, and I apologize for disturbing you, especially those of you who may now be buzzing through source code to see if I might possibly be right. Mark Terribile From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 23:29:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 476361065675 for ; Sat, 5 Mar 2011 23:29:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 074F18FC1D for ; Sat, 5 Mar 2011 23:29:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p25NT0eu090698; Sat, 5 Mar 2011 16:29:00 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p25NT0vB090695; Sat, 5 Mar 2011 16:29:00 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 5 Mar 2011 16:29:00 -0700 (MST) From: Warren Block To: Rem P Roberti In-Reply-To: <20110305221355.GA1391@bsd.remdog.net> Message-ID: References: <20110305201443.GA2720@bsd.remdog.net> <20110305221355.GA1391@bsd.remdog.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 05 Mar 2011 16:29:00 -0700 (MST) Cc: FreeBSD Subject: Re: Printer Offline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 23:29:03 -0000 On Sat, 5 Mar 2011, Rem P Roberti wrote: > Thanks for the reply. The printer is an HP Photosmart 9180, connected > to ulpt0, which cannot be toggled online/offline. The printer is > designed to remain on full time, and has maintenance routines that > it goes through every 24 hrs. If you turn it off and then turn it > back on again it goes through a long set of diagnostic routines. You might be able to wake it up with something like true > /dev/unlpt0 Or maybe use usbconfig to wake it up, in various ways. Some might make it do the ink-wasting powerup, though. usbconfig -d ugen1.2 resume usbconfig -d ugen1.2 power_on usbconfig -d ugen1.2 reset Don't know if that would work with the unlpt device directly. HP says that printer is not supported with HPLIP, but not why.